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

How to provide selective access to CICS transactions?


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kkrishnakanth

New User


Joined: 27 Oct 2007
Posts: 7
Location: India

PostPosted: Tue Nov 06, 2007 6:09 pm
Reply with quote

In our application - we have an CICS screen for application error log. Same screen also provide facility to restart a failed messages.

We want all person under our Racf group to browse the screen - but want only selected people have access to restart.
Could you please suggest - how to code application cobol program to achieve this?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Nov 06, 2007 6:38 pm
Reply with quote

Quote:
Could you please suggest - how to code application cobol program to achieve this


the simplest way is to use two different transaction codes pointing to the same program..

the access to the transaction would be checked by RACF

inside the program a simple test on the transaction code used
would give access to the selected functions
usual technique used for this approach
Back to top
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Wed Nov 07, 2007 8:34 am
Reply with quote

perform an

exec cics assign userid

and allow processing according to USERID
Back to top
View user's profile Send private message
kkrishnakanth

New User


Joined: 27 Oct 2007
Posts: 7
Location: India

PostPosted: Thu Nov 08, 2007 8:41 am
Reply with quote

when we use 'exec cics assign userid ', we get the RACF id of the user who has initiated the transaction, but after this step i want to check whether the user belongs to a particular RACF group or not. how can i achieve this using CICS? could you please suggest any thing?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Nov 08, 2007 12:22 pm
Reply with quote

I am still convinced that my suggestion is less troublesome..

any change in the users/groups would imply changing the program
to add/delete users/groups lists

with my suggestion once You have made the change checking only
one token ( the transaction code ) every other modification to the
access lists is external to your program

obviously a "CICS ASSIGN USER" is a more show off then a simple
"IF TRANCODE = ... :-)
Back to top
View user's profile Send private message
Earl

Active User


Joined: 17 Jun 2007
Posts: 148
Location: oklahoma

PostPosted: Thu Nov 08, 2007 8:02 pm
Reply with quote

to each his own:: icon_cool.gif
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Sat Nov 17, 2007 2:09 am
Reply with quote

You can access the ACEE from within you cics program and check
the assigned user id to the racf group in the ACEE and allow or
disallow based on your compare results.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
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 Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
Search our Forums:

Back to Top