(
REstructured E
Xtended e
Xecutor) An IBM mainframe structured programming language that runs under VM/CMS and MVS/TSO. It can be used as a general-purpose macro language that sends commands to application programs and to the operating systems. REXX was also included in OS/2 Version 2.0. The following REXX example converts Fahrenheit to Celsius:
Say "Enter Fahrenheit "
Pull FAHR
Say "Celsius is " (FAHR-32) * (5 / 9)