Rexx Tutorial

Rexx Tutorial

Rexx (Restructured Extended Executor) is designed to be a scripting language. Its goal is to make scripting as easy, fast, reliable, and error-free as possible. Many programming languages are designed for compatibility with older languages, and are written for specific audiences or platforms. Rexx ignores extraneous objectives. It was designed from day one to be powerful, yet easy to use. It is also very helpful for developing small programs that perform various text file transformations. This is an introductory tutorial that covers the basics of Rexx and how to deal with its various components and sub-components.


This tutorial has been prepared mainly for those professionals who are within the IT industry, working as specialists in the field of Scripting and Macro Languages. It is very useful for those professionals who work on Data Processing, text and also for generating reports.

This tutorial is intended to make you comfortable in getting started with Restructured Extended Executor (Rexx) and its various functions.


It is an elementary tutorial and you can easily understand the concepts explained here with a basic knowledge of how a company or an organization deals with its scripting languages and programs. However, it will help if you have some prior exposure on programming languages, data processing, and generating reports.

Execute Rexx Online

For most of the examples given in this tutorial you will find Try it an option, so just make use of this option to execute your Rexx programs at the spot and enjoy your learning.

Try following example using Try it option available at the top right corner of the below sample code box −

/* Main program */ 
say "Hello World"