Preface |
|
v | |
|
|
|
|
1 | (1) |
|
|
2 | (1) |
|
|
2 | (1) |
|
|
3 | (1) |
|
|
|
|
4 | (4) |
|
|
8 | (9) |
|
|
8 | (1) |
|
|
8 | (1) |
|
Hexadecimal literal string |
|
|
9 | (1) |
|
|
10 | (1) |
|
|
10 | (1) |
|
|
10 | (1) |
|
|
11 | (2) |
|
|
13 | (1) |
|
|
13 | (1) |
|
|
14 | (1) |
|
|
14 | (1) |
|
|
15 | (1) |
|
|
16 | (1) |
|
Implicit concatenation operators |
|
|
16 | (1) |
|
|
17 | (1) |
|
|
17 | (3) |
|
|
18 | (1) |
|
|
19 | (1) |
|
Logical (Boolean) expression |
|
|
19 | (1) |
|
|
20 | (1) |
|
Invocation of a REXX exec |
|
|
21 | (1) |
|
|
21 | (1) |
|
|
|
|
22 | (1) |
|
|
22 | (2) |
|
|
24 | (10) |
|
|
25 | (1) |
|
|
26 | (1) |
|
|
26 | (1) |
|
|
27 | (1) |
|
|
28 | (1) |
|
|
29 | (3) |
|
|
32 | (1) |
|
Communication between execs |
|
|
32 | (2) |
|
|
34 | (5) |
|
|
34 | (2) |
|
|
36 | (3) |
|
|
39 | (1) |
|
|
39 | (1) |
|
|
40 | (3) |
|
Stack as terminal input buffer |
|
|
40 | (1) |
|
Stack used for general data storage |
|
|
41 | (1) |
|
Stack used for passing data between execs |
|
|
41 | (2) |
|
|
43 | (1) |
|
|
43 | (1) |
|
|
43 | (1) |
|
Miscellaneous instructions |
|
|
43 | (1) |
|
|
44 | (1) |
|
|
44 | (3) |
|
|
44 | (1) |
|
|
45 | (1) |
|
SIGL - Source line number |
|
|
45 | (2) |
|
|
|
|
47 | (1) |
|
|
48 | (29) |
|
ADDRESS - Set environment |
|
|
48 | (3) |
|
|
51 | (1) |
|
|
52 | (2) |
|
DO - Define start of DO-block |
|
|
54 | (2) |
|
|
56 | (1) |
|
|
57 | (1) |
|
IF - Conditional execution |
|
|
58 | (1) |
|
INTERPRET - Interpret statement |
|
|
59 | (1) |
|
ITERATE - Terminate the current cycle in the DO-loop |
|
|
60 | (1) |
|
LEAVE - Terminate DO-loop |
|
|
61 | (1) |
|
|
62 | (1) |
|
NUMERIC - Define numeric formats |
|
|
62 | (1) |
|
OPTIONS - Pass special parameters to the language processor |
|
|
63 | (1) |
|
|
64 | (2) |
|
PROCEDURE - Define internal procedure |
|
|
66 | (1) |
|
PULL - Fetch data element from the head of the stack |
|
|
66 | (1) |
|
PUSH - Set data element at the head of the stack |
|
|
67 | (1) |
|
QUEUE - Set data element at the tail of the stack |
|
|
68 | (1) |
|
RETURN - Return from routine |
|
|
68 | (1) |
|
|
69 | (1) |
|
SELECT - Select one condition from a series of conditions |
|
|
70 | (1) |
|
SIGNAL - Enable (or disable) an exception condition, or cause control to be passed to a routine (or label) |
|
|
71 | (3) |
|
TRACE - Set debugging options |
|
|
74 | (2) |
|
UPPER - Transform lowercase characters into uppercase |
|
|
76 | (1) |
|
|
76 | (1) |
|
|
77 | (1) |
|
|
77 | (3) |
|
|
|
|
80 | (1) |
|
|
81 | (5) |
|
|
81 | (1) |
|
|
81 | (1) |
|
|
82 | (1) |
|
|
82 | (1) |
|
|
83 | (1) |
|
|
83 | (3) |
|
|
86 | (1) |
|
|
|
|
87 | (1) |
|
|
88 | (2) |
|
|
90 | (1) |
|
|
91 | (1) |
|
|
92 | (1) |
|
|
92 | (1) |
|
|
93 | (3) |
|
|
|
|
96 | (1) |
|
|
96 | (1) |
|
|
97 | (3) |
|
|
98 | (1) |
|
|
98 | (1) |
|
|
98 | (1) |
|
Modulo (integer) division |
|
|
98 | (1) |
|
|
99 | (1) |
|
|
99 | (1) |
|
Precision and representation |
|
|
100 | (2) |
|
|
101 | (1) |
|
Retention of significance |
|
|
101 | (1) |
|
|
101 | (1) |
|
|
102 | (1) |
|
|
102 | (2) |
|
|
|
|
104 | (1) |
|
|
105 | (1) |
|
Opening and closing the data files |
|
|
105 | (1) |
|
|
105 | (1) |
|
|
106 | (3) |
|
|
107 | (1) |
|
|
107 | (1) |
|
|
107 | (1) |
|
|
108 | (1) |
|
|
108 | (1) |
|
|
|
|
109 | (1) |
|
|
110 | (1) |
|
|
111 | (6) |
|
ALL - Display all expressions before execution |
|
|
111 | (1) |
|
COMMANDS - Display all commands before execution |
|
|
112 | (1) |
|
ERROR - Display all commands which return an error condition |
|
|
112 | (1) |
|
FAILURE - Display all commands which return a negative error condition |
|
|
113 | (1) |
|
INTERMEDIATE - Display all expressions (with intermediate results) before being executed |
|
|
113 | (1) |
|
LABELS - Display all labels as they are reached |
|
|
114 | (1) |
|
RESULTS - Display all expressions (with end results) before being executed |
|
|
114 | (1) |
|
SYNTAX - Check syntax without processing the statements |
|
|
115 | (1) |
|
n - Suppress trace intervention |
|
|
115 | (2) |
|
|
117 | (2) |
|
|
117 | (1) |
|
Trace intermediate data prefixes |
|
|
117 | (1) |
|
|
118 | (1) |
|
|
119 | (2) |
|
Interactive debugging example |
|
|
120 | (1) |
|
|
121 | (1) |
|
Errors with host commands and functions |
|
|
122 | (1) |
|
|
|
|
123 | (3) |
|
Function-like (direct) invocation |
|
|
124 | (1) |
|
|
124 | (1) |
|
|
125 | (1) |
|
|
125 | (1) |
|
|
126 | (1) |
|
|
126 | (1) |
|
|
126 | (42) |
|
ABBREV - Test whether string is an abbreviation |
|
|
128 | (1) |
|
ABS - Return absolute value |
|
|
129 | (1) |
|
ADDRESS - Return name of current environment |
|
|
129 | (1) |
|
|
129 | (1) |
|
|
130 | (1) |
|
|
130 | (1) |
|
BITXOR - Logical Exclusive-Or |
|
|
131 | (1) |
|
B2X - Convert binary data to hexadecimal |
|
|
132 | (1) |
|
CENTRE (CENTER) - Centralise data |
|
|
132 | (1) |
|
|
133 | (1) |
|
CONDITION - Return condition |
|
|
133 | (1) |
|
|
134 | (1) |
|
C2D - Convert character data to decimal |
|
|
135 | (1) |
|
C2X - Convert character data to hexadecimal |
|
|
135 | (1) |
|
DATATYPE - Determine data type |
|
|
136 | (1) |
|
DATE - Return current date |
|
|
137 | (1) |
|
DELSTR - Delete substring |
|
|
138 | (1) |
|
|
139 | (1) |
|
DIGITS - Return the NUMERIC DIGITS setting |
|
|
139 | (1) |
|
D2C - Convert decimal to character |
|
|
140 | (1) |
|
D2X - Convert decimal to hexadecimal |
|
|
140 | (1) |
|
ERRORTEXT - Return message text |
|
|
141 | (1) |
|
|
141 | (1) |
|
FORM - Determine NUMERIC FORM setting |
|
|
142 | (1) |
|
FORMAT - Format numeric value |
|
|
142 | (1) |
|
FUZZ - Determine NUMERIC FUZZ setting |
|
|
143 | (1) |
|
INDEX - Search for substring |
|
|
143 | (1) |
|
INSERT - Insert substring |
|
|
143 | (1) |
|
JUSTIFY - Justify string of words |
|
|
144 | (1) |
|
LASTPOS - Determine last position of phrase |
|
|
145 | (1) |
|
|
146 | (1) |
|
LENGTH - Determine length of string |
|
|
146 | (1) |
|
LINESIZE - Return the (maximum) width of a terminal line |
|
|
147 | (1) |
|
MAX - Determine the maximum of a series of numeric values |
|
|
147 | (1) |
|
MIN - Determine the minimum of a series of numeric values |
|
|
147 | (1) |
|
OVERLAY - Overlay part of a string with a phrase |
|
|
148 | (1) |
|
POS - Search for substring |
|
|
149 | (1) |
|
QUEUED - Determine the number of entries in the queue |
|
|
149 | (1) |
|
RANDOM - Generate a (pseudo-)random number |
|
|
150 | (1) |
|
REVERSE - Reverse the sequence of data |
|
|
151 | (1) |
|
RIGHT - Right-align string |
|
|
151 | (1) |
|
SIGN - Determine numeric sign |
|
|
152 | (1) |
|
SOURCELINE - Return ``program line'' |
|
|
152 | (1) |
|
SPACE - Insert fill-character between words |
|
|
153 | (1) |
|
STRIP - Remove padding-characters at the start or end of a string |
|
|
153 | (1) |
|
SUBSTR - Extract substring |
|
|
154 | (1) |
|
SUBWORD - Extract series of words from word-string |
|
|
155 | (1) |
|
SYMBOL - Determine the status of a symbol |
|
|
156 | (1) |
|
TIME - Return the current time-of-day |
|
|
156 | (2) |
|
TRACE - Return (and set) current trace mode |
|
|
158 | (1) |
|
TRANSLATE - Translate characters |
|
|
159 | (2) |
|
TRUNIC - Truncate numeric value |
|
|
161 | (1) |
|
|
162 | (1) |
|
VALUE - Return (and set) the contents of a symbol |
|
|
162 | (1) |
|
VERIFY - Test whether only characters in a phrase are present in string |
|
|
163 | (1) |
|
|
163 | (1) |
|
WORDINDEX - Determine the character position of a word in a string of words |
|
|
164 | (1) |
|
WORDLENGTH - Determine word length |
|
|
164 | (1) |
|
WORDPOS - Determine the word-number of word in a word-string |
|
|
165 | (1) |
|
WORDS - Determine the number of words in a word-string |
|
|
165 | (1) |
|
XRANGE - Define a range of hexadecimal values |
|
|
166 | (1) |
|
X2B - Convert hexadecimal to binary |
|
|
166 | (1) |
|
X2C - Convert hexadecimal to character |
|
|
167 | (1) |
|
X2D - Convert hexadecimal to decimal |
|
|
167 | (1) |
|
|
168 | (3) |
|
|
|
|
171 | (1) |
|
Host REXX command definitions |
|
|
171 | (10) |
|
|
172 | (1) |
|
|
172 | (1) |
|
EXECIO - Perform input/output operation |
|
|
173 | (2) |
|
EXECUTIL - Specify execution environment for REXX exec |
|
|
175 | (2) |
|
|
177 | (1) |
|
|
177 | (1) |
|
|
177 | (1) |
|
MAKEBUF - Create new buffer in the stack |
|
|
177 | (1) |
|
NEWSTACK - Create a new stack |
|
|
178 | (1) |
|
|
178 | (1) |
|
|
179 | (1) |
|
|
179 | (1) |
|
|
180 | (1) |
|
SUBCOM - Confirm the host environment |
|
|
180 | (1) |
|
|
180 | (1) |
|
|
180 | (1) |
|
|
181 | (1) |
|
|
|
|
182 | (1) |
|
MVS command function calls |
|
|
182 | (17) |
|
GETMSG - Retrieve a console session message |
|
|
184 | (2) |
|
LISTDSI - List (obtain) dataset information |
|
|
186 | (4) |
|
MSG - Set (interrogate) CLIST CONTROL MSG option |
|
|
190 | (1) |
|
MVSVAR - Obtain information on MVS, TSO, and the current session |
|
|
190 | (2) |
|
OUTTRAP - Trap TSO display output |
|
|
192 | (2) |
|
PROMPT - Set (interrogate) CLIST CONTROL PROMPT option |
|
|
194 | (1) |
|
SETLANG - Set (interrogate) current language |
|
|
195 | (1) |
|
STORAGE - Set (interrogate) main-storage contents |
|
|
195 | (1) |
|
SYSCPUS - Obtain CPU information |
|
|
196 | (1) |
|
SYSDSN - Request dataset status |
|
|
197 | (1) |
|
SYSVAR - Fetch TSO system variable |
|
|
198 | (1) |
|
Invocation of other TSO commands |
|
|
199 | (1) |
|
|
200 | (1) |
|
|
|
|
201 | (1) |
|
|
202 | (1) |
|
Invocation from batch TSO |
|
|
203 | (1) |
|
|
204 | (1) |
|
Linkage to the host environment |
|
|
205 | (1) |
|
|
205 | (4) |
|
|
206 | (1) |
|
|
207 | (1) |
|
|
208 | (1) |
|
Interface with ISPEXEC (ISPF Dialog Manager) |
|
|
209 | (1) |
|
Interface with ISREDIT (ISPF/PDF Edit macro) |
|
|
210 | (1) |
|
|
210 | (1) |
|
Interface with DB2 (Database2) |
|
|
211 | (1) |
|
|
211 | (1) |
|
Interface with QMF (Query Management Facility) |
|
|
211 | (3) |
|
DSQCIX - QMF Callable Interface |
|
|
212 | (1) |
|
DSQCCI - QMF Command Interface |
|
|
213 | (1) |
|
Interface from programs with REXX |
|
|
214 | (1) |
|
|
|
|
215 | (1) |
|
|
216 | (2) |
|
|
217 | (1) |
|
Other program language restrictions |
|
|
217 | (1) |
|
Invocation of a REXX exec |
|
|
218 | (3) |
|
Interface from programs to batch REXX (IRXJCL) |
|
|
218 | (1) |
|
Invocation of a REXX exec using the TSO Service Facility (IJKEFTSR) |
|
|
218 | (3) |
|
Interface from programs to REXX processor (IRXEXEC) |
|
|
221 | (7) |
|
|
224 | (1) |
|
Invocation of an in-store exec |
|
|
225 | (3) |
|
Program access to REXX variables (IREXECOM service) |
|
|
228 | (7) |
|
|
230 | (4) |
|
|
234 | (1) |
|
Stack processing (IRXSTK service) |
|
|
235 | (4) |
|
|
236 | (3) |
|
|
239 | (8) |
|
|
240 | (1) |
|
|
240 | (1) |
|
|
241 | (1) |
|
|
241 | (3) |
|
Command registration interface (IRXSUBCM) |
|
|
244 | (3) |
|
|
247 | (1) |
|
|
247 | (4) |
|
|
248 | (1) |
|
|
248 | (1) |
|
|
248 | (3) |
|
|
251 | (3) |
|
|
252 | (2) |
|
Load routine (IRXLOAD service) |
|
|
254 | (2) |
|
Initialisation routine (IRXINIT service) |
|
|
256 | (2) |
|
Sample initialisation program |
|
|
257 | (1) |
|
Get result (IRXRLT service) |
|
|
258 | (2) |
|
|
259 | (1) |
|
|
260 | (9) |
|
|
260 | (1) |
|
EFPL (External Function Parameter List) |
|
|
260 | (1) |
|
ENVBLOCK (Environment Block) |
|
|
261 | (1) |
|
EVALBLOCK (Evaluation Block) |
|
|
262 | (1) |
|
|
263 | (1) |
|
INSTBLK (In-storage Control Block) |
|
|
264 | (2) |
|
SHVBLOCK (Shared Variable (Request) Block) |
|
|
266 | (2) |
|
VEEP (Vector of External Entry Points) |
|
|
268 | (1) |
|
|
269 | (9) |
|
|
269 | (1) |
|
|
270 | (4) |
|
|
274 | (2) |
|
|
276 | (2) |
|
|
|
|
278 | (1) |
|
|
279 | (3) |
|
|
282 | (3) |
|
|
285 | (6) |
|
|
291 | (7) |
|
|
298 | (3) |
|
|
|
|
301 | (1) |
|
|
302 | (2) |
|
|
303 | (1) |
|
|
303 | (1) |
|
|
304 | (1) |
|
|
304 | (1) |
|
|
304 | (1) |
|
Combining compiled objects |
|
|
305 | (2) |
|
Produce a statically loaded program |
|
|
305 | (2) |
|
|
307 | (2) |
|
|
307 | (1) |
|
|
307 | (1) |
|
|
308 | (1) |
|
|
308 | (1) |
|
|
308 | (1) |
|
|
309 | (1) |
|
|
310 | (1) |
|
|
310 | (1) |
|
|
|
|
311 | (1) |
|
|
311 | (1) |
|
|
312 | (3) |
|
|
|
|
315 | (1) |
|
|
316 | (1) |
|
|
317 | (1) |
|
|
317 | (1) |
|
|
317 | (1) |
|
|
318 | (1) |
|
|
319 | (1) |
|
|
320 | (1) |
|
|
320 | (1) |
|
|
321 | (1) |
|
|
321 | (1) |
|
|
322 | (1) |
|
|
322 | (1) |
|
|
322 | (2) |
|
Development with the REXX compiler |
|
|
324 | (1) |
Appendix A. Syntax Notation |
|
325 | (3) |
Appendix B. Glossary |
|
328 | (5) |
Index |
|
333 | |