Previous Topic: PREINITNext Topic: RESPOST - Resource Post Validation


RESOURCE - Resource Access Validation

For resource classes with the EXIT attribute in the RDT (except DATASET and VOLUME), receives control for resource checks. This exit point does not apply to resources not included in the RDT (For example. LCF, UR1, UR2, and USRCLASS.) The RDT NOEXT attribute is the default.

Parameters

TXA#RESN

@ Resource name (ENTITY from RACFPL). This pointer addresses a 256 byte area. The name is left justified and padded with nulls.

TXA#ACC

@ Requested access level (two bytes).

TXA#RTYP

@ 1‑byte Resource type (RDT RESCODE). If the RESCLASS is defined with a rescode > x'FF', TXA#RTYP will contain x'FF' and TXARTYP2 must be used to locate the resource type.

TXARTYP2

@ 2‑byte Resource type (RDT RESCODE). This pointer is only valid when TXA#RTYP=x''.

Output

TXA#RESN

May be changed.

TXA#RTYP

May be changed if rescode < x'FF'.

TXARTYP2

May be changed for any rescode and must be used instead of TXA#RTYP when the rescode > x'FF'.

TXA#ACC

May be changed

$TXARAUD

Flag indicating that a user or session job should be audited. This flag is part of TXARIND and must have an OR function applied with TXARIND to be set.

Return Codes

00

Normal continuance.

04

Fail request.

08

Continue without further checking.

12

Checking takes place as usual, except that the mode will be treated as WARN for this call only. ACTION(FAIL) will be ignored if it is found on the best matching permit, and the call will be processed exactly as if the mode were WARN.