This function call verifies that the current user has access to a generalized resource. The requestcode argument specifies the type of access to be verified. If you omit this argument, OPS/REXX uses the default value R (Read access).
For CA ACF2 systems, the request code can be:
|
Code |
Description |
|---|---|
|
R |
Verify Read access to resource |
|
A |
Verify Add access to resource |
|
D |
Verify Delete access to resource |
|
U |
Verify Update access to resource |
For RACF systems or CA Top Secret, the request code can be:
|
Code |
Description |
|---|---|
|
R |
Verify Read access to resource |
|
A |
Verify Alter access to resource |
|
C |
Verify Control access to resource |
|
U |
Verify Update access to resource |
For any of the three security products, if the specified access to the resource is allowed, OPS/REXX returns the string ALLOW. Otherwise, OPS/REXX returns an error message:
RESOURCE NOT PROTECTED RESOURCE ACCESS DENIED
For more information on generalized resources, see the appropriate CA ACF2, RACF, or CA Top Secret guides.
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |