General Format
[ PROGRAM-ID. program-name [ IS {INITIAL } PROGRAM ] . ]
{RESIDENT}
General Rules
- The RESIDENT clause is an ACUCOBOL-GT extension.
- The RESIDENT clause specifies that the program is to remain resident in memory after its first execution. A program with the RESIDENT clause cannot be affected by a CANCEL statement. Note that the RESIDENT clause shields selected programs from the effects of a CANCEL Statement.
Note: The NOCANCEL Compiler directive has the the same effect as the RESIDENT clause.