Previous Topic: $CAGLBL OPT=SAVE

Next Topic: $CAGLBL OPT=LIST


$CAGLBL OPT=PURGE

Purge a persistent global variable.

&CALL PROC=$CAGLBL PARMS=(OPT=PURGE [,DEBUG={N | Y}])

Operands:

OPT=PURGE

Specifies the PURGE function. The values of all the global variables with corresponding records in the external repository (PGVs) are nullified and their respective records in the external repository are deleted.

Note: An audit message will be issued.

DEBUG={N | Y}

When set to Y, initiates internal debugging of the $CAGLBL procedure. Should only be used with assistance from Technical Support.

Return Codes:

RETCODE

0—Successful execution

8—Unsuccessful execution

Examples:
&CALL PROC=$CAGLBL PARMS=(OPT=PURGE)