Previous Topic: Move Request SpecificationsNext Topic: CMDOPT Keyword


Model Specifications

The CA‑Panexec Model, APJMPEX, processes CA‑Panexec moves with support for protection files.

Setting Up a Move

Model APJMPEX is used to process a CA‑Panexec move. The Model Specifications that are used to drive APJMPEX are:

CMDOPT = 'F'; SELGRP = ''; SELTYPE = ''; SELSTAT = ''; SELMODE = 'A';
INCLUDE APJMPEX

This model can handle both protection file and non‑protection file moves, unlike earlier versions of CA‑PanAPT which had separate models for each type of move. Certain keywords residing in APJMLEAD need to be uncommented and modified to suit the local computing environment. $G$SCRSPA and $G$PANESRL must be activated in any CA‑Panexec/CA‑PanAPT environment. IF GDG data sets are being used, $G$_TMSPARM, $G$_TAPE and $G$_GDG_DCB must be activated and set also.

Protection Files

This model uses user keywords to specify whether members are saved on a protection file prior to being deleted or replaced. To use a protection file for a CA‑Panexec library, the library code specification must include the keyword PF_DDN. This must be set to the data set name of the protection file, excluding the GDG generation reference at the end of the name. Substitute DDN with the ddname of the library this protection file is for.

For example, to use a protection file named SYS2.PROD.XLIBBKUP for library SYS2.PROD.XLIB with the ddname for SYS2.PROD.XLIB being XLIBDDNP, supply the following in your model specification before including the APJMPEX model:

PF_XLIBDDNP = 'SYS2.PROD.XLIBBKUP'

Other DD information pertaining to the protection file is picked up from APJMLEAD or can be given in the model specification in the same fashion. Where protection files are not used, the %REMOVE statement generated moves the REMOVEd member to a temporary file that is deleted at the end of the job step.

The keywords must be set before the APJMPEX Model is INCLUDEd, or Modeling errors occur. An explanation of these keywords follows: