Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 153
Location: Seattle, WA

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 How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts How do I define a DB2 plan for a web ... John Poulakos CICS 5 Sat Apr 14, 2018 1:58 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts Limit in Length for a CICS START seahawk789 CICS 6 Mon Apr 02, 2018 8:34 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us