You are on page 1of 4

XPEDITER CICS

2 days
Participants Ap p lication d evelop ers, m ainfram e su p p ort staff, and system s p rogram m ers

Objectives Up on su ccessfu l com p letion of this cou rse you w ill be able to:
- Com p ile and link p rogram s for u se w ith XPEDITER/ CICS.
- Use XPEDITER to analyze and d ebu g CICS p rogram s, ranging from
sim p le ASRA (S0C7) abend s to m ore com p licated abend s involving
LIN Ked p rogram s, XCTLed p rogram s, non -term inal STARTed tasks and
non-term inal triggered p rogram s started from DCT triggers and MQ
triggers.
- Use XPEDITER/ CICS p rim ary and line com m and s to: set breakp oints,
exam ine and m od ify d ata, alter p rogram logic, trou bleshoot p rogram
errors, analyze the execu tion of you r p rogram s, and m ore.
- Use XPED and XPSP transactions to tr ou ble shoot errors and follow
p rogram logic.
- Setu p and u se test scrip ts to sim p lify testing and d ebu gging.

Overview XPEDITER / CICS is a d ebu gging tool that lets you analyze, test and
d ebu g CICS ap p lications ru nning in a CICS environm ent. You w ill learn
how to view and alter test p rofiles, interru p t a ru nning p rogram and
exam ine storage, step throu gh a p rogram line-by-line, anim ate p rogram
execu tion, restart p rogram execu tion at a d ifferent instru ction, trace logic
flow , byp ass u nnecessary p rogram cod e, m onitor, d isp lay and m od ify
p rogram variable contents, and m ore.

This cou rse u ses a variety of CICS COBOL p rogram s to illu strate the
d ebu gging of variou s abend s and logic errors, inclu d ing CICS p rogram s
w ith START, LIN K, XCTL, and triggered CICS p rogram s. This cou rse
focu ses on d ebu ggin g and analyzing COBOL/ CICS ap p lications. Op tional
exam p les m ay inclu d e DB2 and MQ.

Prerequisites Stu d ents need to be able to u se TSO and JCL and to w rite COBOL/ CICS
p rogram s. Stu d ents are exp ected to know Xp ed iter for TSO and Batch.

Format Lectu re and extensive hand s-on w orkshop s reinforce the lectu res and
d em onstrations.

©2008 Creative D ata Movers, Inc., 212-730-5245


XPEDITER CICS (continued)

Topic Outline XPED ITER/CICS Features and Facilities


XPEDITER/ CICS Mod es
Three restricted and one u nrestricted m od e
XPEDITER/ CICS Su p p ort
Typ es of Debu gging
Debu gging Transactions
XPED, XPRT, XPSP
Abend -AID vs. XPEDITER
Com p ile Process

Preparing Your Environment to Use Xpediter


Utilities p rim ary m enu (Op tion 5)
Region size m essage
List allocates screen
DDIO file facility

Preparing Your CICS Program to Use Xpediter


Setting Defau lts
Session Profile
PF Keys
Create N ew Profile
Save N ew Profile

Basic XPED ITER D ebugging Session


XPEDITER Prim ary Menu
Starting the d ebu gging session
First Abend
Changing Data
Setting Breakp oints
Ru nning You r Program
Breakp oint Reached
ASRA Abend
Go Arou nd an Abend
Skip a Line
End ing the d ebu gging session
Log d ataset brow se screen
Log d ataset d isp osition screen
Test scrip t d ataset ed it screen
Scrip t d ataset d isp osition screen

Preparing Your Program


Program p rep aration m enu (Op tion 1)
Xp ed iter changes to the com p ile p rocess
Convert existing com p ile JCL
Com p ile facility alternative, for generating com p ile JCL

©2008 Creative D ata Movers, Inc., 212-730-5245


XPEDITER CICS (continued)

Topic Outline Preparing Your Program (cont inued)


General settings
Com p ile settings
DB2 p recom p ile settings
CICS translation settings
Linked it settings
Bind facility and DBRM libraries p anel

Essential D ebugging Commands


Break Point and Logic Com m and s
BEFORE, AFTER, WH EN
COUN T
GO
SKIP
TRACE
RETEST
Inserting Instru ctions
IN SERT
PAUSE
GOTO
Program Variable Com m and s
Monitoring and altering d ata
SET KEEP
KEEP, KEEPE, KEEPH
PEEK, PEEKE, PEEKH
MOVE
UTILITY Com m and s
H ELP
IN CLUDE
LOG
SET
SH OW
TSO

XPED ITER w ith N on-Terminal STARTed Tasks


Stu d ent Setu p
Com p ile and N EWC vs. CEMT N EWCOPY
Set Breakp oints
Trap Su m m ary
Ru n Transaction
TS QUEUEs
Ed it a TS QUEUE
Continu e Ru nning Program
View File Contents
Write N ew Record
List Existing Breakp oints
Cleanu p

©2008 Creative D ata Movers, Inc., 212-730-5245


XPEDITER CICS (continued)

Topic Outline XPED ITER w ith N on-Terminal STARTed Tasks (cont inued)
Rem ote Abend s
Stu d ent Setu p
Abend w ith a START, TS Qu eu e, and VSAM File
Reru n w ithou t Break in Started Task
Testing w ith XPSP

XPED ITER w ith MQs and D CT Queues


Stu d ent Setu p
Com p ile and N EWCOPY
Tu rn On the MQ Trigger
MQ Breakp oints
List of CSECTS
Monitor Excep tions
MQ ABEN D
RESUME
The Abend
View the Dataset
Abend Bu lletin
Abend List
Cleanu p

Scripts
Typ ical u ses of scrip ts
Designing and w riting Scrip ts
Using the log to create a scrip t

How to D ebug Various Types of Programs and Abends


General recom m end ations for com m and s before GO
Ad vanced Xp ed iter com m and s
H and ling d ifferent typ es of abend s
Breakp oints in XCTLed , LIN Ked , and
d ynam ically Called Tasks
Breakp oints in STARTed Tasks
Breakp oints in DCT Triggered Tasks
Breakp oints in MQ Series Tasks
Breakp oints in Called / Linked Tasks

D B2 and MQ (optional)
Debu gging CICS p rogram s that also u se DB2 and MQ

©2008 Creative D ata Movers, Inc., 212-730-5245

You might also like