View previous topic :: View next topic
|
Author |
Message |
APD1
New User
Joined: 18 Feb 2009 Posts: 59 Location: India
|
|
|
|
Hi,
Please let me know as to how can the application team check through batch if the region is active ?
Regards |
|
Back to top |
|
|
muthuvel
Active User
Joined: 29 Nov 2005 Posts: 217 Location: Canada
|
|
|
|
In batch spool,you can see whether the CICS region job is active and in execution state.
Code: |
SDSF STATUS DISPLAY ALL CLASSES LINE 1-7 (7)
COMMAND INPUT ===> SCROLL ===> CSR
NP JOBNAME JobID Owner Prty Queue C Pos SAff ASys Status
CICS1 XXX08251 CICS1USR 15 EXECUTION XXX2 XXX2 |
|
|
Back to top |
|
|
APD1
New User
Joined: 18 Feb 2009 Posts: 59 Location: India
|
|
|
|
well suppose an application team is trying to close a file or opena a file (file i/o) through batch but they do not know if the regions is active or not.....how will they come to know if the regions is active so that they can check it prior to sumitting the job.......in batch how to check is region is active..... |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
Why bother checking? Just issue the CEMT command(s) to close the files. If CEMT command(s) to open the file is issued when the region is inactive the command fails but the files are available anyway. Same applies to issuing the CEMT command(s) to open the files
Garry. |
|
Back to top |
|
|
Earl Haigh
Active User
Joined: 25 Jul 2006 Posts: 475
|
|
Back to top |
|
|
APD1
New User
Joined: 18 Feb 2009 Posts: 59 Location: India
|
|
|
|
Thanks to all who helped ! |
|
Back to top |
|
|
|