Can one task code be secured external and all others internal

Document ID : KB000095229
Last Modified Date : 09/05/2018
Show Technical Document Details
Question:
How can we define SRTT so that all Task codes are secured Internally, but one or a few Task code are secured externally?
Answer:
Here is an example of the two #SECRTT macro statements that can be used to secure all TASKS except task code DMLO internally, with task DMLO secured externally.

NOTE: The EXTCLS and EXTNAME parms must be on the TYPE=ENTRY statement.

        #SECRTT TYPE=ENTRY,RESTYPE=TASK,SECBY=INT,EXTCLS='OTRAN',     X
           EXTNAME=(RESNAME)                                        
     #SECRTT TYPE=OCCUR,RESTYPE=TASK,SECBY=EXT,RESNAME='DMLO'       


 
Additional Information:
https://docops.ca.com/ca-idms/19/en/administrating/administrating-security-for-idms/syntax-for-assembler-macros/secrtt