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

Specify TRNID when executing a link through CTG


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Mon Jun 04, 2007 8:25 pm
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
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
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
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
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
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

Moderator Emeritus


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

PostPosted: Tue Jun 19, 2007 10:10 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts executing XCTL command in COBOL witho... CICS 10
No new posts How can i link the RHDCSNON programa ... IDMS/ADSO 2
No new posts Receiving RC 5 when executing REXX pr... CLIST & REXX 3
No new posts Issues with executing a REXX MACRO th... TSO/ISPF 4
No new posts Get name of Subsystem routine is exec... All Other Mainframe Topics 2
Search our Forums:

Back to Top