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
 
Whats the use of SHAREOPTION in vsam

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: Whats the use of SHAREOPTION in vsam
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: 3158
Location: Tucson AZ

PostPosted: Wed Feb 21, 2007 6:25 pm    Post subject:
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    Post subject:
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    Post subject: Re: Whats the use of SHAREOPTION in vsam
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    Post subject: Re: Whats the use of SHAREOPTION in vsam
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts WRITE to VSAM giving duplicate RC picus_mf CICS 1 Fri Feb 23, 2018 2:52 pm
No new posts Where to get sample for processing RM... vice_versa PL/I & Assembler 2 Tue Jan 16, 2018 2:03 pm
No new posts VSAM dataset not found abdulrafi JCL & VSAM 5 Fri Jan 12, 2018 11:19 am
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am

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