LPUSH

LPUSH pushes a record onto the top of the RLS queue (LIFO).

Read syntax diagramSkip visual syntax diagram RLS LPUSH 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 LPUSH VARA QUEUE1'

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