RCVDETACH (Receive Detach) keyword for ICF files

Use this file- or record-level keyword to set on a response indicator if the remote program is ending the transaction.

The format of the keyword is:
RCVDETACH(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. The 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 RCVDETACH with the TIMER keyword.

Option indicators are not valid for this keyword.

Example

The following example shows how to specify the RCVDETACH keyword.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A                                      RCVDETACH(44 'Transaction is  +
00020A                                      finished')
00030A          R RCD
     A

Response indicator 44 is set on when the remote program ends the transaction.