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
 

 

how to give access to our datasets to all

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
saif_mf
Currently Banned

New User


Joined: 09 May 2007
Posts: 4
Location: bangalore

PostPosted: Mon May 18, 2009 9:48 pm    Post subject: how to give access to our datasets to all
Reply with quote

i want to give access to everyone to my datasets and gdgs becoz one job is failing as its not able to read the dataset which has a high level qualifier as my id.
so please can anyone suggest or give me command

in my shop A.14 and i know how to give access to specific user id but not for jobs or all groups. so that they can read.
Back to top
View user's profile Send private message

Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Mon May 18, 2009 9:52 pm    Post subject:
Reply with quote

I had the same situation at my previous shop. The default was to not allow read access to other user IDs. The quick work-around was to copy the data set to a name with a HLQ that was accessible to all. The long term solution was to contact the security folks and make my data sets readable to all.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon May 18, 2009 11:22 pm    Post subject:
Reply with quote

Hello,

Just a thought. . .

If a dataset is needed for production, maybe it should not be associated with some specific user id. What would be the reason to continue to use a personal dataset once the process has been promoted to production?

Suggest a production hlq/dsn for the dataset and proper security permissions to ensure only proper updates are done to the dataset.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Tue May 19, 2009 1:14 am    Post subject:
Reply with quote

Definitely go with Dick's suggestion. I assumed this was a development or test file, not a production one.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7995
Location: Bellevue, IA

PostPosted: Tue May 19, 2009 2:56 am    Post subject:
Reply with quote

Have your contacted your site security group for assistance? They're very likely aware of the command immediately, and a lot of sites do not permit certain security functions to be performed by programmers, in which case they would have to issue the command anyway.
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: Tue May 19, 2009 11:28 am    Post subject:
Reply with quote

I should guess that this topic is in response to the reply to your previous topic.

You really need to talk to the people responsible for CONTROL-M to see which standards and policies are in place.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Tue May 19, 2009 4:14 pm    Post subject:
Reply with quote

Re-read all the suggestion which has been posted about security check and if you pass all of them here is a REXX which I use to grant READ access for the profile "USERID.*"
Code:
/*REXX*/                                                         
ARG new_id                                                       
ADDRESS TSO                                                       
user_id = USERID()                                               
profile = user_id ||".*"                                         
profile = STRIP(profile,,"'")                                     
"PERMIT '"profile"' ACCESS("READ") ID("new_id")"                 
retcd = rc                                                       
/* "SETRPOTS REFRESH GENERIC('"user_id".*')" */                   
IF retcd = 0 THEN                                                 
   SAY "READ  access for " profile  "has been granted to" new_id 
ELSE                                                             
   SAY "Error granting READ access to '"profile"'"               
EXIT (retcd)                                                     
Back to top
View user's profile Send private message
saif_mf
Currently Banned

New User


Joined: 09 May 2007
Posts: 4
Location: bangalore

PostPosted: Tue May 19, 2009 4:49 pm    Post subject:
Reply with quote

hi thanks fo your replies its not production file. i have xmit prod file to test after copying that file to other name in prod and wanted use it in testing.

i use following command to give access to users on ready prompt
PERMIT ** ID(userid) ACCESS(read)
Back to top
View user's profile Send private message
cmsmoon

New User


Joined: 17 Jun 2010
Posts: 72
Location: Chennai

PostPosted: Fri Jan 25, 2013 7:48 am    Post subject: Reply to: how to give access to our datasets to all
Reply with quote

But I got error like the below

XBBJ25A.* NOT DEFINED TO RACF
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7995
Location: Bellevue, IA

PostPosted: Fri Jan 25, 2013 8:07 am    Post subject:
Reply with quote

cmsmoon, did you not notice this topic is more than 3 1/2 years old? After 2 1/2 years on this forum, you haven't seen anyone be told to start a new topic instead of adding to an old one?

And since you gave us the error message without telling us what you were doing, what help do you want us to give you? Guess at what you did and hence guess at the answer?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies.    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts scheduling between OPC and TWS give u... nsbl IBM Tools 1 Sun Mar 12, 2017 5:35 pm
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts IMS DC screen Access sivasaras IMS DB/DC 3 Fri Nov 18, 2016 6:38 pm
No new posts Access SQLCA fields inside a stored p... gangapd DB2 6 Thu Oct 27, 2016 10:20 am
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm


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