Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Start Report Management Cycle (STRRMCRDAR) command starts the Report Management Cycle (RMC) which manages the movement of report data between disk and optical or tape. This function can be canceled with a controlled cancel option if enough time is allowed to end what it is currently processing.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
PROCESS | Process to run | *ALL, *MIGRATION, *EXPIRATION | Optional, Positional 1 |
RPTCOL | Report policy | Generic name, name, *ALL | Optional |
LOGSTS | Log migration status | *NO, *YES | Optional |
SNDFAILMSG | Send failure message | *NO, *YES | Optional |
USER | User to send failure message | Name, QSYSOPR | 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 if the Report Management Cycle (RMC) does migration processing, expiration processing, or both. You may want to separate these functions if you are concerned with how long RMC processing takes. Migration processing only looks at reports or indexes that are on DASD, while expiration processing looks at all reports and indexes. By separating these processes, you can run the expiration process less frequently than the migration process.
Top |
Specifies the name of the Report Policy to use when the Report Management Cycle is run.
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 if RMC should log the status of processes that it is performing.
Top |
Specifies if RMC should send a message to notify someone that a migration failure has occurred during RMC processing. This message is only sent on the first failure during the run. Processing does not stop but continues on to the next report. If RMC needs to be ended because of this message, issue a controlled cancel on the RMC job allowing at least 30 minutes. This gives RMC time to finish the report it is migrating before it ends.
Top |
Specifies the user who should be notified when SNDFAILMSG is *YES.
Top |
Specifies if RMC should run in batch or interactively.
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
STRRMCRDAR
This command submits a job to batch that starts the Report Management Cycle (RMC), which manages the movement of OnDemand Spool File Archive and AnyStore data between disk and optical or tape. This command example runs both migration and expiration processing for all report migration policies. It logs only failures in the job log and sends no failure messages to any message queues.
Example 2: More Complex Example
STRRMCRDAR PROCESS(*MIGRATION) LOGSTS(*YES) SNDFAILMSG(*YES) USER(QSYSOPR)
This command submits a job to batch that starts Report Management Cycle (RMC) migration processing only. No expiration processing will occur. Both successful and failure status messages will be written to the job log, and if any failure occurs, a failure message will be sent to the QSYSOPR message queue.
Top |
None
Top |