What will be the output of the following REXX code snippet?
    IF 'Hello' = 'HELLO' THEN 
       SAY 'Hello world'
      SAY 'Both are equal'
     ELSE
      SAY 'Both are not equal'

Both are not equal
It will display 'Both are equal' followed by an error message saying 'unexpected THEN or ELSE'
It will display only the error message 'unexpected THEN or ELSE'
The program will run fine & it will display 'Hello world' followed by 'Both are equal'.
Verified Answer
Correct Option - b

To get all Infosys Certified Mainframe REXX Automation Tools Developer Exam questions Join Telegram Group https://rebrand.ly/lex-telegram-236dee

Telegram