MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Checking Dataset Access

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
singhnarender79
Beginner


Joined: 24 Dec 2002
Posts: 32
Topics: 6
Location: U.K

PostPosted: Wed Feb 15, 2006 11:52 am    Post subject: Checking Dataset Access Reply with quote

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
View user's profile Send private message Yahoo Messenger MSN Messenger
taltyman
JCL Forum Moderator
JCL Forum Moderator


Joined: 02 Dec 2002
Posts: 310
Topics: 8
Location: Texas

PostPosted: Wed Feb 15, 2006 4:58 pm    Post subject: Reply with quote

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


Joined: 24 Dec 2002
Posts: 32
Topics: 6
Location: U.K

PostPosted: Fri Feb 17, 2006 5:24 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger MSN Messenger
acevedo
Beginner


Joined: 03 Dec 2002
Posts: 127
Topics: 0
Location: Europe

PostPosted: Fri Feb 17, 2006 6:46 am    Post subject: listdsd Reply with quote

I think you should outtrap

Code:

address tso "listdsd da('"dsname"') generic all AUTHUSER"
Back to top
View user's profile Send private message
singhnarender79
Beginner


Joined: 24 Dec 2002
Posts: 32
Topics: 6
Location: U.K

PostPosted: Mon Feb 27, 2006 6:07 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group