- Tel: +44 (0)1275 859666
GT08 - REXX Programming Workshop (including ISPF Dialog Manager) - 5 Days
Course Description
Customisation
For on-site courses (i.e. at your premises), we are more than happy to tailor the course agenda to suit your exact requirements. In many cases, we are able to build your in-house standards and naming conventions into the delivered course.
Course Details
- INTRODUCTION
- What Is REXX?
- Rexx Is Interpretative
- Simple Examples
- Building REXX Programs
- Rexx Is Interpretative
- PROGRAM EXECUTION
- Execution Of REXX Programs From A Member List
- Tso Execution Of REXX Programs
- System Definition Of REXX Programs
- Dynamic Concatenation Of REXX Datasets
- Viewing The ISPF Concatenation
- Batch Execution Of REXX Programs
- Tso Execution Of REXX Programs
- BASIC SYNTAX
- Commencing A REXX Program - Comments
- Terminating A REXX Program - Exit
- Variables
- Assigning Values To Variables
- Assigning Values - Use Of Quotation Marks
- Re-Initialising Variables - Drop
- Concatenating Variables
- Sending Data To The Terminal - Say
- Receiving Data From The Terminal - Pull
- Statement Continuation
- Variables And Arithmetic
- Evaluation Sequence
- Numbers Supported
- Altering Precision
- Altering Precision For Comparisons
- Terminating A REXX Program - Exit
- TEXT PARSING
- Parsing Words Separated By Spaces
- Parsing Words Separated By A Given String
- Parsing Words By Specific Position
- Disregarding Portions Of A String
- Parsing Program Arguments
- Parsing Instructions Summary
- Interpret
- Parsing Words Separated By A Given String
- PROGRAM FLOW AND CONTROL
- Conditional Testing Variables - If / Then / Else
- Nested If Statements
- The Select Statement
- Comparison Operators
- Combining Comparisons - Logical Operators
- Program Loops
- Do
- Do Forever
- Do While
- Do Until
- Loop Summary
- Iterate and Leave
- Using Leave / Iterate Within Nested Loops
- Interrupting Endless Loops
- Nested If Statements
- COMPOUND VARIABLES
- Compound Variables
- Testing For Initialised Occurrences
- Trapping The Number of Elements
- Non Numeric Subscripts
- Multi-Dimensional Arrays
- Re-Initialising Variables - Drop
- Testing For Initialised Occurrences
- SUBROUTINES
- Internal Subroutines
- External Subroutines
- Passing Data to Subroutines
- Receiving Arguments Into Subroutines
- Returning Data To The Calling Program
- Writing A Function
- Internal Subroutines - The Procedure Statement
- Receiving Arguments Into Main Line Programs
- Label Look-Aside Table
- External Subroutines
- FUNCTIONS
- Built-in Function Summary
- Abbrev
- Abs
- Address
- Arg
- B2X
- C2D
- C2X
- Center / Centre
- Compare
- Copies
- D2C
- D2X
- Datatype
- Date
- Delstr
- Delword
- Digits
- Find
- Format
- Fuzz
- Index
- Insert
- Justify
- Lastpos
- Left
- Length
- Listdsi
- Max
- Min
- Msg
- Outtrap
- Overlay
- Pos
- Queued
- Random
- Reverse
- Right
- Sign
- Space
- Strip
- Substr
- Subword
- Symbol
- Sysdsn
- Sysvar
- Time
- Translate
- Trunc
- Upper
- Userid
- Verify
- Word
- Wordindex
- Wordlength
- Wordpos
- Words
- X2B
- X2C
- X2D
- User Defined Functions
- Subroutine / Function Search Order
- Abbrev
- THE DATA STACK
- Datastack Manipulation
- Queuing
- Stacking
- NEWSTACK And DELSTACK
- MAKEBUF And DROPBUF
- Data Stack Query Commands
- Queuing
- EXTERNAL COMMANDS
- Executing TSO Commands
- The Address Command
- Allocating Datasets
- Freeing Datasets
- Execio - Reading And Writing To Files
- Execio - Return Codes
- Reading Records Into A Compound Variable
- Writing Records From A Compound Variable
- Reading Records Into The Data Stack
- Writing Records From The Data Stack
- Appending Data To A File
- Copying A Dataset
- Deleting And Renaming Datasets
- Clearing The Screen
- Editing And Browsing A Dataset
- Suppression Of System Messages
- TSO Command Reference Summary
- The Address Command
- DB2 ACCESS USING REXX
- Setting the Environment
- Connecting to a DB2 Subsystem
- Sample Code
- Executing SQL Statements - Execsql
- Host Variables
- The Prepare Statement
- Cursor Processing
- C1 to C100
- C101 to C200
- S1 to S100
- Selecting Data - Cursor Processing
- Null Indicators
- SQLCA
- Isolation Level
- Calling Stored Procedures Via REXX
- Sample Program
- DB2 Access Via The Tivoli CAF Interface
- Drl1sqlx Example
- Drl1sqlx Input Variables
- Drl1sqlx Output Variables
- Connecting to a DB2 Subsystem
- PROGRAM TESTING
- Trapping Errors
- Signal And Call
- Trace
- ISPF Dialog Testing
- Signal And Call
- DIALOG MANAGER
- ISPF Dialog Manager Services
- Dynamic Concatenation Of ISPF Datasets
- The Model Command
- Dynamic Concatenation Of ISPF Datasets
- DIALOG MANAGER PANELS
- Panels
- Panel Sections
- Selection Panels
- Data Entry Panels
- Pop-Up Panels
- Point-And-Shoot Selection Panels
- Action Bar Control Panels
- Options for the )ATTR Section
- Further Options For The )BODY Section
- Variable Manipulation within Panels
- VER (Verify) Statements
- REXX Code - Displaying a Panel
- REXX Code - Displaying a Pop-Up Panel
- Rexx Code - Cursor Positioning
- Saving And Retrieving Variables
- The Newappl and Newpool Parameters
- REXX Code - Selecting the Required Pool
- VPUT And VGET Statements
- Panel Sections
- DIALOG MANAGER MESSAGES
- Message Definitions
- Error Message Naming Syntax
- Error Message Content
- Predefined Messages
- Error Message Parameters
- Displaying An Error Message in REXX
- Error Message Naming Syntax
- DIALOG MANAGER TABLES
- Dialog Manager Table Services
- Creating A Table
- Writing To A Table
- Table Display - Scrollable Panels
- Displaying A Table within a Scrollable Panel
- Selecting / Updating The Table Display
- Positioning The Pointer
- Closing A Table
- Table Level Services
- Row Level Services
- Creating A Table
- DIALOG MANAGER SKELETONS
- Skeleton Members - File Tailoring
- File Tailoring Control Statements
- File Tailoring Control Characters
- The )BLANK Statement
- The )CM Statement
- The )DEFAULT Statement
- The )DOT and )ENDDOT Statements
- The )IM Statement
- The )SEL and )ENDSEL Statements
- The )SET Statement
- The )TB Statement
- File Tailoring Example
- File Tailoring Control Statements
- LIBRARY MANAGEMENT SERVICES
- Library Management Services
- ISPF EDIT MACROS
- What is a Macro?
- Macro Syntax
- Passing Parameters To Macros
- Macro Syntax