As well as those available from the web sites we've already listed, the Regina Rexx web site has links to a slew of professional-quality tools. Regina is the powerful Rexx interpreter that Microsoft bundled with its Windows Resource Kits for early versions of Windows - until Microsoft decided on a more proprietary direction for Windows. Regina REXX v3.7 - User Manual - Free ebook download as PDF File (.pdf), Text File (.txt) or read book online for free. Scribd is the world's largest social reading and publishing site. Open navigation menu.
An implementation of the the ANSI Standard REXX Programming Language, available for most operating systems. Regina REXX Interpreter - Browse /regina-documentation at SourceForge.net Join/Login. Rxstack - The Regina Rexx Interpreter stack daemon Syntax¶ rxstack -D -d -k. Description¶ rxstack is a daemon that provides access to Regian Rexx external queues directly to Regina Rexx programs or indirectly (via rxqueue) to any other program via stdin and stdout Without any options, rxstack runs in the foreground.
REXX is an interpreted, procedural structured language that is included with every version of OS/2 EE 1.2 and later, IBM PC-DOS 7.0 and most AmigaOS variants and clones in addition to all current and recent IBM mainframe and minicomputer operating systems.
Although REXX is a generic programming language and can be (and has been) used to construct everything from simple utilities to large business applications, it is primarily used as a scripting or macro language, and as such is unusually easy to learn.
- 2Implementations
History
The REXX language was created by Mike Cowlishaw in 1979 under VM/CMS. The second implementation (2.00) was used inside IBM in 1980. Language level 3.20 was included in VM/SP Release 3 which was released in 1983.
Third party implementations started appearing in 1985.
![Programming Programming](/uploads/1/1/9/8/119877479/244394862.jpg)
In 1987 REXX was chosen to be the Systems Application Architecture (SAA) procedural language.
In 1989 the first version of IBM CMS REXX Compiler was released.
Object REXX is a different language that has been given object-oriented extensions modelled on those present in Smalltalk. While it is mostly compatible with Classic REXX there are some minor differences. It means that some REXX programs have to be modified to run correctly under Object REXX.
Amiga REXX is a clone of IBM's Classic REXX that has extensions to help its use as a mechanism for application to application and/or inter-application communication, Regina REXX supports those extensions.
Implementations
Vendor | Implementation | Operating environment | Notes | |||
---|---|---|---|---|---|---|
OS/2 | DOS | Win16 | Win32 | |||
IBM | Procedures Language 2/REXX | X | (aka SAA REXX) shipped with OS/2 | |||
REXXPC88 | X | IBM internal (1987/88) | ||||
PC DOS REXX | X | introduced with IBM PC DOS 7 | ||||
Quercus | Personal REXX | X | X | X | Commercial | |
Regina REXX | X | X | Compatible with Classic REXX - Open Source | |||
BREXX | X | Open Source | ||||
Compact Rexx (CRX) | X | Open source | ||||
Portable Rexx | X | Commercial | ||||
WinREXX | X | Commercial | ||||
WREXX | X | Commercial |
Text editor support
- Boxer - Regina, IBM and BREXX support included by default
- FTE - support for syntax highlighting, code folding and syntax-aware autoindent.
Publications
For listings of REXX related books and general articles see the REXX Bibliography.
- Vladimír Zábrodský: An Introduction To The REXX Programming Language (OS/2.cz)
- Keith Watts: The Classic REXX tutorial - Teaches the language to 'Language Level 4.00 (TRL-2)', that is roughly the same as the SAA REXX shipped with OS/2
- REXX: THE LANGUAGE - Introduction and tutorial by James Barry of Kyla Computing.
- Matt Slocum: Rexx Programming Guide - Nov 2005
Links
- Mark Hessling's Home Page - Lots of Rexx and Regina information and files from the gent behind Regina REXX, including a Rexx manual
- Tips & Tricks, Samples - Material collected by a mainframe REXX programmer and some of it does not apply to OS/2 REXX.
- Cosmos Grammaticus - REXX related blog
- USENET: comp.lang.REXX
- REXX LA forum - The official REXX Language Association forum
- REXXLIST - Long running list
- Standards
- ANSI standard for Rexx (X3.274), Published in 1996.
- Extended REXX proposal - Published in 1998
- Source code snippets, archives and collections
Small programs or routines that you can integrate into your own programs or study to learn from, but are not delivered in library form.
- Album of Algorithms and Techniques for Standard Rexx - Vladimír Zábrodský's collection of REXX code, mostly small snippets.
- Mark's MVS Utilities - While mostly XEDIT and MVS related there are a few worthwhile REXX programs in there as well.
- norrsken data teknik eCS tools - Helge Nordmann's REXX utility collection.
- PLEAC-REXX - Collection of common REXX rutines
- Rex Swain's B2MMDDYY.REX - Convert Base format date to MM/DD/YYYY
- Walter Pachl's REXX code, on rosettacode.org - Contains many REXX snippets.
Retrieved from 'http://www.edm2.com/index.php?title=REXX&oldid=70979'
- Rexx Tutorial
- Rexx Useful Resources
![Regina Rexx Manual Regina Rexx Manual](/uploads/1/1/9/8/119877479/665066675.jpg)
- Selected Reading
Regina is another Rexx interpreter available to compile and run Rexx programs. The official site for Regina is − www.regina-rexx.sourceforge.net/
Some of the advantages of using Regina are as follows −
- Regina can run on any platform whether it be Windows, Linux or the Mac OS.
- Regina works as per all available standards.
- Regina has a big community following and hence there are a lot of forums and learning material available for Regina.
- Regina has a lot of tools available for writing and testing Rexx programs.
- In Regina, you can run commands which are not possible in the default Rexx Interpreter. For example, if you include certain configuration settings, you can actually run basic system level commands, which is not possible in Rexx.
When you install Rexx via the installation documented in Chapter 2 – Rexx Environment, the Regina interpreter gets installed along with it.
Now let’s see some of the common methods available when using Regina. These functions are the extended functions which are not available via normal use.
Regina Rexx Manual 2017
To make use of the extended functions, you need to include the following line of code. This enables the use of Regina extended functions.
Regina Rexx Manuals
Secondly while running all Rexx programs, use the following command.
Where,
- regina − This is the interpreter used for Rexx programs.
- main.rexx − Your Rexx program.
We will now discuss in detail the various functions of Regina Rexx Interpreter.
Sr.No. | Functions of Regina Rexx Interpreter |
---|---|
1 | b2c This method is used to convert a binary value to a string value. |
2 | bitcomp The method is used to compare 2 bit strings, bit by bit. |
3 | bittst This method is used to indicate the state of the specified bit in the bit string. |
4 | find This method is used to search for the first occurrence of a string in another string. |
5 | getenv This method returns the value of an environment variable on the system. |
6 | getpid This method is used to get the value of the current running process id. |
7 | hash This method returns the hash attribute of a string as a decimal number. It also updates the internal hash value of the string. |
8 | justify This method is used to add justify or trim the value of a string based on the length value. |
9 | putenv This method is used to set the value of an environment variable. |
10 | directory This method gets the value of the current directory on the system. |
11 | chdir This method changes the value of the current working directory on the system. |
12 | randu This method returns a pseudo-random number between 0 and 1. |