REXX Topics
Alan Winson
We were considering presenting some REXX classes or seminars. Instead, we are
covering these topics 20-30 minutes at a time at our weekly technical meetings.
REXX is
available with
CMS, OS/2, TSO, Unix, and other platforms.
We may cover the
platform-independent aspects of REXX separately from platform-specific coding.
Prior knowledge of REXX is not a prerequisite.
Although each class generally builds on previous classes,
it is not necessary to attend all the classes. Some people may be interested only
in certain topics.
If there is a topic
that interests you that is not in the outline, please
let us know.
Note: horizontal rules below indicate
stopping points in the mini-seminars given.
- Fundamentals, part 1
- What is REXX?
- Predecessors
- Design goals
- Ease of use and readability
- Natural data typing
- Uses
- Command language, macros, prototyping
- General-purpose 3GL
- Sources of information
- Structure of REXX programs
- Mixed case
- Comments, null clauses, labels
- Continuations and semicolons
- Instructions
- Assignments
- Keyword instructions
(e.g., say, pull, arg, if, do)
- Commands
- Expression evaluation, part 1
- Literals
- Symbols
- Operators
- Concatenation
- Expression evaluation, part 2
- Numbers
- Variables
- Functions
- Quotes, blanks, case: meaning, efficiency, clarity
- Built-in functions (substr, length)
- Fundamentals, part 2
- Handling errors (rc, exit, signal on error)
- Do loops
- Numerically-indexed compound variables
- Data conversion
- Data validation
- Built-in i/o functions
- Interactive tracing
- Subprograms
- User-written functions
- Subroutines
- Multiple operands
- Scope of variables
- States saved and restored
- Search order
- Advanced features, part 1
- Normal and strict comparisons
- Large numbers
- Parsing templates
- Stems and arbitrarily-indexed compound variables
- Conditions (novalue, halt, syntax)
- Special variables sigl and result
- Platform-dependent features
- Header and character-set variations
- Determining the environment
- Addressing environments
- Implementation-dependent functions
- Stacks
- Commands
- Using REXX under CMS at Amdahl
- Communicating with CMS
- Communicating with CP
- AHSIM CMS 4
- AHSIM CMS 6
- Compiled REXX
- A word about CMS Pipelines
- CCCVM CMS 10 and beyond
- Advanced features, part 2
- Interpret instruction and value function
- CMS: address environment for ERASE, STATE, LISTFILE, RENAME
- CMS: GLOBALV command and value function
- CMS: XEDIT macros