View previous topic :: View next topic |
Author |
Message |
singhnarender79 Beginner

Joined: 24 Dec 2002 Posts: 32 Topics: 6 Location: U.K
|
Posted: Wed Feb 15, 2006 11:52 am Post subject: Checking Dataset Access |
|
|
HI,
Is there command which I can give against the dataset (in 3.4 Listing) to know whether I have access to that dataset and under which RACF profile is that dataset protected.
I had this commands in my prev Org. something like W & WP ..I can't find these comamnds ar any other commands to do this..
I know I can just browse the dataset to know that, but that will give a notification to the TSO user. However i don't want that, i just want to know what kind of access I have for that Dataset.
Does anybody know of any command to do that or Is there someway I can create one.
Cheers,
Naren _________________ "Hold fast to dreams, for if dreams die, life is a broken winged bird that cannot fly."
-- Langston Hughes |
|
Back to top |
|
 |
taltyman JCL Forum Moderator

Joined: 02 Dec 2002 Posts: 310 Topics: 8 Location: Texas
|
Posted: Wed Feb 15, 2006 4:58 pm Post subject: |
|
|
The LD command (LISTDSD (LIST DATA SET PROFILE)) may provide the info you need. Provided you are authorised to execute it and yours is a RACF shop.
Here's an example:
TSO LD DATASET(xxxx.*)
where xxxx is the high level dsn node.
INFORMATION FOR DATASET xxxx.* (G)
LEVEL OWNER UNIVERSAL ACCESS WARNING ERASE
----- -------- ---------------- ------- -----
00 xxxx NONE NO NO
AUDITING
--------
FAILURES(READ)
NOTIFY
--------
NO USER TO BE NOTIFIED
YOUR ACCESS CREATION GROUP DATASET TYPE
----------- -------------- ------------
ALTER JISO NON-VSAM |
|
Back to top |
|
 |
singhnarender79 Beginner

Joined: 24 Dec 2002 Posts: 32 Topics: 6 Location: U.K
|
Posted: Fri Feb 17, 2006 5:24 am Post subject: |
|
|
Thanks taltyman ...I have a RACF shop and it is working perfectly.
Do u know of the command to find out by which RACF profile is the dataset protected? _________________ "Hold fast to dreams, for if dreams die, life is a broken winged bird that cannot fly."
-- Langston Hughes |
|
Back to top |
|
 |
acevedo Beginner

Joined: 03 Dec 2002 Posts: 127 Topics: 0 Location: Europe
|
Posted: Fri Feb 17, 2006 6:46 am Post subject: listdsd |
|
|
I think you should outtrap
Code: |
address tso "listdsd da('"dsname"') generic all AUTHUSER"
|
|
|
Back to top |
|
 |
singhnarender79 Beginner

Joined: 24 Dec 2002 Posts: 32 Topics: 6 Location: U.K
|
Posted: Mon Feb 27, 2006 6:07 am Post subject: |
|
|
Thanks acevedo
It worked perfectly.
Sorry for replying so late, actually was on leave and enjoying my days 8) _________________ "Hold fast to dreams, for if dreams die, life is a broken winged bird that cannot fly."
-- Langston Hughes |
|
Back to top |
|
 |
|
|