sub1:
'MAKEBUF'
RETURN
e. What is RC?
QUEUE A
'MAKEBUF'
PUSH B
PUSH C
'MAKEBUF'
PUSH D
'QELEM'
SAY RC
f. What is RC?
QUEUE A
QUEUE B
QUEUE C
'QELEM'
SAY RC
2. Given the data stack below and the instructions that created it, what are the
results of the subsequent instructions that follow?
'MAKEBUF'
QUEUE 'prompt'
'MAKEBUF'
QUEUE 'data'
QUEUE 'info'
QUEUE 'item'
'MAKEBUF'
a. What is returned to the function?
SAY QUEUED()
b. What is RC?
'QBUF'
SAY RC
c. What is RC?
'QELEM'
SAY RC
d. What are both RCs and the result of the QUEUED() function?
Creating a Buffer on the Data Stack
146
z/OS V1R1.0 TSO/E REXX User’s Guide