Posted: Tue Jul 04, 2006 4:20 am Post subject: SHR option
Hi,
Even if I give DISP=SHR option to a data set it is allowing to copy data to that dataset i.e. it is allowing to edit. DISP=OLD will give X lock and rewrites the data and DISP=SHR appends the data and DISP=SHR is allowed to read this is what i know sofar. But just executed one jcl which is having DISP=SHR and still it is allowing to copy data to it. Pls. clarify what is DISP=SHR is.
SHR
Indicates that the data set exists before this step and that other jobs can share
it, that is, use it at the same time. This subparameter can also be coded as
SHARE.
If you specify DISP=SHR for an output tape data set and (1) the data set is not
protected by RACF or a password or (2) the data set has no expiration date,
the system does not verify the data set name in the header label.
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
Posted: Wed Jul 05, 2006 9:05 am Post subject:
DISP=SHR and DISP=OLD only control whether other users may access the file at the same time. Neither one will control update access to the file. You would use your security product for this. _________________ Regards,
Bill Dennis
Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum