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

Alter Share option of a VSAM KSDS


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Mathiv Anan

Active User


Joined: 23 Jul 2008
Posts: 106
Location: USA

PostPosted: Thu Apr 08, 2010 10:16 am
Reply with quote

Can we alter the SHR option of a VSAM file without rebuilding it?
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu Apr 08, 2010 10:40 am
Reply with quote

Shareoptions is listed as an optional parameter for the ALTER command. Why didn't you bother to look for yourself?
Back to top
View user's profile Send private message
Mathiv Anan

Active User


Joined: 23 Jul 2008
Posts: 106
Location: USA

PostPosted: Thu Apr 08, 2010 10:45 am
Reply with quote

We can do this using IDCAMS alter command.

Code:
ALTER -
    DSNNAME.DATA -
     SHR  (3       3)


Alter shareoptions is not supported at cluster level. Hence we would need to give data component instead of base cluster.
Back to top
View user's profile Send private message
Mathiv Anan

Active User


Joined: 23 Jul 2008
Posts: 106
Location: USA

PostPosted: Thu Apr 08, 2010 10:50 am
Reply with quote

Actually I tried with cluster name several times but it didn't work.

Then with data component it works fine.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts SCOPE PENDING option -check data DB2 2
No new posts DROP & ALTER PARTITION-PBR DB2 0
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
Search our Forums:

Back to Top