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

How can you define a VSAM file as read-only using IDCAMS?


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

New User


Joined: 30 Jan 2007
Posts: 10
Location: Hyderabad

PostPosted: Thu Apr 23, 2009 10:07 am
Reply with quote

Hi all,

i have a question:

Is it possible to create VSAM file as read only using IDCAMS utility?

Thx
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Apr 23, 2009 11:22 am
Reply with quote

No, but you could use the security product installed at the shop to restrict its use to read only.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Apr 23, 2009 1:16 pm
Reply with quote

if you could (create read only vsam using idcams), how would you ever load it?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Thu Apr 23, 2009 7:26 pm
Reply with quote

Kinda the reverse of something that was proposed when i was in a meeting some years ago and the overly excitable were going on and on about how very special "their" data was and people should not be reading it.

After a while of this, my good bud (who was also the project architect) suggested this particular data could be placed in a "write only" file and there would be no more concern.

Took the worry-worts 10 minutes to realize they'd been had. . . icon_rolleyes.gif
Back to top
View user's profile Send private message
tarakanta
Warnings : 1

New User


Joined: 30 Jan 2007
Posts: 10
Location: Hyderabad

PostPosted: Fri Apr 24, 2009 12:49 pm
Reply with quote

Thanks for the reply.

But i got some threads which tells if we use INHIBIT in an ALTER command then the data set becomes read only.

Again i found that these options can be applied to DATA and INDEX only and we cant use it on Clusters.

There exist security products for making the file as Read only.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Apr 24, 2009 3:20 pm
Reply with quote

Tarakanta: make up your mind about what you want. Your original question was to CREATE a VSAM file read-only. This is a DEFINE statement in IDCAMS. Now you're talking about using ALTER INHIBIT to make the file read-only. ALTER cannot be used to create a file -- so either you've changed your requirement, or your original post was wrong.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Sat Apr 25, 2009 9:16 am
Reply with quote

dick scherrer wrote:
After a while of this, my good bud (who was also the project architect) suggested this particular data could be placed in a "write only" file and there would be no more concern.

Reminds me of 2 types of memory: ROM (read only memory) and WOM (write only memory). icon_lol.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Sat Apr 25, 2009 12:09 pm
Reply with quote

From any side You look at it it' s the worst approach,
( even if the alter command provides some facilities )

what' s wrong in using a security product ?
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 How to split large record length file... DFSORT/ICETOOL 10
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
Search our Forums:

Back to Top