About This Book
This book describes how to use the TSO/E Procedures Language MVS/REXX
processor (called the language processor) and the REstructured eXtended eXecutor
(REXX) language. Together, the language processor and the REXX language are
known as TSO/E REXX. TSO/E REXX is the implementation of the Systems
Application Architecture (SAA) Procedures Language on the MVS system.
Who Should Use This Book
This book is intended for anyone who wants to learn how to write REXX programs.
More specifically, the audience is programmers who may range from the
inexperienced to those with extensive programming experience, particularly in
writing CLISTs for TSO/E. Because of the broad range of experience in readers,
this book is divided into two parts.
v
Part 1. Learning the REXX Language is for inexperienced programmers who are
somewhat familiar with TSO/E commands and have used the Interactive System
Productivity Facility/Program Development Facility (ISPF/PDF) in TSO/E.
Programmers unfamiliar with TSO/E should first read the
.
Experienced programmers new to REXX can also read this section to learn the
basics of the REXX language.
v
Part 2. Using REXX is for programmers already familiar with the REXX language
and experienced with the workings of TSO/E. It describes more complex aspects
of the REXX language and how they work in TSO/E as well as in other MVS
address spaces.
If you are a new programmer, you might want to concentrate on the first part. If you
are an experienced TSO/E programmer, you might want to read the first part and
concentrate on the second part.
How This Book Is Organized
In addition to the two parts described in the preceding paragraphs, there are three
appendixes at the end of the book.
v
“Appendix A. Allocating Data Sets” on page 185 contains checklists for the tasks
of creating and editing a data set and for allocating a data set to a system file.
v
“Appendix B. Specifying Alternate Libraries with the ALTLIB Command” on
page 195 describes using the ALTLIB command.
v
“Appendix C. Comparisons Between CLIST and REXX” on page 197 contains
tables that compare the CLIST language with the REXX language.
Terminology
Throughout this book a REXX program is called an exec to differentiate it from
other programs you might write, such as CLISTs. The command to run an exec in
TSO/E is the EXEC command. To avoid confusion between the two, this book uses
lowercase and uppercase to distinguish between the two uses of the term "exec".
References to the REXX program appear as
exec
and references to the TSO/E
command appear as
EXEC
.
© Copyright IBM Corp. 1988, 2001
xiii
Summary of Contents for TSO/E REXX
Page 1: ...z OS TSO E REXX User s Guide SA22 7791 00 ...
Page 2: ......
Page 3: ...z OS TSO E REXX User s Guide SA22 7791 00 ...
Page 10: ...viii z OS V1R1 0 TSO E REXX User s Guide ...
Page 12: ...x z OS V1R1 0 TSO E REXX User s Guide ...
Page 14: ...xii z OS V1R1 0 TSO E REXX User s Guide ...
Page 18: ...xvi z OS V1R1 0 TSO E REXX User s Guide ...
Page 20: ...2 z OS V1R1 0 TSO E REXX User s Guide ...
Page 58: ...Tracing Expressions with the TRACE Instruction 40 z OS V1R1 0 TSO E REXX User s Guide ...
Page 78: ...60 z OS V1R1 0 TSO E REXX User s Guide ...
Page 86: ...Built In Functions 68 z OS V1R1 0 TSO E REXX User s Guide ...
Page 128: ...Issuing Other Types of Commands from an Exec 110 z OS V1R1 0 TSO E REXX User s Guide ...
Page 136: ...Debugging Execs 118 z OS V1R1 0 TSO E REXX User s Guide ...
Page 170: ...Protecting Elements in the Data Stack 152 z OS V1R1 0 TSO E REXX User s Guide ...
Page 201: ...Part 3 Appendixes Copyright IBM Corp 1988 2001 183 ...
Page 202: ...184 z OS V1R1 0 TSO E REXX User s Guide ...
Page 222: ...Using Variables 204 z OS V1R1 0 TSO E REXX User s Guide ...
Page 226: ...208 z OS V1R1 0 TSO E REXX User s Guide ...
Page 238: ...220 z OS V1R1 0 TSO E REXX User s Guide ...
Page 241: ......