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

Page 299: Example, Mkdir, Read, Lqueue mkdir read

Advertising
background image

LQUEUE

RLS

*QUEUE*

LQUEUE

varname

queid

LQUEUE adds a record to the end of the RLS queue (FIFO).

Operands

varname

specifies a simple REXX variable name. It does not end in a period, distinguishing a variable name
from a stem name.

*QUEUE*

is a keyword specifying the special default name.

queid

specifies the identifier for a special type of RLS list accessed by LPULL, LPUSH, or LQUEUE.

Return Codes

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

Example

'RLS LQUEUE VARA QUEUE1'

This example adds a record (the contents of VARA) to the end of the RLS queue QUEUE1.

MKDIR

RLS

MKDIR

dirid

MKDIR creates a new RLS directory level.

Operands

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 MKDIR \USERS\USER1\DOCS'

This example creates a new directory called DOCS in the existing directory \USERS\USER1.

READ

RLS

READ

DATA.

listname

stem.

(

UPD

READ reads records from an RLS list.

List System

Chapter 20. REXX/CICS List System

277

Advertising