Previous Topic: Logon ValidationNext Topic: Session Termination


Return Codes

The return codes contained in AIRC are as follows:

AIRC = 0

INIT successful

AIRC = 4

ACID not defined to security

AIRC = 8

INIT failed - See AIDRC

AIRC = 16

Syntax error in AIPL

If a password change was requested, it is possible to receive an AIRC = 0 and have the password change fail. If the new password is invalid, the reason could be that it is too soon to change the password, then AIRC will be set to zero and the INIT will have happened. The caller should verify that AIDRC is also zero. A non-zero value can be found in #DFLAGS and will have messages returned (AI#MSG and AIMSG) describing the returned DRC.