View previous topic :: View next topic
|
Author |
Message |
JoshuaV
New User
Joined: 10 Jul 2009 Posts: 4 Location: Pune
|
|
|
|
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 |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
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 |
|
|
JoshuaV
New User
Joined: 10 Jul 2009 Posts: 4 Location: Pune
|
|
|
|
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. |
|
Back to top |
|
|
kumar40322
New User
Joined: 25 Apr 2009 Posts: 15 Location: Hyderabad
|
|
|
|
Hi
let me know here, what is component meaning ? |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
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 |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
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 |
|
|
JoshuaV
New User
Joined: 10 Jul 2009 Posts: 4 Location: Pune
|
|
|
|
Thank you priyesh and Aaru.
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 |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Wooo hooo... glad it worked... |
|
Back to top |
|
|
|