Previous Topic: SET EDITOR

Next Topic: SPIN

SET GLOBAL

Use the SET GLOBAL command to assign values to REXX global variables.

Syntax

Use this format for the SET GLOBAL command:

SET GLOBAL &var [/newvalue/]

Parameters

The SET GLOBAL command takes these parameters:

&var

Name of a new or existing global variable.

Note: Global variable names are case-sensitive.

/newvalue/

Character string to be assigned to the variable. It must be enclosed in arbitrary delimiter characters (such as the / used in the syntax diagram).

Default: Null string.

Example

------------------------- CA‑GSS/ISERVE Control Panel ----- ROW 1 TO 2 OF 2 ==> set global &ewf /123456/ => PAGE Target node: * ssid: * Host node: B1MAIN ssid ISRV ============================================================================== Variable &ewf set to 123456 Old value: abcdef