Parameters

LUADD
Defines a local LU for the APPC/MVS configuration.

Use the SETAPPC LUADD command to define a local APPC/MVS LU to the APPC configuration.

The LUADD command must specify an LU name and (optionally)
  • An indication of whether the LU is associated with a transaction scheduler
  • The name of the transaction scheduler, if one is to be associated with this LU
  • The amount of time the LU's sessions will persist in the event the LU becomes unavailable
  • The TP profile file associated with the LU
  • The level of TP profile from which the LU starts to search
  • Optional values to be passed to an alternative transaction scheduler, or to any other member of the APPC XCF group, such as an APPC/MVS server
  • A VTAM® generic resource name to associate with the LU
  • An indication of whether the LU is enabled to support network-qualified names for its partner LUs.

Each LU managed by APPC/MVS must be defined by either an LUADD statement previously invoked through the SET APPC command or through the SETAPPC command. When an installation uses the ASCH transaction scheduler exclusively, only one LU is required. If other transaction schedulers are used, each scheduler requires a separate LU. An installation might choose to define additional LUs to isolate TPs for security or testing.

An installation can also define LUs that are not associated with transaction schedulers. These LUs handle work that is processed by APPC/MVS servers, rather than scheduled by a transaction scheduler. Such LUs are indicated by using the NOSCHED keyword on LUADD. Installations can also use NOSCHED LUs when they want to flow outbound allocate requests without having a transaction scheduler active. (Note that APPC/MVS servers can also run under LUs that are associated with transaction schedulers.)

You can modify an LU by overriding previously defined LUs made through either the SET APPC or SETAPPC commands. In this case, the SETAPPC LUADD command specifies an ACBNAME that names an existing LU and then the parameters to be modified. The only parameters you cannot modify with an overriding LUADD are the SCHED, NOSCHED, ALTLU, USERVAR, GRNAME, NQN and NONQN parameters. To change these parameters, first delete the LU with a SETAPPC LUDEL command and then issue a SETAPPC LUADD command to re-add the LU with a changes to the parameters.

Example:

The following example defines LU MVSLU01 to be associated with the transaction scheduler provided with APPC/MVS:
SETAPPC LUADD,ACBNAME=MVSLU01,SCHED=ASCH,TPDATA=(SYS1.APPCTP),TPLEVEL=USER
ACBNAME(luname)
The required name of the LU that APPC/MVS is to remove. If this LU was defined to VTAM, its association with VTAM is terminated after active conversations end.

Value Range: A one- to eight-byte character string of uppercase letters A through Z, numerals 0-9, national characters (@,$,#) that must begin with an alphabetic or national character.

The SNA LU 6.2 architecture defines a network-qualified LU name to be up to 17 bytes in length and in the form network_id.network_LU_name, where network_id is the optional 8-byte id of the network and network_LU_name is the 8-byte local LU name. SAA CPI Communications allows the full 17-byte network-qualified LU name. However, for the ACBNAME keyword, specify only the 8-byte local LU name.

Default: None, this parameter is required.

SCHED(ASCH|schedname)
NOSCHED
An optional parameter that indicates whether the LU is to be associated with a transaction scheduler. LUs associated with a transaction scheduler cannot become active until that scheduler identifies itself to APPC/MVS. LUs not associated with a transaction scheduler become active as soon as APPC/MVS becomes active.

SCHED indicates that the LU is associated with a transaction scheduler. schedname must match the name the transaction scheduler specifies when it calls the Identify service. For more information about the Identify service and its scheduler_name parameter, see z/OS MVS System Messages, Vol 3 (ASB-BPX).

NOSCHED indicates that the LU is not to be associated with a scheduler. When NOSCHED is specified, the LU becomes active as soon as APPC/MVS becomes active. Installations can use NOSCHED LUs to isolate work from schedulers when the work is to be processed by APPC/MVS servers. Installations can also use NOSCHED LUs to flow outbound allocate requests without having a transaction scheduler active.

Value Range: For schedname, the value is a one- to eight-byte character string and each character must be an uppercase letter (A-Z) or a numeral (0-9).

Note: SCHED and NOSCHED are mutually exclusive keywords; you cannot specify both SCHED and NOSCHED in a single LUADD statement. Doing so causes the system to ignore the statement and issue message ATB041I to the system operator.

Default: When you omit both SCHED(schedname) and NOSCHED, the default is SCHED(ASCH).

BASE
An optional parameter that designates the LU as the base LU. Base LUs are default LUs assigned to handle outbound work. A base LU can be the default LU associated with a particular transaction scheduler or a NOSCHED LU.

When a NOSCHED LU is defined with the BASE option, the LU becomes the system base LU. That means the LU is to be the default LU used for outbound allocate requests from MVS™ programs, such as batch jobs, TSO/E users, started tasks, and other work requests that attempt to enter the network without being associated with a scheduler or an LU.

Example: The following example defines a NOSCHED LU, MVSLU02, to be the system base LU.
SETAPPC LUADD,ACBNAME=MVSLU02,NOSCHED,BASE,TPDATA=(SYS1.APPCTEST),TPLEVEL=SYSTEM

If you do not define a NOSCHED LU as a base LU, the base LU defined for the APPC/MVS transaction scheduler (ASCH) becomes the system base LU. If the system base LU does not exist , APPC/MVS rejects conversations allocated by MVS programs that are not associated with a scheduler or an LU.

IBM® recommends that you define one LU per transaction scheduler as the base LU for the scheduler. In addition, define a NOSCHED LU as the system base LU if you want to allow outbound requests from the system when no transaction schedulers are active.

When more than one LU is defined as the base LU, the one most recently defined is the base.

PSTIMER(value)
An optional parameter that sets the maximum amount of time for which the LU's sessions persist (are maintained) during interruptions in APPC/MVS or a transaction scheduler's service.

When you specify a valid value other than NONE, the LU's sessions persist when the APPC address space is canceled, forced, terminated, or automatically restarted. The sessions also persist during interruptions in scheduler service.

Any conversations that were active at the time of the interruption are lost. When APPC service is resumed, the conversation partners can re-establish these conversations, if desired.

Sessions do not persist in the event the LU is deleted.

Value Range:
  • 0 or INDEFINITE (Sessions persist indefinitely)
  • 1 - 86400 (Number of seconds the sessions can persist)
  • NONE (Sessions are not to persist)

Default: NONE

TPDATA(dsname)
An optional parameter that specifies the name of the VSAM key-sequenced data set that contains TP profiles, along with an optional data base token for the LU. The data base token is used for verifying access authority to TP profiles. If this LU is a NOSCHED LU, APPC/MVS uses only the data set's data base token, if any. The data set specified on TPDATA must be cataloged in either a user catalog or the master catalog.

Value Range: Up to 44 characters in length consisting of one- to eight-byte character string of uppercase letters A through Z, numerals 0-9, national characters (@,$,#) that must begin with an alphabetic or national character.

Default: SYS1.APPCTP

TPLEVEL({SYSTEM|GROUP|USER})
An optional parameter that identifies the level of TP profiles for which the LU searches in response to an inbound allocate request. TPLEVEL limits the search to the levels desired.

Each TP can have different levels of TP profiles with scheduling characteristics associated with a user, a group of users, or all users (system). The TPLEVEL parameter tells the LU which of those levels of TP profile to search.

Value Range:

SYSTEM means that the LU searches for system-level TP profiles only (NOT for a specific user or group of users).

GROUP means that the LU searches for TP profiles associated with (1) a specific group of users and (2) system-level TP profiles, in that order.

USER means that the LU searches for TP profiles associated with (1) a specific user, (2) a group of users, and (3) system-level TP profiles, in that order.

Note: If you specify NOSCHED, TPLEVEL must be SYSTEM. Also, TP profile entries in the data set specified in TPDATA are not used for NOSCHED LUs; only the data base token is used.

Default: SYSTEM

ALTLU(scheduler-supplied value)
This parameter allows optional, installation-supplied data to be passed to a member of the APPC XCF group, such as an alternative transaction scheduler or an APPC/MVS server.

If specified, the data is passed to the APPC XCF group member at the activation and deactivation of the associated LU. For information about the APPC XCF group, see z/OS MVS System Messages, Vol 3 (ASB-BPX).

Value Range: A one- to eight-byte character string of uppercase letters A through Z, numerics 0-9, or national characters (@, $, #), with the exception that the first character cannot be numeric (0-9).

Default: None

USERVAR(scheduler-supplied value)
This parameter allows optional, installation-supplied data to be passed to a member of the APPC XCF group, such as an alternative transaction scheduler or an APPC/MVS server.

If specified, the data is passed to the APPC XCF group member at the activation and deactivation of the associated LU. For information about the APPC XCF group, see z/OS MVS System Messages, Vol 3 (ASB-BPX).

Value Range: A one- to eight-byte character string of uppercase letters A through Z, numerics 0-9, or national characters (@, $, #), with the exception that the first character cannot be numeric (0-9).

Default: None

GRNAME(genericname)
This optional parameter specifies a VTAM generic resource name to be associated with the LU. The LU may be one of multiple LUs in the same generic resource group, represented by genericname. This parameter cannot be dynamically modified or added to an existing LU definition.

See z/OS MVS Planning: APPC/MVS Management for advice and restrictions about selecting a generic resource name, and deciding which LUs should become members of a generic resource group.

Value Range: A one- to eight-byte character string of uppercase letters A through Z, numerals 0-9, national characters (@, $, #) and must begin with an alphabetic or national character.

Default: None. If the GRNAME parameter is not specified, the LU is activated but is not part of a generic resource group.

NQN
NONQN
An optional parameter that specifies whether the APPC/MVS LU is enabled to use a network-qualified partner LU name when first allocating outbound conversations. If you specify NQN, APPC/MVS uses the 17-byte network-qualified LU name when both verifying the partner LU, and sending the outbound Allocate request to the partner LU. If you specify NONQN (or allow the system to use the default), APPC/MVS uses the entire name when verifying the partner, but only the 8-byte network-LU-name portion when sending the outbound Allocate request.

See z/OS MVS Planning: APPC/MVS Management for the requirements for enabling APPC/MVS LUs to support network-qualified names.

Default: NONQN

LUDEL
The LUDEL command deletes a local APPC/MVS LU from the APPC configuration. One LUDEL statement must be specified for each LU to be deleted. The LUDEL statement contains:
  • The LU name
  • An indication of whether APPC/MVS keeps all persistent sessions active between this LU and all of its partners
When an LUDEL statement is processed, incoming allocation requests to the named LU are rejected; however, all active conversations are allowed to continue until completed. The LU is removed only after all active conversations have ended.
ACBNAME(luname)
The required name of the LU that APPC/MVS is to remove. If this LU was defined to VTAM, its association with VTAM is terminated after active conversations end.

Value Range: A one- to eight-byte character string of uppercase letters A through Z, numerals 0-9, national characters (@,$,#) and must begin with an alphabetic or national character.

For an explanation of why SAA CPI partner LU names can be 17 characters, see the note under the ACBNAME parameter in ACBNAME(luname) .

Default: None; this parameter is required.

PERSIST | NOPERSIST
An optional parameter that specifies whether APPC/MVS will deactivate all sessions between this LU and its partners when the LU is deleted. If you specify PERSIST, and if the LU was previously enabled to support persistent sessions through the PSTIMER keyword on the LUADD statement, APPC/MVS does not deactivate sessions between the LU and its partners. VTAM keeps these sessions active as long as the LU is re-added to the APPC configuration on the same system image within the PSTIMER time limit (single-node persistent sessions) or in any system image in the sysplex within the PSTIMER time limit (multi-node persistent sessions). See z/OS MVS Planning: APPC/MVS Management for further information. If you specify NOPERSIST (or allow the system to use the default), APPC/MVS deactivates all sessions between this LU and its partners when the LU is deleted.

Default: NOPERSIST

SIDEINFO
The SIDEINFO statement names the VSAM key sequenced data set that contains side information. Only one side information file is allowed per MVS system.
DATASET(dsname)
An optional parameter that specifies the name of the VSAM key sequenced data set that contains side information. The file must be cataloged in either a user catalog or the master catalog.

Value Range: Up to 44 characters in length consisting of one- to eight-byte character string of uppercase letters A through Z, numerals 0-9, national characters (@,$,#) and must begin with an alphabetic or national character.

Default: SYS1.APPCSI