Use this file- or record-level keyword to set on a response indicator to inform your program of the end of a user-defined group of records.
RCVENDGRP(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 RCVENDGRP with the TIMER keyword.
Option indicators are not valid for this keyword.
The following example shows how to specify the RCVENDGRP keyword.
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8 00100A R CUSMST 00200A RCVENDGRP(68 'End of group received- A ') A
Response indicator 66 is set on when the remote program indicates that this is the end of a user-defined group of records.