Re: CICS kickoff online users
- From: SkippyPB <swiegand@xxxxxxxxxxxxxxxxx>
- Date: Sun, 24 Sep 2006 11:05:45 -0400
On Sat, 23 Sep 2006 21:42:40 GMT, Arnold Trembley
<arnold.trembley@xxxxxxxxxxxxxxxx> enlightened us:
excel wrote:
Hi,
I looking for a command/program to kickoff all the users using a cics
application so that batch can be started and allow users back in after
batch is completed.
Any suggestions?
TIA
The evil person in me wants to suggest CEMT P SHUT IMM, but that would
simply shut down the entire CICS Region.
I don't believe there is an easy way to do this. Also, depending on
how many applications may be hosted in CICS, you would need to
determine which users to kick off.
A better approach would be a CICS transaction initiated from a batch
job using EXCI interfaces, that would CLOSE and DISABLE all the VSAM
files used by that application. But then the application programs
should be changed to display a message saying the files are closed and
unavailable for update. At the end of batch processing, another batch
job using EXCI would initiate a CICS transaction that would OPEN and
ENABLE all the VSAM files for that application.
But this approach would not work for DB2 tables, and I am not sure if
there is any similar function for DB2.
Perhaps a global table in CICS could be used to hold an activity
status flag. The table/flag could be updated from batch jobs using
EXCI interfaces. When the flag says that batch processing is active,
all the application programs would refuse to allow any online updates.
When the status is reset, the CICS programs would then allow online
update.
That would probably work for DB2. For VSAM files, especially if you
need to reload them from the batch jobs, it would be better to CLOSE
and DISABLE the VSAM files inside CICS at the beginning of batch
processing, and then OPEN and ENABLE them at the end of batch processing.
With kindest regards,
In addition to Arnold's suggestion, you might also want to set the
transaction codes of the CICS application to disabled at the same time
that you close the files. Closing the files sets all the pointers and
makes them available to batch updating. Disabling the transactions
gives users different errors if they try to access the application and
generally gives remote users a system not availble error and not cause
a system dump.
Regards,
.
- References:
- CICS kickoff online users
- From: excel
- Re: CICS kickoff online users
- From: Arnold Trembley
- CICS kickoff online users
- Prev by Date: Re: CICS kickoff online users
- Next by Date: Re: OT typical salary scale for COBOL mainframe programmers
- Previous by thread: Re: CICS kickoff online users
- Index(es):
Relevant Pages
|
|