View previous topic :: View next topic
|
Author |
Message |
ramadas
New User
Joined: 10 Mar 2007 Posts: 2 Location: Australia
|
|
|
|
Need some help on accessing restricted PDS or data set.
Say if my user id is myuser1. Other users cannot access the PDS which has my id as first qualifier.
Ex: there are 2 users. myuser1 and myuser2.
myuser2 can not access PDS myuser1.sample.test
Where can we give authorize or give permissions to access the PDS myuser1.sample.test? |
|
Back to top |
|
|
cpuhawg
Active User
Joined: 14 Jun 2006 Posts: 331 Location: Jacksonville, FL
|
|
|
|
If your shop uses RACF (not ACF2 or TOP SECRET) and your USERID is protected by a RACF dataset profile (i.e. myuser1.**), then it is possible to allow other users to access your dataset.
To see if your myuser1 is protected, enter:
Code: |
TSO SR MASK(myuser1)
|
on the command line.
If you recieve 'NO ENTRIES MEET SEARCH CRITERIA' then you will need to contact your Security Administration area and have them assist.
If you recieve 'myuser1.**' (G) then you can enter the following command to permit access:
Code: |
TSO PE 'myuser1.**' ID(myuser2) ACC(READ) GEN
|
Instead of READ, you can also use UPDATE or ALTER, however, UPDATE will allow them to save members in your PDS and ALTER will allow them to actually delete the PDS. |
|
Back to top |
|
|
ramadas
New User
Joined: 10 Mar 2007 Posts: 2 Location: Australia
|
|
|
|
as given I got this
'myuser1.**' (G)
and when entered next command it didnt throw any error message and still I didnt get any access (authorization failed) to view or browse the file. |
|
Back to top |
|
|
cpuhawg
Active User
Joined: 14 Jun 2006 Posts: 331 Location: Jacksonville, FL
|
|
|
|
Have myuser2 try it.
You can also do a display to ensure your change worked:
Code: |
TSO LD DA(myuser1.**) auth all
|
At the bottom, you should see the myuser2 ID with whatever access (i.e. READ, UPDATE, ALTER) you provided. |
|
Back to top |
|
|
Hari Hara Krishnan N
New User
Joined: 16 Mar 2007 Posts: 5 Location: Chennai
|
|
|
|
If some one opens the Common library in the edit mode it creates a lot of problems to others working on it. Is there any way to prevent the users from opening the common libraries in the edit mode. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Of course, after creating the acces for myuser2 to access the files of myuser1, you need to do either a SETR REFRESH which only RACF administrators can do, or to get myuser2 to log off and log on aggin to pick up the changes. |
|
Back to top |
|
|
|