GETJCLSYMBOL

GETJCLSYMBOL returns a CHARACTER string value that represents the requested exported JCL symbol.

Read syntax diagramSkip visual syntax diagramGETJCLSYMBOL( x)
x
Specifies the name of the exported JCL symbol.

If there is no JCL symbol with the same value as x, a null string is returned.

Example

With the JCL statements shown below, specifying GETJCLSYMBOL('S1') will return STEWART.
//EX1 EXPORT SYMLIST=(S1,L1)
//SET1 SET S1=STEWART,L1=LAGUARDIA
//EX2 EXEC PGM=GETSYM   /* PLI program call GETJCLSYMBOL */ 
.