do not need to be predefined, and you can type instructions in upper, lower, or
mixed case. The few rules about REXX format are covered in “Syntax of REXX
Instructions” on page 9.
Convenient built-in functions
REXX supplies built-in functions that perform various processing, searching, and
comparison operations for both text and numbers. Other built-in functions provide
formatting capabilities and arithmetic calculations.
Debugging capabilities
When a REXX exec running in TSO/E encounters an error, messages describing
the error are displayed on the screen. In addition, you can use the REXX TRACE
instruction and the interactive debug facility to locate errors in execs.
Interpreted language
TSO/E implements the REXX language as an interpreted language. When a REXX
exec runs, the language processor directly processes each language statement.
Languages that are not interpreted must be compiled into machine language and
possibly link-edited before they are run. You can use the IBM licensed product, IBM
Compiler and Library for REXX/370, to provide this function.
Extensive parsing capabilities
REXX includes extensive parsing capabilities for character manipulation. This
parsing capability allows you to set up a pattern to separate characters, numbers,
and mixed input.
Components of REXX
The various components of REXX are what make it a powerful tool for
programmers. REXX is made up of:
v
Instructions — There are five types of instructions. All but commands are
processed by the language processor.
– Keyword
– Assignment
– Label
– Null
– Command (both TSO/E REXX commands and host commands)
v
Built-in functions — These functions are built into the language processor and
provide convenient processing options.
v
TSO/E external functions — These functions are provided by TSO/E and interact
with the system to do specific tasks for REXX.
v
Data stack functions — A data stack can store data for I/O and other types of
processing.
The SAA Solution
The SAA solution is based on a set of software interfaces, conventions, and
protocols that provide a framework for designing and developing applications.
The SAA Procedures Language has been defined as a subset of the REXX
language. Its purpose is to define a common subset of the language that can be
used in several environments. TSO/E REXX is the implementation of the SAA
Procedures Language on the MVS system.
Features of REXX
4
z/OS V1R1.0 TSO/E REXX User’s Guide
Содержание TSO/E REXX
Страница 1: ...z OS TSO E REXX User s Guide SA22 7791 00 ...
Страница 2: ......
Страница 3: ...z OS TSO E REXX User s Guide SA22 7791 00 ...
Страница 10: ...viii z OS V1R1 0 TSO E REXX User s Guide ...
Страница 12: ...x z OS V1R1 0 TSO E REXX User s Guide ...
Страница 14: ...xii z OS V1R1 0 TSO E REXX User s Guide ...
Страница 18: ...xvi z OS V1R1 0 TSO E REXX User s Guide ...
Страница 20: ...2 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 58: ...Tracing Expressions with the TRACE Instruction 40 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 78: ...60 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 86: ...Built In Functions 68 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 128: ...Issuing Other Types of Commands from an Exec 110 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 136: ...Debugging Execs 118 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 170: ...Protecting Elements in the Data Stack 152 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 201: ...Part 3 Appendixes Copyright IBM Corp 1988 2001 183 ...
Страница 202: ...184 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 222: ...Using Variables 204 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 226: ...208 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 238: ...220 z OS V1R1 0 TSO E REXX User s Guide ...
Страница 241: ......