Repetitive tasks which are tedious, and require manual labour can be automated using Rexx. Just like you use the FIND, CHANGE, SAVE. If you are developing or maintaining the traditional mainframe . To run the tutorials on this blog, you will need access to an IBM mainframe. The REXX Tutorial. Contents. Introductory text; 1. Creating a Rexx program; 2. Doing arithmetic; 3. Errors; 4. Untyped data; 5. More on variables; 6. Functions; 7.

Author: Faukree Zolocage
Country: Bosnia & Herzegovina
Language: English (Spanish)
Genre: Software
Published (Last): 24 June 2012
Pages: 56
PDF File Size: 8.83 Mb
ePub File Size: 5.65 Mb
ISBN: 709-9-29311-706-4
Downloads: 17769
Price: Free* [*Free Regsitration Required]
Uploader: Vole

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. We’ll talk about the operating system, the software installed on a mainframe. International readers based in the US and other countries can click here to purchase the e-book. REXX is an interpreted language. In a nutshell, we’ll de-mystify the mainframe.

The language Rexx is recommended for beginners, because it has a simple instruction set — just a couple of dozen instructions. Many programming languages are designed for compatibility with older languages, and are written for specific audiences or platforms. The first service that a typical user uses is TSO Time sharing option.


Learning the REXX Language

If you are developing or maintaining the traditional mainframe based applications, you would have heard of programming language called REXX Restructured EXtended eXecutor Language. Other option is to traverse the ISPF options to reach the panel that has the allocate option.

To execute a Rexx Program, a simple and easy way is to type the character ‘ex’ as in execute, against mainfrae member-name in the Personal Data-set PDS Library you are using to store your Rexx Programs. This helps your friends understand your code. To bring these code snippets together into a functional program, you need a little bit of glue around them. Rexx was developed in the yearby a programmer, Mike Cowlishaw, who is now a visiting professor at the University of Warwick.

This is the service that tutoorial various options to perform the tasks on mainframe, right from editing new malnframe, compiling programs, checking the output in spool, allocate datasets, and so on.

Likewise, you should possess some fundamental knowledge about the rules in Rexx programs.

What are the Layout-rules tutoriql Rexx? Readers based in Indiacan buy the e-book for Rs. The examples can get increasingly complex and you see how much time you can save by automating such tasks. Saturday, March 10, Introduction to Rexx. Rexx does not require you to explicitly declare variables.

Once you code a Rexx Program, you don’t have to compile it. Records in the stem variable are addressed by record number using the syntax stem. There will always be exception to the above classification, but generally that is the norm. One of the reasons, why you should learn Rexx, is that it increases the productivity of the average Mainframe Programmer.


It is very useful for those professionals who work on Data Processing, text and also for generating reports. Is Rexx easy to learn?

A Beginner’s Guide to the REXX Programming Language on z/OS

More Maainframe From Michael Cairns. Mainframe people seem to speak a completely different language and that doesn’t make life easy. We use cookies to optimize your visit to our website. What is the SAY instruction? Its a good practise that you liberally sprinkle your Rexx Program with comments, explaining the purpose and meaning of the code.

Rexx Tutorial

How do I execute or run my Rexx Program? Giving Users What They Need. To do this, take advantage of the fact that reading the file in this manner has automatically updated a special stem variable with the number of records read.