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

Whats the use of SHAREOPTION in vsam


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mkssampathkumar
Warnings : 1

New User


Joined: 31 Aug 2006
Posts: 57
Location: chennai

PostPosted: Wed Feb 21, 2007 5:31 pm
Reply with quote

Hi
Whats the use of shareoption in VSAM file
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Wed Feb 21, 2007 6:25 pm
Reply with quote

It is used to define the degree of sharing or exclusiveness for the dataset.
Back to top
View user's profile Send private message
mkssampathkumar
Warnings : 1

New User


Joined: 31 Aug 2006
Posts: 57
Location: chennai

PostPosted: Thu Feb 22, 2007 9:08 am
Reply with quote

Hi william.
Thanks for ur reply.

Am the beginner for mainframe.
The definition which is given by u in the high level(not only this post).
Some guys are giving a reply with good examples also.
Even this one line reply will not give any useful information abt SHAREOPTION.
In SHAREOPTION,there are 2 parameters are there.Whats the use of those parameters.
Back to top
View user's profile Send private message
somnath

New User


Joined: 21 Mar 2005
Posts: 18
Location: India

PostPosted: Thu Feb 22, 2007 9:47 am
Reply with quote

The SHAREOPTIONS parameter specifies how the component or cluster can be shared among
users within one system or across systems.

Syntax:
SHAREOPTIONS (Cross-region-value Cross-system-val)
The Cross-region option helps in concurrent data access on a stand-alone system ex: TSO&CICS
The Cross-system helps in data access for multiple computers (Two different computers that are interconnected)
The default is:
SHAREOPTIONS (1 3)
The values of the various possible values for the above are mentioned below with their meanings:
1.Multiple jobs can read only if no update takes place - Complete data integrity
2.Multiple jobs can read and at the same time one job can update - Write, but not read integrity
3.Multiple jobs can read & write simultaneously - No integrity
4.Same as option 3, but refreshes buffer after every read
The Share options 1 & 2 are not allowed for cross-system. For cross-region sharing, each batch job must
have DISP=SHR. For cross system sharing DISP parameter in the JCL is immaterial.
Back to top
View user's profile Send private message
mkssampathkumar
Warnings : 1

New User


Joined: 31 Aug 2006
Posts: 57
Location: chennai

PostPosted: Thu Feb 22, 2007 12:07 pm
Reply with quote

Hi
Thanks for ur reply.Its very helpful for me
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts CVDA value for RRDS VSAM dataset. CICS 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Open VSAM File in IMS DC Region - DFS... IMS DB/DC 0
Search our Forums:

Back to Top