Trace Master [Link]
com/doc/36548093/Trace-Master
Scribd
Upload a Document
Search
Search Books, Presentations, Documents
Business, Academ
Explore
Documents
Books - Fiction
Books - Non-fiction
Health & Medicine
Brochures/Catalogs
Government Docs
How-To Guides/Manuals
Magazines/Newspapers
Recipes/Menus
School Work
+ all categories
Featured
Recent
People
Authors
Students
Researchers
Publishers
Government & Nonprofits
Businesses
Musicians
Artists & Designers
Teachers
+ all categories
Most Followed
Popular
Sign Up
|
Log In
2 / 11
Search within document...
Download this Document for Free
1 di 12 15/02/2011 22:10
Trace Master [Link]
Debugging in Mainframe using Tracemaster
Author(s): (1) divya_manjari
Written On: 05/24/04
Declaration
I/We hereby declare that this document is based on our personal experiences and /
or experiences of my/our project members. To the best of our knowledge, this
document does not contain any material that infringes the copyrights of any other
individual or organization including the customers of Infosys.
divya_manjari
Project Details :
Projects Involved : LIONSYCH
Hardware WPlatform : IBM OS/390
Software Enviornment : MVS,CICS,Cobol,VSAM,JCL
Project Type : Maintenance
Target readers : All mainframe users
Keywords:
mainframe,COBOL,CICS,debugging,Tracemaster,tools
Introduction:
TRACEMASTER is a tool for debugging and testing COBOL and assembler sources in
mainframe. This document explains the step by step procedure for debugging the
CICS program in CICS and the cobol program in foreground mode.
How to Debug a COBOL/CICS program using Tracemaster
Debugging a COBOL/CICS program in CICS
1. Compile and link the program for trace master
2. Load the programs and symbol files through CICS Trace master menu
3. Set the breakpoints
4. Run the transaction and Debug
5. Log off
Debugging a COBOL batch program (in Foreground)
1. Compile and link the program for trace master
2. Set Default libraries
3. Set symbol library and Convert the JCL
4. Run in debug mode
Debugging a COBOL/CICS program in CICS
STEP 1
Compile and link the program for trace master – First of all we need to do some
preparation for testing the program in [Link] need to create a symbol file
for Tracemaster. Hence, for running a program using Tracemaster, the program needs
2 / 11
Search within document...
Download this Document for Free
2 di 12 15/02/2011 22:10
Trace Master [Link]
to be compiled in a modified manner. The JCL ,Procedure or macros for compilation
needs to undergo following changes:
o Change the program for compilation
IGYCRCTL à XT00VSC2 (Cobol II)
IKFCBL00 à XT000SCB (OS/VS Cobol)
o Add symbol library
[Link](program name)
o Add trace master load library
[Link] – It should be trace master load library name
specified during installation.
Example: The existing macro for compiling a cobol program has following step:
//COB EXEC PGM=IGYCRCTL,
//STEPLIB DD DSN=[Link],DISP=SHR
// DD DSN=[Link],DISP=SHR
The above step is changed as follows for compiling a program to be tested in
Tracemaster.
//COB EXEC PGM=XT00VSC2
//STEPLIB DD DSN=[Link],DISP=SHR
// DD DSN=[Link],DISP=SHR
//SYMOUT DD DSN=[Link]("MEM"),
// DISP=SHR
STEP 2
Load the programs and symbol files through CICS Trace master menu – After
compiling and linking the program, following steps needs to be followed to load the
program :
o
do a new copy of the program in CICS screen.
o Type the transaction ID for Tracemaster on CICS [Link] is XXT0.
o
When you are entering the Tracemaster menu for the first time, go to
‘PROFILE’ option and set the symbol library([Link] ->same
2 / 11
Search within document...
Download this Document for Free
3 di 12 15/02/2011 22:10
Trace Master [Link]
as in compilation procedure).Also set the Display format as
‘C’(character).Save and exit to Tracemaster main menu.
o
Now go to ‘SETUP’ option and enter “COBOL” command
o Load the program by entering LOAD command followed by program name
to be tested. E.g. LOAD [Link] successful load following msg
would appear .
2 / 11
Search within document...
Download this Document for Free
4 di 12 15/02/2011 22:10
Trace Master [Link]
2 / 11
Search within document...
Download this Document for Free
5 di 12 15/02/2011 22:10
Trace Master [Link]
2 / 11
Search within document...
Download this Document for Free
6 di 12 15/02/2011 22:10
Trace Master [Link]
2 / 11
Search within document...
Download this Document for Free
7 di 12 15/02/2011 22:10
Trace Master [Link]
2 / 11
Search within document...
Download this Document for Free
8 di 12 15/02/2011 22:10
Trace Master [Link]
2 / 11
Search within document...
Download this Document for Free
9 di 12 15/02/2011 22:10
Trace Master [Link]
2 / 11
Search within document...
Download this Document for Free
10 di 12 15/02/2011 22:10
Trace Master [Link]
2 / 11
Search within document...
Download this Document for Free
11 di 12 15/02/2011 22:10
Trace Master [Link]
Upload a Document
Search
Search Books, Presentations, Documents
Business, Academ
Follow Us!
[Link]/scribd
[Link]/scribd
[Link]/scribd
About
Press
Blog
Partners
Scribd 101
Web Stuff
Scribd Store
Support
FAQ
Developers / API
Jobs
Terms
Copyright
Privacy
Copyright © 2010 Scribd Inc.
Language:
English
2 / 11
Search within document...
Download this Document for Free
12 di 12 15/02/2011 22:10