Previous Topic: &ZNCLKWD

Next Topic: &ZPSKIP


&ZOSCHK

Indicates whether support is enabled in your product region for a specified operating system (or family of operating systems) or capability.

&ZOSCHK { ANY | ALL } name [ name ... ]

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

The result is Boolean (0 or 1):

Operands:

{ ANY | ALL }

This operand is mandatory. Specifying ANY means that, if any of the following tests is true, then the result is true (1 is returned).

Specifying ALL means that all of the following tests must be true for the result to be true.

name [ name ... ]

Each name that you specify here indicates an operating system (or family of operating systems) or capability that you want to test for.

The value of this field is any of the following:

GENOS

Any OS system (for example, z/OS or MSP)

GENVM

Any VM system

GENVOS

Any VOS3 system

IBM

Any IBM system

IBM_OS

Any IBM OS system

IBM_VM

Any IBM VM system

NONIBM

Any non-IBM system

FUJITSU

Any Fujitsu system

FUJITSU_OS

Any Fujitsu OS system

FUJITSU_FSP

Any Fujitsu FSP system

HITACHI

Any Hitachi system

HITACHI_OS

Any Hitachi OS system

OS390>

z/OS and OS/390

OS/390>

z/OS and OS/390

ZOS

z/OS only

Z/OS

z/OS only

ZOS>

z/OS or later Z/OS> z/OS or later

MSP

MSP only

MSP>

MSP or later (up to and beyond MSP/EX)

MSPAE

MSP/AE only

MSP/AE

MSP/AE only

MSPAE>

MSP/AE or later (up to and beyond MSP/EX)

MSP/AE>

MSP/AE or later (up to and beyond MSP/EX)

MSPEX

MSP/EX only

MSP/EX

MSP/EX only

MSPEX>

MSP/EX or later

MSP/EX>

MSP/EX or later

VOS3

Hitachi VOS3 only

VM

Any VM

GCS>

GCS or later (up to and beyond VM/ESA)

VMESA>

VM/ESA or later X

VM/ESA>

VM/ESA or later X

EXTMCS

System supports EXTMCS consoles

31BIT

System supports 31-bit addressing

XMS

System supports basic cross-memory services

ESAXMS

System supports ESA-style cross-memory services

SMF77

System supports SMF record 119 (x'77') (z/OS 1.2 and later)

IPV6

System supports IPv6 (z/OS 1.4 and later)

Notes:

The result is boolean (0 or 1):

Standard NCL function semantics apply. This function is used only on the right of an assignment statement.

This function returns 0 or 1, not YES or NO.

Examples: &ZOSCHK

&RESULT = &ZOSCHK ANY GENOS MSP
&RESULT = &ZOSCHK ALL IBM VM

More information:

Summary Table