;
; Migrate to Lightweight Facility errors
;
;** Documentum Content Server
;** Confidential Property of EMC Corporation
;** (c) Copyright Documentum, Inc., 2007 - 2010
;** All rights reserved.
;**
;
.facility DM_MIGRATE_LIGHT
; This facility is for the data partition tracing. The trace information goes to the session log.
.severity TRACE
.severity WARNING
.severity ERROR
SHARED_PARENT_REQUIRED "SHARED_PARENT_TYPE is a required parameter."
;
; CAUSE: SHARED_PARENT_TYPE argument not supplied in MIGRATE_TO_LITE rpc call.
; ACTION: Specify a value for the SHARED_PARENT_TYPE when making this call.
; PARAMETER: none.
NO_INSTRINSIC S "SHARED_PARENT_TYPE %s cannot be an intrinsic type."
;
; CAUSE: Type specified by SHARED_PARENT_TYPE is in intrinsic type.
; ACTION: Specify a subtype of dm_sysobject as the value for SHARED_PARENT_TYPE.
; PARAMETER: name of type.
NOT_SYSOBJ S "SHARED_PARENT_TYPE %s is not a subtype of dm_sysobject."
;
; CAUSE: Type specified by SHARED_PARENT_TYPE is not a subtype of dm_sysobject.
; ACTION: Specify a subtype of dm_sysobject as the value for SHARED_PARENT_TYPE.
; PARAMETER: name of type.
LIGHTWEIGHT_REQUIRED "LIGHTWEIGHT_TYPE is required when SHARED_PARENT_TYPE is a sharable type."
;
; CAUSE: LIGHTWEIGHT_TYPE argument not supplied when SHARED_PARENT_TYPE argument specifies a shareable type.
; ACTION: Specify a value for the LIGHTWEIGHT_TYPE when making this call.
; PARAMETER: none.
ALREADY_LIGHTWEIGHT S "Migration type (%s) is already a lightweight type."
;
; CAUSE: The type specified in the LIGHTWEIGHT_TYPE is already a lightweight type.
; ACTION: Specify a non-lightweight type for value of LIGHTWEIGHT_TYPE.
; PARAMETER: name of type.
SHAREABLE S "LIGHTWEIGHT_TYPE (%s) cannot be a shareable type."
;
; CAUSE: The type specified in the LIGHTWEIGHT_TYPE is a shareable type.
; ACTION: Specify a non-shareable type for value of LIGHTWEIGHT_TYPE.
; PARAMETER: name of type.
DIRECT_SUBTYPE SS "Type %s is not a direct subtype of %s."
;
; CAUSE: LIGHTWEIGHT_TYPE must be a direct subtype of SHARED_PARENT_TYPE.
; ACTION: Specify direct subtype of SHARED_PARENT_TYPE for LIGHTWEIGHT_TYPE.
; PARAMETERS: names of types.
SQL_HEADER "Failed to generate SQL header for migration."
;
; CAUSE:
; ACTION:
; PARAMETER:
SQL_TRAILER "Failed to generate SQL trailer for migration."
;
; CAUSE:
; ACTION:
; PARAMETER:
SQL_CANCEL "Failed to generate SQL to cancel migration."
;
; CAUSE:
; ACTION:
; PARAMETER:
CANCEL S "Execution of SQL to cancel migration failed with error: %s."
;
; CAUSE: Database error
; ACTION:
; PARAMETER: Database error message
SQL_SHARED S "Failed to generate SQL to create interim shared parent type %s".
;
; CAUSE:
; ACTION:
; PARAMETER:
SQL_LIGHT S "Failed to generate SQL to create interim lightweight child type %s".
;
; CAUSE:
; ACTION:
; PARAMETER:
DQL_EXEC S "Execution of DQL to create %s failed."
;
; CAUSE:
; ACTION:
; PARAMETER:
SQL_EXEC S "Execution of the SQL failed with error: %s."
;
; CAUSE: Database error
; ACTION:
; PARAMETER: Database error message
SQL_FINALIZE S "Failed to generate the SQL to finalize the type %s."
;
; CAUSE:
; ACTION:
; PARAMETER:
NOT_LIGHT S "Interim type %s is not lightweight."
;
; CAUSE: Interim type for LIGHTWEIGHT_TYPE is not lightweight.
; ACTION: Execute MIGRATE_TO_LITE with RECOVERY_MODE asserted
; PARAMETER: name of interim type
BAD_DEFAULT_ID D "DEFAULT_PARENT_ID %s is invalid."
;
; CAUSE: The DEFAULT_PARENT_ID is either not present in SHARED_PARENT_TYPE or is present in LIGHTWEIGHT_TYPE.
; ACTION: DEFAULT_PARENT_ID must only be present in SHARED_PARENT_TYPE
; PARAMETER: The DEFAULT_PARENT_ID specified in rpc call
BAD_PARENT_ID DS "object %s is already sharing type %s."
;
; CAUSE: The PARENT_ID is already sharing another lightweight type.
; ACTION: PARENT_ID must either be shared by this child lightweight type or not sharinny lightweight type.
; PARAMETER: The PARENT_ID specified in rpc call and the lightweight type name sharing it.
BAD_PARENT_CHILD DS "object %s is materialized object of type %s."
;
; CAUSE: The PARENT_ID refers to an object of LIGHTWEIGHT_TYPE.
; ACTION: PARENT_ID must only be present in SHARED_PARENT_TYPE
; PARAMETER: The PARENT_ID specified in rpc call and lightweight type.
NO_PARENT_ID DS "%s is not an object of type %s."
;
; CAUSE: The object is not of the given type.
; ACTION: PARENT_ID must only be present in SHARED_PARENT_TYPE
; PARAMETER: The PARENT_ID specified in rpc call and parent type name.
TYPES_REQUIRED "the specified rpc requires SHARED_PARENT_TYPE and LIGHTWEIGHT_TYPE to be specified"
;
; CAUSE: One or both of SHARED_PARENT_TYPE and LIGHTWEIGHT_TYPE arugments are missing from the rpc call when both a required.
; ACTION: specify both arguments in rpc call.
;
PARAMETER_REQUIRED_WHEN_SPLIT S "The parameter (%s) is a required parameter when the execution_mode is either 'Split and Finalize' or 'Split without Finalize'."
;
; CAUSE: SOURCE_TYPE argument not supplied in MIGRATE_TO_LITE rpc call when splitting a type into a shareable type and its lightweight type.
; ACTION: Specify a value for the SOURCE_TYPE when making this call.
; PARAMETER: none.
;
NO_SYSOBJECT S "SOURCE_TYPE %s cannot be 'dm_sysobject'."
;
; CAUSE: Type specified by SOURCE_TYPE is dm_sysobject.
; ACTION: Specify a subtype of dm_sysobject as the value for SOURCE_TYPE.
; PARAMETER: name of type.
;
SHARED_PARENT_CANNOT_EXIST S "The type (%s) specified in SHARED_PARENT_TYPE can not be an existent type when splitting a type."
;
; CAUSE: SHARED_PARENT_TYPE argument supplied in MIGRATE_TO_LITE rpc call is an existent type when splitting the type.
; ACTION: Specify a non-existent type for the SHARED_PARENT_TYPE when making this call.
; PARAMETER: the name supplied in SHARED_PARENT_TYPE.
;
WRONG_SHARED_PARENT_IN_RECOVERY_MODE SS "The type (%s) specified in SHARED_PARENT_TYPE is not the right shareable parent type of type (%s)."
;
; CAUSE: SHARED_PARENT_TYPE argument supplied in MIGRATE_TO_LITE rpc call is not a right shareable type for the type specified in
; SOURCE_TYPE. One of the following can be the cause of this error:
; 1. It is not a shareable type.
; 2. It is not a direct supertype of SOURCE_TYPE.
; 3. The user is neither the owner of the type nor has superuser privilege.
;
; ACTION: Either supply a proper SHARED_PARENT_TYPE or make sure the session user has the proper privilege.
; PARAMETER: the name supplied in SHARED_PARENT_TYPE and the name supplied in SOURCE_TYPE.
;
INTERIM_TYPE_CANNOT_EXIST S "The interim type (%s) can not be an existent type before migration unless under recovery mode."
;
; CAUSE: The interim type can not exist before the migration unless under recovery mode.
; ACTION: Set the RECOVERY_MODE flag to true and try again.
; PARAMETER: The name of an interim type during the type conversion.
;
ILLEGAL_ATTRIBUTE SS "You have specified an invalid attribute name (%s) for type (%s)."
;
; CAUSE: The attribute name specified in the list is not an attribute of
; the specified type.
; ACTION: Correct the name and retry the RPC. Use DESCRIBE to find out
; the valid attributes for the type[s] you are migrating.
; PARAMETERS: The invalid attribute name and the migrated type name.
;
NOT_PARENT_TYPE DS "object %s is not of type %s"
;
; CAUSE: The given object id is not an instance of the given type.
; ACTION: Supply PARENT_ID or DEFAULT_PARENT_ID object id values that are of the parent type.
; PARAMETERS: The invalid parent id and the parent type.
CANNOT_FINALIZE S "Cannot Finalize type %s. Try EXECUTION_MODE of 'Run without Finalize' or 'Split without Finalize' first"
;
; CAUSE: Attempt to finalize a migration that has not been started.
; ACTION: Run the RPC with EXECUTION_MODE set to 'Run without Finalize' or 'Split without Finalize'
; PARAMETERS: the parent and child type names