Basic of REXX

REXX stands for REstructured eXtended eXecutor.  Rexx is basically used as a scripting and macro language

it was developed  by Mike Cowlishaw in the year 1979, currently who is a visiting professor at the University of Warwick. REXX was first implemented in assembly language to replace the languages EXEC and EXEC-2.

Rexx is a free-form language. Unlike COBOL, a Rexx program does not have a definite structure – like DIVISIONs, SECTIONs and Paragraphs.  That’s why it’s much more easy to use. Unlike other famous programming languages REXX doesn’t need to be compiled.  Rexx is an interpreted language After coding when you ask  the Rexx Interpreter  to  execute (using EXECUTE or EX) it reads your source code one line at a time, interprets it and executes it.


 

Usage of REXX:

In mainframe industry there is not that much of mainframe projects which directly involve REXX in it but in mainframe related work REXX can increase your productivity by decreasing manual works.

Like COPT-PASTE, FIND, CHANGE, file related tasks like creating files, editing files, deleting files , there are many manual repetitive tasks a mainframe developer have to do in their daily works, REXX can easily automate them to release them form boring manual works

REXX can easily interact with ISPF, SDSF , DB2 which are pretty difficult using other programming languages.

In mainframe without REXX/CLIST it’s only a blank screen all the commands like CUT, COPY, FIND etc are basically made by either REXX or CLIST.


How to code in REXX:

In your normal PDS member  you can write your REXX programs. There ways to execute a REXX programs, but most basic interactive way is put EX in front of the REXX member and press enter just like below

Basic of REXX

Share the joy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

REXX stands for REstructured eXtended eXecutor.  Rexx is basically used as a scripting and macro language it was developed  by Mike Cowlishaw in the year 1979, currently who is a visiting professor at the University of Warwick. REXX was first implemented in assembly language to replace the languages EXEC and EXEC-2. Rexx is a free-form language. Unlike COBOL, a Rexx …

Share the joy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Review Overview

User Rating: Be the first one !
0

Leave a Reply