REXX Programming on Mainframe
Test your knowledge of REXX programming language used in IBM mainframe environments, including variables, strings, stacks, loops, and built-in functions.
Questions
Question 1 Multiple Choice (Single Answer)
What will pass through the remaining part of the instructions in a “DO” loop without executing the “DO”’s.
- DO UNTIL
- DO WHILE
- ITERATE
- Wrong question!
Question 2 Multiple Choice (Single Answer)
How will you un-assign a variable which is used in the same REXX exec?
- Using DROP
- Using INITIALIZE
- Using DELETE
- Cant un-assign a variable
Question 3 Multiple Choice (Single Answer)
How will you find out the maximum number of elements present in a stack?
- Read the stack and have a counter value
- Using STACK.0
- Using STACK.MAX
- Usinf MAX function
Question 4 Multiple Choice (Single Answer)
TIME along with what option will give time in sssssssss.mmmmmm?
- TIME()
- TIME(E)
- TIME(L)
- TIME(M)
Question 5 Multiple Choice (Single Answer)
What will be the result of Result = COMPARE("white","white ")
- 1
- 0
- 11
- 10
Question 6 Multiple Choice (Single Answer)
How will you define a alphanumeric variable in REXX?
- using DEFINE
- using DECLARE
- Cant use alphanumeric variable in REXX
- No need to define. REXX will deal them.
Question 7 Multiple Choice (Single Answer)
What is |&&?
- OR
- AND
- Exclusive OR
- Exclusive AND
Question 8 Multiple Choice (Single Answer)
How do you drop a stack?
- DROP
- DELSTACK
- DELETE
- Cant delete a stack