VARGET

VARGET takes an RLS saved variable and copies it into a REXX variable of the same name.

Read syntax diagramSkip visual syntax diagram RLS VARGET varname dirid

Operands

varname
specifies a simple REXX variable name. It does not end in a period, distinguishing a variable name from a stem name.
dirid
specifies a REXX List System directory level identifier. This is partially or fully qualified. See the CLD command CLD.

Return codes

See the RLS command RLS.

Example

'RLS VARGET VAR1'

This example copies the value of variable VAR1 from the current directory into a REXX variable named VAR1.