WRITE

WRITE writes records to an RLS list.

Read syntax diagramSkip visual syntax diagram RLS WRITE listname DATA.stem.

Operands

listname
specifies the list identifier.
stem.
specifies the name of a stem. A stem must end in a period; see Stems. The default stem is DATA..

Return codes

See the RLS command RLS.

Example

'RLS WRITE \USERS\USER1\TEST.DATA DATA.'

This example stores the entire contents of the REXX compound variable DATA. into the RLS list \USERS\USER1\TEST.DATA.

Note: Set DATA.0 to the number of records to be written to the list.