RLS
*QUEUE*
LPULL varname
queid
LPULL pulls a record from the top of the RLS queue.
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 the RLS command, section “RLS” on page 366.
Example
'RLS LPULL VARA QUEUE1'
This example pulls a record from the top of the RLS queue QUEUE1.
LPUSH
RLS
*QUEUE*
LPUSH varname
queid
LPUSH pushes a record onto the top of the RLS queue (LIFO).
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 the RLS command, section “RLS” on page 366.
Example
'RLS LPUSH VARA QUEUE1'
This example pushes a record (the contents of VARA) onto the top of the RLS queue QUEUE1.
List System
276
CICS TS for VSE/ESA: REXX Guide