Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Access to restricted PDS or PS data sets

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
ramadas

New User


Joined: 10 Mar 2007
Posts: 2
Location: Australia

PostPosted: Wed Mar 14, 2007 5:13 pm    Post subject: Access to restricted PDS or PS data sets
Reply with quote

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
View user's profile Send private message

cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Wed Mar 14, 2007 6:21 pm    Post subject: Re: Access to restricted data sets
Reply with quote

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
View user's profile Send private message
ramadas

New User


Joined: 10 Mar 2007
Posts: 2
Location: Australia

PostPosted: Wed Mar 14, 2007 9:30 pm    Post subject: still having issue
Reply with quote

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
View user's profile Send private message
cpuhawg

Active User


Joined: 14 Jun 2006
Posts: 331
Location: Jacksonville, FL

PostPosted: Wed Mar 14, 2007 10:24 pm    Post subject: Re: Access to restricted data sets
Reply with quote

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
View user's profile Send private message
Hari Hara Krishnan N

New User


Joined: 16 Mar 2007
Posts: 5
Location: Chennai

PostPosted: Fri Mar 16, 2007 10:41 am    Post subject: Accessing Common Libraries
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Mar 16, 2007 1:17 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Paasing symbolic parameter to instrea... Anirudh Anand JCL & VSAM 1 Thu Jul 27, 2017 1:22 pm
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts copying data without knowing location arunsoods DFSORT/ICETOOL 11 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Loading data to table gives wrong for... Raghu navaikulam DB2 19 Thu Jul 13, 2017 2:11 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us