Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Password protect a PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
andycool

New User


Joined: 12 Apr 2005
Posts: 64

PostPosted: Fri May 06, 2005 3:14 pm    Post subject: Password protect a PDS
Reply with quote

Hi Guys,

1. I want to know is it possible to password protect a PDS or a dataset ?

2. I have a PDS containing some vital jobs, i wish to restrict its access only to some of the TSO ids. Is it possible to do so?

Please let me know,
Thanks.
Back to top
View user's profile Send private message

somasundaran_k

Active User


Joined: 03 Jun 2003
Posts: 134

PostPosted: Fri May 06, 2005 9:10 pm    Post subject:
Reply with quote

Andy

Quote:

1. I want to know is it possible to password protect a PDS or a dataset ?


Password protection for dataset is rarely used in mainfrmes and it is not advisable.Also it may not be supported or will be prohibited in some shops.
Also if you are working in a client's mainframe my advice is do not go for it. But for your information there is TSO command available.

TSO PROTECT or give TSO HELP to get the complete list.

Quote:

2. I have a PDS containing some vital jobs, i wish to restrict its access only to some of the TSO ids. Is it possible to do so?


This is possible. Check for ADDSD and PERMIT.
http://ibmmainframes.com/viewtopic.php?t=1915&highlight=addsd

hth
-Som
Back to top
View user's profile Send private message
ankyhunk

Moderator


Joined: 05 May 2005
Posts: 98
Location: Navi Mumbai, India

PostPosted: Mon May 09, 2005 10:02 am    Post subject: Re: Password protect a PDS
Reply with quote

Hope the following JCL is useful -

//REPLPASS JOB ...
//STEP1 EXEC PGM=IEHPROGM,PARM='NOPRINT'
//SYSPRINT DD SYSOUT=A
//DD1 DD UNIT=disk,VOLUME=SER=111111,DISP=OLD
//DD2 DD VOLUME=(PRIVATE,SER=(222222,333333)),
// UNIT=(disk,,DEFER),DISP=OLD
//SYSIN DD *
LIST DSNAME=A.B.C,PASWORD1=ABLE
REPLACE DSNAME=A.B.C,PASWORD1=ABLE,PASWORD2=ABLE,TYPE=3,
VOL=disk=(222222,333333),
DATA='NO SECONDARIES; ASSIGNED TO DEPT 31'
/*

The utility control statements are discussed below:
? LIST specifies that the access counter, protection mode, and user data from the entry for password ABLE
are listed. Listing the entry permits the content of the access counter to be recorded before the counter is
reset to zero by the REPLACE statement.
? REPLACE specifies that the protection mode of password ABLE is to be changed to allow both read and
write access and that the protection status of the data set is changed to write-only protection. The VOL
parameter is required because the protection status of the data set is changed and the data set, in this
example, is not cataloged. Because this is a control password, the CPASWORD parameter is not required.
Back to top
View user's profile Send private message
gnagakishore

New User


Joined: 26 Mar 2005
Posts: 25
Location: Hyderabad

PostPosted: Mon May 09, 2005 10:06 pm    Post subject:
Reply with quote

IF IT IS A VSAM DATASET , then we can protect it by using
INHIBIT COMMAND IN COMBINATION WITH ALTER.

if it is a pds which is created by option 3.2 a then there will be an
option for password protection.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Random Password (in string format) ge... ezhavendhan COBOL Programming 10 Mon Aug 29, 2016 3:18 pm
No new posts REST API call - username and password... vasanthz All Other Mainframe Topics 1 Thu Mar 10, 2016 6:34 pm
No new posts Need help in Finding who changed the ... steve-myers JCL & VSAM 6 Wed Jan 27, 2016 9:01 pm
No new posts How to transfer file password protect... chetanambi TSO/ISPF 8 Thu Apr 30, 2015 10:05 am
No new posts Natural online, make a password invis... nitj Java & MQSeries 1 Tue Dec 09, 2014 4:54 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us