Previous Topic: Online Library GuidelinesNext Topic: Retrieve Processing


Posting Member Status for External Processing

CA‑PanAPT provides the ability to indicate the current processing state (status) for a member that requires some type of external processing, such as outside APJJ5320. Do this by executing PROC APJP5391 to indicate when processing starts and ends for a member.

The POSTTYP parameter in PROC APJP5391 controls the type of posting to be accomplished. To do this:

Be sure that condition codes from the processing steps ensure that external processing is successfully completed before posting the completion status. Note that no other values of the POSTTYP parameter should be used outside the normal processing cycle (APJJ5310, APJJ5320).

Using PROC APJP5391 this way, lets CA‑PanAPT track the correct status of all members during the external processing phase of a Move Request.

When you use APJP5391 for external processing, do not specify the OUTPOST parameter, leave it blank. Also, override the APTINPUT DD statement, placing a control record behind it, as shown below:

COLUMNS
  1‑6 Move Request number, zero filled
  7‑8 Blank
  9‑12 Library Code
 13‑15 Library SubCode
 16‑25 Member Name ($TONAME) left justified

The following statements can be used in a model to create a control statement for external posting.

<$MR>    !$LIBC>   !
             !$LIBSUBC>   !
                !$TONAME>  

The modeling keywords and their starting columns are:

Keyword

Description

Starting Column

$MR

Move Request number

1

$LIBC

Library Code

9

$LIBSUBC

Library Subcode

13

$TONAME

Member TONAME

16

For an explanation of anchoring keywords in specific columns, see the Model Data Statements topic in Chapter 4, "Modeling Facility," in the CA‑PanAPT Administrator Guide.

The CA‑PanAPT modeling facility provides external processing models to perform and post external processing as described above. You can also create your own models.

For a detailed explanation of coding the parameters for PROC APJP5391, see the "Batch Component" chapter.

APJP5391 executes program APCS5391. This program sets a condition code of 0 to indicate successful action, or it ABENDs.