Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How can I make a VSAM data set Read only

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
Author Message
cmohanraj

New User


Joined: 04 Apr 2005
Posts: 15

PostPosted: Mon Apr 11, 2005 2:21 pm    Post subject: How can I make a VSAM data set Read only
Reply with quote

how can i make a VSAM data set Read only?
Back to top
View user's profile Send private message
References
PostPosted: Mon Apr 11, 2005 2:21 pm    Post subject: Re: How can I make a VSAM data set Read only Reply with quote

learnmf

Active User


Joined: 14 Mar 2005
Posts: 124

PostPosted: Mon Apr 11, 2005 8:12 pm    Post subject:
Reply with quote

Through ALTER + INHIBIT COMMAND we can make it REad only
Back to top
View user's profile Send private message
cmohanraj

New User


Joined: 04 Apr 2005
Posts: 15

PostPosted: Tue Apr 12, 2005 6:26 pm    Post subject:
Reply with quote

can you explain it detaily? (if possible with codding)
Back to top
View user's profile Send private message
learnmf

Active User


Joined: 14 Mar 2005
Posts: 124

PostPosted: Tue Apr 12, 2005 10:11 pm    Post subject: Re: How can I make a VSAM data set Read only
Reply with quote

By Using INHIBIT option along with ALTER command.

e.g.,

//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
ALTER
COMPANY.KSDS.DATA
INHIBIT
ALTER
COMPANY.KSDS.DATA
INHIBIT
/*
//
Back to top
View user's profile Send private message
cmohanraj

New User


Joined: 04 Apr 2005
Posts: 15

PostPosted: Wed Apr 13, 2005 8:01 pm    Post subject:
Reply with quote

thank you very much
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1