Skeleton to create REPROCESS JCL

You can create a REPROCESS procedure by running the IQCABAT0 skeletal JCL.

A sample skeleton to create QCF procedures running batch processing logic is delivered as part of the IMS Queue Control Facility package in hlq.SIQCSAMP.

IQCA##RE
Sample skeleton for the REPROCESS procedure

Use the sample skeleton to create a JCL skeleton for every IMS system that requires REPROCESS.

Store your skeletal JCL in the QCFJCLIN library using member names IMSIDxxfunction_type. The REPROCESS job that is created during the batch run are stored in the QCFJCLOT library using the same names as those that were used for the input skeletal JCL.

The batch processing logic performs the following actions:

  • Analyzes runtime parameters, allocates all necessary data sets, and prepares a LIST.LOG run command for DBRC.
  • Attaches the RECON utility program (DSPURX00) and analyzes the output to locate the last valid checkpoint for the function type and to find all PRISLDs with log records for the function type.
  • Reads the skeletal JCL for the function type and the IMSID from the skeletal JCL library, replaces or creates (if missing) the LOGIN DD concatenation with all selected PRISLDs data sets in the SELECT step, and replaces or creates (if missing) the CHKPT command statement for the last valid checkpoint in the SELECT step.
  • Stores the new JCL in the output JCL library using the name of the input skeletal JCL.