Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
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.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
REPORT | Report name | Character value | Required, Positional 1 |
VERSION | Version | 1-99 | Required, Positional 2 |
RPTDATE | Report date | Character value | Required, Positional 3 |
RPTSEQ | Report sequence number | 1-999 | Required, Positional 4 |
FROM | Reclaim report from | *DASD, *OPTICAL, *TAPE, *TAPEMGR | Required, Positional 5 |
ACCTYPE | Default optical volume type | *HFS, *RDARLAN | Optional |
OPTVOL | Optical volume | Values (up to 10 repetitions): Element list | Optional |
Element 1: Name | Character value | ||
Element 2: Library | Name, *NONE | ||
Element 3: Type | *ACCTYPE, *HFS, *RDARLAN | ||
TAPDEV | Tape device | Name | Optional |
MLB | Media device library | Name | Optional |
SEQNBR | Tape sequence number | 1-9999, *SEARCH | Optional |
TAPVOL | Tape volume | Values (up to 10 repetitions): Character value | Optional |
ENDOPT | End of tape option | *REWIND, *LEAVE, *UNLOAD | Optional |
AUTOSTORE | Automatically store reports | *NO, *YES | Optional |
SBMJOB | Submit to batch | *YES, *NO | Optional |
JOBD | Job description | Qualified object name | Optional |
Qualifier 1: Job description | Name, QRDARS400 | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB |
Top |
Specifies the name of the report to reclaim.
This is a required parameter.
Note: If you press the F4 key for this parameter while prompting the command, a list of all the valid entries is presented to you.
Top |
Specifies which version of the report should be reclaimed. This value must be between 01 and 99.
This is a required parameter.
Top |
The report date can be found in the QPRLRCDS printer file from STRCDSRDAR or on the OnDemand displays which show the report date for a given report.
Specify a date using the format YYYYMMDD where YYYY represents the year, MM the month, and DD the day. Do not use any type of special characters to separate year, month, and day values.
This is a required parameter.
Top |
Specifies the report sequence number for the report to be reclaimed. This value must be between 001 and 999.
This is a required parameter.
Top |
Specifies where the report should be reclaimed from.
This is a required parameter.
Top |
Specify the optical volume type to use as the default.
Top |
Specifies the identifiers of up to ten optical volumes containing the report to be reclaimed.
You can enter multiple values for this parameter.
Element 1: Name
Element 2: Library
Element 3: Type Specify the type of optical volume.
Top |
Top |
Specifies the name of the media device library that the tape device specified for the Tape device (TAPDEV) parameter is located in. This parameter should only be used when the tape device is located in a media device library.
Top |
Specifies the tape sequence number of the report to reclaim.
Top |
Specify the volume names of one to ten volumes in the order in which they are to be mounted in the tape device and used to reclaim the report.
You can enter multiple values for this parameter.
Top |
Specifies, when tape is used, what positioning operation is automatically done on the tape volume after the reclaim operation ends. If more that one tape volume is included, this parameter applies only to the last tape volume used; all other tape volumes are rewound and unloaded when the end of the tape is reached.
Top |
Specifies if the reclaimed report should also be stored using the Start Coded Data Store (STRCDSRDAR) command.
Top |
Specify if you want to reclaim this report in this current job or in a batch job.
Top |
Specifies the name of the job description used for the submitted job.
Qualifier 1: Job description
Qualifier 2: Library
Top |
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.
Top |
*ESCAPE Messages
Top |