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: 992
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 Batch job tuning sgandhla Testing & Performance analysis 5 Fri Mar 24, 2017 9:41 pm
No new posts Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts MIPS/CPU consumption reduction in Batch vishwakotin DFSORT/ICETOOL 4 Sat Mar 18, 2017 5:46 pm
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts Determine Region with max bandwidth f... seahawk789 COBOL Programming 3 Mon Feb 27, 2017 8:26 pm


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