Previous Topic: Library Code SpecificationsNext Topic: CA-PFF Moves


Model Specifications

The model, APJMPFF, is used to process CA‑PFF moves.

This model uses parameters to specify how CA‑PFF is to back up members from the PROD libraries, whether to process ALIAS members, and the type of members in a PDS. All user keywords must be specified. Specify the value for each keyword as described below. The keywords must be set before the INCLUDE.

ALIAS

Specifies how CA‑PFF is to process aliases on a PDS. Valid values are Y and N.

When ALIAS=Y, CA‑PFF processes main/alias structures. If you specify the member name or an alias, the member name with all the aliases is copied.

When ALIAS=N, only the member or alias named is copied.

LIBTYPE

Specifies the type of PDS being processed. This model validates the value for the correct content. If the content is not valid, an appropriate error message is issued. Valid values are: '', 'SOURCE', 'EXEC', and 'OBJECT'. When the null value ('') is used, LIBTYPE is set to 'SOURCE'.

The example below specifies that there is NO alias, and the library contains SOURCE members.

ALIAS=N; LIBTYPE=''; INCLUDE APJMPFF;
Protection Files

APJMPFF uses user variables to specify whether members are saved on protection files prior to being deleted or replaced. To use a protection file for any CA‑PFF library defined in your Library Code, set the keyword 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, to use a protection file named PAYROLL.PROD.PDSBKUP for library PAYROLL.PROD.PDS with PFFP as the ddname for PAYROLL.PROD.PDS, designate the following in your model specifications before including the APJMPFF model:

PF_PFFP = 'PAYROLL.PROD.PDSBKUP'

The model also inspects other user keywords to determine what unit the protection file is on, and any other parms that should be specified on the DD statements.

User keyword $G$PFF_PFUNIT is used to specify the unit. If not specified, this defaults to TAPE. If used, set this keyword in either the APJMLEAD model or the APJMPFF model, not in your Library Code model specifications. Override the unit for any Library Code by designating the PV_PFUNIT user keyword in its model specifications before including the APJMPFF model.

$G$PFFLOAD must be set to the name of the installation PFF load library and $G$PFFCACHE must be set to the PFF CACHE library. Keyword $G$_DSCB must be set to a meaningful model DSCB name. Finally, $G$REGNSZ is currently set to 4096K. All of these keywords are present as comments in APJMLEAD.