View previous topic :: View next topic |
Author |
Message |
Shankarganesh_gopal Beginner
Joined: 24 May 2005 Posts: 36 Topics: 20 Location: chennai
|
Posted: Wed Jan 31, 2007 4:47 am Post subject: Need to Stop the CICS Transaction |
|
|
Hi,
I have a transaction XXX that will be triggered by MQ and there is also a shutdown process. But this XXX transaction in not ended when Shutdown in process. Hence producing more dump. We need to STOP the transaction during the shutdown process. Hence we are planning to write a new CICS program to do the same. Is it advisable to have a new program and if so what is the syntax to STOP the transaction. I am new to the CICS. Please help.
Thanks,
Shankar. |
|
Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Wed Jan 31, 2007 5:44 am Post subject: |
|
|
when mq is in shutdown, using quiesence (can't spell it) will allow mq to 'stop' mq functions, providing the program invoking mq commands with an appropriate error msg.
CICS has shutdown parms. suggest you spend some time going thru the cics documentation, or speak to someone at your shop who is not 'new to cics'.
you should not need to start another transaction to kill an existing transaction, during shutdown. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Wed Jan 31, 2007 8:13 am Post subject: |
|
|
why is the trans xxx still running? does it continue to read the mq? you might what to rewrite the read of mq to respond to a "shutdown" msg. If you just "kill" trans xxx, you will possibly have restart problems. trans xxx should perform an orderly "termination".
you could write a msg to mq with a high priority (new program), so that trans xxx reads this "shutdown" msg and terminates in an orderly fashion- read - no restart problem. _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
 |
|
|