PURGE command


Use the PURGE command to eliminate entire PDX members from the PDX unload file. The member in the PDX is left unchanged. The following keywords are valid with the PURGE command:

TYPE

You can restrict the scope of the PURGE to report members by specifying TYPE(REPORTS) or to options members by specifying TYPE(OPTIONS). If you omit this keyword, the default is OPTIONS.

FUNCTION

You can specify the type of function that generated the report member or the product for which the option member applies. If you omit this keyword, the function associated with the member will not be used to qualify which members are purged.

For TYPE(REPORTS), the following values are valid:

  • IMSRLD—IMS Reload; bypass LOADPLUS
  • LOAD—LOADPLUS API
  • RELOAD—LOADPLUS Reload function
  • PTRCHK—POINTER CHECKER PLUS Full Checking technique
  • THRESHD—POINTER CHECKER PLUS monitor threshold function
  • SPACE—POINTER CHECKER PLUS space monitoring features
  • HISTORY—POINTER CHECKER PLUS history utilities
  • SXBLDA—SECONDARY INDEX UTILITY BUILDALL function
  • SXLOAD—SECONDARY INDEX UTILITY Index Load function
  • SXSCAN—SECONDARY INDEX UTILITY Index Scan function
  • DBSCAN—UNLOAD PLUS DB Scan utility
  • UNLOAD—UNLOAD PLUS Unload function

For TYPE(OPTIONS), the following values are valid:

  • IMAGECPY—IMAGE COPY PLUS
  • RECOVERY—RECOVERY PLUS
  • PTRCHK—POINTER CHECKER PLUS
  • LOAD—LOADPLUS
  • UNLOAD—UNLOAD PLUS
  • SINDEX—SECONDARY INDEX UTILITY

IMSID

The IMSID of the IMS system on which the function originally ran. If you omit this keyword, all IMSIDs are chosen.

STARDATE

The starting date of a range of reports, in mm/dd/yy format. If STARDATE is specified with TYPE(OPTIONS), the keyword is ignored. If STARDATE is specified with FUNCTION (HISTORY, THRESHD, or SPACE), the member is not removed from the PDX unload file.

ENDDATE

The ending date of a range of reports, in mm/dd/yy format. If ENDDATE is specified with TYPE(OPTIONS), the keyword is ignored. If ENDDATE is specified with FUNCTION (HISTORY, THRESHD, or SPACE), the member is not removed from the PDX unload file.

KEEPDAYS

The number of days of reports to keep in the PDX. Valid values are 0-9999. This keyword overrides the STARDATE and ENDDATE keywords. For example, to keep the reports that were created within the last 30 days and purge all reports that were created more than 30 days ago, specify KEEPDAYS(30).

DBD

You can specify the 8-byte DBD name of the database associated with the reports or options. If you omit this keyword, the DBD associated with the member will not be used to qualify which member keys are changed.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*