VARGET

Read syntax diagramSkip visual syntax diagram
>>-RLS--VARGET--varname--dirid---------------------------------><

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

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, section CLD

See the RLS command, section RLS.

Return codes

See the RLS command, section RLS.

Example

'RLS VARGET VAR1'

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



rvse585.html | Timestamp icon Last updated: Monday, 5 June 2017