Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Changing of Share options of an existion VSAM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Changing of Share options of an existion VSAM
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: 785
Location: Chennai, India

PostPosted: Tue Mar 11, 2008 3:31 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Mar 11, 2008 5:10 pm    Post subject:
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    Post subject: Idcams alter
Reply with quote

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

Moderator Team Head


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

PostPosted: Wed Mar 12, 2008 11:56 pm    Post subject: Reply to: Changing of Share options of an existion VSAM
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: 8593
Location: Back in jolly old England

PostPosted: Thu Mar 13, 2008 1:00 pm    Post subject: Re: Idcams alter
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fail to change physical VSAM filename... jacobdng CICS 6 Fri Jan 20, 2017 12:36 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am
No new posts VSAM define for large file jerryte JCL & VSAM 9 Wed Oct 05, 2016 1:51 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us