

FMSGEN PROC › REXX Program—ADSRX010 › Logic Summary
Logic Summary
The JCL procedure for this REXX program consists of the following steps:
- Invokes the REXX program and outputs four sequential files from information contained in the @JOB() section:
- Specified system parameters
- FMS selection criteria used in step 2
- Sort control statements for step 3
- Sort control statements for step 5
- A simulated FMS recover runs. It reads the DSNINDEX subfile and performs record selection based on the information gathered in step 1.
- The DSNINDEX records are sorted controlled by sort information specified in step 1, using primary ARCHVOL key if DSNKEY was specified.
- The execution step that processes the DSNINDEX records and adds a new field with the ARCHVOL key to be used based on sysparms RESCOPYT and RESCOPYS.
- The extended DSNINDEX records are sorted controlled by sort information specified in step 1, using the ARCHVOL key to be used according to SYSPARMS RESCOPYT and RESCOPYS settings, if DSNKEY was specified.
- The execution step that processes the sorted DSNINDEX file. Using the @RPT and @JCL sections of the template, it reads the extended DSNINDEX records and creates a report along with JCL to invoke one restore per archive volume.
Copyright © 2015 CA Technologies.
All rights reserved.
 
|
|