CL Command Reference - STRCDSRDAR
CL Command List > STRCDSRDAR Reference
Description:
The Start Coded Data Store (STRCDSRDAR) command allows you to store reports in OnDemand. During this process the report is broken into segments, indexed, compressed, and stored on disk for retrieval and later migration to optical or tape media if desired.
Examples:
Example 1: Simple Example
STRCDSRDAR REPORT(CHECKSTMTS) SPLF(CKSTMTPRTF)
This command submits a job to batch to capture the CKSTMTPRTF spooled file from the current job into OnDemand Spool File Archive.
Example 2: More Complex Example
STRCDSRDAR REPORT(CHECKSTMTS) SPLF(CKSTMTPRTF)
JOB(123456/OPERATOR/NIGHTBATCH)
SPLNBR(*LAST) SBMJOB(*NO)
This command runs interactively to capture the last occurrence of the CKSTMTPRTF spooled file from a nightly batch job called NIGHTBATCH.