Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Handling overlength input data z/OS Communications Server: SNA Programming SC27-3674-00 |
|
When an application program issues a RECEIVE macroinstruction,
the length of the incoming data is often unpredictable. As noted earlier,
this is particularly true of RECEIVE macroinstructions issued in the
any-mode. VTAM® provides two
ways of handling data that is too large for the input area:
When the data request read by VTAM is larger than the number of bytes specified in the AREALEN operand of a RECEIVE macroinstruction, the RECLEN field of the RPL indicates, after completion of the RECEIVE, the number of bytes that are available before the RECEIVE was executed. This characteristic of the RECLEN field is shown in Figure 1. Figure 1. Example showing values in the RECLEN
field of an RPL
The application program can select the appropriate option when the session with the LU is established (PROC=TRUNC or KEEP specified in the NIB). Or it can select it when RECEIVE is issued (OPTCD=TRUNC or KEEP specified in the RPL). |
Copyright IBM Corporation 1990, 2014
|