ENDGRP (End of Group) keyword for ICF files

Use this file- or record-level keyword so that your program can indicate the end of a user-defined group of records.

This keyword has no parameters.

The ENDGRP keyword is ignored at run time when DETACH, EOS, RSPCONFIRM, or RQSWRT is in effect. These keywords must have option indicators when they apply to a record for which the ENDGRP keyword applies. If a DETACH, EOS, RSPCONFIRM, or RQSWRT keyword with no option indicator applies to a record for which ENDGRP applies, an error message is issued and the ENDGRP keyword is ignored at creation time.

You cannot specify ENDGRP with the TIMER keyword.

Option indicators are valid for this keyword. (When you specify this keyword at the file level, you should specify an option indicator.)

Example

The following example shows how to specify the ENDGRP keyword.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00030A          R RECORD1                   ENDGRP
     A