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

How can I make a VSAM data set Read only


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
cmohanraj

New User


Joined: 04 Apr 2005
Posts: 15

PostPosted: Mon Apr 11, 2005 2:21 pm
Reply with quote

how can i make a VSAM data set Read only?
Back to top
View user's profile Send private message
learnmf

Active User


Joined: 14 Mar 2005
Posts: 123

PostPosted: Mon Apr 11, 2005 8:12 pm
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
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: 123

PostPosted: Tue Apr 12, 2005 10:11 pm
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
Reply with quote

thank you very much
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Need to fetch data from so many DB2 t... DB2 2
No new posts Is there a way to close VSAM files us... CICS 2
No new posts How to extract the data for current y... DFSORT/ICETOOL 8
No new posts Duplicate data in PUT CONTAINER using... CICS 4
No new posts Change history of vsam file. JCL & VSAM 3
Search our Forums:

Back to Top