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

Can VSAM KSDS File be accessed concurrently?


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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

Superior Member


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

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

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

ibmmainframes.com/about52733.html
ibmmainframes.com/about58942.html
assets.hwcs.com/sysb-ii/white_papers/rls.pdf
www.angelfire.com/electronic/mrktheni/techs/project_docs/cics/vsam_rls_basics.pdf
www-01.ibm.com/support/docview.wss?uid=swg27009511&aid=1
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: 2501
Location: Atlanta, Georgia, USA

PostPosted: Wed Mar 20, 2013 10:52 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top