PreviousDTI Programmer's Guide (v10) Next

Error Messages

Chapter contents

The error codes are defined in dticonst.h and ddfstruct.h. The following errors can be returned by DTI functions:

Message
Description
P_E_ACCESS_RIGHT
Insufficient access right for the operation
P_E_BUFFER_TOO_SMALL
The array size is too small. In this case the required size is returned in pNumSettings.
P_E_CLIENT_CONNECTIONS_
LIMIT_REACHED
The operation could not connect because the limit on client connections has been reached. Check the configuration of the server.
P_E_COMPONENT_NOT_LOADED
Component is not loaded.
P_E_CONNECTION_LOST
The remote connection to the server was lost.
P_E_DATA_UNAVAILABLE
The data related to open files is not available.
P_E_DICTIONARY_ALREADY_EXISTS
Cannot create dictionary because it already exists.
P_E_DICT_IN_USE
Data dictionary is in use.
P_E_DSN_ALREADY_EXIST
The specified DSN already exists.
P_E_DSN_DOES_NOT_EXIST
The specified DSN does not exist.
P_E_DUPLICATE_NAME
The named database already exists on the server
P_E_FAIL
A general failure occurred.
P_E_FILE_NOT_OPEN
The file you specified is not currently open.
P_E_INVALID_CLIENT
Invalid connection ID.
P_E_INVALID_DATABASE_TYPE
security policy must be one of the following:
PSQL_DB_POLICY_CLASSIC, PSQL_DB_POLICY_MIXED, or PSQL_DB_POLICY_DBSEC
the error returned if the security is not one of the above
P_E_INVALID_DATA_TYPE
The setting requested is of different type.
P_E_INVALID_HANDLE
Invalid connection handle
P_E_INVALID_NAME
Invalid DSN name. DSN name cannot be longer than 20 characters and cannot contain invalid characters such as []{}()?*=!@,;exists -- We have a test case for this error code in DTI harness
P_E_INVALID_OPEN_MODE
Invalid open mode for the DSN.
P_E_INVALID_SELECTION
At least one selection item is invalid.
P_E_INVALID_SEQUENCE
Sequence number is not valid.
P_E_NO_AVAILABLE_TRANSPORT
No remote connection could be established.
P_E_NO_MEMORY
The operation encountered a memory error.
P_E_NOT_EXIST
Named database does not exist
P_E_NOT_INITED
PvStart(0) not called. No DTI session has been started.
P_E_NULL_PTR
Your operation made a call with a NULL pointer.
P_E_OUT_OF_RANGE
The setting value to be set is out of range.
P_E_PERMISSION_ERROR
The operation encountered a permissions error.
P_E_REQUESTER_NOT_LOADED
The client requester is not loaded.
P_E_SERVER_NOT_FOUND
The specified server was not found
P_E_SERVER_TABLE_FULL
The internal server name table is full.
P_E_SHARED_DDF_EXIST
The dictionary path is being used by another database.
P_OK
The operation completed successfully.
PCM_errColumnNotFound
The specified column was not found in the table.
PCM_errCouldNotLoadCobolSchemaExec
The Cobol Schema Executor could not be loaded.
PCM_errDatabaseAlreadyOpen
The specified database is already open.
PCM_errDatabaseHasNoSecurity
The specified database has no security.
PCM_errDatabaseNotFound
The specified database could not be found.
PCM_errDatabaseNotOpen
The specified database is not open.
PCM_errDictionaryAlreadyExists
The dictionary you specified already exists and cannot be created.
PCM_errDictionaryAlreadyOpen
The specified dictionary was already open.
PCM_errDictionaryNotFound
The specified dictionary data path was not found.
PCM_errDictionaryNotOpen
The specified dictionary is not open.
PCM_errDirectoryError
The file could not be created due to a directory error.
PCM_errDuplicateColumnName
The column name already exists in the table.
PCM_errDuplicateIndex
The index you specified cannot be created because it already exists.
PCM_errDuplicateTable
The table you specified cannot be created because it already exists.
PCM_errFailed
A general failure occurred.
PCM_errFirstSegmentNumberMustBeZero
The first segement number must be zero.
PCM_errGroupAlreadyExists
The group you specified cannot be created because that group already exists.
PCM_errGroupNotEmpty
The group you specified cannot be dropped becase that group still contains members.
PCM_errInternalProtocolError
An internal protocol error occurred.
PCM_errInvalidAccountName
The specified account or user name does not exist or is invalid.1
PCM_errInvalidColumnName
The specified column name is invalid.1
PCM_errInvalidColumnOrder
The column order was invalid.
PCM_errInvalidDatabaseHandle
The specified database handle is invalid.
PCM_errInvalidDataSize
The data size is invalid.
PCM_errInvalidDataType
The specified data type is invalid.
PCM_errInvalidDictionaryHandle
The specified dictionary handle was invalid.
PCM_errInvalidIndex
The specified index is invalid.
PCM_errInvalidIndexName
The specified index name was invalid.1
PCM_errInvalidNameLength
The specified name is invalid in length.
PCM_errInvalidPassword
The specified password is invalid.
PCM_errInvalidTableName
The specified table name is invalid.1
PCM_errISRNotSupported
International Sorting Rule (ISR) is not supported.
PCM_errMemoryAllocation
Error during memory allocation.
PCM_errNotAllowedToDropAdministrator
An attempt to drop the Master user was made.
PCM_errSessionSecurityError
Either your user name or password is incorrect when creating or opening a dictionary.
PCM_errStringTooShort
The string buffer had insufficient size.
PCM_errTableNotFound
The specified table was not found.
PCM_errTooManySegments
More than the maximum number of segments was specified.
PCM_errUserAlreadyExists
The user you specified cannot be created because that user already exists.
PCM_errUserAlreadyPartOfGroup
The specified user is already a member of a group.
PCM_errUserNotPartOfGroup
The specified user is not a member of the group.
PCM_Success
The operation completed successfully.
PS_E_LIC_ALREADY_INSTALLED
License key is already installed.
PS_E_LIC_INVALID
License key is invalid
PS_E_LIC_INVALID_COUNT_REQUEST
An invalid user count increment was specified.
PS_E_LIC_INVALID_PRODUCT_
REQUEST
An invalid product key was specified.
PS_E_LIC_NOT_FOUND
License key not found
1For the complete list of invalid characters, refer to Identifier Restrictions by Identifier Type in Advanced Operations Guide.


Chapter contents
Book contents

Prev topic: Functional Groups
Next topic: Structures in DTI