Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: How to Debug a CICS pgm initated by a start cmd from other
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: 147
Location: Columbia, MO

PostPosted: Thu Aug 02, 2007 5:27 am    Post subject: Re: How to Debug a CICS pgm initated by a start cmd from oth
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    Post subject: Re: How to Debug a CICS pgm initated by a start cmd from oth
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 1 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us