Operands, Return codes, Example – IBM SC34-5764-01 User Manual

Page 301: Varput, Write, Varput write

Advertising
background image

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” on page 325, for more information.

Return Codes

See the RLS command, section “RLS” on page 366.

Example

'RLS VARGET VAR1'

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

VARPUT

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” on page 325, for more information.

Return Codes

See the RLS command, section “RLS” on page 366.

Example

'RLS VARPUT VAR1'

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

WRITE

RLS

WRITE

DATA.

listname

stem.

WRITE writes records to an RLS list.

Operands

listname

specifies the list identifier.

List System

Chapter 20. REXX/CICS List System

279

Advertising