Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

how to check if the region is active through batch ?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
APD1

New User


Joined: 18 Feb 2009
Posts: 59
Location: India

PostPosted: Thu Mar 26, 2009 12:06 pm    Post subject: how to check if the region is active through batch ?
Reply with quote

Hi,


Please let me know as to how can the application team check through batch if the region is active ?

Regards
Back to top
View user's profile Send private message

muthuvel

Active User


Joined: 29 Nov 2005
Posts: 217
Location: Chennai

PostPosted: Thu Mar 26, 2009 12:21 pm    Post subject:
Reply with quote

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
View user's profile Send private message
APD1

New User


Joined: 18 Feb 2009
Posts: 59
Location: India

PostPosted: Thu Mar 26, 2009 1:04 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 991
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Thu Mar 26, 2009 2:15 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Thu Mar 26, 2009 5:56 pm    Post subject:
Reply with quote

APD1,

Check this link:


http://cicswiki.org/cicswiki1/index.php?title=How_do_I_interact_with_a_transaction_from_a_batch_program%3F#3rd_party_Vendor_Software
Back to top
View user's profile Send private message
APD1

New User


Joined: 18 Feb 2009
Posts: 59
Location: India

PostPosted: Thu Apr 02, 2009 11:41 am    Post subject: Reply to: how to check if the region is active through batch
Reply with quote

Thanks to all who helped !
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
This topic is locked: you cannot edit posts or make replies. MIPS reduction for Batch job Virendra Shambharkar All Other Mainframe Topics 8 Mon Nov 07, 2016 4:02 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us