CEEGLOB macro — Extract Language Environment product information

CEEGLOB is used to generate global symbols that provide Language Environment® product information at assembly time.

Read syntax diagramSkip visual syntax diagram
Syntax

>>-label--CEEGLOB----------------------------------------------><

label is an optional assembler label that a user can give to this invocation of the macro.

The CEEGLOB macro generates the following global assembler variables to match the information returned by CEEGPID:

&CEEGPRO (alias &GPRO)
Product number
&CEEGVER (alias &GVER)
Product version
&CEEGREL (alias &GREL)
Product release
&CEEGMOD (alias &GMOD)
Product modification level
&CEEGENV (alias &GENV)
OS environment from which the macro was invoked. Set to 3 for z/OS®.

These global assembler variables can be tested and used at assembly time to verify availability of services and function that require specific levels of Language Environment or operating systems.

Note: If you need to make a decision concerning Language Environment and z/OS levels at runtime instead of assembly time, use CEEGPID instead. See z/OS Language Environment Programming Reference for a description of CEEGPID.