IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

interactice debug


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
methreban

New User


Joined: 15 Sep 2005
Posts: 1

PostPosted: Thu Sep 15, 2005 1:27 pm
Reply with quote

hello,
I'm using cobol as/400 and I was wondering if anybody know about the

interactive debug were i can trace the program step by step and check

the value of each varaible! I have searched the manuals but since my

programs include sql codes I couldn't follow the steps assigned to simple

CBL files. i have reached the level where I'm at the debug screen but i

didn't know where to go from there to start the interactive debug! icon_redface.gif

Thank you,
Meth
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Wed Oct 19, 2005 5:50 pm
Reply with quote

I believe for interactive debug u can use expeditor.While using expeditor u can excute ur code line by line & also use breakpoint ..

Send me mail if u have further query.

icon_smile.gif
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1208
Location: Bangalore,India

PostPosted: Wed Oct 19, 2005 6:23 pm
Reply with quote

1) can use f9 for line by line execution
2) if u want to see the value of particular variable u can type
K variable-name
on command line.it will show u value of that variable
3) u can use break point .
if this is the line
000070 if a= b
then u can put b as showing below

000b00 if a= b
then press enter..
to execute till this line press f12
4)
if u have not put any break point & press f12 it will execute the whole pgm at one time.
5) if u also want to see the code of calling program then u have to give the following command at command line

intercept sub-pgm-name

hope it will be helpful
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts DEBUG COMMENT command not adding to log IBM Tools 1
No new posts Debug set up for COBOL module but ope... IBM Tools 1
No new posts How to DEBUG DB2 Stored Procedures Us... DB2 0
No new posts Connect Direct - using DEBUG=TRACE Bits All Other Mainframe Topics 4
No new posts Looking for IBM DEBUG Docment IBM Tools 3
Search our Forums:

Back to Top