With the NMSAF security facility, you can use the $NMUCORH macro to map the area pointed to by the security correlator field provided in many exits in your product region.
The first part of the area is regarded as public but is read-only. Each logged on user has a separate area (if a user ID is logged on more than once, each instance has a separate area).
Important! Do not alter any of the fields.
The $NMUCORH macro expands into two DSECTs:
The UCOR (or renamed) DSECT contains the following fields. For more information about these fields, including equated values, see the source code of the $NMUCORH macro.
Important! This list shows only the public header portion of the area. Other fields follow the header. However, they are not documented and must not be altered.
Specifies an eye catcher.
Type: Character
Specifies the user ID.
Type: Character
Specifies the SAF user ID, which is normally UCRUID, except when a system region and a common SAF user ID is used, or when system regions are not SAF validated (in which case this field is blank).
Type: Character
Specifies the user logon type. It can have various equated values.
Type: Number
Specifies the address of the SAF ACEE for this user (0 if no SAF user ID).
Type: Address
Specifies the address of the UTOKEN area (generally provided as a parameter to the exit as well).
Type: Address
Specifies the address of the UGIN global area. This is a constant value and points to the area mapped by the UGIN DSECT.
Type: Address
Specifies the address of a site-specific extension area. It is initially zero.
Type: Address
Specifies the length of a site-specific extension area. It is initially zero.
Type: Number
Specifies anything that can be used by user exits.
Limits: Six full words (24 bytes)
Type: *
You can use the UCOR@USX and UCORLUSX fields to provide the address and length of a site-specific extension:
The UGIN DSECT contains the following fields. This is a common area that contains global information. Some of it is system information and some is available for your use.
Is an eye catcher.
Type: Character
Is the system flag area (eight flags).
Type: Bits
Are the system flags.
Type: Bits
Is the system character field area (8-byte fields).
Type: Character
Are the character fields.
Type: Character
Are the pointer fields (4-byte fields) that are available for installation use (any storage anchored must be obtained in SP 50).
Type: Pointer
Are eight user flags set by the USERFLAGn input file statements in SXCTL (corresponding to the 8 bits in the byte 80..01).
Type: Bits
Are the eight-character fields that can be set by SXCTL for input file statements by using NMSAF.
UGINUCF1 to UGINUCF4 are user names, as set by USERNAMEn.
UGINUCF5 to UGINUCF8 are user IDs, as set by USERUIDn.
| Copyright © 2012 CA. All rights reserved. |
|