LPUSH

Read syntax diagramSkip visual syntax diagram
                        .-*QUEUE*-.   
>>-RLS--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.

Example

'RLS LPUSH VARA QUEUE1'

This example pushes a record (the contents of VARA) onto the top of the RLS queue QUEUE1.



rlspus.html | Timestamp icon Last updated: Monday, 5 June 2017