REXX
From MidrangeWiki
Revision as of 19:09, 31 March 2008 by Starbuck5250 (talk | contribs) (→Categories: edit categories)
REXX is an interpreted language invented by IBM. It is simple to learn and is available on many platforms, including i5/OS. It was used as the macro language in the Code/400 GUI editor (precursor to WDSC and RDi.)
On System i, REXX source is stored in a source member, the default is QREXSRC
. It is executed by STRREXPRC
. It is helpful to define a PDM or WDSC option to invoke the REXX interpreter: ?STRREXPRC SRCMBR(&N) SRCFILE(&L/&F)
. The question mark in front of the command signifies prompting, which will allow you to fill in any parameters you might want. All REXX programs begin with a comment. White space is for programmer convenience and can be added or omitted as desired.
Hello world
/* Hello, world */ say 'Hello, world!' return
External links
- System i REXX V5R4M0 documentation
- Wikipedia entry for REXX
- IBM general REXX information
- REXX Language Association
- REXX tutorial
- Rex Swain's VM REXX page
- http://www.rexxinfo.org/
Categories
This article is a stub. You can help by editing it.