GLOBALV

The GLOBALV command can be used to set and retrieve the value of an NCL global variable. These variables are also visible to NCL procedures in the same region.

This command has the following format:

GLOBALV GET vname|vnmlist
GLOBALV PUT vname|vnmlist

If the input variable is not specified, a null value is assigned to the output global variable. Conversely, the variable name is assigned to the REXX output variable, per the REXX standard.

Example: GLOBALV

globalv get 'GLBL$RMOSVER'
GLBL$kb3a = GLBL$RMOSVER
globalv put 'GLBL$kb3a'
globalv get 'GLBL$kb3a'
say 'rexxvx=<'||GLBL$kb3a||'>'


Copyright © 2009 CA. All rights reserved.