When INMRZ12R receives control, register 1 points to the standard
exit parameter list. The parameter list is described in TSO/E standard exit parameter list. Note that the TRANSMIT and RECEIVE exits
do not use the new command buffer field in the parameter entry pointed
to at offset +4. Following is a description of the exit-dependent data
that INMRZ11R receives beginning at offset +36 (decimal).
Figure 1. Exit-dependent
data on entry to INMRZ12R
Parameter entries 10 and 12 (RECEIVE PARM string and message text
for message ID INMR151I, respectively) are the same for all RECEIVE
exits. For a description of those parameter entries, see Parameter descriptions for INMRZ01R.
Following are descriptions of the other parameter entries:
- Action Flags (Parameter Entry 11)
- The data field contains a word of action flags, which the exit
can set to control RECEIVE processing after it returns. The flags
in byte 0 are defined as follows. Bytes 1, 2, and 3 are reserved.
- Bit
- Action
- 1... ....
- RECEIVE is to issue message INMR151I, using the text contained
in the parameter entry pointed to at offset +44.
- .1.. ....
- If the return code from the exit is non-zero (end processing),
RECEIVE is not to issue the normal error message. The exit either:
already sent an appropriate message to the user; set return code 12,
which causes message IKJ79154I to be issued; or requested that RECEIVE
issue message INMR151I, using the text contained in the parameter
entry pointed to at offset +44.
- ..11 ....
- Reserved
- .... 1...
- RECEIVE is to keep (not delete) the input file being received,
even though no error has occurred.
- .... .1..
- RECEIVE is to delete the input file being received, even though
errors are indicated.
- .... ..11
- Reserved
- Status Flags (Parameter Entry 13)
- The data field contains a word of status flags in which RECEIVE
passes indicators to the exit. The flags in byte 0 are defined as
follows. Bytes 1, 2 and 3 are reserved.
- Bit
- Meaning
- 1... ....
- The input source for RECEIVE is not JES. The bit is on when the
user specified either INDATASET, INDSNAME, INDDNAME, or INFILE on
the RECEIVE command.
- .1.. ....
- RECEIVE does not recognize the input data. Either an error occurred
in the transmission, or the data was sent by a program other than
TRANSMIT or PROFS™.
- ..11 ....
- Reserved
- .... 1...
- RECEIVE is to end processing. Either the user replied ‘END’ to
a prompt, or an error occurred while prompting.
- .... .1..
- The user entered ‘DELETE’ in response to a prompt.
- .... ..11
- Reserved
- RECEIVE Return Code (Parameter Entry 19)
- The data field contains the RECEIVE return code.
- Ddname of RECEIVE Output File (Parameter Entry 20)
- If the RECEIVE pre-processing exit (INMRZ11R or INMRZ11) or the
RECEIVE post-prompt exit (INMRZ15R) requested that the output be written
to a temporary data set, this data field contains the ddname of that
output file. If that request was not made, the field is blank.
- Number of Records Read from the Input File (Parameter Entry 21)
- The data field contains the number of records read from the input
file during this receive operation.
- Node to Which an Acknowledgment is to be Sent (Parameter Entry
22)
- The data field contains either the node name or the node number
to which the acknowledgment is sent. The exit can change that information.
- User ID to Which an Acknowledgment is to be Sent (Parameter Entry
23)
- The data field contains the user ID to which the acknowledgment
is to be sent. The exit can change that information.