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 

Determine whether user has access to RACF resources

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 317
Topics: 50
Location: Germany

PostPosted: Tue Apr 26, 2005 1:31 am    Post subject: Determine whether user has access to RACF resources Reply with quote

Hi all,

how is it possible to check whether user has access to RACF resources, using CICS transaction, PL/1 and / or Cobol.

The EXEC CICS QUERY SECURITY dosn't work for my requirement, because the userkey to be ckecked is not the same key calling the transaction. EXEC CICS QUERY SECURITY works only with the user key calling the transaction.

Any ideas ?

Thank you,
bauer
Back to top
View user's profile Send private message
MikeBaker
Beginner


Joined: 04 May 2004
Posts: 96
Topics: 9

PostPosted: Tue Apr 26, 2005 6:34 am    Post subject: Reply with quote

bauer,

I'm not 100% certain what you mean when you say "userkey to be checked is not the same key..." At what point in the transaction flow does the key then actually change??

If for example, you issue a START transaction in your program, and start it with a USERID (one of the available START options), then you will be told via DFHRESP(NOTAUTH) if you are not authorised for the resource. Would this do it for you? Here, the userid which is checked is the one which is actually trying to fire up the resource.

If you want fine-grain control, then maybe you should have a look in the "CICS System Programming Reference" manual at the INQUIRE commands. Or lastly, have a look at the CICS-RACF manuals.
Back to top
View user's profile Send private message
bauer
Intermediate


Joined: 10 Oct 2003
Posts: 317
Topics: 50
Location: Germany

PostPosted: Tue Apr 26, 2005 7:02 am    Post subject: Reply with quote

Hi Mike,

thank you for your answer.

What i meen is: CICS Transaction is started and running with user key "USER1".

Now in the program flow of the CICS transaction I like to check wether any userkey, for example from input date, db2 table etc. has for example READ access to an specific RACF class, group.

But you are right, EXEC CICS START allows to pass an specific user key, but this doesn't match to my problem.

Thank you for your answer,
bauer
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware 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