CL Command Reference - DLTRPTRDAR

CL Command List > DLTRPTRDAR Reference

Description:

The Delete Report for OnDemand (DLTRPTRDAR) command deletes the specified report.


Examples:

Example 1: Simple Example

DLTRPTRDAR REPORT(CHECKSTMTS) VERSION(01)
RPTDATE(20020101) RPTSEQ(001)

This command submits a job to batch that will delete an OnDemand Spool File Archive report called CHECKSTMTS for Version 01/Sequence number 001 for the date specified.



Example 2: More Complex Example

DLTRPTRDAR REPORT(CHECKSTMTS) VERSION(01) RPTDATE(20020101)
RPTSEQ(001)CLEANUP(*YES) SBMJOB(*NO)

This command runs interactively to delete all or part of an OnDemand Spool File Archive report called CHECKSTMTS for Version 01/Sequence number 001 for the date specified. The CLEANUP(*YES) parameter is used to delete parts of an archived spooled file that may have been created during a previous archive attempt that was unsuccessful.