RCVNEGRSP (Receive Negative Response) keyword for ICF files

You can use this file- or record-level keyword to set on a response indicator to inform your program that the remote program has sent a negative response.

The format of the keyword is:
RCVNEGRSP(response-indicator ['text'])

The response-indicator parameter is required.

The optional text is included on the computer printout created at program compilation time to explain the intended use of the indicator. This text has no function in the file or the program other than as a comment. The single quotation marks are required. If you specify more than 50 characters between the single quotation marks, the text is truncated to 50 characters on the program computer printout.

You cannot specify RCVNEGRSP with the TIMER keyword.

Option indicators are not valid for this keyword.

Example

The following example shows how to specify the RCVNEGRSP keyword.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
     A                                      RCVNEGRSP(67 'Negative re-
     A                                      sponse')
     A          R RCD1
     A

Indicator 67 is set on when a negative response is received.