|
|
| Author |
Message |
cmohanraj
New User
Joined: 04 Apr 2005 Posts: 15
|
|
|
|
| how can i make a VSAM data set Read only? |
|
| Back to top |
|
 |
References
|
Posted: Mon Apr 11, 2005 2:21 pm Post subject: Re: How can I make a VSAM data set Read only |
 |
|
|
 |
learnmf
Active User
Joined: 14 Mar 2005 Posts: 124
|
|
|
|
| Through ALTER + INHIBIT COMMAND we can make it REad only |
|
| Back to top |
|
 |
cmohanraj
New User
Joined: 04 Apr 2005 Posts: 15
|
|
|
|
| can you explain it detaily? (if possible with codding) |
|
| Back to top |
|
 |
learnmf
Active User
Joined: 14 Mar 2005 Posts: 124
|
|
|
|
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 |
|
 |
cmohanraj
New User
Joined: 04 Apr 2005 Posts: 15
|
|
|
|
| thank you very much |
|
| Back to top |
|
 |
|
|