z/OS Communications Server: SNA Programmer's LU 6.2 Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Handling storage shortages

z/OS Communications Server: SNA Programmer's LU 6.2 Guide
SC27-3669-00

An APPCCMD that sends data can fail because of a temporary storage shortage while VTAM® is attempting to send the data. This is indicated by a return code of X'98' in the RCPRI. The unsuccessful return code does not mean that no data was sent. Some of the data supplied by the application program might have been processed before the shortage occurred.

When this error is reported, VTAM reports to the application program how much data, if any, was processed. It does so in two RPL extension fields—RPL6STBF and RPL6STDS. RPL6STBF points to the application-supplied area that is being processed. If no buffer list is being used on the send, it corresponds to the value supplied by the application program in the AREA field of the RPL. If a buffer list is being used, it points to the actual buffer being processed. Consequently, the application program must be able to take this address and examine its buffer list to determine how many entries have been processed. The RPL6STDS field gives the displacement into the buffer of the data that has been processed. If RPL6STDS is 0, no data has been processed in the buffer.

The application program can issue another send request to process the remaining data.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014