RESIDENT Clause

The RESIDENT clause in the PROGRAM-ID paragraph causes the program to remain resident in memory after its first execution. A program with the RESIDENT clause is not affected by a CANCEL or CANCEL ALL statement. Should the condition occur where there isn't enough system memory available to load a program, the CALL will fail with a Inadequate memory available error.