Authorization ID, ACEE relationship

XAPL has two authorization ID fields, XAPLUPRM, and XAPLUCHK.

XAPLUPRM is the primary authorization ID and XAPLUCHK is the authorization ID that Db2 uses to perform authorization checking. These two fields might have different values.

The ACEE that is passed in XAPLACEE is that of the primary authorization ID, XAPLUPRM. If XAPLOWAC is on, the ACEE that is passed in XAPLACEE is that of the authorization ID that Db2 uses to perform the authorization checking, XAPLUCHK.