Previous Topic: Exit CallsNext Topic: Parameters Passed


Exit Codes

The following chart summarizes the codes passed to the Member Existence Exits:

Code

Process

Description

1

MAKECOPY

Copy a Move Request

2

PRECHANGE

Prior to displaying the Member Moves panel for a change

3

POSTCOPY

After all changes have been completed to a Move Request for a copy

4

POSTCHANGE

After all changes have been completed to a Move Request for a change

5

ADD,COP,CHG

When you add or change a member to a Move Request during an add, copy or change

6

CLO,VER

When you close or verify a Move Request

7

BACKOUT

During Back Out setup

8

SELECTION

During the move processing selection process

9

 

During ASN or ACK actions

A

PURGE

When you purge a member from a Move Request

Code=1

When you copy a Move Request (MAKECOPY, Code=1), CA‑PanAPT calls the exit for eligible members before the Description of Move Request panel is displayed. Note that the verify flag is always initialized to V during this process.

Code=2

When you specify an action of CHG for a Move Request (PRECHANGE, Code=2), CA‑PanAPT calls the exit for each member of the Move Request after the Description of Move Request panel is displayed and before the Member Moves panel is displayed.

Code=3

When you have completed all changes to a Move Request (POSTCOPY, Code=3) and entered END, CA‑PanAPT calls the exit for all members of the Move Request after all assignments have been done and the Inventory Record updated (before the Move Request Maintenance or Browse Move Requests List panel is displayed).

Code=4

When you have completed all changes to a Move Request (POSTCHANGE, Code=4) and entered END, CA‑PanAPT calls the exit for each member (before the Move Request Maintenance or Browse Move Requests List panel is displayed).

Code=5

When you add or change a member during ADD, COP, or CHG processing, CA‑PanAPT calls the exit for the new member (Code=5). At the time of the call, all assignments have been attempted and the Inventory Record is updated, if possible. The verify flag is always initialized to V before the exit is called.

When you ASN or ACK during ADD, COP, or CHG processing; Code=9.

Code=6

When you close (CLO) or verify (VER) a Move Request, CA‑PanAPT calls the exit for each member in the Move Request (Code=6).

Code=7

When you specify an action of BAK for a Move Request (Back Out, Code=7), CA‑PanAPT calls the exit for each member before completing the Back Out action. The verify flag is always blank during this process.

The $MEMBEREXIST modeling keyword is set according to the return value from the member existence exit:

Y

The member passed the checks in the exit.

N

The exit was invoked, but the member did not pass the checks in the exit.

blank

The exit was not invoked.

Code=8

When APCS5310 selects a Move Request for move processing (MOVE, Code=8), CA‑PanAPT calls the exit for each member during the selection process. The verify flag is always blank during this process.

The exit specified for the Test level is called with Codes 1-6 during preparation of the Move Request. It is also called with Code=8 during Move Request selection for Move to QA or Move to Prod if there is no QA level library.

The exit specified for the QA level is called:

Code=9

When you perform the ASN or ACK action during Move Request maintenance, the exit is called with Code=9.

Code=A

When you perform the PURGE action during Move Request maintenance, the exit is called with Code=A. In this case, ACTION field passed to the exit (described in the APCC02XX and APAM02XX copy members) also contains the value MEMPURGE as opposed to MEMBER.