z/OS Communications Server: SNA Diagnosis Vol 1, Techniques and Procedures
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Read Modified channel program

z/OS Communications Server: SNA Diagnosis Vol 1, Techniques and Procedures
GC27-3667-00

The following table shows how CCWs are used in a Read Modified channel program.

Table 1. Read Modified channel program

 
 
CCW

Command
code
(hex)

 
 
Flags

 
 
Address

 
Byte
count

Select 0B CC Zero 1
TIC 08

Read Modified
CCW

Read
Modified
3
(As many as needed)

06 CD Input Area Length of data
TIC 08

Read Modified
CCW

Read
Modified
1

06 CD Input Area Length of data

Read
Modified
(Skip)

06 SKIP Zero X'7FFF'
1 The number of bytes transmitted in the previous Read Modified CCW is stored in the LDNRMLEN field in the LDNCB. For this Read Modified, enough buffers are allocated to hold LDNRMLEN bytes of data. If this is not enough buffers for the device to send all of the pending data, the channel program will end on the Read Skip CCW. The Read Skip CCW reads all of the pending data but does not transmit any of it. The new length is stored in LDNRMLEN. (The length is computed by subtracting the residual byte count in the CSW from X'7FFF'.) Then the channel program is executed again with one more buffer than necessary allocated to read and transmit all of the pending data.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014