View previous topic :: View next topic
|
Author |
Message |
Reapr
New User
Joined: 09 Mar 2023 Posts: 2 Location: South Africa
|
|
|
|
Hi,
I wrote a program like this 10 or so years ago, but haven't been coding in CICS since then, so I remembered I did it, but can't remember how.
The purpose:
Developers here have the problem that they had a transaction fail and it was disabled, but nobody was aware it was disabled until customers started complaining.
The solution (back in the day)
So I wrote a program that would cycle through a list of transactions to be monitored, if a transaction was disabled, it would raise the alarm.
It would run every 5 minutes and was autostarted as part of CICS startup.
My problem now:
I cannot for the life of me remember how I did it. It was something to do with asking CICS where it stores this transaction info - it would respond with an address and then you would assign the data at that address to a working storage area in your program.
You could then interrogate the data to find out if the transaction is disabled or not.
Anybody know what I'm on about?
Thanks |
|
Back to top |
|
|
dneufarth
Active User
Joined: 27 Apr 2005 Posts: 420 Location: Inside the SPEW (Southwest Ohio, USA)
|
|
Back to top |
|
|
Reapr
New User
Joined: 09 Mar 2023 Posts: 2 Location: South Africa
|
|
|
|
Thank you, unfortunately the CICS support team at current site is less than helpful.
I still can't find the way I did it at a different site, but I started aimlessly paging through the CICS Manuals and did stumble across this:
INQUIRE TRANSACTION
www.ibm.com/docs/en/cics-ts/5.4?topic=commands-inquire-transaction
Seems this has been added since I last coded.
It does return transaction status (ENABLED/DISABLED) and will suit my needs.
Thanks |
|
Back to top |
|
|
Skyy Simmons
New User
Joined: 15 Dec 2022 Posts: 1 Location: United States
|
|
|
|
What you can do is use IBM's attention routine utility DTRIATTN.
In your CICS startup JCL, you can add the following:
// EXEC DTRIATTN,PARM='MSG F2,DATA='CEMT INQ TRANS DIS'
This will, of course, display the desired results of the CEMT transaction in the attention routine. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10884 Location: italy
|
|
|
|
unfortunatelti the DTRIATTN thingy seems to be zVSE only , not zOS |
|
Back to top |
|
|
|