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 INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm


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