View previous topic :: View next topic
|
Author |
Message |
Nileshkul
New User
Joined: 09 May 2016 Posts: 43 Location: India
|
|
|
|
Hi,
I am working on a issue where a online cics module is switched off/drained due to ongoing DB2 housekeeping.
I want to make sure that before drained, stopped, the online module should execute piece of cics code that will START itself after certain interval.
Can I achieve this using CICS HANDLE command? Will HANDLE command able to trap module being drained due to DB2 housekeeping running.
Your thoughts please. |
|
Back to top |
|
 |
Rohit Umarjikar
Global Moderator

Joined: 21 Sep 2010 Posts: 3013 Location: NYC,USA
|
|
|
|
What do you understand by “Drained” or “switched off” term? When is that happening and what causing that to happen ? |
|
Back to top |
|
 |
Nileshkul
New User
Joined: 09 May 2016 Posts: 43 Location: India
|
|
|
|
As far as I understand, there is DB2 housekeeping running which is draining the online cics module. I think by draining means abnormally terminate running cics module? |
|
Back to top |
|
 |
Rohit Umarjikar
Global Moderator

Joined: 21 Sep 2010 Posts: 3013 Location: NYC,USA
|
|
|
|
That’s seems scary about what you say. Why would such housekeeping anyone do when users are using the application ?
However, Whoever is doing this housekeeping should also takes care If this START task and not the Developers concern. |
|
Back to top |
|
 |
John Poulakos
Active User
Joined: 13 Jun 2012 Posts: 178 Location: United States
|
|
|
|
There is no such thing as "draining a CICS module". If you wish to stop a CICS transaction prior to DB2 maintenance function being performed and restart it after, that can be done with commands in a batch job. |
|
Back to top |
|
 |
|