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

How to Debug a CICS pgm initated by a start cmd from other


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
siva303030

New User


Joined: 01 Aug 2007
Posts: 2
Location: Hyderabad

PostPosted: Thu Aug 02, 2007 4:09 am
Reply with quote

Hi,

There is a smiulator program A which reads a VSAM file, it then sends that file to another program B for processing using a EXEC CICS START TRANS(XXXX) command. I am able to list the source keep the break points in both A and B, selected the CSects. I have also given the entries in TRAP Summary , TRACE summary

Now when I give the trans id, the source of program A is shown and I could execute it step by step until end. However the program B source is not shown whenever the START command is encountered. It simply executes and passes to next statment.

How to debug the program B. Is there a way or option in XPED to do this.

Thanks for the help
Back to top
View user's profile Send private message
socker_dad

Active User


Joined: 05 Dec 2006
Posts: 177
Location: Seattle, WA

PostPosted: Thu Aug 02, 2007 5:27 am
Reply with quote

Yes, Expediter does that.

In your region, before you execute program A, type XPED PROGRAM B.

This puts you in Expediter at the beginning of the Procedure Division of Program B. Set a breakpoint.

Then F3 out of this until you get to the screen that asks if you want to END SESSION (3 times on my system). Make sure it is set to NO, then press ENTER. This puts you back out at the blank CICS screen.

Execute Program A and when it enters Program B, it will go right into Expediter at your breakpoint.

When you are finished, you have to end Expediter or it will just hang out there. So at the blank CICS screen, type XPED and press the enter key.

F3 once and you should be at the screen asking if you want to END SESSION again. This time, type YES and press Enter.

Your Expediter session is ended and all goes back to normal.

Happy testing! icon_biggrin.gif
Back to top
View user's profile Send private message
siva303030

New User


Joined: 01 Aug 2007
Posts: 2
Location: Hyderabad

PostPosted: Thu Aug 02, 2007 8:05 pm
Reply with quote

Thank you very much.Its working now
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top