Atnaujinkite slapukų nuostatas

El. knyga: Practical Usage of TSO REXX

  • Formatas: PDF+DRM
  • Išleidimo metai: 06-Dec-2012
  • Leidėjas: Springer London Ltd
  • Kalba: eng
  • ISBN-13: 9781447107552
Kitos knygos pagal šią temą:
  • Formatas: PDF+DRM
  • Išleidimo metai: 06-Dec-2012
  • Leidėjas: Springer London Ltd
  • Kalba: eng
  • ISBN-13: 9781447107552
Kitos knygos pagal šią temą:

DRM apribojimai

  • Kopijuoti:

    neleidžiama

  • Spausdinti:

    neleidžiama

  • El. knygos naudojimas:

    Skaitmeninių teisių valdymas (DRM)
    Leidykla pateikė šią knygą šifruota forma, o tai reiškia, kad norint ją atrakinti ir perskaityti reikia įdiegti nemokamą programinę įrangą. Norint skaityti šią el. knygą, turite susikurti Adobe ID . Daugiau informacijos  čia. El. knygą galima atsisiųsti į 6 įrenginius (vienas vartotojas su tuo pačiu Adobe ID).

    Reikalinga programinė įranga
    Norint skaityti šią el. knygą mobiliajame įrenginyje (telefone ar planšetiniame kompiuteryje), turite įdiegti šią nemokamą programėlę: PocketBook Reader (iOS / Android)

    Norint skaityti šią el. knygą asmeniniame arba „Mac“ kompiuteryje, Jums reikalinga  Adobe Digital Editions “ (tai nemokama programa, specialiai sukurta el. knygoms. Tai nėra tas pats, kas „Adobe Reader“, kurią tikriausiai jau turite savo kompiuteryje.)

    Negalite skaityti šios el. knygos naudodami „Amazon Kindle“.

REXX is a general purpose language which is easy to learn. It contains an extensive library of powerful functions which greatly reduces the amount of coding necessary to write applications. The use of REXX in a wide range of environments simplifies the writing of applications to run under different hardware and operating systems, and its expansibility allows other components to make sure of REXX facilities and vice versa. Practical Usage of TSO REXX provides a concise source of information for the development and implication of applications using the REXX language. The author adopts a practical approach, using lists and diagrams to illustrate relevant points. This third edition, (previously titled Practical Usage of MVS REXX), has been revised to include the new REXX features introduced for the OS/390 TSO/E environment.
Preface v
Introduction
REXX background
1(1)
REXX characteristics
2(1)
REXX applications
2(1)
REXX's future
3(1)
REXX Facilities
Introduction
4(4)
REXX structure
8(9)
Token
8(1)
Literal string
8(1)
Hexadecimal literal string
9(1)
Binary literal string
10(1)
Symbol
10(1)
Numeric symbol
10(1)
Variables
11(2)
Operator
13(1)
Prefix operators
13(1)
Arithmetic operators
14(1)
Abuttal operator
14(1)
Comparative operators
15(1)
Logical operators
16(1)
Implicit concatenation operators
16(1)
Other syntax elements
17(1)
REXX expressions
17(3)
Arithmetic expression
18(1)
Comparative expression
19(1)
Logical (Boolean) expression
19(1)
Statements
20(1)
Invocation of a REXX exec
21(1)
Comparison with CLISTs
21(1)
REXX Processing Elements
Introduction
22(1)
Statements
22(2)
Routines
24(10)
Subroutine
25(1)
Procedure
26(1)
Function
26(1)
Search order
27(1)
Invocation
28(1)
Parameters (arguments)
29(3)
Return
32(1)
Communication between execs
32(2)
Types of instruction
34(5)
Conditional control
34(2)
Loop control
36(3)
Control processing flow
39(1)
Assignment
39(1)
Stack (queue) processing
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)
File buffer
43(1)
Parsing
43(1)
Debugging
43(1)
Miscellaneous instructions
43(1)
Commands
44(1)
Special variables
44(3)
RC - Return code
44(1)
RESULT - Function result
45(1)
SIGL - Source line number
45(2)
REXX Instructions
Introduction
47(1)
Instruction descriptions
48(29)
ADDRESS - Set environment
48(3)
ARG - Fetch argument
51(1)
CALL - Invoke routine
52(2)
DO - Define start of DO-block
54(2)
DROP - Free variable
56(1)
EXIT - Terminate exec
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)
NOP - No-operation
62(1)
NUMERIC - Define numeric formats
62(1)
OPTIONS - Pass special parameters to the language processor
63(1)
PARSE - Assign data
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)
SAY - Display
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)
= - Assign
76(1)
Command
77(1)
Examples
77(3)
Exception Handling
Introduction
80(1)
Condition traps
81(5)
ERROR condition
81(1)
FAILURE condition
81(1)
HALT condition
82(1)
NOVALUE condition
82(1)
SYNTAX condition
83(1)
Stacked condition
83(3)
Explicit invocation
86(1)
String Processing
Introduction
87(1)
Word parsing
88(2)
Delimiter parsing
90(1)
Positional parsing
91(1)
Dynamic parsing
92(1)
Argument parsing
92(1)
Worked examples
93(3)
Numbers and Arithmetic
Introduction
96(1)
Number
96(1)
Arithmetic operators
97(3)
Power (exponentiation)
98(1)
Multiplication
98(1)
Division
98(1)
Modulo (integer) division
98(1)
Remainder division
99(1)
Numeric comparison
99(1)
Precision and representation
100(2)
Computational base
101(1)
Retention of significance
101(1)
Arithmetic exceptions
101(1)
Sequence of operations
102(1)
Numeric formatting
102(2)
Input/Output
Introduction
104(1)
Data buffering
105(1)
Opening and closing the data files
105(1)
Terminal operations
105(1)
File-mode operations
106(3)
File positioning
107(1)
Write operation
107(1)
Delete data operation
107(1)
Read operation
108(1)
Update operation
108(1)
Debugging
Introduction
109(1)
Exception conditions
110(1)
Tracing options
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)
Trace output
117(2)
Trace data prefixes
117(1)
Trace intermediate data prefixes
117(1)
Trace output example
118(1)
Interactive debug
119(2)
Interactive debugging example
120(1)
Parametric debug
121(1)
Errors with host commands and functions
122(1)
REXX Built-in Functions
Introduction
123(3)
Function-like (direct) invocation
124(1)
Call invocation
124(1)
Internal functions
125(1)
Function side-effects
125(1)
Invocation errors
126(1)
Internal data format
126(1)
Function definitions
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)
ARG - Return argument
129(1)
BITAND - Logical And
130(1)
BITOR - Logical Or
130(1)
BITXOR - Logical Exclusive-Or
131(1)
B2X - Convert binary data to hexadecimal
132(1)
CENTRE (CENTER) - Centralise data
132(1)
COMPARE - Compare
133(1)
CONDITION - Return condition
133(1)
COPIES - Replicate data
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)
DELWORD - Delete words
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)
FIND - Search for word
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)
LEFT - Left-align string
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)
USERID - Return Userid
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)
WORD - Fetch word
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)
Examples
168(3)
Host REXX Commands
Introduction
171(1)
Host REXX command definitions
171(10)
DELSTACK - Delete stack
172(1)
DROPBUF - Release buffer
172(1)
EXECIO - Perform input/output operation
173(2)
EXECUTIL - Specify execution environment for REXX exec
175(2)
HE - Halt execution
177(1)
HI - Halt interpretation
177(1)
HT - Halt typing
177(1)
MAKEBUF - Create new buffer in the stack
177(1)
NEWSTACK - Create a new stack
178(1)
QBUF - Query buffer
178(1)
QELEM - Query elements
179(1)
QSTACK - Query stack
179(1)
RT - Resume typing
180(1)
SUBCOM - Confirm the host environment
180(1)
TE - Trace end
180(1)
TS - Trace start
180(1)
Example
181(1)
MVS Command Functions
Introduction
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)
Example
200(1)
REXX Invocation
Introduction
201(1)
Invocation from TSO/ISPF
202(1)
Invocation from batch TSO
203(1)
Invocation from batch
204(1)
Linkage to the host environment
205(1)
Linkage to programs
205(4)
LINK (ATTACH)
206(1)
LINKMVS (ATTACHMVS)
207(1)
LINKPGM (ATTACHPGM)
208(1)
Interface with ISPEXEC (ISPF Dialog Manager)
209(1)
Interface with ISREDIT (ISPF/PDF Edit macro)
210(1)
Macro example
210(1)
Interface with DB2 (Database2)
211(1)
DB2 invocation example
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)
System Interfaces
Introduction
215(1)
General conditions
216(2)
C, C++ restrictions
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)
Sample program
224(1)
Invocation of an in-store exec
225(3)
Program access to REXX variables (IREXECOM service)
228(7)
Sample programs
230(4)
Sample retrieval program
234(1)
Stack processing (IRXSTK service)
235(4)
Sample programs
236(3)
Command interface
239(8)
Entry conditions
240(1)
Parameter list
240(1)
Exit conditions
241(1)
Examples
241(3)
Command registration interface (IRXSUBCM)
244(3)
Command router
247(1)
Function interface
247(4)
Entry conditions
248(1)
Exit conditions
248(1)
Sample function program
248(3)
Function package
251(3)
Function directory
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)
Sample IRXRLT program
259(1)
Control blocks
260(9)
Argument List
260(1)
EFPL (External Function Parameter List)
260(1)
ENVBLOCK (Environment Block)
261(1)
EVALBLOCK (Evaluation Block)
262(1)
EXECBLK (Exec Block)
263(1)
INSTBLK (In-storage Control Block)
264(2)
SHVBLOCK (Shared Variable (Request) Block)
266(2)
VEEP (Vector of External Entry Points)
268(1)
Examples
269(9)
Assembler implementation
269(1)
C implementation
270(4)
COBOL implementation
274(2)
PL/I implementation
276(2)
Worked Examples
Introduction
278(1)
Worked example 1
279(3)
Worked example 2
282(3)
Worked example 3
285(6)
Worked example 4
291(7)
Worked example 5
298(3)
REXX Compiler
Introduction
301(1)
JCL procedures
302(2)
REXXC procedure
303(1)
REXXCL procedure
303(1)
REXXCLG procedure
304(1)
REXXL procedure
304(1)
Compiler options
304(1)
Combining compiled objects
305(2)
Produce a statically loaded program
305(2)
Stubs
307(2)
CALLCMD stub
307(1)
CPPL stub
307(1)
EFPL stub
308(1)
CPPLEFPL stub
308(1)
MVS stub
308(1)
Performance
309(1)
Compatibility
310(1)
Execution sequence
310(1)
Other Environments
Introduction
311(1)
REXX for CICS
311(1)
REXX for UNIX Services
312(3)
Program Development
Introduction
315(1)
Reusability
316(1)
Productivity
317(1)
Standardisation
317(1)
Readability
317(1)
Reliability
318(1)
Maintainability
319(1)
Compatibility
320(1)
Performance
320(1)
Expansibility
321(1)
Stepwise refinement
321(1)
Portability
322(1)
Testing
322(1)
Run-time debugging
322(2)
Development with the REXX compiler
324(1)
Appendix A. Syntax Notation 325(3)
Appendix B. Glossary 328(5)
Index 333