Previous Topic: OutputNext Topic: Related Functions


Return

EAPIRC returns the following information.

EAPI_SUCCESSFUL_RC if association added
EAPI_MODEL_NOT_LOCKED_RC if the model is not locked for update
EAPI_FROM_TO_OBJECTS_NOT_IN_SAME_MODEL_RC if the from and to objects are not contained in the same model
EAPI_FROM_OBJECT_NOT_FOUND_RC if from object is not found
EAPI_OBJECT_PROTECTED_RC if the object is protected
EAPI_TO_OBJECT_NOT_FOUND_RC if to object is not found
EAPI_ASSOC_ALREADY_EXISTS_RC if from object already has this association
EAPI_ATC_INVALID_RC if association type code is invalid or association type code is not valid for input objects
EAPI_INVALID_CARDINALITY if cardinality is invalid; i.e. cardinality of one for the input association and from object already has this association to another object
EAPI_NOT_CONNECTED_RC if not connected to encyclopedia
EAPI_NOT_AUTHORIZED_RC if user is not authorized for add
EAPI_USER_NOT_LOGGED_ON_RC if user is not logged on