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: Gami Maugul
Country: Guinea
Language: English (Spanish)
Genre: Travel
Published (Last): 12 September 2008
Pages: 339
PDF File Size: 10.23 Mb
ePub File Size: 19.92 Mb
ISBN: 409-8-58358-416-2
Downloads: 8955
Price: Free* [*Free Regsitration Required]
Uploader: Dikree

You may not have had chance to learn it simply because the application was mainly written in COBOL and that was your primary focus. If you are not able to locate good resources to learn it, then it is not your fault.

What’s more, the books and manuals are incredibly hard to comprehend. Start every sentence instruction on a new line.

Essentially, everything that you do on a mainframe is a command. Compilers and interpreters usually ignore whitespaces. We’ll talk about the rexx system, the software installed on a mainframe. Rexx is a free-form language. Giving Users What They Need. Likewise, you should possess some fundamental knowledge about the rules in Rexx programs. We’ll also talk about the different people who work on a mainframe.

The commands are, in sequence:. Many programming languages are designed for compatibility with older languages, and are written for specific audiences or platforms.

The REXX Tutorial

And, the same for any other service available on mainframe. You will find easy to understand tutorials and lessons for REXX here.


Look at the below screenshot, on how to run REXX The second command is a little trickier. This is the service through which the user logs into the mainframe. 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.

There will always be exception to the above classification, but generally that is the norm. Is Rexx easy to learn?

Mainframe REXX made easy: Introduction to Mainframe REXX

Its goal is to make scripting as easy, fast, reliable, and error-free as possible. We use cookies to optimize your visit to our website. Once you code a Rexx Program, you don’t have to compile it. To many people who are thrown to work at a mainframe computer on their first job, they feel lost. Instead, the Rexx Interpreter simply reads your source-code one line at a time, interprets it and executes mwinframe.

Learning the REXX Language

It does this either through a simple program or by using other ISPF facilities like Panels, Skeletons more about them later. An informal tutoiral to understand the concepts of REXX programming language. Informative article, just what I was looking for.

To bring these code snippets together into a functional program, you need a little bit of glue around them. To continue an instruction over to the next line, put a comma. Every Rexx program should contain the word “Rexx” in its first line of source-code. This means there is no fixed structure to a rexx program. It was designed from day one to be powerful, yet easy to use.


Posted by Paras Doshi at 6: But, most of the programs out there are interpreted.

Erxx is the SAY instruction? This helps your friends understand your code. There are various components of BCP, that provide various services to the mainframe users. Learn to indent rexx instructions inside if-conditions, loops etc.

This blog is an effort to make learning REXX easier. Shreeja K June 16, at 8: If you perform lots of repetitive tasks on mainframe, it will be time consuming and rxx inefficient way of doing it. International readers based in the US and other countries can click here mmainframe purchase the e-book. If you need to find out all the datasets that meet some pattern and see if they have some data in it, you can do a 3. The other benefit is make the tasks interesting instead of boring, manual and repetitive.

Every letter should have the correct slant. In a nutshell, we’ll de-mystify the mainframe. Why should I program in Rexx?

However, it will help if you have some prior exposure on programming languages, data processing, and generating reports. It is very useful for those professionals who work on Data Processing, text and also for generating reports.

Manoj dalai February 10, at It is a programming language. Here’s the output, you should be able to see. mainfrmae

A compiler is also available.