Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
PULL Instruction z/OS TSO/E REXX User's Guide SA32-0982-00 |
|
In earlier chapters
PULL was described as an instruction that reads input from the terminal
and assigns it to one or more variables. If however, the data stack
contains information, the PULL instruction takes information from
the data stack; and when the data stack is empty, PULL takes information
from the terminal. For information about the data stack, see Storing Information in the Data Stack. PULL changes character information to
uppercase and assigns it to one or more variable names. When PULL
is followed by more than one variable, it parses the information into
the available variables.
The PARSE PULL instruction assigns information, without
altering it, to variable names.
PARSE UPPER PULL causes the same result as PULL in that it changes character information to uppercase before assigning it to one or more variables. |
Copyright IBM Corporation 1990, 2014
|