View previous topic :: View next topic |
Author |
Message |
arshadh Beginner
Joined: 10 Jan 2007 Posts: 33 Topics: 12
|
Posted: Mon Jan 22, 2007 9:14 am Post subject: Unable to protect pds thru PROTECT ('dsname') command |
|
|
When I gave
PROTECT 'NBK2P9G.ASIR.EMPTY'
it asks for password
ENTER NEW PASSWORD -
i entered 'a' , abcde , 1234 ,'1234' .... I have tried all these options but system says
UNABLE TO PROTECT DATA SET 'NBK2P9G.ASIR.EMPTY'+
I/O ERROR IN PASSWORD DATA SET
Pls help me... |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Mon Jan 22, 2007 9:40 am Post subject: |
|
|
arshadh,
You forgot to provide the options for the PROTECT command. Check this for a detailed explanation of the PROTECT command.
Code: |
FUNCTION -
THE PROTECT COMMAND IS USED TO CREATE, MODIFY, OR REMOVE THE
PROTECTION ATTRIBUTES OF NEW AND OLD DATA SETS.
SYNTAX -
PROTECT 'DSNAME' ADD('PASSWORD2')/
REPLACE('PASSWORD1','PASSWORD2')/
DELETE('PASSWORD1')/
LIST('PASSWORD1')
PWREAD/NOPWREAD PWWRITE/NOWRITE
DATA(''STRING'')
REQUIRED - 'DSNAME'
DEFAULTS - ADD
OPERANDS -
'DSNAME' - NAME OF DATA SET TO BE PROTECTED.
ADD('PASSWORD2')
- SPECIFIES THAT AN ENTRY FOR THE DATA SET IS TO BE ADDED TO
THE PASSWORD DATA SET.
'PASSWORD2'
- IS THE NEW PASSWORD FOR THIS PASSWORD DATA SET ENTRY
REPLACE('PASSWORD1','PASSWORD2')
- SPECIFIES THAT AN ENTRY FOR THE DATA SET IS TO BE CHANGED
IN THE PASSWORD DATA SET.
'PASSWORD1'
- IS THE OLD OR CURRENT PASSWORD FOR THIS PASSWORD DATA SET
ENTRY
'PASSWORD2'
- IS THE NEW PASSWORD FOR THIS PASSWORD DATA SET ENTRY
DELETE('PASSWORD1')
- SPECIFIES THAT AN ENTRY FOR THE DATA SET IS TO BE REMOVED
FROM THE PASSWORD DATA SET.
'PASSWORD1'
- IS THE OLD OR CURRENT PASSWORD FOR THIS PASSWORD DATA SET
ENTRY
LIST('PASSWORD1')
- SPECIFIES THAT THE SECURITY COUNTER, ACCESS TYPE, AND THE
USER DATA FOR THIS ENTRY ARE TO BE LISTED.
'PASSWORD1'
- IS THE OLD OR CURRENT PASSWORD FOR THIS PASSWORD DATA SET
ENTRY.
PWREAD - INDICATES THAT THE DATA SET CAN BE READ ONLY WHEN THE
PASSWORD IS SUPPLIED.
NOPWREAD - INDICATES THAT THE DATA SET CAN BE READ WITHOUT A
PASSWORD.
PWWRITE - INDICATES THAT THE DATA SET CAN BE WRITTEN ONLY WHEN THE
PASSWORD IS SUPPLIED.
NOWRITE - INDICATES THAT THE DATA SET CAN NOT BE WRITTEN
DATA(''STRING'')
- INDICATES THAT THE INFORMATION ''STRING'' IS TO BE ADDED
TO THE PASSWORD DATA SET ENTRY.
''STRING''
- SPECIFIES UP TO 77 BYTES OF CHARACTER INFORMATION ENCLOSED
IN SINGLE QUOTES WHICH IS TO BE ADDED TO THE PASSWORD DATA
SET ENTRY.
|
Hope this helps...
Cheers
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
arshadh Beginner
Joined: 10 Jan 2007 Posts: 33 Topics: 12
|
Posted: Mon Jan 22, 2007 10:46 am Post subject: |
|
|
Kolusu,
The REQUIRED is the DSNAME and the DEFAULT is the ADD...
i.e by default it will ask for password |
|
Back to top |
|
|
superk Advanced
Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Mon Jan 22, 2007 10:54 am Post subject: |
|
|
I/O ERROR IN PASSWORD DATA SET
My guess is that the PASSWORD Dataset doesn't exist. |
|
Back to top |
|
|
Bill Dennis Advanced
Joined: 03 Dec 2002 Posts: 579 Topics: 1 Location: Iowa, USA
|
Posted: Mon Jan 22, 2007 12:27 pm Post subject: |
|
|
Thid "old" method used a dataset to contain the passwords and options for each protected item. I think the dataset name had to be 'PASSWORD'. The PASSWORD dataset itself also had to be protected.
If this file doesn't exist on your system you'll need to use the "modern" method of RACF (or ACF-2, etc.) to protect datasets. _________________ 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. |
|
Back to top |
|
|
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Mon Jan 22, 2007 3:28 pm Post subject: |
|
|
As far as I know, password protection hasn't been supported for over a decade, maybe 2. Password fields really should have been removed from ISPF many years ago since they don't do anything anymore.
Use RACF/ACF2/TopSecret/etc |
|
Back to top |
|
|
|
|