XPEDITER / CICS Debugging
|Duration: 3 or 2 days|
|Participants: Application developers, mainframe support staff, and systems programmers.|
Upon successful completion of this course you will be able to:
- Compile programs for use with XPEDITER/CICS.
- Use XPEDITER to analyze and debug CICS programs, ranging from simple ASRA (S0C7) abends to non-terminal STARTed tasks, XCTLed programs, LINKed programs, and non-terminal triggered programs started from DCT triggers and MQ triggers.
- Use XPEDITER/CICS primary and line commands to: set breakpoints, examine and modify data, alter program logic, troubleshoot program errors, analyze the execution of your programs, and more.
- Use XPED and XPSP transactions to trouble shoot errors and follow program logic.
- Setup and use test scripts.
- XPEDITER /CICS is a debugging tool that lets you analyze, test and debug CICS applications running in a CICS environment. You will learn how to view and alter test profiles, interrupt a running program and examine storage, step through a program line-by-line, animate program execution, restart program execution at a different instruction, trace logic flow, bypass unnecessary program code, monitor, display and modify program variable contents, and more.
- This course uses a variety of CICS COBOL programs to illustrate the debugging of various abends and logic errors, including CICS programs with START, LINK, XCTL, and triggered CICS programs. This course focuses on debugging and analyzing COBOL/CICS applications. It is written for Xpediter/CICS Release 8.2. Earlier releases are also available.
|Prerequisites: Students need to be able to use TSO and JCL and write COBOL/CICS applications.|
|Format: Lecture and extensive hands-on workshops reinforce the lectures and demonstrations.|
- Client site needs to have TSO and CICS with XPEDITER/CICS installed. Optionally, WebSphere MQ and DB2 access need to be available.
- Each student needs a PC with 3270 terminal emulation for z/OS mainframe connectivity and logons to both TSO and CICS, and, if available, to the supersession or VTAM switching screen.
- Setup includes multiple PPTs, PCTs and one FCT and CICS/DB2 access for each student and an MQ queue for class.
- XPEDITER/CICS Features and Facilities
Three restricted and one unrestricted mode
Types of Debugging
XPED, XPRT, XPSP
Abend-AID vs. XPEDITER
- Preparing Your Environment to Use Xpediter
Utilities primary menu (Option 5)
Region size message
List allocates screen
DDIO file facility
- Preparing Your CICS Program to Use Xpediter
Create New Profile
Save New Profile
- Basic XPEDITER Debugging Session
XPEDITER Primary Menu
Starting the debugging session
Running Your Program
Go Around an Abend
Skip a Line
Ending the debugging session
Log dataset browse screen
Log dataset disposition screen
Test script dataset edit screen
Script dataset disposition screen
- Preparing Your Program
Program preparation menu (Option 1)
Xpediter changes to the compile process
Convert existing compile JCL
Compile facility alternative, for generating compile JCL
DB2 precompile settings
CICS translation settings
Bind facility and DBRM libraries panel
- Essential Debugging Commands
Break Point and Logic Commands
BEFORE, AFTER, WHEN
Program Variable Commands
Monitoring and altering
KEEP, KEEPE, KEEPH
PEEK, PEEKE, PEEKH
- XPEDITER with Non-Terminal STARTed Tasks
Compile and NEWC vs. CEMT NEWCOPY
Edit a TS QUEUE
Continue Running Program
View File Contents
Write New Record
List Existing Breakpoints
Abend with a START, TS Queue, and VSAM File
Rerun without Break in Started Task
Testing with XPSP
- XPEDITER with MQs and DCT Queues
Compile and NEWCOPY
Turn On the MQ Trigger
List of CSECTS
View the Dataset
Typical uses of scripts
Designing and writing Scripts
Using the log to create a script
- How to Debug Various Types of Programs and Abends
General recommendations for commands before GO
Advanced Xpediter commands
Handling different types of abends
Breakpoints in XCTLed, LINKed, and dynamically Called Tasks
Breakpoints in STARTed Tasks
Breakpoints in DCT Triggered Tasks
Breakpoints in MQ Series Tasks
Breakpoints in Called/Linked Tasks