Previous Topic: Generating a JOBLIB During RetrieveNext Topic: Retrieving CA PFF Members


Retrieving CA-Panexec Members

Model Name: APJCPEX

Usage: Retrieve Processing.

Purpose: Retrieve members of CA‑Panexec libraries.

User keywords passed to the model:

SELGRP

Selected group to be used. The group specified in the Library Code can be overridden by the From User data and To User data fields for the member on the Retrieve Processing Options panel. From User data applies to the sending library and To User data applies to the receiving library.

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:

SELGRP='PAYROLL';SELTYPE='CNTL'
SELGRP=' ';SELSTAT='T';SELMODE='A';
 INCLUDE APJCPEX; INC APJCMSGS
$FROMDATA

The From Data field on the Retrieve panel, if it is specified, overrides the default CA‑Panexec group specified in SELGRP for the sending library.

$TODATA

The To Data field on the Retrieve panel, if it is specified, overrides the default CA‑Panexec group specified in SELGRP for the receiving library.

Output: JCL and control statements for executing CA‑Panexec %COPY

Processing Overview: A member is copied from the From Library to the starting level test library.

A member that already exists on the Test Level Library is replaced or not, as specified on the Retrieve panel.

The values of user keywords EMLT and CERTAIN are set to PEX and Y, respectively, for use by models APJCMSGS or APJCSEND.