VARPUT

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

VARPUT takes a REXX variable and copies it into an RLS saved 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, for more information.

Return codes

See the RLS command, section RLS.

Example

'RLS VARPUT VAR1'

This example takes the value of REXX variable VAR1 and copies it into variable VAR1 in the current directory.



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