Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
share option and reuse option

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
Author Message
sen_1983us

New User


Joined: 21 May 2005
Posts: 12
Location: Hyderabad

PostPosted: Tue Aug 09, 2005 6:41 pm    Post subject: share option and reuse option
Reply with quote

Hi friends,

I like to know what is use of the share and reuse option in VSAM.

and what are the levels and explanation about them

Regards
Senthil
Back to top
View user's profile Send private message
References
PostPosted: Tue Aug 09, 2005 6:41 pm    Post subject: Re: share option and reuse option Reply with quote

shivashunmugam Muthu

Active User


Joined: 22 Jul 2005
Posts: 114
Location: Chennai

PostPosted: Wed Aug 10, 2005 9:47 am    Post subject: Re: share option and reuse option
Reply with quote

SHAREOPTIONS
This parameter tells VSAM whether you want to let two or more jobs to process your file at the same time. It specifies how a VSAM dataset can be shared
Format :

SHARE OPTIONS(cr value cs value)

cr value : Specifies the value for cross region sharing. Cross region sharing is defined as different jobs running on the same system using Global Resource Serialization(GRS), a resource control facility available only under MVS/XA and ESA
cs value : Specifies the value for cross system sharing means different jobs running on different system in a NONGRS environment

Values :-
? multiple read OR single write
? multiple read AND single write
? multiple read AND multiple write

Default :- SHAREOPTIONS(1 3)

The REUSE parameter

The REUSE parameter specifies that the cluster can be opened a second time as a reusable cluster. NOREUSE is the default, and specifies the cluster as non-reusable.

Format :

REUSE|NOREUSE

Some application call for temporary dataset or workfile that must be created, used and deleted each time the application runs. To simplify these applications, VSAM lets you create reusable files. The reusable file is a standard VSAM KSDS, ESDS or RRDS. The only difference is that, if you open an existing reusable file for output processing, VSAM treats the file as if were empty. Any records already present in the file are ignored.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1