Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (P)
Guardian Procedure Calls Reference Manual—522629-013
12-271
PURGE Procedure (Superseded by FILE_PURGE_
Procedure )
•
Expiration dates
PURGE checks the expiration date of a file before it purges the file. If the
expiration date is later than the current date, PURGE does not purge the file and
returns error code 1091.
Safeguard Considerations
For information on files protected by Safeguard, refer to the Safeguard Reference
Manual.
OSS Considerations
This procedure operates only on Guardian objects. If an OSS file is specified, error
1163 occurs.
Example
CALL PURGE ( OLD^FILE^NAME );