Sample RACROUTE TYPE=AUTH CLASS=DATASETXa

Document ID : KB000011850
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

Do you have any examples for a RACROUTE TYPE=AUTH CLASS=DATASETXa security call?

 

Answer:

Sample RACROUTE:


RR1 RACROUTE REQUEST=AUTH,WORKA=RACWRK2, X
CLASS=CLASSN08,GENERIC=YES,RACFIND=NO, X
INSTLN=(R3), X
REQSTOR=REQSTOR,SUBSYS=SUBSYS, X
ENTITY=ENTITY1,RELEASE=1.9

RR2 RACROUTE REQUEST=AUTH,WORKA=RACWRK2, X
CLASS=CLASSN09,GENERIC=YES,RACFIND=NO, X
INSTLN=(R3), X
REQSTOR=REQSTOR,SUBSYS=SUBSYS, X
ENTITY=ENTITY1,RELEASE=1.9

CLASSN08 DC XL1'9',CL8'DATASETX',X'40'
CLASSN09 DC XL1'9',CL8'DATASETX',X'20'

ENTITY1 DC CL44'TESTIT.ABC'

----------
Tested with a user having READ access the first call (RR1) succeeds and the second (RR2) fails as expected. Please note the length for the resource class in field CLASSN08 and CLASSN09 above. The class name length must be increased from 8 to 9 for the DATASETX call. When I ran with a length of 8 the requested access level was always '4000'.