LPULL

LPULL pulls a record from the top of the RLS queue.

Read syntax diagramSkip visual syntax diagram RLS LPULL varname *QUEUE*queid

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 RLS.

Example

'RLS LPULL VARA QUEUE1'

This example pulls a record from the top of the RLS queue QUEUE1.