KR-212* REXX Day 1
(code will be in green and output will be in red – colors dedicated to the mainframes!)
Did you try it? You’ll find a weirdo message that is given in the right side of the table. And with that we’ve started with a bang (or rather with an error!).
First lesson in rexx: Always start REXX codes with a comment that contains the word ‘REXX’ in the comment – it could be anywhere on the first line comment but it should be there somewhere.
Note: The word REXX is required on the first line mostly in mainframes only; on other platforms any comment will do – but you do need a comment to start your program. Modify the comment and execute the code to see your first successful rexx output!
KR-213* DAY 2 of REXX
IF condition THEN DO /*body of if */ END ELSE DO /*body of else*/ END There is no END IF in rexx.
Copyright © 2020 Sethu Subramanian All rights reserved. Reach me via email at ssbell @ gmail.com