Previous Topic: &ZACBNAME

Next Topic: &ZAPPCACC


&ZAMTYPE

Returns the name of the access method which is used to connect the terminal on which the NCL procedure is executing.

Allows an NCL procedure to determine the name of the access method which is used to connect the terminal on which it is executing.

The term access method refers to a communication program used to communicate with terminals, other systems, or another application.

&ZAMTYPE can contain one of the following values:

INTERNAL

The procedure is executing in a background region, an ROF region or a disconnected region

VTAM

The terminal is connected to your product region via VTAM

SSI

The terminal is connected to your product region via SSI

XNF

The terminal is connected to your product region via XNF

Example: &ZAMTYPE

&IF &ZAMTYPE = VTAM &THEN +
   D &LUNAME -* Do VTAM display of LU