HLASM Language Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


PUSH instruction

HLASM Language Reference
SC26-4940-06

The PUSH instruction saves the current PRINT, USING, or ACONTROL status in push-down storage on a last-in, first-out basis. You restore this PRINT, USING, or ACONTROL status later, also on a last-in, first-out basis, by using a POP instruction.
Read syntax diagramSkip visual syntax diagram
                              .-,----------------.   
                              V              (1) |   
>>-+-----------------+--PUSH----+-PRINT----+-----+-------------->
   '-sequence_symbol-'          +-USING----+         
                                '-ACONTROL-'         

>--+----------+------------------------------------------------><
   '-,NOPRINT-'   

Notes:
  1. Each keyword from this group can be selected only once.
sequence_symbol
Is a sequence symbol.
PRINT
Instructs the assembler to save the PRINT status in a push-down stack.
USING
Instructs the assembler to save the USING status in a push-down stack.
ACONTROL
Instructs the assembler to save the ACONTROL status in a push-down stack.
NOPRINT
Instructs the assembler to suppress the printing of the PUSH statement in which it is specified.
The PUSH instruction only causes the status of the current PRINT, USING, or ACONTROL instructions to be saved. The PUSH instruction does not:
  • Change the status of the current PRINT or ACONTROL instructions
  • Imply a DROP instruction, or change the status of the current USING instructions

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014