Network Job Entry (NJE) Formats and Protocols
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Initialization Error Recovery

Network Job Entry (NJE) Formats and Protocols
SA32-0988-00

Initialization error recovery is in effect until either the DLE ACK0 is received properly from the other side, or an SOH ENQ is properly received and a DLE ACK0 is transmitted. During initialization, errors are responded to in one of three ways:
  1. Terminate the line.
  2. Retransmit the SOH ENQ.
  3. Issue a read with a large CCW count and retransmit the SOH ENQ.

An ending condition of unit exception on the write CCW occurs when data has been transmitted by the other side and a read was not active to receive the data. In this case, a read CCW with a large count and the skip bit should be issued to clear any data that is pending in the adapter. Then, the write should be reissued.

An ending condition of unit check with sense data of either command reject or intervention required should cause the line to be terminated. If a command reject occurred, either the adapter was not enabled, or an invalid CCW was executed. In either case, a software error has probably occurred and retrying would most likely result in a loop.

An intervention required can occur for many reasons. The problems can range from the telephone hanging up on a switched line, to an intermittent clock within the local modem. In any case, retrying the write will usually result in the intervention required happening again. If a unit check with sense data of time out, data check, or lost data is received, the SOH ENQ should be retransmitted. If successful status is received, but the data is not SOH ENQ or DLE ACK0, the SOH ENQ should be retransmitted. These conditions are summarized in the table below.

Table 1. BSC Initialization error recovery
Unrecognized data CCW and Sense data Rewrite SOH ENQ
     
Device Status CCW Recovery Action
Unit Write Read Skip - Rewrite SOH ENQ
    ENQ
Exception Read Rewrite SOH ENQ
     
Device Status Sense Data Recovery Action
Unit Check 80 Command reject Terminate
Unit Check 40 Intervention required Terminate
Unit Check 20 Bus out check Terminate
Unit Check 10 Equipment check Terminate
Unit Check 08 Data check Rewrite SOH ENQ
Unit Check 04 Overrun Rewrite SOH ENQ
Unit Check 02 Lost data Rewrite SOH ENQ
Unit Check 01 Time out Rewrite SOH ENQ
     

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014