Could not open database, IMS logon failed, rc=RC, rc2=RC2

database is the name of the database
RC is the RC value in the format RCnnnn
RC2 is the RC2 value in the format RC2nnnn

Resolution:

If RC=0012:

See the IMS System log for more information.

Otherwise:

If the problem persists, report to Technical Support.