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 Xped a Routien Called within an Online Program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
JoshuaV

New User


Joined: 10 Jul 2009
Posts: 4
Location: Pune

PostPosted: Mon Jul 13, 2009 3:31 pm    Post subject: How to Xped a Routien Called within an Online Program
Reply with quote

Hi !

I was xpeding an online program code, the control enters into a CALL Routien and returns the value to the group variable.
can I trap and check(go into the called routien) how the values are moved in the routien to each and every field.
Back to top
View user's profile Send private message

priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Tue Jul 14, 2009 12:46 am    Post subject: Reply to: How to Xped a Routien Called within an Online Prog
Reply with quote

Should INTERCEPT be doing what you are looking for ?

Try promoting the component in test region along with the Online program and then do an INTERCEPT <COMPONENT NAME> on the command prompt of xped session.
Back to top
View user's profile Send private message
JoshuaV

New User


Joined: 10 Jul 2009
Posts: 4
Location: Pune

PostPosted: Tue Jul 14, 2009 9:40 am    Post subject:
Reply with quote

Thank you priyesh
I tried using INTERCEPT <Component Name> on the Command Prompt of Xped session but i am getting the responce as

************** CSECT not found ************

please suggest. icon_question.gif
Back to top
View user's profile Send private message
kumar40322

New User


Joined: 25 Apr 2009
Posts: 15
Location: Hyderabad

PostPosted: Tue Jul 14, 2009 8:43 pm    Post subject:
Reply with quote

Hi

let me know here, what is component meaning ?
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Tue Jul 14, 2009 10:56 pm    Post subject: Reply to: How to Xped a Routien Called within an Online Prog
Reply with quote

Quote:
I tried using INTERCEPT <Component Name> on the Command Prompt of Xped session but i am getting the responce as

************** CSECT not found ************


Looks like to me, problem with the link of main program and called. Few things you can check-

Did you compile the called program first and then the main program?
Did you compile both the programs with XPED ON option?
Did you promote them to corresponding test region?

If this doesn't work, I would suggest you contact your support site and they shoudl be able to see what exactly is going on.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Wed Jul 15, 2009 10:52 am    Post subject: Reply to: How to Xped a Routien Called within an Online Prog
Reply with quote

Joshua,

Quote:
can I trap and check(go into the called routien) how the values are moved in the routien to each and every field.


We had used the tool for debugging CICS programs by which we had Xpedited the called routine.

Load the CALLed routine in the region, Trap only the called routine and then start Xpediting. The control will directly go to the called routine wihout XPEDiting the calling program.
Back to top
View user's profile Send private message
JoshuaV

New User


Joined: 10 Jul 2009
Posts: 4
Location: Pune

PostPosted: Thu Jul 16, 2009 4:41 pm    Post subject:
Reply with quote

Thank you priyesh and Aaru. icon_smile.gif
The INTERCEPT worked actully the Routine was not XPED promoted to the region due to which previously i was facing the issue.


Hi kumar,

Component in my case was a SUBROUTINE which was called within an Online Program and I was not able to follow the control within this SUBROUTINE for which i require the below command while my Online program was in XPED

INTERCEPT <COMPONENT NAME (SUBROUTINE)>

I hope the above explanation is clear Kumar icon_smile.gif
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Thu Jul 16, 2009 7:50 pm    Post subject:
Reply with quote

Wooo hooo... glad it worked...
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 IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm


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