View previous topic :: View next topic
|
Author |
Message |
seshagir
New User
Joined: 12 Sep 2007 Posts: 4 Location: chennai
|
|
|
|
Can we change the parameters of Share Options of an already created VSAM file? |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
ALTER command of IDCAMS can be used, Right? |
|
Back to top |
|
|
seshagir
New User
Joined: 12 Sep 2007 Posts: 4 Location: chennai
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Take a look at the IDCAMS manual, because you can ALTER the SHR parameter |
|
Back to top |
|
|
Ron Horley
New User
Joined: 03 Jan 2008 Posts: 3 Location: Philadelphia
|
|
|
|
ALTER dsname SHAREOPTIONS(2 3) |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
I wonder why ALTER isn't supported by the normal ISPF dataset functions like 3.2 or 3.4? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
|