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

Executing RACF callable services from COBOL & CICS progr


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sureshjebakani

New User


Joined: 11 Apr 2006
Posts: 2

PostPosted: Tue Apr 11, 2006 1:30 pm
Reply with quote

Hi All,

We are looking for a way to execute the RACF TSO command RLIST from the CICS program. We have understood that this can be done using the RACF callable services for Z/os.

The callable service we are interested is R_admin (IRRSEQ00): RACF Administration API. We would be interested to know if it is possible to initiate and capture the output of this service from a CICS program in the first place. If it is possible then we would like to know the means of calling this service using a COBOL CICS program. A sample program would of great help

Thanks,
Sureshkumar
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Tue Apr 11, 2006 2:52 pm
Reply with quote

hy sureshjebakani,

there is probably any API for executables.
check the doku for such an exit, there will
be one for sure. with that exit you will be able
to call it either in batch or in an online program.
the exit is probably written in assembler,
therefore, you will be able to call it in any
program language on the mainframe.

unfortunatly we are still on CA-TopSecret,
after changed to RACF, i could give you more
specific details. but refer to the doku, this will
help for sure.

martin9
Back to top
View user's profile Send private message
sureshjebakani

New User


Joined: 11 Apr 2006
Posts: 2

PostPosted: Tue Apr 11, 2006 4:13 pm
Reply with quote

Martin,

In the manual Security Server RACF Callable Services, I could see the below command (R_admin) to execute the RACF commands.

Code:
CALL IRRSEQ00  (Work_area,
      ALET, SAF_return_code,
      ALET,
      RACF_return_code,
      ALET,
      RACF_reason_code,
      Function_code,
      Parm_list,
      RACF_userID,
      ACEE_ptr,
      Out_message_subpool,
      Out_message_strings )

Work_area The name of a 1024-byte work area for SAF and RACF usage. The work area must be in the primary address space.

ALET The name of a word containing the ALET for the following parameter. Each parameter must have an ALET specified. Each ALET can be different. The words containing the ALETs must be in the primary address space.

What I want here is how to code (Parameters) this in the cobol program. Which is the stub I need use to get this linkedited. It has mentioned in the manual that the parameters should be defined in the Primary address space. What does that mean ?
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 290
Location: Basel, Switzerland

PostPosted: Tue Apr 11, 2006 4:22 pm
Reply with quote

hy sureshjebakani,

note: as i already mentioned, i cannot
give you any example, because we don't use
RACF on our site. just code your parameters
into your working-storage.
but ask your security manager, who is the
product responsible for RACF, he might
help you, or maybe someone else can help you
further (moderator...?)...

sorry for that...

martin9
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Executing DB2 SQL store procedure via... DB2 0
No new posts COBOL sorting, with input GDG base COBOL Programming 7
No new posts Need help with ADABAS query (COBOL-AD... All Other Mainframe Topics 0
No new posts Associating a USERID with a CICS-Libe... CICS 0
No new posts omegamon for cics -UNSUPPORTED ENVIRO... CICS 2
Search our Forums:

Back to Top