View previous topic :: View next topic
|
Author |
Message |
MOHAN KUMAR DURAIRAJAN
New User
Joined: 16 Apr 2012 Posts: 11 Location: INDIA
|
|
|
|
I want to give access to other user to browse the file.
I gave
=====>> TSO PERMIT Then==>> 'MyID.**' ID(Other'sID) ACCESS(READ)
Will this work ?
Is there any command to give access? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
did You care to read my previous post about the consequences of mangling
<security> things without the proper authority.
and anyway You should have started a new topic, not resurrect an old one |
|
Back to top |
|
|
MOHAN KUMAR DURAIRAJAN
New User
Joined: 16 Apr 2012 Posts: 11 Location: INDIA
|
|
|
|
Thanks for educating enrico-sorichetti . I was in curious to know about this command as my superior was not able to view my DS hlq file. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
I was in curious to know about this command as my superior was not able to view my DS hlq file. |
if Your superior does not have access to Your hlq files
YOU ARE NOT SUPPOSED TO GIVE IT
the access policies are dictated by the security group and officers
and should not overturned because of a stupid manager ...
I have seen cases where there was no relation between the rank and the access permissions.
and again mangling with security things might be cause for lawful termination |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Your site set up its security policies as the managers felt necessary. Your attempting to overturn those security policies is considered a very serious violation of company policy at most sites, and as Enrico said, could easily get you terminated.
The PROPER method for doing what you want is to put in a request to the security group to have your supervisor given access -- not to attempt to do this yourself. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Assuming you are in a test environment...
I do not think PERMIT is intended as a conversational command. Though it will prompt for missing parameters, my advice is to provide them all at once.
I believe this:
provides access to all of your files, not just a single dataset, so use with caution. My recommendation is to only allow access to those datasets needed to be shared.
You first need to issue ADDSD command to create a profile, then use PERMIT to allow someone to use the dataset:
(untested)
Code: |
ADDSD 'PEDRO.MY.TEST' UACC(NONE) GENERIC
PERMIT 'PEDRO.MY.TEST' ID(PV1) ACCESS(READ) |
Or perhaps issue LISTDSD command to see what profiles are already defined. |
|
Back to top |
|
|
|