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

Invoke a CICS transaction


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kinatingopi

New User


Joined: 30 Apr 2014
Posts: 6
Location: USA

PostPosted: Wed Apr 30, 2014 4:54 am
Reply with quote

Hi,

I have a CICS program and corresponding transaction which gets executed from a batch program. How can I get control of execution of this CICS program to see why its abending.

Is there a way, when a CICS program is called from a batch program within xpediter, I get control of the CICS program in xpediter or CICS itself? I put a break point in CICS program, but didnt get control. Is there a way I get control across terminals?

Thanks,
Gopi
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 3053
Location: NYC,USA

PostPosted: Wed Apr 30, 2014 8:50 am
Reply with quote

You can always add displays and check corresponding CICS region job to see the cause.

We can intercept in Xped. May be the control did not even cross the break point in your case.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Apr 30, 2014 4:56 pm
Reply with quote

don't have access to manual or mf but,
in cics xped, you can trap a transaction or module
by putting all * (e.g. ***********) in the terminal name field on the screen.

but, be sure you are the only one testing, you will catch all invocations of the trans/module.

i think it is menu option 0.6 but I don't remember. you will have to explore.

the * trick was not ever documented (as of 2012 when I last worked) but it works.

putting DISPLAYs in a cics module used to be a no-no
if for no other reason, all the background shit that it started.
MY OPINION - if you have xped, you certainly do not need displays for debugging- batch or cics.
Back to top
View user's profile Send private message
kinatingopi

New User


Joined: 30 Apr 2014
Posts: 6
Location: USA

PostPosted: Thu May 01, 2014 12:04 am
Reply with quote

Thank you all... putting ** in the terminal ID worked.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri May 02, 2014 9:34 pm
Reply with quote

thx for the feedback, glad I was able to help.

what are the menu options, by the way?
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 Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts How to identify the transaction categ... IMS DB/DC 3
Search our Forums:

Back to Top