Informix Error -8243: User <user-name> does not hold a security label for READ access. </user-name>
Cause and resolution
User <user-name> does not hold a security label for READ access. </user-name>
To execute the built-in function SECLABEL_TO_CHAR, the user must have a security label for READ access of the security policy. Ask the DBSECADM to grant a security label for READ access.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-8243 fires when SECLABEL_TO_CHAR() is called by a user with no READ-access security
label — per the official guidance, this built-in function requires one.
- The user lacks a READ-access security label for the security policy, per the official guidance — the direct, only cause.
Solutions / Resolution
- Ask the DBSECADM to grant a security label for READ access, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond SECLABEL_TO_CHAR() called without a
READ-access label.
Diagnostic Checks
- Confirm the user has a READ-access security label for the relevant security policy,
and have a
DBSECADMgrant one if missing.
Related Errors / Related Topics
- -8229 — "User
does not have SETSESSIONAUTH privilege." A related LBAC missing-privilege error, for SETSESSIONAUTHrather than a READ-access security label.
A user lacks a READ-access security label needed for SECLABEL_TO_CHAR() — have a
DBSECADM grant one.