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

How to Xped a Routien Called within an Online Program


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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: 1448
Location: Chicago, IL

PostPosted: Tue Jul 14, 2009 12:46 am
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
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
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: 1448
Location: Chicago, IL

PostPosted: Tue Jul 14, 2009 10:56 pm
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: 1287
Location: Chennai, India

PostPosted: Wed Jul 15, 2009 10:52 am
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
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: 1448
Location: Chicago, IL

PostPosted: Thu Jul 16, 2009 7:50 pm
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 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 DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top