Previous Topic: Checkout/Retrieve CA-Librarian MembersNext Topic: Checkout/Retrieve PDS Members


Checkout/Retrieve CA-Panvalet Members

Model Name: APJCPANV

Usage: Checkout/Retrieve Processing.

Purpose: Checkout/Retrieve members of CA‑Panvalet libraries.

User keywords passed to the model:

LOCK

Specifies whether to lock the From Member in the From Library during the Checkout/Retrieve. The member is locked only when LOCK is specified as Y and the From Library is a normal target library and not a Backup or Back out library. The LOCK keyword must always be set to N or omitted for releases of CA‑Panvalet before release 14.1.

If you are using version 14.2 of CA‑Panvalet, you must alter the APJCPANV model before specifying Y for LOCK. The LOCKSTYLE keyword setting must be changed from 2 to 1. See the comments in the model regarding this.

Output: Optional JCL to first delete the member in the starting level test library, if you specified that the member is to be replaced.

JCL to copy the member to the test library using PAN#2 library‑to‑library transfer.

An optional control statement or job step (depending on your release of CA‑Panvalet) to LOCK the member on the From Library.

Processing Overview: Status of the member in the target (Test) Library is taken from the RSTSTAT operand in the CA‑Panvalet PVOPT generation macro.

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

During Checkout processing, a step is run to update the database to update the status of the member.

Model specification notes: You should consider adding an INCLUDE to add a JOBLIB DD statement for model APJCJOBL prior to the INCLUDE of APJCLIBR.

If you want to send a message to the user who invoked the Checkout/Retrieve, you can add an INCLUDE for either model APJMSEND, APJCSEND, or APJCMSGS after the INCLUDE of APJCLIBR. APJMSEND is the best choice because the method it uses to send the message can be controlled in the APJMLEAD model.