Previous Topic: PROC APJP5310Next Topic: PROC APJP5391


Program APCS5310 Parameters

Program parameters can be specified through the parameter passed to program APCS5310 and/or optional file APTSYSIN. If you supply additional program parameters other than those which are specified via PROC parameters STATUS, ST‑OMIT, and MCP, then supply them through the optional file APTSYSIN, rather than through the parameter. Otherwise, the PROC parameters STATUS, ST‑OMIT, and MCP are ignored.

To specify program parameters through file APTSYSIN, add a DD statement for DD name APTSYSIN after the invocation of PROC APJP5310 in the JCL. If the APTSYSIN file resides on disk (instead of an instream file) it should contain 80‑byte fixed length records. You can specify multiple records. You can also specify multiple selection criteria on each record, by separating them with a semicolon.

The program parameter keywords and syntax follows:

Keyword

Description

DATE="x/y/z"

Controls the date to which the next or final move dates of the Move Requests are compared. Today's date is the default.

If you have to perform moves for a subsequent date, you can specify that date with this keyword, and selection acts as though it were actually that date. The date format is the same format as presented on the reports (MM/DD/YYYY, DD/MM/YYYY, or YYYY/MM/DD). If you specify only a two-digit year, the current century is used.

DESELECT‑MISSING="x"

Controls how APJP5310 processes members being moved that do not exist. This does not pertain to members being backed out.

When x is YES and a member existence exit cannot find a member, it reports the member is missing and the Move Request is bypassed from the selection process. When x is NO and a member is missing, processing is aborted.

If this keyword is specified in both the OS parameter string passed to APCS5310, and in the APTSYSIN file, the value specified in APTSYSIN is used.

DUP="x"

Indicates whether duplicate members are allowed. Members are considered duplicates if they have the same destination member name and Library Code Inventory Qualifiers. The default is DUP="NO".

When duplicate members are detected with DUP="NO", processing is aborted. DUP="YES" allows duplicate members.

If this keyword is specified in both the OS parameter string passed to APCS5310, and in the APTSYSIN file, the value specified in APTSYSIN is used.

MPC="abc...xyz"

Specifies the Move Processing Cycles to use for a run. This is the same as the MPC= PROC parameter.

If this keyword is specified in both the OS parameter string passed to APCS5310, and in the APTSYSIN file, the value specified in APTSYSIN is used.

MR="n,n,b:e"

This keyword enables you to select specific Move Request numbers or a range of Move Request numbers. A range is specified as b:e, where b is the beginning of the range, and e is the end of the range. Multiple values and ranges can be specified by separating them with commas, or by specifying the MR keyword more than once.

Specifying this keyword can improve the performance of APJP5310, because it allows skip processing of the database, rather than reading all of the Move Request records.

If you do not specify this keyword, then Move Request number values are not considered when selecting Move Requests.

MR‑OMIT="n,n,b:e"

This is the opposite of the MR keyword. Any Move Requests with these Move Request number values are bypassed from selection, even if they pass all other selection criteria.

Specifying this keyword can also improve the performance of the selection process, because it allows skip processing of the database.

If this keyword is not specified, then Move Requests are not omitted by Move Request numbers.

SR="x,x,...x"

You can restrict the selection to Move Requests that have the listed Service Request values. More than one can be specified by either separating them with commas, or by specifying the SR keyword more than once. If you don't specify this keyword, then Service Request values are not considered when selecting Move Requests.

Note: Because of the syntax of this keyword, you cannot specify a comma or a quotation mark as a character to select a Service Request.

SR‑OMIT="x,x,...x"

This is the opposite of the SR keyword. Any Move Requests with these Service Request values are bypassed from selection, even if they pass all other selection criteria. If this keyword is not specified, then Move Requests are not omitted by Service Requests.

STATUS="xxx,xxx,...xxx"

This keyword enables you to select Move Requests by status. Multiple statuses can be selected by either separating them with commas, or by specifying the STATUS keyword more than once.

This keyword is the same as the STATUS= PROC keyword.

STATUS‑OMIT="xxx,xxx"

This is the opposite of the STATUS keyword, and is the same as the ST‑OMIT PROC keyword.