View previous topic :: View next topic
|
Author |
Message |
kkrishnakanth
New User
Joined: 27 Oct 2007 Posts: 7 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Earl
Active User
Joined: 17 Jun 2007 Posts: 148 Location: oklahoma
|
|
|
|
perform an
exec cics assign userid
and allow processing according to USERID |
|
Back to top |
|
|
kkrishnakanth
New User
Joined: 27 Oct 2007 Posts: 7 Location: India
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Earl
Active User
Joined: 17 Jun 2007 Posts: 148 Location: oklahoma
|
|
|
|
to each his own:: |
|
Back to top |
|
|
Mickeydusaor
Active User
Joined: 24 May 2006 Posts: 258 Location: Salem, Oregon
|
|
|
|
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 |
|
|
|