This article is written like a manual or guide. (September 2022) |
This article contains a list of miscellaneous information. (September 2022) |
Paradigm | multiparadigm: procedural, structured |
---|---|
Designed by | Mike Cowlishaw |
Developer | Mike Cowlishaw, IBM |
First appeared | 1979 |
Stable release | ANSI X3.274
/ 1996 |
Typing discipline | Dynamic |
Filename extensions | .cmd, .bat, .exec, .rexx, .rex, EXEC |
Major implementations | |
VM/SP R3,[1] TSO/E V2,[2] SAAREXX,[3][4] ARexx, BREXX, Regina,[5] Personal REXX, REXX/imc | |
Dialects | |
NetRexx, Object REXX, now ooREXX, KEXX | |
Influenced by | |
PL/I, ALGOL, EXEC, EXEC 2 | |
Influenced | |
NetRexx, Object REXX | |
|
Rexx (Restructured Extended Executor) is a programming language that can be interpreted or compiled. It was developed at IBM by Mike Cowlishaw.[6][7] It is a structured, high-level programming language designed for ease of learning and reading. Proprietary and open source Rexx interpreters exist for a wide range of computing platforms; compilers exist for IBM mainframe computers.[8]
Rexx is a full language that can be used as a scripting, macro language, and application development language. It is often used for processing data and text and generating reports; this means that Rexx works well in Common Gateway Interface (CGI) programming and is used for this purpose, like later languages such as Perl. Rexx is the primary scripting language in some operating systems, e.g. OS/2, MVS, VM, AmigaOS, and is also used as an internal macro language in some other software, such as SPF/PC, KEDIT, THE and the ZOC terminal emulator. Additionally, the Rexx language can be used for scripting and macros in any program that uses Windows Scripting Host ActiveX scripting engines languages (e.g. VBScript and JScript) if one of the Rexx engines is installed.
Rexx is supplied with VM/SP Release 3 on up, TSO/E Version 2 on up, OS/2 (1.3 and later, where it is officially named Procedures Language/2), AmigaOS Version 2 on up, PC DOS (7.0 or 2000), ArcaOS,[9] and Windows NT 4.0 (Resource Kit: Regina). REXX scripts for CMS share the filetype EXEC with EXEC and EXEC2, and the first line of the script specifies the interpreter to be used. REXX scripts for MVS may[a] be recognized by the low level qualifier EXEC or may[b] be recognized by context and the first line. REXX scripts for OS/2 share the filename extension .cmd with other scripting languages, and the first line of the script specifies the interpreter to be used. REXX macros for REXX-aware applications use extensions determined by the application. In the late 1980s, Rexx became the common scripting language for IBM Systems Application Architecture, where it was renamed "SAA Procedure Language REXX".
In mainframe programming, a Rexx script or command is sometimes referred to as an EXEC in a nod to the CMS file type used for EXEC,[10] EXEC 2[11] and REXX scripts on CP/CMS and VM/370 through z/VM.
RexHist
was invoked but never defined (see the help page).RexMay95
was invoked but never defined (see the help page).
Cite error: There are <ref group=lower-alpha>
tags or {{efn}}
templates on this page, but the references will not show without a {{reflist|group=lower-alpha}}
template or {{notelist}}
template (see the help page).