IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Refresh a VSAM attached to a CICS region without closing it.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Chirantan Banerjee

New User


Joined: 08 Oct 2009
Posts: 12
Location: Kolkata, India

PostPosted: Wed Mar 24, 2010 11:59 am
Reply with quote

I have a KSDS which has been defined with SHAREOPTIONS(3,3) and is attached to a CICS region. Now, I need to change some thousand records in this file without closing the file in CICS.

Initially I tested by running IDCAMS - REPRO REPLACE JCL and when I browsed the file using FILEAID from my TSO session, I found that the file had been corrected properly. But the CICS screens did not show the changes. When I closed and re-opened the file in CICS, then I found the screens were showing the correct data.

Now I need to do the same in production and I cannot close the file in the production online region. Is there any alternate solution ?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Mar 24, 2010 12:58 pm
Reply with quote

Quote:
Now I need to do the same in production and I cannot close the file in the production online region. Is there any alternate solution ?

no....
all these issue fall under the category planned application outages/unavailability
and as such there must be a provision for them in the SLA

what would You think could happen if a transaction tried to access the data during the process...

what about the recovery restart issues ( journal records for the file updates )

a heck of syncronization to be done

speak to Your cics support
Back to top
View user's profile Send private message
Chirantan Banerjee

New User


Joined: 08 Oct 2009
Posts: 12
Location: Kolkata, India

PostPosted: Wed Mar 24, 2010 1:38 pm
Reply with quote

Hmm ... looks like I don't have an option but wait for the daily scheduled downtime for the prod CICS region. Our CICS support guys also suggested the same. Guess business have to accept that delay ... can't help.

Thanks.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Mar 24, 2010 2:25 pm
Reply with quote

The following redbook will give you insight how to do what you
want :

www.redbooks.ibm.com/abstracts/sg246971.html
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
Search our Forums:

Back to Top