VARPUT

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

Read syntax diagramSkip visual syntax diagram RLS VARPUT 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 for more information.

Return codes

See the RLS command RLS.

Example

'RLS VARPUT VAR1'

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