On Thursday, 04/14/2011 at 03:38 EDT, ssda...@jerusalem.muni.il wrote: > I get > DTCPC3080I PCCA3 initializing: > DTCPRI385I Device LCS1: > DTCPRI386I Type: LCS, Status: Not started > DTCPRI387I Envelope queue size: 0 > DTCPRI388I Address: 0500 > DTCPC3045E PCCA3 device LCS1: Error getting XA subchan id for 0000500 or
> 00000501 > > DTCPC3082E PCCA3 shutting down: > DTCPRI385I Device LCS1: > DTCPRI386I Type: LCS, Status: No status available > DTCPRI387I Envelope queue size: 0 > DTCPRI388I Address: 0500 > > I then bring down TCPIP and bring it up again and it works . > > What's going on ? The devices aren't online. Remember that OSA's will re-load their firmware on the first activation after ALL sharing LPARs have deactivated their chpids. After a POR, or the VM LPAR is the only thing using that chpid and you deactivate/re-active the LPAR (some people do then in order to IPL), then you trigger the firmware reload. On older machines, it took a while for the firmware to load (these days it's pretty much instantaneous), so DEDICATE statements often weren't sufficient. Instead of DEDICATEs, consider using the :Exit. tag in SYSTEM DTCPARMS. With an :Exit., you can delay TCPIP startup until both 500 and 501 come online. There's also :Attach., which will do a VARY ONLINE and an ATTACH, but it doesn't have a way to wait for the device. As an aside, the "Error getting XA subchan id" means that STORE SUBCHANNEL instruction for the indicated device number failed with CC=3 ("Not operational"). The relevant lTCP/IP Messages & Codes says: o Ensure both of the indicated device addresses are attached to the TCP/IP virtual machine. Verify the :Attach tag values, as specified for this device in the DTCPARMS file, are correct. I grant you, it's a horrible message for those not steeped in the lore of S/370-XA I/O, and the above explanation in the book is a bit "thin" on problem resolution. Alan Altmark z/VM and Linux on System z Consultant IBM System Lab Services and Training ibm.com/systems/services/labservices office: 607.429.3323 mobile; 607.321.7556 alan_altm...@us.ibm.com IBM Endicott