View previous topic :: View next topic
|
Author |
Message |
methreban
New User
Joined: 15 Sep 2005 Posts: 1
|
|
|
|
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!
Thank you,
Meth |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
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.
|
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
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 |
|
|
|