Previous Topic: CA-Librarian MovesNext Topic: CA Panvalet Moves


CA-Panexec Moves

Model Name: APJMPEX

Usage: Daily Processing Cycle

Purpose: Move members of CA‑Panexec libraries as part of daily move processing (APJJ5310‑APJJ5320).

Members of the APTMDLO PDS:

Note: This is the output member name of the modeling statement $OUTPOST= <$OUTPFX>. The # is not coded on the modeling statement. It is automatically added when the model is processed.

User keywords passed to the model:

CMDOPT

Command option scope (F,G,E, or blank).

SELGRP

Selected group to be used. The group specified in the Library Code can be overridden by the From User data field for the member on the Move Request.

SELTYPE

Selected type to be used.

SELSTAT

Selected status to be used.

SELMODE

Selected mode to be used.

Specify all of the above parameters in the Library Code definition for every Library Code that uses the model. For example, use the following specification when no CA‑Panexec protection files are created:

CMDOPT=' ';SELGRP='PAYROLL';SELTYPE='T'
SELSTAT=' '; SELMODE=' '; INCLUDE APJMPEX

This model also uses the User Data field from the Move Request as the CA‑Panexec group name. $FROMDATA overrides the group name for the sending library, and $TODATA overrides the group name for the receiving library.

Output: This model creates a set of members in model output library APTMDLO. Each member name consists of an output prefix ($OUTPFX) followed by a character to provide uniqueness. The output prefix is a combination of the model base plus the library level abbreviation.

Processing Overview: Builds control cards for use by CA‑Panexec.

The access and override code for any Library Code can be specified in the security field for each data set in the Library Code definition. The first four bytes are the access code and the second four bytes are the override code.

The same model (APJMPEX) is used to process CA‑Panexec moves with protection files and without them. Protection files must be specified in the library code specification before the model is included in order to alert CA‑PanAPT to their existence. To use a protection file for any CA‑Panexec type move, set the variable PF_DDN 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, if you want to use a protection file name, PAYROLL.PROD.PEXBKUP for library PAYROLL.PROD.PEXLIB and the ddname for the latter is PEX$P$P, designate the following in the library code specification:

PF_PEX$P$P='PAYROLL.PROD.PEXBKUP;
 CMDOPT=' ';SELGRP='PAYROLL';SELTYPE='T'
SELSTAT=' '; SELMODE=' '; INCLUDE APJMPEX