Q
Problem solve Get help with specific problems with your technologies, process and projects.

How to access TCT table entries in a program?

Currently I am executing a CICS transaction. I want to verify in the above transaction if the current userid is...

authorized to execute some other transaction. I do not want to maintain a different security for my application so I am making use of different transaction definitions to enforce security. In short how do I access TCT table entries in a program?


I suggest you use the EXEC CICS Query Security command described in the CICS Application Programming Reference Manual. This command is used to determine if the user running the current transaction is authorised to use a particular resource. In your case the command will look something like:-

EXEC CICS QUERY SECURITY RESTYPE('TRANSATTACH') RESID('XXXX') READ (cvda)

where XXXX is the transaction code of the other transaction. The RESTYPE of TRANSATTACH refers to the authority to attach a transaction, for example by entering the transaction code at a terminal. The RESTYPE of TRANSACTION is reserved for use as the authority to EXEC CICS START a transaction. On completion of the command the cvda is set to READABLE if the user is authorised, NOTREADABLE if not authorised.

I recommend you read the chapter in the "CICS RACF Security Guide" on security checking using the QUERY SECURITY command. There is absolutely no need to access the TCT!


This was last published in March 2002

Dig Deeper on IBM system z and mainframe systems

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

SearchServerVirtualization

SearchCloudComputing

Close