⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nsferr.h

📁 IBM Lotus C++ API 7.0a for IBM Lotus Notes/Domino Directory Release --------- ------------------
💻 H
📖 第 1 页 / 共 5 页
字号:

#if defined(OS400) && (__OS400_TGTVRM__ >= 510)
#pragma datamodel(P128)
#endif

/*********************************************************************/
/*                                                                   */
/* Licensed Materials - Property of IBM                              */
/*                                                                   */
/* L-GHUS-5VMPGW, L-GHUS-5S3PEE                                      */
/* (C) Copyright IBM Corp. 1989, 2005  All Rights Reserved           */
/*                                                                   */
/* US Government Users Restricted Rights - Use, duplication or       */
/* disclosure restricted by GSA ADP Schedule Contract with           */
/* IBM Corp.                                                         */
/*                                                                   */
/*********************************************************************/


#ifndef NSF_ERR_DEFS
#define NSF_ERR_DEFS

/* DB2 Note Storage File Error Code Definitions 0x3B00 */
#ifndef NSF_STR_DEFS
#include "nsfstr.h"
#endif

#define ERR_DB2NSF_NOT_IMPL				PKG_DB2NSF+0
	errortext(ERR_DB2NSF_NOT_IMPL,	    "This feature not yet implemented for DB2 based .nsf(s)")
#define ERR_DB2NSF_FAILURE				PKG_DB2NSF+1
	errortext(ERR_DB2NSF_FAILURE,	    "General NSFDB2 error.")
#define ERR_DB2NSF_CORRUPT				PKG_DB2NSF+2
	errortext(ERR_DB2NSF_CORRUPT,	    "Corrupt/invalid data found in DB2 - unable to continue")
#define ERR_DB2NSF_CLI_ERROR			PKG_DB2NSF+3
	errortext(ERR_DB2NSF_CLI_ERROR,	    "DB2 CLI/SQL error")
#define ERR_DB2NSF_INI					PKG_DB2NSF+4
	errortext(ERR_DB2NSF_INI,		    "Invalid or missing DB2/MI .ini file entries")
#define ERR_DB2NSF_NAME_LENGTH			PKG_DB2NSF+5
	errortext(ERR_DB2NSF_NAME_LENGTH,	"Name exceeds DB2 maximum identifier length")
#define ERR_DB2NSF_BYPASS_XACT			PKG_DB2NSF+6
	errortext(ERR_DB2NSF_BYPASS_XACT,	"Internal error - should not appear")
#define ERR_DB2NSF_NO_BEGIN_XACT		PKG_DB2NSF+7
	errortext(ERR_DB2NSF_NO_BEGIN_XACT,	"There is no active transaction to end")
#define ERR_DB2NSF_PARMS_NEEDED			PKG_DB2NSF+10
	errortext(ERR_DB2NSF_PARMS_NEEDED,	"Parameters needed for SQL-based view")
#define ERR_DB2NSF_SUM_NOTE_SET			PKG_DB2NSF+12
	errortext(ERR_DB2NSF_SUM_NOTE_SET,	"Unable to create selected DB2 note set.")
#define ERR_DB2NSF_NIF_READONLY			PKG_DB2NSF+13
	errortext(ERR_DB2NSF_NIF_READONLY,	"Update or commit of read-only DB2 NIF connection")
#define ERR_DB2NSF_ACCESS_ROWLEN		PKG_DB2NSF+14
	errortext(ERR_DB2NSF_ACCESS_ROWLEN,	"Column Length or Total Access Table Row Length exceeds maximum allowed by DB2.")
#define ERR_DB2NSF_ACCESS_DEFTYPES		PKG_DB2NSF+15
	errortext( ERR_DB2NSF_ACCESS_DEFTYPES, "Incompatible DB2 data type and Notes data type or data format options, fieldname: ")
#define ERR_DB2NSF_ACCESS_FIELDLEN		PKG_DB2NSF+16
	errortext( ERR_DB2NSF_ACCESS_FIELDLEN, "Access Table field data exceeds defined length")
#define ERR_DB2NSF_INVALID_LENGTH_READ		PKG_DB2NSF+17
	errortext(ERR_DB2NSF_INVALID_LENGTH_READ, "Number of bytes read is smaller than expected.")
#define ERR_DB2NSF_NOT_ENABLED_FOR_DB2	PKG_DB2NSF+18
	errortext( ERR_DB2NSF_NOT_ENABLED_FOR_DB2, "Domino server is not DB2-enabled or DB2 services were unable to initialize when the server started up.")
#define ERR_DB2NSF_CANNOT_USE_DATASTORE	PKG_DB2NSF+19
	errortext( ERR_DB2NSF_CANNOT_USE_DATASTORE, "You need Server Administrator access to use the requested datastore")
#define ERR_DB2NSF_TABLESPACE_IN_USE	PKG_DB2NSF+20
	errortext( ERR_DB2NSF_TABLESPACE_IN_USE, "Requested tablespace already in use")
#define ERR_DB2NSF_BAD_OPTIONS2_FLAGS	PKG_DB2NSF+21
	apitext( ERR_DB2NSF_BAD_OPTIONS2_FLAGS, "Invalid Options2 flags value")
#define ERR_DB2NSF_INCONSISTENT_COLLECTION PKG_DB2NSF+22
	apitext( ERR_DB2NSF_INCONSISTENT_COLLECTION, "DB2-based Collection is corrupt")
#define ERR_DB2NSF_OPEN_NOT_ALLOWED     PKG_DB2NSF+23
    apitext( ERR_DB2NSF_OPEN_NOT_ALLOWED, "A DB2-based nsf cannot be opened locally.  It must be opened through the DB2-enabled Domino Server.")
#define ERR_DB2NSF_SERVICES_UNAVAILABLE			PKG_DB2NSF+24
    apitext( ERR_DB2NSF_SERVICES_UNAVAILABLE,	"DB2 services may be unavailable or the DB2-based nsf may be corrupt.")
#define ERR_DB2NSF_XLATE_POOLFULL		PKG_DB2NSF+25
	errortext( ERR_DB2NSF_XLATE_POOLFULL,	"Insufficient memory - DB2 xlate pool is full.")
#define ERR_DB2NSF_IMAP_NOT_SUPPORTED   PKG_DB2NSF+26
	apitext( ERR_DB2NSF_IMAP_NOT_SUPPORTED, "IMAP is not supported for DB2-based nsfs.")
#define ERR_DB2NSF_NO_OVERRIDE_RIGHTS   PKG_DB2NSF+27
	apitext( ERR_DB2NSF_NO_OVERRIDE_RIGHTS, "User does not have datastore override rights.")
#define ERR_DB2NSF_QUERY_TOO_LONG		PKG_DB2NSF+28
	apitext( ERR_DB2NSF_QUERY_TOO_LONG, "DB2 query exceeds maximum length." )
#define ERR_DB2NSF_BUF_TOO_SMALL        PKG_DB2NSF+29
    apitext(ERR_DB2NSF_BUF_TOO_SMALL, "Allocated buffer too small")
#define ERR_DB2NSF_INIT_FAILURE	        PKG_DB2NSF+30
	apitext( ERR_DB2NSF_INIT_FAILURE,   "Unable to initialize DB2 services.  DB2-based nsfs will be unusable." )

/* Error codes from the XML mapping file starting with 0x3B30*/
#define  ERR_DB2NSF_WARNING			PKG_DB2NSF+48
	errortext(ERR_DB2NSF_WARNING,		"DB2-SQL warning exception.")
#define  ERR_DB2NSF_NODATA			PKG_DB2NSF+49
	errortext(ERR_DB2NSF_NODATA,		"DB2-SQL no data exception.")
#define  ERR_DB2NSF_DYNAMIC_SQL			PKG_DB2NSF+50
	errortext(ERR_DB2NSF_DYNAMIC_SQL,	"DB2-Dynamic SQL error.")
#define  ERR_DB2NSF_CONNECTION			PKG_DB2NSF+51
	errortext(ERR_DB2NSF_CONNECTION,	"DB2-Connection Exception.")
#define  ERR_DB2NSF_TRIGGER			PKG_DB2NSF+52
	errortext(ERR_DB2NSF_TRIGGER,		"DB2-Triggered action exception.")
#define  ERR_DB2NSF_FEATURE			PKG_DB2NSF+53
	errortext(ERR_DB2NSF_FEATURE,		"DB2-Feature not supported.")
#define  ERR_DB2NSF_TYPE			PKG_DB2NSF+54
	errortext(ERR_DB2NSF_TYPE,		"DB2-Invalid target type specification.")
#define  ERR_DB2NSF_SCHEMA			PKG_DB2NSF+55
	errortext(ERR_DB2NSF_SCHEMA,		"DB2-Invalid Schema name list specification.")
#define  ERR_DB2NSF_TOKEN			PKG_DB2NSF+56
	errortext(ERR_DB2NSF_TOKEN,		"DB2-Invalid token.")
#define  ERR_DB2NSF_0K00			PKG_DB2NSF+57
	errortext(ERR_DB2NSF_0K00,		"DB2-0K00 exception")
#define  ERR_DB2NSF_TRIG_PROHIBIT		PKG_DB2NSF+58
	errortext(ERR_DB2NSF_TRIG_PROHIBIT,	"DB2-Prohibited statement encountered during trigger.")
#define  ERR_DB2NSF_CASE			PKG_DB2NSF+59
	errortext(ERR_DB2NSF_CASE,		"DB2-Case not found for case statement.")
#define  ERR_DB2NSF_CARDINALITY			PKG_DB2NSF+60
	errortext(ERR_DB2NSF_CARDINALITY,	"DB2-Cardinality violation.")
#define  ERR_DB2NSF_DATA			PKG_DB2NSF+61
	errortext(ERR_DB2NSF_DATA,		"DB2-Data exception.")
#define  ERR_DB2NSF_CONSTRAINT			PKG_DB2NSF+62
	errortext(ERR_DB2NSF_CONSTRAINT,	"DB2-Constraint violation.")
#define  ERR_DB2NSF_INV_CURS_STATE		PKG_DB2NSF+63
	errortext(ERR_DB2NSF_INV_CURS_STATE,	"DB2-Invalid cursor state.")
#define  ERR_DB2NSF_INV_TRAN_STATE		PKG_DB2NSF+64
	errortext(ERR_DB2NSF_INV_TRAN_STATE,	"DB2-Invalid transaction state.")
#define  ERR_DB2NSF_INV_STMT_ID			PKG_DB2NSF+65
	errortext(ERR_DB2NSF_INV_STMT_ID,	"DB2-Invalid SQL statement identifier.")
#define  ERR_DB2NSF_INV_AUTH_SPEC		PKG_DB2NSF+66
	errortext(ERR_DB2NSF_INV_AUTH_SPEC,	"DB2-Invalid authorization specification.")
#define  ERR_DB2NSF_INV_TRAN_TERMINATION 	PKG_DB2NSF+67
	errortext(ERR_DB2NSF_INV_TRAN_TERMINATION,	"DB2-Invalid transaction termination.")
#define  ERR_DB2NSF_INV_CONN_NAME		PKG_DB2NSF+68
	errortext(ERR_DB2NSF_INV_CONN_NAME,	"DB2-Invalid connection name.")
#define  ERR_DB2NSF_INV_CURS_NAME		PKG_DB2NSF+69
	errortext(ERR_DB2NSF_INV_CURS_NAME,	"DB2-Invalid cursor name.")
#define  ERR_DB2NSF_36001			PKG_DB2NSF+70
	errortext(ERR_DB2NSF_36001,		"DB2-36001 error.")
#define  ERR_DB2NSF_SYNTAX			PKG_DB2NSF+71
	errortext(ERR_DB2NSF_SYNTAX,		"DB2-Syntax error.")
#define  ERR_DB2NSF_EXT_FUNC_EX			PKG_DB2NSF+72
	errortext(ERR_DB2NSF_EXT_FUNC_EX,	"DB2-External function exception.")
#define  ERR_DB2NSF_EXT_FUNC_CALL_EX		PKG_DB2NSF+73
	errortext(ERR_DB2NSF_EXT_FUNC_CALL_EX,	"DB2-External function call exception.")
#define  ERR_DB2NSF_SAVEP_EX			PKG_DB2NSF+74
	errortext(ERR_DB2NSF_SAVEP_EX,		"DB2-Savepoint exception.")
#define  ERR_DB2NSF_SERIALIZATION		PKG_DB2NSF+75
	errortext(ERR_DB2NSF_SERIALIZATION,	"DB2-Serialization failure.")
#define  ERR_DB2NSF_AUTHORIZATION		PKG_DB2NSF+76
	errortext(ERR_DB2NSF_AUTHORIZATION,	"DB2-Authorization violation.")
#define  ERR_DB2NSF_VIEW_DEF			PKG_DB2NSF+77
	errortext(ERR_DB2NSF_VIEW_DEF,		"DB2-View definition error.")
#define  ERR_DB2NSF_46XXX			PKG_DB2NSF+78
	errortext(ERR_DB2NSF_46XXX,		"DB2-46XXX error.")
#define  ERR_DB2NSF_INV_APP_STATE		PKG_DB2NSF+79
	errortext(ERR_DB2NSF_INV_APP_STATE,	"DB2-Invalid application state.")
#define  ERR_DB2NSF_DUP_UNDEF_NAME		PKG_DB2NSF+80
	errortext(ERR_DB2NSF_DUP_UNDEF_NAME,	"DB2-Duplicate or undefined name.")
#define  ERR_DB2NSF_INV_OPERAND			PKG_DB2NSF+81
	errortext(ERR_DB2NSF_INV_OPERAND,	"DB2-Invalid operand or inconsistent specification.")
#define  ERR_DB2NSF_LIMIT_EXCEEDED		PKG_DB2NSF+82
	errortext(ERR_DB2NSF_LIMIT_EXCEEDED,	"DB2-SQL or Product limit exceeded.")
#define  ERR_DB2NSF_PREREQ_STATE		PKG_DB2NSF+83
	errortext(ERR_DB2NSF_PREREQ_STATE,	"DB2-Object not in prerequisite state.")
#define  ERR_DB2NSF_MISC_RESTRICTIONS		PKG_DB2NSF+84
	errortext(ERR_DB2NSF_MISC_RESTRICTIONS,	"DB2-Miscellaneous SQL or product restrictions.")
#define  ERR_DB2NSF_RESOURCE			PKG_DB2NSF+85
	errortext(ERR_DB2NSF_RESOURCE,		"DB2-Resource not available or operator intervention.")
#define  ERR_DB2NSF_SYSTEM			PKG_DB2NSF+86
	errortext(ERR_DB2NSF_SYSTEM,		"DB2-System error.")
#define  ERR_DB2NSF_NOXMLMAP			PKG_DB2NSF+87
	errortext(ERR_DB2NSF_NOXMLMAP,		"File db2errmp.xml not found.")
#define  ERR_DB2NSF_MAPSUCCESS			PKG_DB2NSF+88
	errortext(ERR_DB2NSF_MAPSUCCESS,	"The map for DB2 errors was successfully created.\n")
#define  ERR_DB2NSF_XML_PARSE			PKG_DB2NSF+89
	errortext(ERR_DB2NSF_XML_PARSE, 	"The parsing of XML DB2 error file failed; the map for DB2 errors was not created.")
#define  ERR_DB2NSF_GENERIC_FAILURE		PKG_DB2NSF+90
	errortext(ERR_DB2NSF_GENERIC_FAILURE, 	"DB2 NSF failure.")
#define  ERR_DB2NSF_ENABLED				PKG_DB2NSF+91
	stringtext(ERR_DB2NSF_ENABLED, 		"DB2 Server:|Not Enabled|Enabled|DB2 Access:")
#define IDX_DB2_ENABLED_SERVER			1
#define IDX_DB2_ENABLED_NOT_EN			2
#define IDX_DB2_ENABLED_EN				3
#define IDX_DB2_ENABLED_ACCESS			4
#define  ERR_DB2NSF_DB					PKG_DB2NSF+92
	stringtext(ERR_DB2NSF_DB, 			"DB2 Database: ")
#define  ERR_DB2NSF_BUFFERPOOL			PKG_DB2NSF+93
	errortext(ERR_DB2NSF_BUFFERPOOL,	"DB2 - Buffer pool not allocated, using a buffer pool that may be too small.")
#define  ERR_DB2NSF_ENABLE_STR			PKG_DB2NSF+94
	errortext(ERR_DB2NSF_ENABLE_STR,	"DB2 SERVER ENABLE LOG\n")
#define  ERR_DB2NSF_ENABLE_STATE		PKG_DB2NSF+95
	errortext(ERR_DB2NSF_ENABLE_STATE,	"Server doc update|Notes.ini update|Server id update|Catalog node|Load DB2 Library|Create user account|Add DB2DOM group to SYSCTRL_GROUP|Send server doc update request to Admin Process")
#define IDX_DB2_ENABLE_SRVDOC			1
#define IDX_DB2_ENABLE_INI				2
#define IDX_DB2_ENABLE_ID				3
#define IDX_DB2_ENABLE_CATNODE			4
#define IDX_DB2_ENABLE_LOADLIB			5
#define IDX_DB2_ENABLE_USER				6
#define IDX_DB2_ENABLE_GROUP			7
#define IDX_DB2_ENABLE_SRVDOC_ADMINP	8

#define  ERR_DB2NSF_ENABLE_STATUS		PKG_DB2NSF+96
	errortext(ERR_DB2NSF_ENABLE_STATUS,	"TASK -- |started\n|completed\n|failed with the preceding error(s)\n|%s%sfailed with error (%s)\n")
#define IDX_DB2_ENABLE_TASK			1
#define IDX_DB2_ENABLE_START		2
#define IDX_DB2_ENABLE_COMP			3
#define IDX_DB2_ENABLE_ERROR		4
#define IDX_DB2_ENABLE_ERROR_STRING	5
#define  ERR_DB2NSF_XMLFILE			PKG_DB2NSF+97
	errortext(ERR_DB2NSF_XMLFILE,	"The XML file db2errmp.xml might be incomplete or corrupt.  A partial error map was created.")
#define	 ERR_DB2NSF_TABLESPACE_MISSING	PKG_DB2NSF+98
	errortext(ERR_DB2NSF_TABLESPACE_MISSING, "Tablespace (%s) does not exist")
#define  ERR_DB2NSF_SCHEMA_MISSING		PKG_DB2NSF+99
    errortext(ERR_DB2NSF_SCHEMA_MISSING, "Schema (%s) does not exist")
#define ERR_DB2NSF_DAVPOP_BUSY			PKG_DB2NSF+100
	errortext(ERR_DB2NSF_DAVPOP_BUSY,	"DB2 Access View Populator is already handling this population request." )
#define ERR_DB2NSF_XACL_NOT_SUPPORTED	PKG_DB2NSF+101

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -