RESP and NORESP commands
|
This command specifies that RESP operands should be added to the CMND statements and the last TEXT statement for each message generated. The RESP data will be up to 25 bytes of the last message received before the next transmit message and following the message for which text is being generated. Received messages shorter than the offset specified will be ignored.
The origin of this data is the beginning of the received data plus the specified offset. The beginning of the received data is the beginning of the request unit (RU) for SNA terminals, and the beginning of the recorded data for all other terminals.
A maximum of 44 characters (including hexadecimal delimiters, hexadecimal digits, text characters, and duplicated delimiter characters) will be included in the deck portion of the RESP data. If no data is received between messages or SNA commands, no RESP data will be added to the TEXT statement or the CMND statement.
0 IF LOC=RH+0,TEXT='01',ELSE=IGNORE,STATUS=HOLD,SNASCOPE=REQ
1 IF TEXT=RESP,LOC=RU+0,COND=NE,THEN=B-QUIT,STATUS=HOLD,SNASCOPE=REQ
- offset
- Function: Represents
the offset from the beginning of the data to the start of the data
to be included in the RESP data.
Format: The offset operand is a decimal number from 0 to 5999.
Default: The default for offset is 0.
- maxlen
- Function: Represents
the maximum number of bytes from the received data that should be
included in the RESP data.
Format: The maxlen operand is a decimal number from 1 to 25.
Default: The default for maxlen is 25.
|
This command specifies that no RESP data should be added to the TEXT or CMND statements for the messages being generated. If neither RESP nor NORESP is specified, NORESP is assumed.