CL Command Reference - RCLRPTRDAR
CL Command List > RCLRPTRDAR Reference
Description:
The Reclaim Report for OnDemand (RCLRPTRDAR) command reclaims (recovers) the specified report from disk, tape, or optical and optionally re-runs STRCDSRDAR. The reclaimed report is placed in the jobĄ¯s output queue. The RCLRPTRDAR command is only used to recover lost OnDemand reports and should only be used with caution or with assistance from the support center.
Examples:
Example 1: Simple Example
RCLRPTRDAR REPORT(CHECKSTMTS) VERSION(01) RPTDATE(20020101)
RPTSEQ(001)FROM(*OPTICAL) OPTVOL((OD0000000012))
This command submits a job to batch to respool a particular OnDemand Spool File Archive archived report named CHECKSTMTS from optical volume OD0000000012. The reclaimed spooled file is placed in the jobĄ¯s output queue. This command is most often used when a problem is encountered with an archived report and the spooled file needs to be rearchived.
Example 2: More Complex Example
RCLRPTRDAR REPORT(CHECKSTMTS) VERSION(01) RPTDATE(20020101)
RPTSEQ(001)FROM(*OPTICAL) OPTVOL((OD0000000012))
AUTOSTORE(*YES)SBMJOB(*NO)
This command is similar to Example 1 but runs interactively and automatically stores the reclaimed spooled file back into OnDemand Spool File Archive.