Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 788
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: 8614
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: 4650
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: 8614
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 Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts Default FTP options vasanthz All Other Mainframe Topics 2 Fri Aug 25, 2017 5:58 am
No new posts Changing sort Card Dynamically vickey_dw DFSORT/ICETOOL 5 Sat Aug 19, 2017 2:33 pm
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us