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.

8 Questions Published

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.

  1. DO UNTIL
  2. DO WHILE
  3. ITERATE
  4. Wrong question!
Question 2 Multiple Choice (Single Answer)

How will you un-assign a variable which is used in the same REXX exec?

  1. Using DROP
  2. Using INITIALIZE
  3. Using DELETE
  4. 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?

  1. Read the stack and have a counter value
  2. Using STACK.0
  3. Using STACK.MAX
  4. Usinf MAX function
Question 4 Multiple Choice (Single Answer)

TIME along with what option will give time in sssssssss.mmmmmm?

  1. TIME()
  2. TIME(E)
  3. TIME(L)
  4. TIME(M)
Question 5 Multiple Choice (Single Answer)

What will be the result of Result = COMPARE("white","white ")

  1. 1
  2. 0
  3. 11
  4. 10
Question 6 Multiple Choice (Single Answer)

How will you define a alphanumeric variable in REXX?

  1. using DEFINE
  2. using DECLARE
  3. Cant use alphanumeric variable in REXX
  4. No need to define. REXX will deal them.
Question 7 Multiple Choice (Single Answer)

What is |&&?

  1. OR
  2. AND
  3. Exclusive OR
  4. Exclusive AND
Question 8 Multiple Choice (Single Answer)

How do you drop a stack?

  1. DROP
  2. DELSTACK
  3. DELETE
  4. Cant delete a stack