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
 

 

Can VSAM KSDS File be accessed concurrently?

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

New User


Joined: 19 May 2009
Posts: 11
Location: Hyderabad

PostPosted: Wed Mar 20, 2013 9:57 pm    Post subject: Can VSAM KSDS File be accessed concurrently?
Reply with quote

Hello,

Is it possible to write into a VSAM KSDS File concurrently from different CICS Regions via different transactions?

If yes, how to define the file in FCT, what are the options? Please suggest!!

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

Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Mar 20, 2013 10:41 pm    Post subject:
Reply with quote

Hopefully, you have searched the Forums, there are quite a good number of similar topics already and some on web:

http://ibmmainframes.com/about52733.html
http://ibmmainframes.com/about58942.html
http://assets.hwcs.com/sysb-ii/white_papers/rls.pdf
http://www.angelfire.com/electronic/mrktheni/techs/project_docs/cics/vsam_rls_basics.pdf
http://www-01.ibm.com/support/docview.wss?uid=swg27009511&aid=1
http://publib.boulder.ibm.com/infocenter/cicsts/v3r1/index.jsp?topic=%2Fcom.ibm.cics.ts31.doc%2Fdfha2%2Fdfha2ki.htm
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Mar 20, 2013 10:52 pm    Post subject: Reply to: Can VSAM KSDS File be accessed concurrently?
Reply with quote

Is the KSDS file defined to individual regions or is it defined to a single "FOR" (File Owning Region), where all requests are Function Shipped from a given "AOR" (Application Owning Region)?

If you're dealing with individual AOR's, the UPD characteristic/keyword can only be present in one of the individual AOR's FCT entry.

This is the benefit of having a centralised "FOR" and if you don't have a "FOR", don't go messing with the SHROPTIONS, because that would be your Waterloo. For integrity, leave them as (2,3).

However, if you define the KSDS file as UPD in one of the individual regions (we'll name it the Home region for this example), then the remaining regions could treat the Home region (where it's defined with UPD capability) as a combined "AOR"/"FOR".

The FCT's in the remaining "remote" regions must include the REMOTE CHARACTERISTICS keywords, as well as the KEYLENGTH, which then allows Function Shipping requests to the Home region.

If the actual program which attempts to access the KSDS file remotely and the file API does NOT specify a KEYLENGTH and the KEYLENGTH keyword is NOT populated in the FCT entry, an INVREQ (EIBRESP=16) will be raised. Function Shipped file requests do NOT pass the KEYLENGTH to the target (Home) region.

Speak to your CICS System Programmer and/or Tech Support Group personnel about what you're trying to accomplish. I'm sure they'll be able to accommodate your request.

An issue you may face is when the Home region is down, but the other regions are still up. When the Home region is down, you won't be able to update the file. You'll only be in "Read Only" mode and this will affect your remote regions FCT entries. They would need to be changed on the fly to remove the REMOTE CHARACTERISTICS so any access would default to local.

HTH....
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 Fail to change physical VSAM filename... jacobdng CICS 6 Fri Jan 20, 2017 12:36 pm
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm


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