IBM SC34-5764-01 User Manual

Page 7

Advertising
background image

What is a Host Command Environment? . . . . . . . . . . . . . . . . . . . . . . . 82
How Is a Command Passed to the Host Environment?. . . . . . . . . . . . . . . . . . 83
Changing the Host Command Environment . . . . . . . . . . . . . . . . . . . . . . 83

Chapter 9. Diagnosing Problems within a program . . . . . . . . . . . . . . . . . . . 85
Debugging Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85

Tracing Commands with the TRACE Instruction . . . . . . . . . . . . . . . . . . . . 85
Using REXX Special Variables RC and SIGL . . . . . . . . . . . . . . . . . . . . . 85
Tracing with the Interactive Debug Facility . . . . . . . . . . . . . . . . . . . . . . 86
Saving Interactive TRACE Output

. . . . . . . . . . . . . . . . . . . . . . . . . 87

Chapter 10. Programming Style and Techniques . . . . . . . . . . . . . . . . . . . . 89
Consider the Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89

Test Yourself...

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89

Happy Hour

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90

Designing a Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92

Methods for Designing Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
The Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
What Do We Have So Far?. . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Stepwise Refinement: An Example . . . . . . . . . . . . . . . . . . . . . . . . . 94
Reconsider the Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95

Correcting Your Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95

Modifying Your Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
Tracing Your Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95

Coding Style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96

Part 2. Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101

Chapter 11. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Who Should Read This Reference . . . . . . . . . . . . . . . . . . . . . . . . . . 103
How to Use This Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Overview of Product Features . . . . . . . . . . . . . . . . . . . . . . . . . . . 104

SAA Level 2 REXX Language Support Under REXX/CICS . . . . . . . . . . . . . . . . 104
Support for the Interpretive Execution of REXX Execs

. . . . . . . . . . . . . . . . . 104

CICS-Based Text Editor for REXX Execs and Data

. . . . . . . . . . . . . . . . . . 104

VSAM-Based File System for REXX Execs and Data . . . . . . . . . . . . . . . . . . 104
VSE Librarian Sublibraries. . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Dynamic Support for EXEC CICS Commands

. . . . . . . . . . . . . . . . . . . . 105

REXX Interface to CEDA and CEMT Transaction Programs

. . . . . . . . . . . . . . . 105

High-level Client/Server Support

. . . . . . . . . . . . . . . . . . . . . . . . . 105

Support for Commands Written in REXX

. . . . . . . . . . . . . . . . . . . . . . 105

Command Definition of REXX Commands . . . . . . . . . . . . . . . . . . . . . . 105
Support for System and User Profile Execs

. . . . . . . . . . . . . . . . . . . . . 105

Shared Execs in Virtual Storage

. . . . . . . . . . . . . . . . . . . . . . . . . 105

SQL Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106

How to Read the Syntax Diagrams

. . . . . . . . . . . . . . . . . . . . . . . . . 106

Chapter 12. REXX General Concepts . . . . . . . . . . . . . . . . . . . . . . . . 109
Structure and General Syntax

. . . . . . . . . . . . . . . . . . . . . . . . . . . 109

Characters

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110

Comments

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110

Tokens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Implied Semicolons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Continuations

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115

Expressions and Operators

. . . . . . . . . . . . . . . . . . . . . . . . . . . . 115

Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115

Contents

v

Advertising