z/OS TSO/E REXX Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


QUEUE

z/OS TSO/E REXX Reference
SA32-0972-00

Read syntax diagramSkip visual syntax diagram
>>-QUEUE--+------------+--;------------------------------------><
          '-expression-'      

QUEUE appends the string resulting from expression to the tail of the external data queue. That is, it is added FIFO (First In, First Out).

If you do not specify expression, a null string is queued.

Note: The TSO/E implementation of the external data queue is the data stack. The length of an element in the data stack can be up to one byte less than 16 megabytes. The data stack contains one buffer initially, but you can create additional buffers using the TSO/E REXX command MAKEBUF.
Example:
a='Toft'
queue a 2  /* Enqueues "Toft 2" */
queue      /* Enqueues a null line behind the last */

See QUEUED for the QUEUED built-in function that returns the number of lines currently in the external data queue.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014