Book description
This book is intended to support ISPF application programmers to become professional in the smart programming of ISPF applications using the REXX language. The contents are presented in a modular manner to suit reading with heterogeneous ISPF programming knowledge. The following topics are covered: Introduction to the programming language REXX as well as to ISPF programming, data processing in ISPF applications, use of messages, panels, skeletons, tables, ISPF variables and an introduction to creating and applying edit macros. Each theme is vividly illustrated by programming examples. The Smart ISPF Utilities contain some very useful programming aids that are often useful when programming ISPF applications. The book serves as a textbook as well as a manual for daily work. Many cross-references are included as well as an extensive index. Moreover, the author gives many helpful hints and tips on smart ISPF programming practices. The Smart ISPF Utilities contain many useful programming aids.
Table of contents
- Cover
- Title
- Copyright
- Preface
- 1 Introduction
- 2 Introduction to the REXX programming language
-
3 The REXX commands
- 3.1 ADDRESS – Connection to the subsystems
- 3.2 ARG – Retrieve the parameter string
- 3.3 CALL – Call other programs
- 3.4 DO groups and DO loops
- 3.5 EXIT and RETURN – leaving the REXX procedure
- 3.6 IF and WHEN – check conditions
- 3.7 INTERPRET – generate REXX commands dynamically
- 3.8 NUMERIC – set computing options
- 3.9 PARSE – text fragmentation
- 3.10 PROCEDURE – Option for internal subroutines
- 3.11 QUEUE – Working with the TSO stack
- 3.12 SAY – Print texts
- 3.13 SELECT – Conditionally call alternative instructions
- 3.14 NOP – No operation
- 3.15 PULL – Enter data on the screen
- 3.16 TRACE – The strong debugging aid
- 3.17 SIGNAL – Jumping when errors
-
4 The REXX functions
-
4.1 General functions
- 4.1.1 ADDRESS – Get the active host command environment
- 4.1.2 ARG – Input parameter test or take
- 4.1.3 DATE – Date functions
- 4.1.4 TIME – Time functions
- 4.1.5 QEUED – Number of records in the data stack
- 4.1.6 SOURCELINE – Return a program line
- 4.1.7 USERID – Return the TSO user ID
- 4.1.8 VALUE – Create variable names dynamically
- 4.2 Arithmetic functions
- 4.3 Comparison Functions
- 4.4 Conversion functions
- 4.5 Formatting functions
-
4.6 String functions
- 4.6.1 DELSTR – Delete substrings
- 4.6.2 INSERT – Insert text
- 4.6.3 SCHANGE – Change of texts
- 4.6.4 LENGTH – Length of a text
- 4.6.5 OVERLAY – Superimpose text
- 4.6.6 POS – Search for text
- 4.6.7 STRIP – remove border characters
- 4.6.8 SUBSTR – Extract part of a text
- 4.6.9 TRANSLATE – translate characters
- 4.6.10 VERIFY – verify text
- 4.7 Word functions
- 4.8 System functions
-
4.1 General functions
- 5 The TSO/E REXX commands
- 6 Execute REXX programs
- 7 Introduction to ISPF programming
-
8 Data set processing using ISPF
-
8.1 The LM services
- 8.1.1 Grouping of LM services
- 8.1.2 LMINIT – Start of the data set processing
- 8.1.3 LMFREE – Free a data set
- 8.1.4 LMOPEN – Open a data set for processing
- 8.1.5 LMCLOSE – Close a data set
- 8.1.6 LMMFIND – Localize a member
- 8.1.7 LMMREP – Replace a member
- 8.1.8 LMMADD – Add a member
- 8.1.9 LMGET – Read a data records
- 8.1.10 LMPUT – Output data records
- 8.1.11 LMCOPY – Copy data
- 8.1.12 LMMOVE – Move data
- 8.1.13 LMMDEL – Delete members
- 8.1.14 LMMREN – Rename members
- 8.1.15 LMMSTATS – Display or change member statistics
- 8.1.16 LMCOMP – Compress a PDS
- 8.1.17 LMMLIST – Display a member list
- 8.1.18 LMMDISP – Display and edit a member list
- 8.1.19 LMDINIT – Initialize the LMDDISP service
- 8.1.20 LMDDISP – Data set list service
- 8.1.21 LMDLIST – List of data sets
- 8.1.22 LMDFREE – Free a LISTID
- 8.1.23 MEMLIST – member list dialog service
- 8.2 Data set query services
-
8.1 The LM services
- 9 Messages – Definition, setting, output
- 10 Panels – create and use
- 11 Skeletons – Design and use
- 12 Tables – Create and edit
- 13 Variables – Definition and using
-
14 Edit macros – Create and apply
- 14.1 What is an edit macro?
- 14.2 Table of edit macro commands
- 14.3 Operands and abbreviations used in the edit macro commands
- 14.4 Test aids in the creating macros
- 14.5 System variables of the ISPF editor
- 14.6 Passing parameters to macros
- 14.7 Examples for editing and SUBMIT batch jobs
- 14.8 Mnemonics for macro programming
-
15 The SMART ISPF utilities
- 15.1 Naming conventions
- 15.2 The dynamic panel concept
- 15.3 List of executable programs
-
15.4 Program descriptions
- 15.4.1 Edit macro ## – Execute a currently edited REXX procedure
- 15.4.2 Edit macro #ALTXT – Realign line parts
- 15.4.3 Edit macro #EDMEM – Edit of a member
- 15.4.4 Edit macro #IMACROA – General ISPF edit macro
- 15.4.5 Edit macro #IMACRO1 – Initial edit macro
- 15.4.6 Edit macro #IMACRO2 – Edit session end macro
- 15.4.7 Edit macro #ISPFB – Submit an ISPF batch job
- 15.4.8 Edit macro #LCH – Perform long edit change commands
- 15.4.9 Edit macro #SPLJ – SPLIT and JOIN lines
- 15.4.10 Edit macro #SSS – Clear SCHFOR lists
- 15.4.11 Edit macro #SSSCH – Mass update of members
- 15.4.12 Edit macro #SU – Submit JCL without a JOB statement
- 15.4.13 Edit macro #TSOB – Submit a TSO batch job
- 15.4.14 Edit macro #VERASE – Erase ISPF profile variables
- 15.4.15 Program SCURSOR – Calling a data set from an ISPF screen
- 15.4.16 Program SDOC – Produce documentation members
- 15.4.17 Program SLE – Display last edited data sets
- 15.4.18 SLOGDSN – Data member containing DSNs for logon
- 15.4.19 Program SLOGON – Personal logon procedure
- 15.4.20 Program SPROFEDT – Store users ISPF profile variables
- 15.4.21 SPROFVAR – Load user ISPF variables
- 15.4.22 Program SSC – Super clone for data sets
- 15.4.23 Program SSS – Perform a Super-Search
-
15.5 Programming aids
- 15.5.1 Edit macro #C – Compile and execute a REXX program
- 15.5.2 Edit macro #RO – Online compile of a REXX program
- 15.5.3 Edit macro #RC – Compile a REXX procedure with a batch job
- 15.5.4 Edit macro #RCLOAD – Produce a load or a call module
- 15.5.5 Edit macro #IE – Insert a call to ISPF_ERROR
- 15.5.6 Subroutine ISPF_ERROR – Display ISPF error messages
- 15.5.7 Edit macro #PAN – Execute a panel source code
- 15.5.8 Subroutine DAYDIFF – Calculate number of days
- 15.5.9 Subroutine ENDDAY – Calculate a target date
- 15.5.10 Subroutine JULDATE – Translate a date to Julian and vise versa
- 15.5.11 Subroutine LEAPYEAR – Return the leap year information
- 15.5.12 REXX subroutine SCHANGE – REXX change function
- 15.5.13 Program SDYNPAN – Convert a panel source code
- 15.6 Installation of SMART ISPF utilities
- List of programs
- List of tables
- List of screens
- Bibliography
- Index
Product information
- Title: ISPF Programmer’s Guide
- Author(s):
- Release date: November 2015
- Publisher(s): De Gruyter Oldenbourg
- ISBN: 9783110407655
You might also like
book
BMC Control-M 7: A Journey from Traditional Batch Scheduling to Workload Automation
Master one of the world’s most powerful enterprise workload automation tools – BMC Control-M 7 Implement …
book
Beginning COBOL for Programmers
Beginning COBOL for Programmers is a comprehensive, sophisticated tutorial and modular skills reference on the COBOL …
book
Python Crash Course, 2nd Edition
This is the second edition of the best selling Python book in the world. Python Crash …
book
Python Crash Course, 3rd Edition
Python Crash Course is the world's best-selling guide to the Python guide programming language, with over …