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
 
Specify TRNID when executing a link through CTG

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

New User


Joined: 01 Jun 2007
Posts: 4
Location: Greece

PostPosted: Mon Jun 04, 2007 2:05 pm    Post subject: Specify TRNID when executing a link through CTG
Reply with quote

I am calling a CICS program from Windows XP through CTG:
> DFHMIRS is attached to the mirror transaction
> eci_transid, eci_tpn are set to the intended mirror transaction name
> the program executes correctly
> EIBTRNID variable is set to the requested TRNID during execution
but CEMT I TASK return CPMI as the TRNID.

Is there any way I can force CICS to display a user defined TRNID under CEMT?

The reason behind this is to be able to monitor the system in terms of transactions instead of programs.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jun 04, 2007 8:25 pm    Post subject:
Reply with quote

Hello,

Try cemt i tran(tranid or tranmsk*)
Back to top
View user's profile Send private message
HM

New User


Joined: 01 Jun 2007
Posts: 4
Location: Greece

PostPosted: Tue Jun 05, 2007 10:55 am    Post subject:
Reply with quote

Actually is not an issue of the CEMT option.
The problem is that systemwide the transaction-name of the transaction executed is CPMI and not a user dedined transaction-name.
That means that for CICS and system statistics all transactions are recognized as CPMI and one can not deferentiate between different programs.
Back to top
View user's profile Send private message
HM

New User


Joined: 01 Jun 2007
Posts: 4
Location: Greece

PostPosted: Tue Jun 05, 2007 10:57 am    Post subject:
Reply with quote

Actually is not an issue of the CEMT option.
The problem is that systemwide the transaction-name of the transaction executed is CPMI and not a user dedined transaction-name.
That means that for CICS and system statistics all transactions are recognized as CPMI and one can not deferentiate between different programs.
Back to top
View user's profile Send private message
shagnwrx

New User


Joined: 07 Jul 2006
Posts: 17
Location: Birmingham, AL

PostPosted: Tue Jun 05, 2007 9:20 pm    Post subject:
Reply with quote

The only way I know to get around that is to focus on program name instead of transid when generating your statistics.

What are you using for the statistic generation? We used CIMS Capacity Planner from CIMS Lab (Now IBM)... We had to get a zap to change the collection process to key off of program name. For CMR type data, we just wrote a simple cobol program to select by program name.
Back to top
View user's profile Send private message
Nimesh.Srivastava

New User


Joined: 30 Nov 2006
Posts: 78
Location: SINGAPORE

PostPosted: Tue Jun 19, 2007 1:16 pm    Post subject:
Reply with quote

HM,
How are you invoking the client call, are you using ECI interface ? if yes then it might be possible to invoke the transaction by there actual transaction ids rather than CPMI calls.
Thanks
Nimesh
Back to top
View user's profile Send private message
HM

New User


Joined: 01 Jun 2007
Posts: 4
Location: Greece

PostPosted: Tue Jun 19, 2007 4:35 pm    Post subject:
Reply with quote

Problem solved !!!

The call was made through CTG running on an AIX Server.
Transactions were defined on a CICS region as remote executing to another and this was causing the problem.
When we defined a new CICS region and made the same definitions programs called from the new CICS worked just fine.

Thank you all for your participation.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Jun 19, 2007 10:10 pm    Post subject:
Reply with quote

Thank you for posting your solution icon_smile.gif
Back to top
View user's profile Send private message
ramco_sita

New User


Joined: 25 Jun 2007
Posts: 40
Location: chennai

PostPosted: Thu Aug 16, 2007 9:29 am    Post subject:
Reply with quote

Hi
I am running thru the same problem...
When i run my ECI request - CTG running on windows XP.
I am getting a AEI0 error.(not authorized to access the transaction -7 eci request error code).
We have mirrored the user defined Trans id to CPMI and access has been given Read .
But my java client when it is invoked i get this -7 error (ECI_transid error) - you are not authorized to run the transaction.
i am not able to link to the dfhmirs program from my java client code.
Please let us know how u resolved your problem.
Thanks!
ramco_sita
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts DIrect link of dynam/nodynam nkjain87 COBOL Programming 2 Mon Apr 24, 2017 6:23 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Viewing executing process in NDM .. q... Debb.Brant IBM Tools 0 Wed Dec 14, 2016 10:55 pm
No new posts Easytrieve - Report writing - Only 1 ... Abhi Nature CA Products 2 Wed Sep 14, 2016 11:40 am

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