IBM SC34-5764-01 Manual de usuario Pagina 181

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 481
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 180
PUSH
Purpose
 PUSH
expression
; 
PUSH stacks the string resulting from the evaluation of expression LIFO (Last In, First Out) onto the
external data queue.
If you do not specify expression, a null string is stacked.
Note: The REXX/CICS implementation of the external data queue is the program stack. The language
processor reads a line from the program stack. If the program stack is empty, a terminal read
occurs. The program stack for you is in an RLS queue named \SYSTEM\rexxtnum\*PROGSTACK*
where rexxtrnum is an internal REXX task number.
For information on named queues, see the REXX List System LPUSH command, section “LPUSH” on
page 276.
Example:
a='Fred'
push /* Puts a null line onto the queue */
push a 2 /* Puts "Fred 2" onto the queue */
The QUEUED built-in function (described on page 190) returns the number of lines currently in the
external data queue.
PUSH
Chapter 13. Keyword Instructions 159
Vista de pagina 180
1 2 ... 176 177 178 179 180 181 182 183 184 185 186 ... 480 481

Comentarios a estos manuales

Sin comentarios