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

How to debug dialogs in ADSO?


IBM Mainframe Forums -> IDMS/ADSO
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ramanan-R

New User


Joined: 21 Mar 2007
Posts: 66
Location: Chennai, Tamilnadu, India

PostPosted: Thu Jul 05, 2007 2:07 pm
Reply with quote

Hi All icon_biggrin.gif ,

Can anyone advise how to debug ADSO dialogs. A document with debugging commands would be better.

Thanks in advance,

Regards,
Ramanan R
Back to top
View user's profile Send private message
g.gaurav

New User


Joined: 28 Jun 2007
Posts: 6
Location: Bangalore

PostPosted: Sat Jul 14, 2007 8:08 pm
Reply with quote

Follow these commands:

DEBUG DEBUG DIAL <dailog name>
<It should say Debug fir the particualar dialog initaiated >

QUALIFY PROC <process name>

then u have to provide the SEQUENCE NO. for the corresponding dialog in the below manner:

AT #<sequence no>

it should say -----> <sequence no> added/modified then this number becomes ur BREAK POINT, if not means the given sequence doesn't belong to the process given in Qualified statement or given no is not the DML...
after that

EXIT

and run ur application....at ur break point of paricular process it will give u screen saying debugged at sequence no <sequence no>

then u can find the value of any element valid in that dialog like :

L '<element name>'
it will give you value in HEX format in left side & xact value in right side.

Lastly If u want to come out of Debug mode...Issue below command:

QUIT

thats ittttttt..........
Back to top
View user's profile Send private message
g.gaurav

New User


Joined: 28 Jun 2007
Posts: 6
Location: Bangalore

PostPosted: Sat Jul 14, 2007 8:13 pm
Reply with quote

hey 1 more thing....if u want to continue thru ur BREAK POINT then Issue a command :

RES

It will follow the normal execution & and If you want to include multiple break points...u can do that also either in 1 shot...or seperately...
Back to top
View user's profile Send private message
tosaurabh20

New User


Joined: 08 Jun 2007
Posts: 26
Location: Noida

PostPosted: Mon Jul 16, 2007 12:18 pm
Reply with quote

g.gaurav wrote:
hey 1 more thing....if u want to continue thru ur BREAK POINT then Issue a command :

RES

It will follow the normal execution & and If you want to include multiple break points...u can do that also either in 1 shot...or seperately...


Hi Ramanan,

if your dialog is associated to a map, then you can easily debug it through Adsalive. It is tool through which you can animate the required processes of the dialog and can view line by line execution of it.

Or else you always have an option of using Xpeditor to debug.

Hope this helps.
Thanks
Saurabh
Back to top
View user's profile Send private message
mjshaheed

New User


Joined: 09 Apr 2007
Posts: 25
Location: Chennai,India

PostPosted: Mon Jul 16, 2007 3:12 pm
Reply with quote

g.gaurav wrote:
Follow these commands:

DEBUG DEBUG DIAL <dailog name>
<It should say Debug fir the particualar dialog initaiated >

QUALIFY PROC <process name>

then u have to provide the SEQUENCE NO. for the corresponding dialog in the below manner:

AT #<sequence no>

it should say -----> <sequence no> added/modified then this number becomes ur BREAK POINT, if not means the given sequence doesn't belong to the process given in Qualified statement or given no is not the DML...
after that

EXIT

and run ur application....at ur break point of paricular process it will give u screen saying debugged at sequence no <sequence no>

then u can find the value of any element valid in that dialog like :

L '<element name>'
it will give you value in HEX format in left side & xact value in right side.

Lastly If u want to come out of Debug mode...Issue below command:

QUIT

thats ittttttt..........



Hi Gaurav,

Can you please tell us where we have enter these DEBUG, QUALIFY and AT#? Do we need to enter these commands in IDD? If possible can you explain with an example?

Thanks,
shahul
Back to top
View user's profile Send private message
Ramanan-R

New User


Joined: 21 Mar 2007
Posts: 66
Location: Chennai, Tamilnadu, India

PostPosted: Fri Aug 10, 2007 11:09 am
Reply with quote

Thanks Gaurav and Saurabh....

1. Can we view the list of breakpoints
2 How do we remove a breakpoint.

Do we have commands for the above?

Thanks,
Ramanan R
Back to top
View user's profile Send private message
anilbatta

New User


Joined: 13 Nov 2005
Posts: 22

PostPosted: Mon Nov 05, 2007 2:24 am
Reply with quote

Hi Ramanan,

I understood the requirement but i can give you a suggestion that using ADSALIVE you can debug the dialogs because ADSALIVE used to execute the code line by line and then traces the errors if any.

Please talk to your supervisor or manager to have this application.

Let me know if you need any more info on this.

Regards
Anil
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 -> IDMS/ADSO

 


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 How do you create Eclipse based dialogs IBM Tools 3
Search our Forums:

Back to Top