Previous Topic: &WTOR

Next Topic: &ZFEATURE


&ZAMCHECK

Indicates whether support is enabled in your product region for a specified access method.

&ZAMCHECK accessmethod

&ZAMCHECK is a built-in function and must be used to the right of an assignment statement.

&ZAMCHECK is used to verify support for VTAM and XNF access methods.

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

Operands:

accessmethod

The value of this field is VTAM or XNF. The value returned is YES or NO. If a name other than VTAM or XNF is specified, the result is NO.

Examples:

&A = &ZAMCHECK VTAM
&IF &A = YES &THEN &DO
   -SYSPARMS PPOACBNM=NMPPO1
   -PPO START
   &DOEND

More information:

Summary Table