Previous Topic: CAPanvalet LockNext Topic: CA-Panexec Moves


GDG Considerations

Limitations with the standard move style JCL:

When members are being deleted to protection files, these protection files are maintained as GDG data sets. This processing requires special attention because the actual data set name corresponding to relative generations is not adjusted immediately when new generations are created, but is deferred until the end of the job. If the same GDG index is used in two different delete steps of a job, you encounter JCL errors.

This situation can occur in two different ways.

If you encounter these problems, just use the normal restart procedures to get through the current move cycle. Because you are restarting as a new job, the correct data sets are used. After the move completes, you can take one of three actions to prevent this from happening in the future:

  1. Quit using protection files.
  2. Change to use the REXX style of Move JCL. It uses APTALLOC instead of JCL to allocate the GDG data sets. APTALLOC uses a feature of dynamic allocation that commits new GDG versions when the data sets are closed, instead of at the end of the job.
  3. Change the CA‑Panvalet model to generate a new job at the end of the move JCL, and to submit that job.
Other GDG problems:

If you have not created any previous CA‑Panvalet protection files, you receive a JCL error when running the standard style of move JCL, or an APTALLOC error for the REXX style of move JCL the first time you perform a move using that protection file. To remedy this, create the first generation manually.