IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how to give access to our datasets to all


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   This topic is locked: you cannot edit posts or make replies.
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
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
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

Moderator Emeritus


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

PostPosted: Mon May 18, 2009 11:22 pm
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
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue May 19, 2009 2:56 am
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: 8797
Location: Welsh Wales

PostPosted: Tue May 19, 2009 11:28 am
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

Superior Member


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

PostPosted: Tue May 19, 2009 4:14 pm
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
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: 75
Location: Chennai

PostPosted: Fri Jan 25, 2013 7:48 am
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: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Jan 25, 2013 8:07 am
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. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts How to access web services/website? Mainframe Interview Questions 4
No new posts access the last host command CLIST & REXX 2
No new posts Merging 2 datasets into one DFSORT/ICETOOL 1
No new posts CICS Access to RACF CICS 2
Search our Forums:

Back to Top