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

Changing of Share options of an existion VSAM


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

New User


Joined: 12 Sep 2007
Posts: 4
Location: chennai

PostPosted: Tue Mar 11, 2008 2:51 pm
Reply with quote

Can we change the parameters of Share Options of an already created VSAM file?
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Tue Mar 11, 2008 3:31 pm
Reply with quote

ALTER command of IDCAMS can be used, Right?
Back to top
View user's profile Send private message
seshagir

New User


Joined: 12 Sep 2007
Posts: 4
Location: chennai

PostPosted: Tue Mar 11, 2008 4:38 pm
Reply with quote

i am unable to change using ALTER Command

I used following code

//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
ALTER USERID.FILE2.VSAM SHAREOPTIONS(4 3)
/*

SYSOUT:

ALTER USERID.FILE2.VSAM SHAREOPTIONS(4 3)
IDC3190I 'SHAREOPTIONS' PARAMETER INVALID WITH ENTRY TYPE
IDC0532I **ENTRY USERID.FILE2.VSAM NOT ALTERED
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 8
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Mar 11, 2008 5:10 pm
Reply with quote

Take a look at the IDCAMS manual, because you can ALTER the SHR parameter
Back to top
View user's profile Send private message
Ron Horley

New User


Joined: 03 Jan 2008
Posts: 3
Location: Philadelphia

PostPosted: Wed Mar 12, 2008 11:01 pm
Reply with quote

ALTER dsname SHAREOPTIONS(2 3)
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Mar 12, 2008 11:56 pm
Reply with quote

I wonder why ALTER isn't supported by the normal ISPF dataset functions like 3.2 or 3.4?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Mar 13, 2008 1:00 pm
Reply with quote

Ron Horley wrote:
ALTER dsname SHAREOPTIONS(2 3)

This is a CLUSTER name that you have enetered above.

I have just rechecked in the manual and ALTER SHAREOPTIONS command IS NOT indicated at a cluster level.
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 Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts changing defaults in db2 admin - Unlo... DB2 0
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
Search our Forums:

Back to Top