Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 2504
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 Compare yesterday's date to the one o... migusd SYNCSORT 8 Fri Sep 22, 2017 11:35 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts BUILD OUTFIL based on condition other... balaji81_k DFSORT/ICETOOL 13 Fri Sep 08, 2017 11:06 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts editting the file by inserting zeros ... pramodrsingh DFSORT/ICETOOL 9 Mon Aug 21, 2017 5:58 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us