Just Enough Xpediter
Just Enough Xpediter
Just Enough Xpediter
to be dangerous
By Gabe Gargiulo
Apr 1999
The purpose of this booklet is to get you started with XPEDITER when there is no other
way - you dont have time to go to a class, dont want to buy a complete book on it and
try to find the things you need to know, you just dont have time, etc.
This is nowhere near being complete. It just gets you going. For the complete story,
contact me about courses in XPEDITER (and COBOL, SQL, REXX, JCL) send E Mail
to gabe1@touniteamerica.com or see
http://www.touniteamerica.com/programming/courses.html
Setting up to test a program under XPEDITER can be tricky. However its worth doing
because XPEDITER is a valuable tool for testing your program.
Wherever the booklet says userid, replace it with your TSO userid. Be aware that some
companies have messed around with normal naming conventions, and so youll have to
follow their standards.
http://www.touniteamerica.com/programming/index.html
userid.XPEDITER.DDIO is suggested
Name(s) of Linkage Editor SYSLIB libraries. Obtain by inspecting working compile JCL
Name of existing library to contain file allocations. This may be your current JCL library
Member name for the preceding. This must be a NEW name
The JCL that currently runs your program
(Gen)
or
----------------------
0
1
2
3
DEFAULTS
PREPARE
TSO
BATCH
UTILITIES
B
T
X
BULLETIN
TUTORIAL
EXIT
Specify defaults
Prepare programs for debugging
Debug programs interactively under TSO
Debug programs interactively under batch
Type 1
ENTER
-----------------OPTION ===> 2
1
2
3
4
Type 2
ENTER
------------------
Type in SE
Type in or verify information
ENTER
STEPS
------------------1. DB2 Precompile
2. CICS Translation
3. Compile
4. Linkedit
From http://www.touniteamerica.com commercial use or resale of this document is a violation of copyright laws.
S - Process only
Batch Processing
Sysout Class
Monitor Status
Display Results
Items:
===> H (or whatever your held class is)
===> N (Y/N)
===> Y (Y/N)
Job Statement
===> //UseridC JOB (accounting info),'STUDENT NAME ',
===> //
CLASS=job class,MSGCLASS=held class,NOTIFY=Userid
===> //*
===> //*
Press ENTER to update
or
S - Process only
ENTER
or
or
or
----------------COMMAND ===>
----------------
D (Delete file)
(Blocks/Tracks/Cylinders)
(1 to 32767)
or
(Blocks/Tracks/Cylinders)
(1 to 32767)
or
-----------------
----------------
D (Delete file)
(optional)
(optional)
(optional)
(Blocks/Tracks/Cylinders)
(1 to 32767)
or
Type SE
type in or verify other information
ENTER
------------------
-----------------(Y/N)
DEFAULTS:
(1 to 2048) ........... 4
(Dups/Yes/No/Staged) .. DUPS
Jobcard Information:
===> //UseridC JOB (accounting info),'STUDENT NAME ',
===> //
CLASS=job class,MSGCLASS=held class,NOTIFY=Userid
===> //*
===> //*
or
From http://www.touniteamerica.com commercial use or resale of this document is a violation of copyright laws.
or
ENTER
----------------------------- LINKEDIT STEP ----------------------------------COMMAND ===>
Options ===> LIST,LET
===>
Load Library ===> load library that your program is in
SYSLIB Datasets:
(1) ===> first library (see compile JCL)
(2) ===> second library
(3) ===> third and other libraries
(4) ===>
SYSLIN Control Statements:
===>
Press ENTER to update
or
Type SUBMIT
ENTER
PF3
PF3
examine the results of the job with SDSF, IOF or other sysout viewer.
-----------------OPTION ===> 4
1
2
3
4
Type 4
ENTER
------------------
or
----------------------COMMAND ===>
-----------------------
===>
===>
===>
===>
or
Type in the name of an existing library (your JCL library will work)
with a new member name
ENTER
Type in the file allocations (look at the run JCL for your program)
Type ALLOC on command line
ENTER
PF3
PF3
PF3
2 - to TSO
ENTER
About the file allocations: One for each JCL DD statement found in the JCL that you use to execute the program
//SYSOUT
should be allocated to a dataset
other DDs
allocated to the proper datasets
SHR means it exists
NEW means it doesnt exist but will be created
DUMMY
says there is no data
TERM
says the terminal is the file (not a good idea!)
SYSOUT
will send the output to a printer (not a good idea!)
-----------------------
Type in SE
Type in or verify information
ENTER
Plan ===>
or
System ===>
--------------------------
0
1
2
3
4
5
6
ENVIRONMENT
LOADLIBS
DDIO
INCLUDES
LOG
SCRIPT
DSNLOAD
TCF
ALL
or
Type in 1
ENTER
From http://www.touniteamerica.com commercial use or resale of this document is a violation of copyright laws.
or
-------------------------
User Libraries:
(1)
(2)
(3)
(4)
(5)
(6)
or
-----------------------
ENTER
Plan ===>
or
System ===>
===>
===>
===>
===>
===>
===>
===>
===>
===>
===>
===>
===>
PF1
PF4
PF7
PF10
LABEL
LABEL
LABEL
LABEL
HELP
PEEK CSR
END
EXIT
FIND
LOCATE *
UP
DOWN
GO 1
LEFT
RIGHT
GO
===>
===>
===>
===>
PF2
PF5
PF8
PF11
LABEL
LABEL
LABEL
LABEL
===>
===>
===>
===>
PF3
PF6
PF9
PF12
LABEL
LABEL
LABEL
LABEL
===>
===>
===>
===>
set up a breakpoint
just execute the program
choose next paragraph to be executed
choose next line to be executed
execute 1 line
display breakpoints
display file information
display value of variable
list all the commands
change data values
stop displaying the value of a variable
delete a breakpoint
end the session
EXIT
start monitoring (enables reverse command)
trace execution backwards
Created by http://www.touniteamerica.com. You may copy this document provided this notice is attached.