yottadb

package module
v1.2.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2025 License: AGPL-3.0, AGPL-3.0 Imports: 14 Imported by: 10

README

YottaDB Go Wrapper

Build Status Go Report Card Go Doc Coverage report

Usage (Writing a YDBGo Client application)

YottaDB must be installed. See Get Started for instructions for installing YottaDB. YDBGo supports versions YottaDB r1.24 or later. If you wish to use an earlier version, see pkg-config set-up below.

  1. A YottaDB database must be set-up and the environment variables configured. This can be easily done by sourcing /path/to/yottadb/ydb_env_set, e.g.:
source $(pkg-config --variable=prefix yottadb)/ydb_env_set
  1. Create an empty directory anywhere on your file system and go there.
mkdir ydb-example
cd ydb-example
  1. Use go mod init to create a package for your code in a unique namespace:
go mod init example.com/yottadb-example
  1. Create a Go program (e.g. ydb.go) containing your main program with an import of lang.yottadb.com/go/yottadb. E.g.:
package main

import (
	"lang.yottadb.com/go/yottadb"
)

func main() {
	// Set global node ^hello("world")="Sawadee (hello in Thai)"
	err := yottadb.SetValE(yottadb.NOTTP, nil, "สวัสดี", "^hello", []string{"world"})
	if err != nil {
		panic(err)
	}
}
  1. Download the YottaDB module by using go get .

  2. Run the code using go run .

  3. You can verify that the data got saved by running mupip extract -sel=^hello -stdout

  4. go build will create an exe for you (yottadb-example in this case). You can run that directly (e.g. ./yottadb-example).

  5. go install will install the exe for you in $GOPATH/bin or ~/go by default.

Developing this wrapper

To develop the YottaDB Go wrapper itself you may wish to import your local version of the wrapper from a separate local client of the wrapper. To do this, clone the wrapper, then in a separate directory set up the client as above. Then use go work commands to point it to the wrapper on your local file system rather than the internet repository. Run the following commands in the client directory:

go work init
go work use /your/local/path/to/YDBGo  # Set this path to your YDBGo clone
git ignore go.work

The git ignore line prevents you from committing this local change to the public who will not have your local wrapper clone.

Now you can modify the YottaDB Go wrapper on your local file system, and it will be immediately used by your client application, even before you commit the wrapper changes.

Testing

To test this wrapper:

  • go build only does a test compilation; it does not produce any files; go install has no effect.
  • To run tests, run go get -t, then go test -v.

Last, if you plan to commit, you should set-up pre-commit hooks.

ln -s ../../pre-commit .git/hooks

Advanced Configuration

Setup pkg-config

This package uses pkg-config to find libyottadb.so. The appropriate file is generated by YottaDB r1.24 and greater via ydbinstall (any other installation methods do not install the yottadb.pc file).

If you need to manually generate the yottadb.pc file the contents should look something similar to:

prefix=/usr/local/lib/yottadb/r124

exec_prefix=${prefix}
includedir=${prefix}
libdir=${exec_prefix}

Name: YottaDB
Description: YottaDB database library
Version: r1.24
Cflags: -I${includedir}
Libs: -L${libdir} -lyottadb -Wl,-rpath,${libdir}

Change the prefix to the correct path for your environment.

NOTE: you cannot use environment variables for the prefix path (e.g. $ydb_dist) it must be a fully qualified path.

You can also override the path used by pkg-config to find yottadb.pc with the environment variable PKG_CONFIG_PATH and a path to where the yottadb.pc file resides.

Docker Container

The Dockerfile/container included in this repo pre-installs YottaDB and the Go language and runs on an Ubuntu image. Some basic development tools are also pre-installed (git, gcc, make, vim, etc).

Building the Container

To build the container run:

docker build . -t ydbgo
Using the container to develop YDBGo
docker run --rm -it -v ~/goprojects:/goprojects -v ~/work/gitlab/YDBGo:/YDBGo -v ${PWD}/data:/data -w /goprojects ydbgo bash
. /opt/yottadb/current/ydb_env_set

Then follow the instructions for usage and setting up for development above.

Documentation

Overview

Package yottadb provides a Go wrapper for YottaDB - a mature, high performance, transactional NoSQL engine with proven speed and stability.

YottaDB Quick Start

Before starting, consider reading the introduction to YottaDB's data model at https://docs.yottadb.com/MultiLangProgGuide/MultiLangProgGuide.html#concepts

The YottaDB Go wrapper requires a minimum YottaDB version of r1.34 and is tested with a minimum Go version of 1.18. If the Go packages on your operating system are older, and the Go wrapper does not work, please obtain and install a newer Go implementation.

This quickstart assumes that YottaDB has already been installed as described at https://yottadb.com/product/get-started/.

After installing YottaDB, install the Go wrapper:

go get lang.yottadb.com/go/yottadb

Easy API

The Easy API provides a set of functions that are very easy to use at the expense of some additional copies for each operation. These functions all end with the letter 'E', and are available in the yottadb package. They include:

  • DataE
  • DeleteE
  • DeleteExclE
  • IncrE
  • LockDecrE
  • LockIncrE
  • LockE
  • NodeNextE
  • NodePrevE
  • SetValE
  • SubNextE
  • SubPrevE
  • TpE
  • ValE

Please see the Easy API example below for usage.

Simple API

The simple API provides a better one-to-one mapping to the underlying C API, and provides better performance at the cost of convenience. These functions are mostly encapsulated in the BufferT, BufferTArray, and KeyT data structures, with the only function belonging to this API existing outside of these data types, being LockST.

The structures in the Simple API include anchors for C allocated memory that need to be freed when the structures go out of scope. There are automated "Finalizers" that will perform these frees when the structures are garbage collected but if any really large buffers (or many little ones) are allocated, an application may have better memory performance (i.e. smaller working set) if the structures are intentionally freed by using the struct.Free() methods. These structure frees can be setup in advance using defer statements when the structures are allocated. For example, the Easy API creates these structures and buffers for most calls and specifically releases them at the end of each call for exactly this reason. If the creation of these blocks is infrequent, they can be left to be handled in an automated fashion. Note - freeing a never allocated or already freed structure does NOT cause an error - it is ignored.

Please see the Simple API example below for usage.

Transactions in YottaDB

YottaDB implements strong ACID transactions see https://en.wikipedia.org/wiki/ACID_(computer_science). Please review the documentation related to transactions in YottaDB at https://docs.yottadb.com/MultiLangProgGuide/MultiLangProgGuide.html#transaction-processing

To use YottaDB transactions in Go, please see the Transaction Example below for further information.

Go Error Interface

YottaDB has a comprehensive set of error return codes. Each has a unique number and a mnemonic. Thus, for example, to return an error that a buffer allocated for a return value is not large enough, YottaDB uses the INVSTRLEN error code, which has the value yottadb.YDB_ERR_INVSTRLEN. YottaDB attempts to maintain the stability of the numeric values and mnemonics from release to release, to ensure applications remain compatible when the underlying YottaDB releases are upgraded. The Go "error" interface provides for a call to return an error as a string (with "nil" for a successful return).

Example (EasyAPI)

Example_basic demonstrates the most basic features of YottaDB: setting a value, getting a value, iterating through values, and deleting a value.

It does this using methods from the easy API; if performance is a concern, considering using methods from the simple API (those methods on KeyT, BufferT, and BufferArrayT).

package main

import (
	"fmt"
	"lang.yottadb.com/go/yottadb"
)

func main() {
	// Set global node ["^hello", "world"] to "Go World"
	err := yottadb.SetValE(yottadb.NOTTP, nil, "Go World", "^hello", []string{"world"})
	if err != nil {
		panic(err)
	}

	// Retrieve the value that was set
	r, err := yottadb.ValE(yottadb.NOTTP, nil, "^hello", []string{"world"})
	if err != nil {
		panic(err)
	}
	if r != "Go World" {
		panic("Value not what was expected; did someone else set something?")
	}

	// Set a few more nodes so we can iterate through them
	err = yottadb.SetValE(yottadb.NOTTP, nil, "Go Middle Earth", "^hello", []string{"shire"})
	if err != nil {
		panic(err)
	}
	err = yottadb.SetValE(yottadb.NOTTP, nil, "Go Westeros", "^hello", []string{"Winterfell"})
	if err != nil {
		panic(err)
	}

	var cur_sub = ""
	for true {
		cur_sub, err = yottadb.SubNextE(yottadb.NOTTP, nil, "^hello", []string{cur_sub})
		if err != nil {
			error_code := yottadb.ErrorCode(err)
			if error_code == yottadb.YDB_ERR_NODEEND {
				break
			} else {
				panic(err)
			}
		}
		fmt.Printf("%s ", cur_sub)
	}
}
Output:

Winterfell shire world
Example (SimpleAPI)

Example demonstrating the most basic features of YottaDB using the simple API; setting a value, getting a value, iterating through values, and deleting a value.

The SimpleAPI is somewhat more difficult to use than the EasyAPI, but is more performant. It is recommended to use the SimpleAPI if you are building a performance critical application.

package main

import (
	"fmt"
	"lang.yottadb.com/go/yottadb"
)

func main() {
	// Allocate a key to set our value equal too
	var key1 yottadb.KeyT
	var buff1, cur_sub yottadb.BufferT
	var tptoken uint64
	var err error

	// The tptoken argument to many functions is either a value passed into the
	// callback routine for TP, or yottadb.NOTTP if not in a transaction
	tptoken = yottadb.NOTTP

	// Set global node ["^hello", "world"] to "Go World"
	key1.Alloc(64, 10, 64)
	err = key1.Varnm.SetValStr(tptoken, nil, "^hello")
	if err != nil {
		panic(err)
	}
	err = key1.Subary.SetElemUsed(tptoken, nil, 1)
	if err != nil {
		panic(err)
	}
	err = key1.Subary.SetValStr(tptoken, nil, 0, "world")
	if err != nil {
		panic(err)
	}

	// Create a buffer which is used to specify the value we will be setting the global to
	buff1.Alloc(64)
	err = buff1.SetValStr(tptoken, nil, "Go world")
	if err != nil {
		panic(err)
	}

	// Set the value
	err = key1.SetValST(tptoken, nil, &buff1)
	if err != nil {
		panic(err)
	}

	// Retrieve the value that was set
	// We can reuse the KeyT we already made for setting the value; hence part
	// of the performance gain
	// For the sake of demonstration, we will first clear the buffer we used to set the
	// value
	buff1.Alloc(64)
	val1, err := buff1.ValStr(tptoken, nil)
	if err != nil {
		panic(err)
	}
	if (val1) != "" {
		panic("Buffer not empty when it should be!")
	}
	err = key1.ValST(tptoken, nil, &buff1)
	if err != nil {
		panic(err)
	}
	val1, err = buff1.ValStr(tptoken, nil)
	if (val1) != "Go world" {
		panic("Value not what was expected; did someone else set something?")
	}

	// Set a few more nodes so we can iterate through them
	err = key1.Subary.SetValStr(tptoken, nil, 0, "shire")
	if err != nil {
		panic(err)
	}
	err = buff1.SetValStr(tptoken, nil, "Go Middle Earth")
	if err != nil {
		panic(err)
	}
	err = key1.SetValST(tptoken, nil, &buff1)
	if err != nil {
		panic(err)
	}

	err = key1.Subary.SetValStr(tptoken, nil, 0, "Winterfell")
	if err != nil {
		panic(err)
	}
	err = buff1.SetValStr(tptoken, nil, "Go Westeros")
	if err != nil {
		panic(err)
	}
	err = key1.SetValST(tptoken, nil, &buff1)
	if err != nil {
		panic(err)
	}

	// Allocate a BufferT for return values
	cur_sub.Alloc(64)

	// Start iterating through the list at the start by setting the last subscript
	//  to ""; stop when we get the error code meaning end
	err = key1.Subary.SetValStr(tptoken, nil, 0, "")
	for true {
		err = key1.SubNextST(tptoken, nil, &cur_sub)
		if err != nil {
			error_code := yottadb.ErrorCode(err)
			if error_code == yottadb.YDB_ERR_NODEEND {
				break
			} else {
				panic(err)
			}
		}
		val1, err = cur_sub.ValStr(tptoken, nil)
		if err != nil {
			panic(err)
		}
		fmt.Printf("%s ", val1)
		// Move to that key by setting the next node in the key
		key1.Subary.SetValStr(tptoken, nil, 0, val1)
	}
}
Output:

Winterfell shire world
Example (TransactionProcessing)

Example demonstrating how to do transactions in Go

package main

import (
	"fmt"
	"lang.yottadb.com/go/yottadb"
)

func main() {
	// Allocate a key to set our value equal too
	var buffertary1 yottadb.BufferTArray
	var errstr yottadb.BufferT
	var tptoken uint64
	var err error

	// The tptoken argument to many functions is either a value passed into the
	//  callback routine for TP, or yottadb.NOTTP if not in a transaction
	tptoken = yottadb.NOTTP

	// Restore all YDB local buffers on a TP-restart
	buffertary1.Alloc(1, 32)
	errstr.Alloc(1024)
	err = buffertary1.SetValStr(tptoken, &errstr, 0, "*")
	if err != nil {
		panic(err)
	}
	err = buffertary1.TpST(tptoken, &errstr, func(tptoken uint64, errstr *yottadb.BufferT) int32 {
		fmt.Printf("Hello from MyGoCallBack!\n")
		return 0
	}, "TEST")
	if err != nil {
		panic(err)
	}

}
Output:

Hello from MyGoCallBack!

Index

Examples

Constants

View Source
const (
	// Enum constants
	YDB_DEL_NODE               = C.YDB_DEL_NODE
	YDB_DEL_TREE               = C.YDB_DEL_TREE
	YDB_SEVERITY_ERROR         = C.YDB_SEVERITY_ERROR         /* Error - Something is definitely incorrect */
	YDB_SEVERITY_FATAL         = C.YDB_SEVERITY_FATAL         /* Fatal - Something happened that is so bad, YottaDB cannot continue */
	YDB_SEVERITY_INFORMATIONAL = C.YDB_SEVERITY_INFORMATIONAL /* Informational - won't see these returned as they continue running */
	YDB_SEVERITY_SUCCESS       = C.YDB_SEVERITY_SUCCESS       /* Success */
	YDB_SEVERITY_WARNING       = C.YDB_SEVERITY_WARNING       /* Warning - Something is potentially incorrect */
	YDB_DATA_ERROR             = C.YDB_DATA_ERROR
	YDB_DATA_NOVALUE_DESC      = C.YDB_DATA_NOVALUE_DESC /* Node has no value but has descendants */
	YDB_DATA_UNDEF             = C.YDB_DATA_UNDEF        /* Node is undefined */
	YDB_DATA_VALUE_DESC        = C.YDB_DATA_VALUE_DESC   /* Node has both value and descendants */
	YDB_DATA_VALUE_NODESC      = C.YDB_DATA_VALUE_NODESC /* Node has a value but no descendants */
	YDB_MAIN_LANG_C            = C.YDB_MAIN_LANG_C       /* Main routine written in C (or M) or is otherwise C-compatible */
	YDB_MAIN_LANG_GO           = C.YDB_MAIN_LANG_GO      /* Main routine is written in Go so handle signals differently */

	// General-purpose constants
	YDB_DEFER_HANDLER  = C.YDB_DEFER_HANDLER /* 0x7ffffffa - defer this signal handler (used in Go wrapper) */
	YDB_INT_MAX        = C.YDB_INT_MAX
	YDB_LOCK_TIMEOUT   = C.YDB_LOCK_TIMEOUT
	YDB_MAX_ERRORMSG   = C.YDB_MAX_ERRORMSG
	YDB_MAX_IDENT      = C.YDB_MAX_IDENT /* Maximum size of global/local name (not including '^') */
	YDB_MAX_M_LINE_LEN = C.YDB_MAX_M_LINE_LEN
	YDB_MAX_NAMES      = C.YDB_MAX_NAMES     /* Maximum number of variable names can be specified in a single ydb_*_s() call */
	YDB_MAX_PARMS      = C.YDB_MAX_PARMS     /* Maximum parameters to an M call (call-in) */
	YDB_MAX_STR        = C.YDB_MAX_STR       /* Maximum YottaDB string length */
	YDB_MAX_SUBS       = C.YDB_MAX_SUBS      /* Maximum subscripts currently supported */
	YDB_MAX_TIME_NSEC  = C.YDB_MAX_TIME_NSEC /* Max specified time in (long long) nanoseconds */
	YDB_MAX_YDBERR     = C.YDB_MAX_YDBERR    /* Maximum (absolute) value for a YottaDB error */
	YDB_MIN_YDBERR     = C.YDB_MIN_YDBERR    /* Minimum (absolute) value for a YottaDB error */
	YDB_NODE_END       = C.YDB_NODE_END
	YDB_NOTOK          = C.YDB_NOTOK
	YDB_NOTTP          = C.YDB_NOTTP
	YDB_OK             = C.YDB_OK      /* Successful return code */
	YDB_RELEASE        = C.YDB_RELEASE /* Corresponds to YottaDB release r1.24 (i.e. YDB_ZYRELEASE in sr_linux/release_name.h) */
	YDB_TP_RESTART     = C.YDB_TP_RESTART
	YDB_TP_ROLLBACK    = C.YDB_TP_ROLLBACK

	// Error constants
	YDB_ERR_ABNCOMPTINC           = C.YDB_ERR_ABNCOMPTINC
	YDB_ERR_ACK                   = C.YDB_ERR_ACK
	YDB_ERR_ACOMPTBINC            = C.YDB_ERR_ACOMPTBINC
	YDB_ERR_ACTCOLLMISMTCH        = C.YDB_ERR_ACTCOLLMISMTCH
	YDB_ERR_ACTIVATEFAIL          = C.YDB_ERR_ACTIVATEFAIL
	YDB_ERR_ACTLSTTOOLONG         = C.YDB_ERR_ACTLSTTOOLONG
	YDB_ERR_ACTOFFSET             = C.YDB_ERR_ACTOFFSET
	YDB_ERR_ACTRANGE              = C.YDB_ERR_ACTRANGE
	YDB_ERR_ADDRTOOLONG           = C.YDB_ERR_ADDRTOOLONG
	YDB_ERR_AIMGBLKFAIL           = C.YDB_ERR_AIMGBLKFAIL
	YDB_ERR_AIOBUFSTUCK           = C.YDB_ERR_AIOBUFSTUCK
	YDB_ERR_AIOCANCELTIMEOUT      = C.YDB_ERR_AIOCANCELTIMEOUT
	YDB_ERR_AIOQUEUESTUCK         = C.YDB_ERR_AIOQUEUESTUCK
	YDB_ERR_ALIASEXPECTED         = C.YDB_ERR_ALIASEXPECTED
	YDB_ERR_AMBISYIPARAM          = C.YDB_ERR_AMBISYIPARAM
	YDB_ERR_ANCOMPTINC            = C.YDB_ERR_ANCOMPTINC
	YDB_ERR_APDCONNFAIL           = C.YDB_ERR_APDCONNFAIL
	YDB_ERR_APDINITFAIL           = C.YDB_ERR_APDINITFAIL
	YDB_ERR_APDLOGFAIL            = C.YDB_ERR_APDLOGFAIL
	YDB_ERR_ARCTLMAXHIGH          = C.YDB_ERR_ARCTLMAXHIGH
	YDB_ERR_ARCTLMAXLOW           = C.YDB_ERR_ARCTLMAXLOW
	YDB_ERR_ARGSLONGLINE          = C.YDB_ERR_ARGSLONGLINE
	YDB_ERR_ARGTRUNC              = C.YDB_ERR_ARGTRUNC
	YDB_ERR_ARROWNTDSP            = C.YDB_ERR_ARROWNTDSP
	YDB_ERR_ASC2EBCDICCONV        = C.YDB_ERR_ASC2EBCDICCONV
	YDB_ERR_ASSERT                = C.YDB_ERR_ASSERT
	YDB_ERR_ASYNCIONOMM           = C.YDB_ERR_ASYNCIONOMM
	YDB_ERR_ASYNCIONOV4           = C.YDB_ERR_ASYNCIONOV4
	YDB_ERR_AUDCONNFAIL           = C.YDB_ERR_AUDCONNFAIL
	YDB_ERR_AUDINITFAIL           = C.YDB_ERR_AUDINITFAIL
	YDB_ERR_AUDLOGFAIL            = C.YDB_ERR_AUDLOGFAIL
	YDB_ERR_AUTODBCREFAIL         = C.YDB_ERR_AUTODBCREFAIL
	YDB_ERR_BACKUPCTRL            = C.YDB_ERR_BACKUPCTRL
	YDB_ERR_BACKUPDBFILE          = C.YDB_ERR_BACKUPDBFILE
	YDB_ERR_BACKUPFAIL            = C.YDB_ERR_BACKUPFAIL
	YDB_ERR_BACKUPKILLIP          = C.YDB_ERR_BACKUPKILLIP
	YDB_ERR_BACKUPREPL            = C.YDB_ERR_BACKUPREPL
	YDB_ERR_BACKUPSEQNO           = C.YDB_ERR_BACKUPSEQNO
	YDB_ERR_BACKUPSUCCESS         = C.YDB_ERR_BACKUPSUCCESS
	YDB_ERR_BACKUPTN              = C.YDB_ERR_BACKUPTN
	YDB_ERR_BADACCMTHD            = C.YDB_ERR_BADACCMTHD
	YDB_ERR_BADCASECODE           = C.YDB_ERR_BADCASECODE
	YDB_ERR_BADCHAR               = C.YDB_ERR_BADCHAR
	YDB_ERR_BADCHSET              = C.YDB_ERR_BADCHSET
	YDB_ERR_BADCONNECTPARAM       = C.YDB_ERR_BADCONNECTPARAM
	YDB_ERR_BADDBVER              = C.YDB_ERR_BADDBVER
	YDB_ERR_BADGBLSECVER          = C.YDB_ERR_BADGBLSECVER
	YDB_ERR_BADGTMNETMSG          = C.YDB_ERR_BADGTMNETMSG
	YDB_ERR_BADJPIPARAM           = C.YDB_ERR_BADJPIPARAM
	YDB_ERR_BADLKIPARAM           = C.YDB_ERR_BADLKIPARAM
	YDB_ERR_BADLOCKNEST           = C.YDB_ERR_BADLOCKNEST
	YDB_ERR_BADPARAMCOUNT         = C.YDB_ERR_BADPARAMCOUNT
	YDB_ERR_BADQUAL               = C.YDB_ERR_BADQUAL
	YDB_ERR_BADREGION             = C.YDB_ERR_BADREGION
	YDB_ERR_BADSRVRNETMSG         = C.YDB_ERR_BADSRVRNETMSG
	YDB_ERR_BADSYIPARAM           = C.YDB_ERR_BADSYIPARAM
	YDB_ERR_BADTAG                = C.YDB_ERR_BADTAG
	YDB_ERR_BADTRNPARAM           = C.YDB_ERR_BADTRNPARAM
	YDB_ERR_BADZPEEKARG           = C.YDB_ERR_BADZPEEKARG
	YDB_ERR_BADZPEEKFMT           = C.YDB_ERR_BADZPEEKFMT
	YDB_ERR_BADZPEEKRANGE         = C.YDB_ERR_BADZPEEKRANGE
	YDB_ERR_BCKUPBUFLUSH          = C.YDB_ERR_BCKUPBUFLUSH
	YDB_ERR_BEGINST               = C.YDB_ERR_BEGINST
	YDB_ERR_BEGSEQGTENDSEQ        = C.YDB_ERR_BEGSEQGTENDSEQ
	YDB_ERR_BFRQUALREQ            = C.YDB_ERR_BFRQUALREQ
	YDB_ERR_BINHDR                = C.YDB_ERR_BINHDR
	YDB_ERR_BITMAPSBAD            = C.YDB_ERR_BITMAPSBAD
	YDB_ERR_BKUPFILEPERM          = C.YDB_ERR_BKUPFILEPERM
	YDB_ERR_BKUPPROGRESS          = C.YDB_ERR_BKUPPROGRESS
	YDB_ERR_BKUPRETRY             = C.YDB_ERR_BKUPRETRY
	YDB_ERR_BKUPRUNNING           = C.YDB_ERR_BKUPRUNNING
	YDB_ERR_BKUPTMPFILOPEN        = C.YDB_ERR_BKUPTMPFILOPEN
	YDB_ERR_BKUPTMPFILWRITE       = C.YDB_ERR_BKUPTMPFILWRITE
	YDB_ERR_BLKCNT                = C.YDB_ERR_BLKCNT
	YDB_ERR_BLKCNTEDITFAIL        = C.YDB_ERR_BLKCNTEDITFAIL
	YDB_ERR_BLKINVALID            = C.YDB_ERR_BLKINVALID
	YDB_ERR_BLKSIZ512             = C.YDB_ERR_BLKSIZ512
	YDB_ERR_BLKTOODEEP            = C.YDB_ERR_BLKTOODEEP
	YDB_ERR_BLKWRITERR            = C.YDB_ERR_BLKWRITERR
	YDB_ERR_BOMMISMATCH           = C.YDB_ERR_BOMMISMATCH
	YDB_ERR_BOOLEXPRTOODEEP       = C.YDB_ERR_BOOLEXPRTOODEEP
	YDB_ERR_BOOLSIDEFFECT         = C.YDB_ERR_BOOLSIDEFFECT
	YDB_ERR_BOVTMGTEOVTM          = C.YDB_ERR_BOVTMGTEOVTM
	YDB_ERR_BOVTNGTEOVTN          = C.YDB_ERR_BOVTNGTEOVTN
	YDB_ERR_BREAK                 = C.YDB_ERR_BREAK
	YDB_ERR_BREAKDEA              = C.YDB_ERR_BREAKDEA
	YDB_ERR_BREAKZBA              = C.YDB_ERR_BREAKZBA
	YDB_ERR_BREAKZST              = C.YDB_ERR_BREAKZST
	YDB_ERR_BSIZTOOLARGE          = C.YDB_ERR_BSIZTOOLARGE
	YDB_ERR_BTFAIL                = C.YDB_ERR_BTFAIL
	YDB_ERR_BUFFLUFAILED          = C.YDB_ERR_BUFFLUFAILED
	YDB_ERR_BUFFSIZETOOSMALL      = C.YDB_ERR_BUFFSIZETOOSMALL
	YDB_ERR_BUFOWNERSTUCK         = C.YDB_ERR_BUFOWNERSTUCK
	YDB_ERR_BUFRDTIMEOUT          = C.YDB_ERR_BUFRDTIMEOUT
	YDB_ERR_BUFSPCDELAY           = C.YDB_ERR_BUFSPCDELAY
	YDB_ERR_CALLERID              = C.YDB_ERR_CALLERID
	YDB_ERR_CALLINAFTERXIT        = C.YDB_ERR_CALLINAFTERXIT
	YDB_ERR_CALLINTCOMMIT         = C.YDB_ERR_CALLINTCOMMIT
	YDB_ERR_CALLINTROLLBACK       = C.YDB_ERR_CALLINTROLLBACK
	YDB_ERR_CANTBITMAP            = C.YDB_ERR_CANTBITMAP
	YDB_ERR_CCEBADFN              = C.YDB_ERR_CCEBADFN
	YDB_ERR_CCEBGONLY             = C.YDB_ERR_CCEBGONLY
	YDB_ERR_CCECCPPID             = C.YDB_ERR_CCECCPPID
	YDB_ERR_CCECLSTPRCS           = C.YDB_ERR_CCECLSTPRCS
	YDB_ERR_CCEDBCL               = C.YDB_ERR_CCEDBCL
	YDB_ERR_CCEDBDUMP             = C.YDB_ERR_CCEDBDUMP
	YDB_ERR_CCEDBNODUMP           = C.YDB_ERR_CCEDBNODUMP
	YDB_ERR_CCEDBNTCL             = C.YDB_ERR_CCEDBNTCL
	YDB_ERR_CCEDMPQUALREQ         = C.YDB_ERR_CCEDMPQUALREQ
	YDB_ERR_CCEDUMPNOW            = C.YDB_ERR_CCEDUMPNOW
	YDB_ERR_CCEDUMPOFF            = C.YDB_ERR_CCEDUMPOFF
	YDB_ERR_CCEDUMPON             = C.YDB_ERR_CCEDUMPON
	YDB_ERR_CCENOCCP              = C.YDB_ERR_CCENOCCP
	YDB_ERR_CCENOGROUP            = C.YDB_ERR_CCENOGROUP
	YDB_ERR_CCENOSYSLCK           = C.YDB_ERR_CCENOSYSLCK
	YDB_ERR_CCENOWORLD            = C.YDB_ERR_CCENOWORLD
	YDB_ERR_CCERDERR              = C.YDB_ERR_CCERDERR
	YDB_ERR_CCERDTIMOUT           = C.YDB_ERR_CCERDTIMOUT
	YDB_ERR_CCEWRTERR             = C.YDB_ERR_CCEWRTERR
	YDB_ERR_CCPBADMSG             = C.YDB_ERR_CCPBADMSG
	YDB_ERR_CCPGRP                = C.YDB_ERR_CCPGRP
	YDB_ERR_CCPINTQUE             = C.YDB_ERR_CCPINTQUE
	YDB_ERR_CCPJNLOPNERR          = C.YDB_ERR_CCPJNLOPNERR
	YDB_ERR_CCPMBX                = C.YDB_ERR_CCPMBX
	YDB_ERR_CCPNAME               = C.YDB_ERR_CCPNAME
	YDB_ERR_CCPNOTFND             = C.YDB_ERR_CCPNOTFND
	YDB_ERR_CCPSIGCONT            = C.YDB_ERR_CCPSIGCONT
	YDB_ERR_CCPSIGDMP             = C.YDB_ERR_CCPSIGDMP
	YDB_ERR_CEBIGSKIP             = C.YDB_ERR_CEBIGSKIP
	YDB_ERR_CENOINDIR             = C.YDB_ERR_CENOINDIR
	YDB_ERR_CETOOLONG             = C.YDB_ERR_CETOOLONG
	YDB_ERR_CETOOMANY             = C.YDB_ERR_CETOOMANY
	YDB_ERR_CEUSRERROR            = C.YDB_ERR_CEUSRERROR
	YDB_ERR_CHANGELOGINTERVAL     = C.YDB_ERR_CHANGELOGINTERVAL
	YDB_ERR_CHNGTPRSLVTM          = C.YDB_ERR_CHNGTPRSLVTM
	YDB_ERR_CHSETALREADY          = C.YDB_ERR_CHSETALREADY
	YDB_ERR_CIDIRECTIVE           = C.YDB_ERR_CIDIRECTIVE
	YDB_ERR_CIENTNAME             = C.YDB_ERR_CIENTNAME
	YDB_ERR_CIMAXLEVELS           = C.YDB_ERR_CIMAXLEVELS
	YDB_ERR_CIMAXPARAM            = C.YDB_ERR_CIMAXPARAM
	YDB_ERR_CINOENTRY             = C.YDB_ERR_CINOENTRY
	YDB_ERR_CIPARTYPE             = C.YDB_ERR_CIPARTYPE
	YDB_ERR_CIRCALLNAME           = C.YDB_ERR_CIRCALLNAME
	YDB_ERR_CIRPARMNAME           = C.YDB_ERR_CIRPARMNAME
	YDB_ERR_CIRTNTYP              = C.YDB_ERR_CIRTNTYP
	YDB_ERR_CITABENV              = C.YDB_ERR_CITABENV
	YDB_ERR_CITABOPN              = C.YDB_ERR_CITABOPN
	YDB_ERR_CITPNESTED            = C.YDB_ERR_CITPNESTED
	YDB_ERR_CIUNTYPE              = C.YDB_ERR_CIUNTYPE
	YDB_ERR_CLIERR                = C.YDB_ERR_CLIERR
	YDB_ERR_CLISTRTOOLONG         = C.YDB_ERR_CLISTRTOOLONG
	YDB_ERR_CLOSEFAIL             = C.YDB_ERR_CLOSEFAIL
	YDB_ERR_CLSTCONFLICT          = C.YDB_ERR_CLSTCONFLICT
	YDB_ERR_CMD                   = C.YDB_ERR_CMD
	YDB_ERR_CMDERR                = C.YDB_ERR_CMDERR
	YDB_ERR_CNOTONSYS             = C.YDB_ERR_CNOTONSYS
	YDB_ERR_COLLARGLONG           = C.YDB_ERR_COLLARGLONG
	YDB_ERR_COLLATIONUNDEF        = C.YDB_ERR_COLLATIONUNDEF
	YDB_ERR_COLLDATAEXISTS        = C.YDB_ERR_COLLDATAEXISTS
	YDB_ERR_COLLFNMISSING         = C.YDB_ERR_COLLFNMISSING
	YDB_ERR_COLLTYPVERSION        = C.YDB_ERR_COLLTYPVERSION
	YDB_ERR_COLON                 = C.YDB_ERR_COLON
	YDB_ERR_COLTRANSSTR2LONG      = C.YDB_ERR_COLTRANSSTR2LONG
	YDB_ERR_COMMA                 = C.YDB_ERR_COMMA
	YDB_ERR_COMMAORRPAREXP        = C.YDB_ERR_COMMAORRPAREXP
	YDB_ERR_COMMENT               = C.YDB_ERR_COMMENT
	YDB_ERR_COMMFILTERERR         = C.YDB_ERR_COMMFILTERERR
	YDB_ERR_COMMITWAITPID         = C.YDB_ERR_COMMITWAITPID
	YDB_ERR_COMMITWAITSTUCK       = C.YDB_ERR_COMMITWAITSTUCK
	YDB_ERR_COMPILEQUALS          = C.YDB_ERR_COMPILEQUALS
	YDB_ERR_CONNSOCKREQ           = C.YDB_ERR_CONNSOCKREQ
	YDB_ERR_COREINPROGRESS        = C.YDB_ERR_COREINPROGRESS
	YDB_ERR_CORRUPT               = C.YDB_ERR_CORRUPT
	YDB_ERR_CORRUPTNODE           = C.YDB_ERR_CORRUPTNODE
	YDB_ERR_CPBEYALLOC            = C.YDB_ERR_CPBEYALLOC
	YDB_ERR_CREDNOTPASSED         = C.YDB_ERR_CREDNOTPASSED
	YDB_ERR_CRITRESET             = C.YDB_ERR_CRITRESET
	YDB_ERR_CRITSEMFAIL           = C.YDB_ERR_CRITSEMFAIL
	YDB_ERR_CRYPTBADCONFIG        = C.YDB_ERR_CRYPTBADCONFIG
	YDB_ERR_CRYPTBADWRTPOS        = C.YDB_ERR_CRYPTBADWRTPOS
	YDB_ERR_CRYPTDLNOOPEN         = C.YDB_ERR_CRYPTDLNOOPEN
	YDB_ERR_CRYPTDLNOOPEN2        = C.YDB_ERR_CRYPTDLNOOPEN2
	YDB_ERR_CRYPTHASHGENFAILED    = C.YDB_ERR_CRYPTHASHGENFAILED
	YDB_ERR_CRYPTINIT             = C.YDB_ERR_CRYPTINIT
	YDB_ERR_CRYPTINIT2            = C.YDB_ERR_CRYPTINIT2
	YDB_ERR_CRYPTJNLMISMATCH      = C.YDB_ERR_CRYPTJNLMISMATCH
	YDB_ERR_CRYPTKEYFETCHFAILED   = C.YDB_ERR_CRYPTKEYFETCHFAILED
	YDB_ERR_CRYPTKEYFETCHFAILEDNF = C.YDB_ERR_CRYPTKEYFETCHFAILEDNF
	YDB_ERR_CRYPTKEYRELEASEFAILED = C.YDB_ERR_CRYPTKEYRELEASEFAILED
	YDB_ERR_CRYPTKEYTOOBIG        = C.YDB_ERR_CRYPTKEYTOOBIG
	YDB_ERR_CRYPTNOAPPEND         = C.YDB_ERR_CRYPTNOAPPEND
	YDB_ERR_CRYPTNOKEY            = C.YDB_ERR_CRYPTNOKEY
	YDB_ERR_CRYPTNOKEYSPEC        = C.YDB_ERR_CRYPTNOKEYSPEC
	YDB_ERR_CRYPTNOMM             = C.YDB_ERR_CRYPTNOMM
	YDB_ERR_CRYPTNOOVERRIDE       = C.YDB_ERR_CRYPTNOOVERRIDE
	YDB_ERR_CRYPTNOSEEK           = C.YDB_ERR_CRYPTNOSEEK
	YDB_ERR_CRYPTNOTRUNC          = C.YDB_ERR_CRYPTNOTRUNC
	YDB_ERR_CRYPTNOV4             = C.YDB_ERR_CRYPTNOV4
	YDB_ERR_CRYPTOPFAILED         = C.YDB_ERR_CRYPTOPFAILED
	YDB_ERR_CTLMNEMAXLEN          = C.YDB_ERR_CTLMNEMAXLEN
	YDB_ERR_CTLMNEXPECTED         = C.YDB_ERR_CTLMNEXPECTED
	YDB_ERR_CTRAP                 = C.YDB_ERR_CTRAP
	YDB_ERR_CTRLC                 = C.YDB_ERR_CTRLC
	YDB_ERR_CTRLY                 = C.YDB_ERR_CTRLY
	YDB_ERR_CURRSOCKOFR           = C.YDB_ERR_CURRSOCKOFR
	YDB_ERR_CUSTERRNOTFND         = C.YDB_ERR_CUSTERRNOTFND
	YDB_ERR_CUSTERRSYNTAX         = C.YDB_ERR_CUSTERRSYNTAX
	YDB_ERR_CUSTOMFILOPERR        = C.YDB_ERR_CUSTOMFILOPERR
	YDB_ERR_DBADDRALIGN           = C.YDB_ERR_DBADDRALIGN
	YDB_ERR_DBADDRANGE            = C.YDB_ERR_DBADDRANGE
	YDB_ERR_DBADDRANGE8           = C.YDB_ERR_DBADDRANGE8
	YDB_ERR_DBBADFREEBLKCTR       = C.YDB_ERR_DBBADFREEBLKCTR
	YDB_ERR_DBBADKYNM             = C.YDB_ERR_DBBADKYNM
	YDB_ERR_DBBADNSUB             = C.YDB_ERR_DBBADNSUB
	YDB_ERR_DBBADPNTR             = C.YDB_ERR_DBBADPNTR
	YDB_ERR_DBBADUPGRDSTATE       = C.YDB_ERR_DBBADUPGRDSTATE
	YDB_ERR_DBBDBALLOC            = C.YDB_ERR_DBBDBALLOC
	YDB_ERR_DBBFSTAT              = C.YDB_ERR_DBBFSTAT
	YDB_ERR_DBBLEVMN              = C.YDB_ERR_DBBLEVMN
	YDB_ERR_DBBLEVMX              = C.YDB_ERR_DBBLEVMX
	YDB_ERR_DBBLKSIZEALIGN        = C.YDB_ERR_DBBLKSIZEALIGN
	YDB_ERR_DBBMBARE              = C.YDB_ERR_DBBMBARE
	YDB_ERR_DBBMINV               = C.YDB_ERR_DBBMINV
	YDB_ERR_DBBMLCORRUPT          = C.YDB_ERR_DBBMLCORRUPT
	YDB_ERR_DBBMMSTR              = C.YDB_ERR_DBBMMSTR
	YDB_ERR_DBBMSIZE              = C.YDB_ERR_DBBMSIZE
	YDB_ERR_DBBNPNTR              = C.YDB_ERR_DBBNPNTR
	YDB_ERR_DBBPLMGT2K            = C.YDB_ERR_DBBPLMGT2K
	YDB_ERR_DBBPLMLT512           = C.YDB_ERR_DBBPLMLT512
	YDB_ERR_DBBPLNOT512           = C.YDB_ERR_DBBPLNOT512
	YDB_ERR_DBBSIZMN              = C.YDB_ERR_DBBSIZMN
	YDB_ERR_DBBSIZMX              = C.YDB_ERR_DBBSIZMX
	YDB_ERR_DBBSIZZRO             = C.YDB_ERR_DBBSIZZRO
	YDB_ERR_DBBTUFIXED            = C.YDB_ERR_DBBTUFIXED
	YDB_ERR_DBBTUWRNG             = C.YDB_ERR_DBBTUWRNG
	YDB_ERR_DBCBADFILE            = C.YDB_ERR_DBCBADFILE
	YDB_ERR_DBCCERR               = C.YDB_ERR_DBCCERR
	YDB_ERR_DBCCMDFAIL            = C.YDB_ERR_DBCCMDFAIL
	YDB_ERR_DBCDBCERTIFIED        = C.YDB_ERR_DBCDBCERTIFIED
	YDB_ERR_DBCDBNOCERTIFY        = C.YDB_ERR_DBCDBNOCERTIFY
	YDB_ERR_DBCINTEGERR           = C.YDB_ERR_DBCINTEGERR
	YDB_ERR_DBCKILLIP             = C.YDB_ERR_DBCKILLIP
	YDB_ERR_DBCLNUPINFO           = C.YDB_ERR_DBCLNUPINFO
	YDB_ERR_DBCMODBLK2BIG         = C.YDB_ERR_DBCMODBLK2BIG
	YDB_ERR_DBCMPBAD              = C.YDB_ERR_DBCMPBAD
	YDB_ERR_DBCMPMX               = C.YDB_ERR_DBCMPMX
	YDB_ERR_DBCMPNZRO             = C.YDB_ERR_DBCMPNZRO
	YDB_ERR_DBCNOEXTND            = C.YDB_ERR_DBCNOEXTND
	YDB_ERR_DBCNOFINISH           = C.YDB_ERR_DBCNOFINISH
	YDB_ERR_DBCNOTSAMEDB          = C.YDB_ERR_DBCNOTSAMEDB
	YDB_ERR_DBCNTRLERR            = C.YDB_ERR_DBCNTRLERR
	YDB_ERR_DBCOLLREQ             = C.YDB_ERR_DBCOLLREQ
	YDB_ERR_DBCOMMITCLNUP         = C.YDB_ERR_DBCOMMITCLNUP
	YDB_ERR_DBCOMPTOOLRG          = C.YDB_ERR_DBCOMPTOOLRG
	YDB_ERR_DBCREC2BIG            = C.YDB_ERR_DBCREC2BIG
	YDB_ERR_DBCREC2BIGINBLK       = C.YDB_ERR_DBCREC2BIGINBLK
	YDB_ERR_DBCREINCOMP           = C.YDB_ERR_DBCREINCOMP
	YDB_ERR_DBCRERR               = C.YDB_ERR_DBCRERR
	YDB_ERR_DBCRERR8              = C.YDB_ERR_DBCRERR8
	YDB_ERR_DBCSCNNOTCMPLT        = C.YDB_ERR_DBCSCNNOTCMPLT
	YDB_ERR_DBDANGER              = C.YDB_ERR_DBDANGER
	YDB_ERR_DBDATAMX              = C.YDB_ERR_DBDATAMX
	YDB_ERR_DBDIRTSUBSC           = C.YDB_ERR_DBDIRTSUBSC
	YDB_ERR_DBDSRDFMTCHNG         = C.YDB_ERR_DBDSRDFMTCHNG
	YDB_ERR_DBDUPNULCOL           = C.YDB_ERR_DBDUPNULCOL
	YDB_ERR_DBENDIAN              = C.YDB_ERR_DBENDIAN
	YDB_ERR_DBFGTBC               = C.YDB_ERR_DBFGTBC
	YDB_ERR_DBFHEADERR4           = C.YDB_ERR_DBFHEADERR4
	YDB_ERR_DBFHEADERR8           = C.YDB_ERR_DBFHEADERR8
	YDB_ERR_DBFHEADERRANY         = C.YDB_ERR_DBFHEADERRANY
	YDB_ERR_DBFHEADLRU            = C.YDB_ERR_DBFHEADLRU
	YDB_ERR_DBFILECREATED         = C.YDB_ERR_DBFILECREATED
	YDB_ERR_DBFILERDONLY          = C.YDB_ERR_DBFILERDONLY
	YDB_ERR_DBFILERR              = C.YDB_ERR_DBFILERR
	YDB_ERR_DBFILEXT              = C.YDB_ERR_DBFILEXT
	YDB_ERR_DBFILNOFULLWRT        = C.YDB_ERR_DBFILNOFULLWRT
	YDB_ERR_DBFILOPERR            = C.YDB_ERR_DBFILOPERR
	YDB_ERR_DBFLCORRP             = C.YDB_ERR_DBFLCORRP
	YDB_ERR_DBFREEZEOFF           = C.YDB_ERR_DBFREEZEOFF
	YDB_ERR_DBFREEZEON            = C.YDB_ERR_DBFREEZEON
	YDB_ERR_DBFRZRESETFL          = C.YDB_ERR_DBFRZRESETFL
	YDB_ERR_DBFRZRESETSUC         = C.YDB_ERR_DBFRZRESETSUC
	YDB_ERR_DBFSTBC               = C.YDB_ERR_DBFSTBC
	YDB_ERR_DBFSTHEAD             = C.YDB_ERR_DBFSTHEAD
	YDB_ERR_DBFSYNCERR            = C.YDB_ERR_DBFSYNCERR
	YDB_ERR_DBGLDMISMATCH         = C.YDB_ERR_DBGLDMISMATCH
	YDB_ERR_DBGTDBMAX             = C.YDB_ERR_DBGTDBMAX
	YDB_ERR_DBHEADINV             = C.YDB_ERR_DBHEADINV
	YDB_ERR_DBIDMISMATCH          = C.YDB_ERR_DBIDMISMATCH
	YDB_ERR_DBINCLVL              = C.YDB_ERR_DBINCLVL
	YDB_ERR_DBINCRVER             = C.YDB_ERR_DBINCRVER
	YDB_ERR_DBINVGBL              = C.YDB_ERR_DBINVGBL
	YDB_ERR_DBIOERR               = C.YDB_ERR_DBIOERR
	YDB_ERR_DBJNLNOTMATCH         = C.YDB_ERR_DBJNLNOTMATCH
	YDB_ERR_DBKEYGTIND            = C.YDB_ERR_DBKEYGTIND
	YDB_ERR_DBKEYMN               = C.YDB_ERR_DBKEYMN
	YDB_ERR_DBKEYMX               = C.YDB_ERR_DBKEYMX
	YDB_ERR_DBKEYORD              = C.YDB_ERR_DBKEYORD
	YDB_ERR_DBKGTALLW             = C.YDB_ERR_DBKGTALLW
	YDB_ERR_DBLOCMBINC            = C.YDB_ERR_DBLOCMBINC
	YDB_ERR_DBLRCINVSZ            = C.YDB_ERR_DBLRCINVSZ
	YDB_ERR_DBLTSIBL              = C.YDB_ERR_DBLTSIBL
	YDB_ERR_DBLVLINC              = C.YDB_ERR_DBLVLINC
	YDB_ERR_DBMAXKEYEXC           = C.YDB_ERR_DBMAXKEYEXC
	YDB_ERR_DBMAXNRSUBS           = C.YDB_ERR_DBMAXNRSUBS
	YDB_ERR_DBMAXREC2BIG          = C.YDB_ERR_DBMAXREC2BIG
	YDB_ERR_DBMBMINCFRE           = C.YDB_ERR_DBMBMINCFRE
	YDB_ERR_DBMBMINCFREFIXED      = C.YDB_ERR_DBMBMINCFREFIXED
	YDB_ERR_DBMBPFLDIS            = C.YDB_ERR_DBMBPFLDIS
	YDB_ERR_DBMBPFLDLBM           = C.YDB_ERR_DBMBPFLDLBM
	YDB_ERR_DBMBPFLINT            = C.YDB_ERR_DBMBPFLINT
	YDB_ERR_DBMBPFRDLBM           = C.YDB_ERR_DBMBPFRDLBM
	YDB_ERR_DBMBPFRINT            = C.YDB_ERR_DBMBPFRINT
	YDB_ERR_DBMBPINCFL            = C.YDB_ERR_DBMBPINCFL
	YDB_ERR_DBMBSIZMN             = C.YDB_ERR_DBMBSIZMN
	YDB_ERR_DBMBSIZMX             = C.YDB_ERR_DBMBSIZMX
	YDB_ERR_DBMBTNSIZMX           = C.YDB_ERR_DBMBTNSIZMX
	YDB_ERR_DBMINRESBYTES         = C.YDB_ERR_DBMINRESBYTES
	YDB_ERR_DBMISALIGN            = C.YDB_ERR_DBMISALIGN
	YDB_ERR_DBMRKBUSY             = C.YDB_ERR_DBMRKBUSY
	YDB_ERR_DBMRKFREE             = C.YDB_ERR_DBMRKFREE
	YDB_ERR_DBMXRSEXCMIN          = C.YDB_ERR_DBMXRSEXCMIN
	YDB_ERR_DBNAMEMISMATCH        = C.YDB_ERR_DBNAMEMISMATCH
	YDB_ERR_DBNOCRE               = C.YDB_ERR_DBNOCRE
	YDB_ERR_DBNONUMSUBS           = C.YDB_ERR_DBNONUMSUBS
	YDB_ERR_DBNOREGION            = C.YDB_ERR_DBNOREGION
	YDB_ERR_DBNOTDB               = C.YDB_ERR_DBNOTDB
	YDB_ERR_DBNOTGDS              = C.YDB_ERR_DBNOTGDS
	YDB_ERR_DBNOTMLTP             = C.YDB_ERR_DBNOTMLTP
	YDB_ERR_DBNULCOL              = C.YDB_ERR_DBNULCOL
	YDB_ERR_DBOPNERR              = C.YDB_ERR_DBOPNERR
	YDB_ERR_DBPREMATEOF           = C.YDB_ERR_DBPREMATEOF
	YDB_ERR_DBPRIVERR             = C.YDB_ERR_DBPRIVERR
	YDB_ERR_DBPTRMAP              = C.YDB_ERR_DBPTRMAP
	YDB_ERR_DBPTRMX               = C.YDB_ERR_DBPTRMX
	YDB_ERR_DBPTRNOTPOS           = C.YDB_ERR_DBPTRNOTPOS
	YDB_ERR_DBQUELINK             = C.YDB_ERR_DBQUELINK
	YDB_ERR_DBRBNLBMN             = C.YDB_ERR_DBRBNLBMN
	YDB_ERR_DBRBNNEG              = C.YDB_ERR_DBRBNNEG
	YDB_ERR_DBRBNTOOLRG           = C.YDB_ERR_DBRBNTOOLRG
	YDB_ERR_DBRDERR               = C.YDB_ERR_DBRDERR
	YDB_ERR_DBRDONLY              = C.YDB_ERR_DBRDONLY
	YDB_ERR_DBREADBM              = C.YDB_ERR_DBREADBM
	YDB_ERR_DBREMOTE              = C.YDB_ERR_DBREMOTE
	YDB_ERR_DBRLEVLTONE           = C.YDB_ERR_DBRLEVLTONE
	YDB_ERR_DBRLEVTOOHI           = C.YDB_ERR_DBRLEVTOOHI
	YDB_ERR_DBRNDWN               = C.YDB_ERR_DBRNDWN
	YDB_ERR_DBRNDWNWRN            = C.YDB_ERR_DBRNDWNWRN
	YDB_ERR_DBROLLEDBACK          = C.YDB_ERR_DBROLLEDBACK
	YDB_ERR_DBROOTBURN            = C.YDB_ERR_DBROOTBURN
	YDB_ERR_DBRSIZMN              = C.YDB_ERR_DBRSIZMN
	YDB_ERR_DBRSIZMX              = C.YDB_ERR_DBRSIZMX
	YDB_ERR_DBSHMNAMEDIFF         = C.YDB_ERR_DBSHMNAMEDIFF
	YDB_ERR_DBSPANCHUNKORD        = C.YDB_ERR_DBSPANCHUNKORD
	YDB_ERR_DBSPANGLOINCMP        = C.YDB_ERR_DBSPANGLOINCMP
	YDB_ERR_DBSTARCMP             = C.YDB_ERR_DBSTARCMP
	YDB_ERR_DBSTARSIZ             = C.YDB_ERR_DBSTARSIZ
	YDB_ERR_DBSVBNMIN             = C.YDB_ERR_DBSVBNMIN
	YDB_ERR_DBSZGT64K             = C.YDB_ERR_DBSZGT64K
	YDB_ERR_DBTN                  = C.YDB_ERR_DBTN
	YDB_ERR_DBTNLTCTN             = C.YDB_ERR_DBTNLTCTN
	YDB_ERR_DBTNNEQ               = C.YDB_ERR_DBTNNEQ
	YDB_ERR_DBTNRESET             = C.YDB_ERR_DBTNRESET
	YDB_ERR_DBTNRESETINC          = C.YDB_ERR_DBTNRESETINC
	YDB_ERR_DBTNTOOLG             = C.YDB_ERR_DBTNTOOLG
	YDB_ERR_DBTOTBLK              = C.YDB_ERR_DBTOTBLK
	YDB_ERR_DBTTLBLK0             = C.YDB_ERR_DBTTLBLK0
	YDB_ERR_DBUNDACCMT            = C.YDB_ERR_DBUNDACCMT
	YDB_ERR_DBUPGRDREQ            = C.YDB_ERR_DBUPGRDREQ
	YDB_ERR_DBVERPERFWARN1        = C.YDB_ERR_DBVERPERFWARN1
	YDB_ERR_DBVERPERFWARN2        = C.YDB_ERR_DBVERPERFWARN2
	YDB_ERR_DBWCVERIFYEND         = C.YDB_ERR_DBWCVERIFYEND
	YDB_ERR_DBWCVERIFYSTART       = C.YDB_ERR_DBWCVERIFYSTART
	YDB_ERR_DDPBADRESPONSE        = C.YDB_ERR_DDPBADRESPONSE
	YDB_ERR_DDPCONFBADGLD         = C.YDB_ERR_DDPCONFBADGLD
	YDB_ERR_DDPCONFBADUCI         = C.YDB_ERR_DDPCONFBADUCI
	YDB_ERR_DDPCONFBADVOL         = C.YDB_ERR_DDPCONFBADVOL
	YDB_ERR_DDPCONFGOOD           = C.YDB_ERR_DDPCONFGOOD
	YDB_ERR_DDPCONFIGNORE         = C.YDB_ERR_DDPCONFIGNORE
	YDB_ERR_DDPCONFINCOMPL        = C.YDB_ERR_DDPCONFINCOMPL
	YDB_ERR_DDPCONGEST            = C.YDB_ERR_DDPCONGEST
	YDB_ERR_DDPINVCKT             = C.YDB_ERR_DDPINVCKT
	YDB_ERR_DDPLOGERR             = C.YDB_ERR_DDPLOGERR
	YDB_ERR_DDPNOCONNECT          = C.YDB_ERR_DDPNOCONNECT
	YDB_ERR_DDPNOSERVER           = C.YDB_ERR_DDPNOSERVER
	YDB_ERR_DDPOUTMSG2BIG         = C.YDB_ERR_DDPOUTMSG2BIG
	YDB_ERR_DDPRECSIZNOTNUM       = C.YDB_ERR_DDPRECSIZNOTNUM
	YDB_ERR_DDPSHUTDOWN           = C.YDB_ERR_DDPSHUTDOWN
	YDB_ERR_DDPSUBSNUL            = C.YDB_ERR_DDPSUBSNUL
	YDB_ERR_DDPTOOMANYPROCS       = C.YDB_ERR_DDPTOOMANYPROCS
	YDB_ERR_DDPVOLSETCONFIG       = C.YDB_ERR_DDPVOLSETCONFIG
	YDB_ERR_DEFEREVENT            = C.YDB_ERR_DEFEREVENT
	YDB_ERR_DELIMSIZNA            = C.YDB_ERR_DELIMSIZNA
	YDB_ERR_DELIMWIDTH            = C.YDB_ERR_DELIMWIDTH
	YDB_ERR_DEVICEOPTION          = C.YDB_ERR_DEVICEOPTION
	YDB_ERR_DEVICEREADONLY        = C.YDB_ERR_DEVICEREADONLY
	YDB_ERR_DEVICEWRITEONLY       = C.YDB_ERR_DEVICEWRITEONLY
	YDB_ERR_DEVNAMERESERVED       = C.YDB_ERR_DEVNAMERESERVED
	YDB_ERR_DEVNOTIMP             = C.YDB_ERR_DEVNOTIMP
	YDB_ERR_DEVOPENFAIL           = C.YDB_ERR_DEVOPENFAIL
	YDB_ERR_DEVPARINAP            = C.YDB_ERR_DEVPARINAP
	YDB_ERR_DEVPARMNEG            = C.YDB_ERR_DEVPARMNEG
	YDB_ERR_DEVPARMTOOSMALL       = C.YDB_ERR_DEVPARMTOOSMALL
	YDB_ERR_DEVPARPARSE           = C.YDB_ERR_DEVPARPARSE
	YDB_ERR_DEVPARPROT            = C.YDB_ERR_DEVPARPROT
	YDB_ERR_DEVPARTOOBIG          = C.YDB_ERR_DEVPARTOOBIG
	YDB_ERR_DEVPARUNK             = C.YDB_ERR_DEVPARUNK
	YDB_ERR_DEVPARVALREQ          = C.YDB_ERR_DEVPARVALREQ
	YDB_ERR_DIRACCESS             = C.YDB_ERR_DIRACCESS
	YDB_ERR_DIRONLY               = C.YDB_ERR_DIRONLY
	YDB_ERR_DISTPATHMAX           = C.YDB_ERR_DISTPATHMAX
	YDB_ERR_DIVZERO               = C.YDB_ERR_DIVZERO
	YDB_ERR_DLCKAVOIDANCE         = C.YDB_ERR_DLCKAVOIDANCE
	YDB_ERR_DLLCHSETM             = C.YDB_ERR_DLLCHSETM
	YDB_ERR_DLLCHSETUTF8          = C.YDB_ERR_DLLCHSETUTF8
	YDB_ERR_DLLNOCLOSE            = C.YDB_ERR_DLLNOCLOSE
	YDB_ERR_DLLNOOPEN             = C.YDB_ERR_DLLNOOPEN
	YDB_ERR_DLLNORTN              = C.YDB_ERR_DLLNORTN
	YDB_ERR_DLLVERSION            = C.YDB_ERR_DLLVERSION
	YDB_ERR_DLRCILLEGAL           = C.YDB_ERR_DLRCILLEGAL
	YDB_ERR_DLRCTOOBIG            = C.YDB_ERR_DLRCTOOBIG
	YDB_ERR_DLRCUNXEOR            = C.YDB_ERR_DLRCUNXEOR
	YDB_ERR_DONOBLOCK             = C.YDB_ERR_DONOBLOCK
	YDB_ERR_DRVLONGJMP            = C.YDB_ERR_DRVLONGJMP
	YDB_ERR_DSEBLKRDFAIL          = C.YDB_ERR_DSEBLKRDFAIL
	YDB_ERR_DSEFAIL               = C.YDB_ERR_DSEFAIL
	YDB_ERR_DSEINVALBLKID         = C.YDB_ERR_DSEINVALBLKID
	YDB_ERR_DSEINVLCLUSFN         = C.YDB_ERR_DSEINVLCLUSFN
	YDB_ERR_DSEMAXBLKSAV          = C.YDB_ERR_DSEMAXBLKSAV
	YDB_ERR_DSENOFINISH           = C.YDB_ERR_DSENOFINISH
	YDB_ERR_DSENOTOPEN            = C.YDB_ERR_DSENOTOPEN
	YDB_ERR_DSEONLYBGMM           = C.YDB_ERR_DSEONLYBGMM
	YDB_ERR_DSEWCINITCON          = C.YDB_ERR_DSEWCINITCON
	YDB_ERR_DSEWCREINIT           = C.YDB_ERR_DSEWCREINIT
	YDB_ERR_DSKNOSPCAVAIL         = C.YDB_ERR_DSKNOSPCAVAIL
	YDB_ERR_DSKNOSPCBLOCKED       = C.YDB_ERR_DSKNOSPCBLOCKED
	YDB_ERR_DSKSPACEFLOW          = C.YDB_ERR_DSKSPACEFLOW
	YDB_ERR_DSKSPCAVAILABLE       = C.YDB_ERR_DSKSPCAVAILABLE
	YDB_ERR_DSKSPCCHK             = C.YDB_ERR_DSKSPCCHK
	YDB_ERR_DUPTN                 = C.YDB_ERR_DUPTN
	YDB_ERR_DUPTOKEN              = C.YDB_ERR_DUPTOKEN
	YDB_ERR_DVIKEYBAD             = C.YDB_ERR_DVIKEYBAD
	YDB_ERR_DYNUPGRDFAIL          = C.YDB_ERR_DYNUPGRDFAIL
	YDB_ERR_DZTRIGINTRIG          = C.YDB_ERR_DZTRIGINTRIG
	YDB_ERR_DZWRNOALIAS           = C.YDB_ERR_DZWRNOALIAS
	YDB_ERR_DZWRNOPAREN           = C.YDB_ERR_DZWRNOPAREN
	YDB_ERR_ECLOSTMID             = C.YDB_ERR_ECLOSTMID
	YDB_ERR_ENCRYPTCONFLT         = C.YDB_ERR_ENCRYPTCONFLT
	YDB_ERR_ENCRYPTCONFLT2        = C.YDB_ERR_ENCRYPTCONFLT2
	YDB_ERR_ENDIANCVT             = C.YDB_ERR_ENDIANCVT
	YDB_ERR_ENOSPCQIODEFER        = C.YDB_ERR_ENOSPCQIODEFER
	YDB_ERR_ENQ                   = C.YDB_ERR_ENQ
	YDB_ERR_EORNOTFND             = C.YDB_ERR_EORNOTFND
	YDB_ERR_EPOCHTNHI             = C.YDB_ERR_EPOCHTNHI
	YDB_ERR_EQUAL                 = C.YDB_ERR_EQUAL
	YDB_ERR_ERRCALL               = C.YDB_ERR_ERRCALL
	YDB_ERR_ERRORSUMMARY          = C.YDB_ERR_ERRORSUMMARY
	YDB_ERR_ERRWETRAP             = C.YDB_ERR_ERRWETRAP
	YDB_ERR_ERRWEXC               = C.YDB_ERR_ERRWEXC
	YDB_ERR_ERRWIOEXC             = C.YDB_ERR_ERRWIOEXC
	YDB_ERR_ERRWZBRK              = C.YDB_ERR_ERRWZBRK
	YDB_ERR_ERRWZINTR             = C.YDB_ERR_ERRWZINTR
	YDB_ERR_ERRWZTIMEOUT          = C.YDB_ERR_ERRWZTIMEOUT
	YDB_ERR_ERRWZTRAP             = C.YDB_ERR_ERRWZTRAP
	YDB_ERR_EVENTLOGERR           = C.YDB_ERR_EVENTLOGERR
	YDB_ERR_EXCEEDRCTLRNDWN       = C.YDB_ERR_EXCEEDRCTLRNDWN
	YDB_ERR_EXCEEDSPREALLOC       = C.YDB_ERR_EXCEEDSPREALLOC
	YDB_ERR_EXCLUDEREORG          = C.YDB_ERR_EXCLUDEREORG
	YDB_ERR_EXITSTATUS            = C.YDB_ERR_EXITSTATUS
	YDB_ERR_EXPR                  = C.YDB_ERR_EXPR
	YDB_ERR_EXTCALLBOUNDS         = C.YDB_ERR_EXTCALLBOUNDS
	YDB_ERR_EXTGBLDEL             = C.YDB_ERR_EXTGBLDEL
	YDB_ERR_EXTRACTCTRLY          = C.YDB_ERR_EXTRACTCTRLY
	YDB_ERR_EXTRACTFILERR         = C.YDB_ERR_EXTRACTFILERR
	YDB_ERR_EXTRFAIL              = C.YDB_ERR_EXTRFAIL
	YDB_ERR_EXTRFILEXISTS         = C.YDB_ERR_EXTRFILEXISTS
	YDB_ERR_EXTRFMT               = C.YDB_ERR_EXTRFMT
	YDB_ERR_EXTRINTEGRITY         = C.YDB_ERR_EXTRINTEGRITY
	YDB_ERR_EXTSRCLIN             = C.YDB_ERR_EXTSRCLIN
	YDB_ERR_EXTSRCLOC             = C.YDB_ERR_EXTSRCLOC
	YDB_ERR_FAILEDRECCOUNT        = C.YDB_ERR_FAILEDRECCOUNT
	YDB_ERR_FAKENOSPCLEARED       = C.YDB_ERR_FAKENOSPCLEARED
	YDB_ERR_FALLINTOFLST          = C.YDB_ERR_FALLINTOFLST
	YDB_ERR_FATALERROR1           = C.YDB_ERR_FATALERROR1
	YDB_ERR_FATALERROR2           = C.YDB_ERR_FATALERROR2
	YDB_ERR_FCHARMAXARGS          = C.YDB_ERR_FCHARMAXARGS
	YDB_ERR_FCNSVNEXPECTED        = C.YDB_ERR_FCNSVNEXPECTED
	YDB_ERR_FDSIZELMT             = C.YDB_ERR_FDSIZELMT
	YDB_ERR_FILECREATE            = C.YDB_ERR_FILECREATE
	YDB_ERR_FILECREERR            = C.YDB_ERR_FILECREERR
	YDB_ERR_FILEDEL               = C.YDB_ERR_FILEDEL
	YDB_ERR_FILEDELFAIL           = C.YDB_ERR_FILEDELFAIL
	YDB_ERR_FILEEXISTS            = C.YDB_ERR_FILEEXISTS
	YDB_ERR_FILEIDGBLSEC          = C.YDB_ERR_FILEIDGBLSEC
	YDB_ERR_FILEIDMATCH           = C.YDB_ERR_FILEIDMATCH
	YDB_ERR_FILENAMETOOLONG       = C.YDB_ERR_FILENAMETOOLONG
	YDB_ERR_FILENOTCREATE         = C.YDB_ERR_FILENOTCREATE
	YDB_ERR_FILENOTFND            = C.YDB_ERR_FILENOTFND
	YDB_ERR_FILEOPENFAIL          = C.YDB_ERR_FILEOPENFAIL
	YDB_ERR_FILEPARSE             = C.YDB_ERR_FILEPARSE
	YDB_ERR_FILEPATHTOOLONG       = C.YDB_ERR_FILEPATHTOOLONG
	YDB_ERR_FILERENAME            = C.YDB_ERR_FILERENAME
	YDB_ERR_FILTERBADCONV         = C.YDB_ERR_FILTERBADCONV
	YDB_ERR_FILTERCOMM            = C.YDB_ERR_FILTERCOMM
	YDB_ERR_FILTERNOTALIVE        = C.YDB_ERR_FILTERNOTALIVE
	YDB_ERR_FILTERTIMEDOUT        = C.YDB_ERR_FILTERTIMEDOUT
	YDB_ERR_FMLLSTMISSING         = C.YDB_ERR_FMLLSTMISSING
	YDB_ERR_FNARGINC              = C.YDB_ERR_FNARGINC
	YDB_ERR_FNNAMENEG             = C.YDB_ERR_FNNAMENEG
	YDB_ERR_FNOTONSYS             = C.YDB_ERR_FNOTONSYS
	YDB_ERR_FNTRANSERROR          = C.YDB_ERR_FNTRANSERROR
	YDB_ERR_FNUMARG               = C.YDB_ERR_FNUMARG
	YDB_ERR_FORCEDHALT            = C.YDB_ERR_FORCEDHALT
	YDB_ERR_FORCEDHALT2           = C.YDB_ERR_FORCEDHALT2
	YDB_ERR_FOROFLOW              = C.YDB_ERR_FOROFLOW
	YDB_ERR_FREEBLKSLOW           = C.YDB_ERR_FREEBLKSLOW
	YDB_ERR_FREEMEMORY            = C.YDB_ERR_FREEMEMORY
	YDB_ERR_FREEZE                = C.YDB_ERR_FREEZE
	YDB_ERR_FREEZECTRL            = C.YDB_ERR_FREEZECTRL
	YDB_ERR_FREEZEERR             = C.YDB_ERR_FREEZEERR
	YDB_ERR_FREEZEID              = C.YDB_ERR_FREEZEID
	YDB_ERR_FSEXP                 = C.YDB_ERR_FSEXP
	YDB_ERR_FSYNCTIMOUT           = C.YDB_ERR_FSYNCTIMOUT
	YDB_ERR_FTOKERR               = C.YDB_ERR_FTOKERR
	YDB_ERR_FTOKKEY               = C.YDB_ERR_FTOKKEY
	YDB_ERR_GBLEXPECTED           = C.YDB_ERR_GBLEXPECTED
	YDB_ERR_GBLMODFAIL            = C.YDB_ERR_GBLMODFAIL
	YDB_ERR_GBLNAME               = C.YDB_ERR_GBLNAME
	YDB_ERR_GBLNOEXIST            = C.YDB_ERR_GBLNOEXIST
	YDB_ERR_GBLNOMAPTOREG         = C.YDB_ERR_GBLNOMAPTOREG
	YDB_ERR_GBLOFLOW              = C.YDB_ERR_GBLOFLOW
	YDB_ERR_GBLSECNOTGDS          = C.YDB_ERR_GBLSECNOTGDS
	YDB_ERR_GDINVALID             = C.YDB_ERR_GDINVALID
	YDB_ERR_GETADDRINFO           = C.YDB_ERR_GETADDRINFO
	YDB_ERR_GETNAMEINFO           = C.YDB_ERR_GETNAMEINFO
	YDB_ERR_GETSOCKNAMERR         = C.YDB_ERR_GETSOCKNAMERR
	YDB_ERR_GETSOCKOPTERR         = C.YDB_ERR_GETSOCKOPTERR
	YDB_ERR_GOQPREC               = C.YDB_ERR_GOQPREC
	YDB_ERR_GTMASSERT             = C.YDB_ERR_GTMASSERT
	YDB_ERR_GTMASSERT2            = C.YDB_ERR_GTMASSERT2
	YDB_ERR_GTMCHECK              = C.YDB_ERR_GTMCHECK
	YDB_ERR_GTMCURUNSUPP          = C.YDB_ERR_GTMCURUNSUPP
	YDB_ERR_GTMEISDIR             = C.YDB_ERR_GTMEISDIR
	YDB_ERR_GTMSECSHR             = C.YDB_ERR_GTMSECSHR
	YDB_ERR_GTMSECSHRBADDIR       = C.YDB_ERR_GTMSECSHRBADDIR
	YDB_ERR_GTMSECSHRCHDIRF       = C.YDB_ERR_GTMSECSHRCHDIRF
	YDB_ERR_GTMSECSHRDMNSTARTED   = C.YDB_ERR_GTMSECSHRDMNSTARTED
	YDB_ERR_GTMSECSHRFORKF        = C.YDB_ERR_GTMSECSHRFORKF
	YDB_ERR_GTMSECSHRGETSEMFAIL   = C.YDB_ERR_GTMSECSHRGETSEMFAIL
	YDB_ERR_GTMSECSHRISNOT        = C.YDB_ERR_GTMSECSHRISNOT
	YDB_ERR_GTMSECSHRNOARG0       = C.YDB_ERR_GTMSECSHRNOARG0
	YDB_ERR_GTMSECSHROPCMP        = C.YDB_ERR_GTMSECSHROPCMP
	YDB_ERR_GTMSECSHRPERM         = C.YDB_ERR_GTMSECSHRPERM
	YDB_ERR_GTMSECSHRRECVF        = C.YDB_ERR_GTMSECSHRRECVF
	YDB_ERR_GTMSECSHRREMFILE      = C.YDB_ERR_GTMSECSHRREMFILE
	YDB_ERR_GTMSECSHRREMSEM       = C.YDB_ERR_GTMSECSHRREMSEM
	YDB_ERR_GTMSECSHRREMSEMFAIL   = C.YDB_ERR_GTMSECSHRREMSEMFAIL
	YDB_ERR_GTMSECSHRREMSHM       = C.YDB_ERR_GTMSECSHRREMSHM
	YDB_ERR_GTMSECSHRSCKSEL       = C.YDB_ERR_GTMSECSHRSCKSEL
	YDB_ERR_GTMSECSHRSEMGET       = C.YDB_ERR_GTMSECSHRSEMGET
	YDB_ERR_GTMSECSHRSENDF        = C.YDB_ERR_GTMSECSHRSENDF
	YDB_ERR_GTMSECSHRSGIDF        = C.YDB_ERR_GTMSECSHRSGIDF
	YDB_ERR_GTMSECSHRSHMCONCPROC  = C.YDB_ERR_GTMSECSHRSHMCONCPROC
	YDB_ERR_GTMSECSHRSHUTDN       = C.YDB_ERR_GTMSECSHRSHUTDN
	YDB_ERR_GTMSECSHRSOCKET       = C.YDB_ERR_GTMSECSHRSOCKET
	YDB_ERR_GTMSECSHRSRVF         = C.YDB_ERR_GTMSECSHRSRVF
	YDB_ERR_GTMSECSHRSRVFID       = C.YDB_ERR_GTMSECSHRSRVFID
	YDB_ERR_GTMSECSHRSRVFIL       = C.YDB_ERR_GTMSECSHRSRVFIL
	YDB_ERR_GTMSECSHRSSIDF        = C.YDB_ERR_GTMSECSHRSSIDF
	YDB_ERR_GTMSECSHRSTART        = C.YDB_ERR_GTMSECSHRSTART
	YDB_ERR_GTMSECSHRSUIDF        = C.YDB_ERR_GTMSECSHRSUIDF
	YDB_ERR_GTMSECSHRTMOUT        = C.YDB_ERR_GTMSECSHRTMOUT
	YDB_ERR_GTMSECSHRTMPPATH      = C.YDB_ERR_GTMSECSHRTMPPATH
	YDB_ERR_GTMSECSHRUPDDBHDR     = C.YDB_ERR_GTMSECSHRUPDDBHDR
	YDB_ERR_GVDATAFAIL            = C.YDB_ERR_GVDATAFAIL
	YDB_ERR_GVDATAGETFAIL         = C.YDB_ERR_GVDATAGETFAIL
	YDB_ERR_GVDBGNAKEDMISMATCH    = C.YDB_ERR_GVDBGNAKEDMISMATCH
	YDB_ERR_GVDBGNAKEDUNSET       = C.YDB_ERR_GVDBGNAKEDUNSET
	YDB_ERR_GVFAILCORE            = C.YDB_ERR_GVFAILCORE
	YDB_ERR_GVGETFAIL             = C.YDB_ERR_GVGETFAIL
	YDB_ERR_GVINCRFAIL            = C.YDB_ERR_GVINCRFAIL
	YDB_ERR_GVINCRISOLATION       = C.YDB_ERR_GVINCRISOLATION
	YDB_ERR_GVINVALID             = C.YDB_ERR_GVINVALID
	YDB_ERR_GVIS                  = C.YDB_ERR_GVIS
	YDB_ERR_GVKILLFAIL            = C.YDB_ERR_GVKILLFAIL
	YDB_ERR_GVNAKED               = C.YDB_ERR_GVNAKED
	YDB_ERR_GVNAKEDEXTNM          = C.YDB_ERR_GVNAKEDEXTNM
	YDB_ERR_GVNEXTARG             = C.YDB_ERR_GVNEXTARG
	YDB_ERR_GVNUNSUPPORTED        = C.YDB_ERR_GVNUNSUPPORTED
	YDB_ERR_GVORDERFAIL           = C.YDB_ERR_GVORDERFAIL
	YDB_ERR_GVPUTFAIL             = C.YDB_ERR_GVPUTFAIL
	YDB_ERR_GVQUERYFAIL           = C.YDB_ERR_GVQUERYFAIL
	YDB_ERR_GVQUERYGETFAIL        = C.YDB_ERR_GVQUERYGETFAIL
	YDB_ERR_GVREPLERR             = C.YDB_ERR_GVREPLERR
	YDB_ERR_GVRUNDOWN             = C.YDB_ERR_GVRUNDOWN
	YDB_ERR_GVSUBOFLOW            = C.YDB_ERR_GVSUBOFLOW
	YDB_ERR_GVUNDEF               = C.YDB_ERR_GVUNDEF
	YDB_ERR_GVZPREVFAIL           = C.YDB_ERR_GVZPREVFAIL
	YDB_ERR_GVZTRIGFAIL           = C.YDB_ERR_GVZTRIGFAIL
	YDB_ERR_HEX64ERR              = C.YDB_ERR_HEX64ERR
	YDB_ERR_HEXERR                = C.YDB_ERR_HEXERR
	YDB_ERR_HLPPROC               = C.YDB_ERR_HLPPROC
	YDB_ERR_HOSTCONFLICT          = C.YDB_ERR_HOSTCONFLICT
	YDB_ERR_HTOFLOW               = C.YDB_ERR_HTOFLOW
	YDB_ERR_HTSHRINKFAIL          = C.YDB_ERR_HTSHRINKFAIL
	YDB_ERR_ICUERROR              = C.YDB_ERR_ICUERROR
	YDB_ERR_ICUNOTENABLED         = C.YDB_ERR_ICUNOTENABLED
	YDB_ERR_ICUSYMNOTFOUND        = C.YDB_ERR_ICUSYMNOTFOUND
	YDB_ERR_ICUVERLT36            = C.YDB_ERR_ICUVERLT36
	YDB_ERR_IFBADPARM             = C.YDB_ERR_IFBADPARM
	YDB_ERR_IFNOTINIT             = C.YDB_ERR_IFNOTINIT
	YDB_ERR_IGNBMPMRKFREE         = C.YDB_ERR_IGNBMPMRKFREE
	YDB_ERR_ILLESOCKBFSIZE        = C.YDB_ERR_ILLESOCKBFSIZE
	YDB_ERR_INDEXTRACHARS         = C.YDB_ERR_INDEXTRACHARS
	YDB_ERR_INDRCOMPFAIL          = C.YDB_ERR_INDRCOMPFAIL
	YDB_ERR_INDRMAXLEN            = C.YDB_ERR_INDRMAXLEN
	YDB_ERR_INITORRESUME          = C.YDB_ERR_INITORRESUME
	YDB_ERR_INSNOTJOINED          = C.YDB_ERR_INSNOTJOINED
	YDB_ERR_INSROLECHANGE         = C.YDB_ERR_INSROLECHANGE
	YDB_ERR_INSTFRZDEFER          = C.YDB_ERR_INSTFRZDEFER
	YDB_ERR_INSUFFSUBS            = C.YDB_ERR_INSUFFSUBS
	YDB_ERR_INSUNKNOWN            = C.YDB_ERR_INSUNKNOWN
	YDB_ERR_INTEGERRS             = C.YDB_ERR_INTEGERRS
	YDB_ERR_INVACCMETHOD          = C.YDB_ERR_INVACCMETHOD
	YDB_ERR_INVADDRSPEC           = C.YDB_ERR_INVADDRSPEC
	YDB_ERR_INVALIDRIP            = C.YDB_ERR_INVALIDRIP
	YDB_ERR_INVBITLEN             = C.YDB_ERR_INVBITLEN
	YDB_ERR_INVBITPOS             = C.YDB_ERR_INVBITPOS
	YDB_ERR_INVBITSTR             = C.YDB_ERR_INVBITSTR
	YDB_ERR_INVCMD                = C.YDB_ERR_INVCMD
	YDB_ERR_INVCTLMNE             = C.YDB_ERR_INVCTLMNE
	YDB_ERR_INVDBGLVL             = C.YDB_ERR_INVDBGLVL
	YDB_ERR_INVDLRCVAL            = C.YDB_ERR_INVDLRCVAL
	YDB_ERR_INVECODEVAL           = C.YDB_ERR_INVECODEVAL
	YDB_ERR_INVERRORLIM           = C.YDB_ERR_INVERRORLIM
	YDB_ERR_INVFCN                = C.YDB_ERR_INVFCN
	YDB_ERR_INVGLOBALQUAL         = C.YDB_ERR_INVGLOBALQUAL
	YDB_ERR_INVGVPATQUAL          = C.YDB_ERR_INVGVPATQUAL
	YDB_ERR_INVIDQUAL             = C.YDB_ERR_INVIDQUAL
	YDB_ERR_INVLINKTMPDIR         = C.YDB_ERR_INVLINKTMPDIR
	YDB_ERR_INVLNPAIRLIST         = C.YDB_ERR_INVLNPAIRLIST
	YDB_ERR_INVLOCALE             = C.YDB_ERR_INVLOCALE
	YDB_ERR_INVMAINLANG           = C.YDB_ERR_INVMAINLANG
	YDB_ERR_INVMEMRESRV           = C.YDB_ERR_INVMEMRESRV
	YDB_ERR_INVMNEMCSPC           = C.YDB_ERR_INVMNEMCSPC
	YDB_ERR_INVMVXSZ              = C.YDB_ERR_INVMVXSZ
	YDB_ERR_INVNAMECOUNT          = C.YDB_ERR_INVNAMECOUNT
	YDB_ERR_INVNETFILNM           = C.YDB_ERR_INVNETFILNM
	YDB_ERR_INVOBJ                = C.YDB_ERR_INVOBJ
	YDB_ERR_INVOBJFILE            = C.YDB_ERR_INVOBJFILE
	YDB_ERR_INVPORTSPEC           = C.YDB_ERR_INVPORTSPEC
	YDB_ERR_INVQUALTIME           = C.YDB_ERR_INVQUALTIME
	YDB_ERR_INVREDIRQUAL          = C.YDB_ERR_INVREDIRQUAL
	YDB_ERR_INVROLLBKLVL          = C.YDB_ERR_INVROLLBKLVL
	YDB_ERR_INVSEQNOQUAL          = C.YDB_ERR_INVSEQNOQUAL
	YDB_ERR_INVSHUTDOWN           = C.YDB_ERR_INVSHUTDOWN
	YDB_ERR_INVSPECREC            = C.YDB_ERR_INVSPECREC
	YDB_ERR_INVSTACODE            = C.YDB_ERR_INVSTACODE
	YDB_ERR_INVSTATSDB            = C.YDB_ERR_INVSTATSDB
	YDB_ERR_INVSTRLEN             = C.YDB_ERR_INVSTRLEN
	YDB_ERR_INVSVN                = C.YDB_ERR_INVSVN
	YDB_ERR_INVTMPDIR             = C.YDB_ERR_INVTMPDIR
	YDB_ERR_INVTPTRANS            = C.YDB_ERR_INVTPTRANS
	YDB_ERR_INVTRCGRP             = C.YDB_ERR_INVTRCGRP
	YDB_ERR_INVTRNSQUAL           = C.YDB_ERR_INVTRNSQUAL
	YDB_ERR_INVVALUE              = C.YDB_ERR_INVVALUE
	YDB_ERR_INVVARNAME            = C.YDB_ERR_INVVARNAME
	YDB_ERR_INVYDBEXIT            = C.YDB_ERR_INVYDBEXIT
	YDB_ERR_INVZBREAK             = C.YDB_ERR_INVZBREAK
	YDB_ERR_INVZCONVERT           = C.YDB_ERR_INVZCONVERT
	YDB_ERR_INVZDIRFORM           = C.YDB_ERR_INVZDIRFORM
	YDB_ERR_INVZROENT             = C.YDB_ERR_INVZROENT
	YDB_ERR_INVZSTEP              = C.YDB_ERR_INVZSTEP
	YDB_ERR_IOEOF                 = C.YDB_ERR_IOEOF
	YDB_ERR_IOERROR               = C.YDB_ERR_IOERROR
	YDB_ERR_IONOTOPEN             = C.YDB_ERR_IONOTOPEN
	YDB_ERR_IORUNDOWN             = C.YDB_ERR_IORUNDOWN
	YDB_ERR_IOWRITERR             = C.YDB_ERR_IOWRITERR
	YDB_ERR_IPCNOTDEL             = C.YDB_ERR_IPCNOTDEL
	YDB_ERR_ISOLATIONSTSCHN       = C.YDB_ERR_ISOLATIONSTSCHN
	YDB_ERR_ISSPANGBL             = C.YDB_ERR_ISSPANGBL
	YDB_ERR_ISVSUBSCRIPTED        = C.YDB_ERR_ISVSUBSCRIPTED
	YDB_ERR_ISVUNSUPPORTED        = C.YDB_ERR_ISVUNSUPPORTED
	YDB_ERR_JANSSONDLERROR        = C.YDB_ERR_JANSSONDLERROR
	YDB_ERR_JANSSONENCODEERROR    = C.YDB_ERR_JANSSONENCODEERROR
	YDB_ERR_JANSSONINVALIDJSON    = C.YDB_ERR_JANSSONINVALIDJSON
	YDB_ERR_JIUNHNDINT            = C.YDB_ERR_JIUNHNDINT
	YDB_ERR_JNI                   = C.YDB_ERR_JNI
	YDB_ERR_JNLACCESS             = C.YDB_ERR_JNLACCESS
	YDB_ERR_JNLACTINCMPLT         = C.YDB_ERR_JNLACTINCMPLT
	YDB_ERR_JNLALIGNSZCHG         = C.YDB_ERR_JNLALIGNSZCHG
	YDB_ERR_JNLALIGNTOOSM         = C.YDB_ERR_JNLALIGNTOOSM
	YDB_ERR_JNLALLOCGROW          = C.YDB_ERR_JNLALLOCGROW
	YDB_ERR_JNLBADLABEL           = C.YDB_ERR_JNLBADLABEL
	YDB_ERR_JNLBADRECFMT          = C.YDB_ERR_JNLBADRECFMT
	YDB_ERR_JNLBUFFDBUPD          = C.YDB_ERR_JNLBUFFDBUPD
	YDB_ERR_JNLBUFFPHS2SALVAGE    = C.YDB_ERR_JNLBUFFPHS2SALVAGE
	YDB_ERR_JNLBUFFREGUPD         = C.YDB_ERR_JNLBUFFREGUPD
	YDB_ERR_JNLBUFINFO            = C.YDB_ERR_JNLBUFINFO
	YDB_ERR_JNLCLOSE              = C.YDB_ERR_JNLCLOSE
	YDB_ERR_JNLCLOSED             = C.YDB_ERR_JNLCLOSED
	YDB_ERR_JNLCNTRL              = C.YDB_ERR_JNLCNTRL
	YDB_ERR_JNLCREATE             = C.YDB_ERR_JNLCREATE
	YDB_ERR_JNLCRESTATUS          = C.YDB_ERR_JNLCRESTATUS
	YDB_ERR_JNLCYCLE              = C.YDB_ERR_JNLCYCLE
	YDB_ERR_JNLDBERR              = C.YDB_ERR_JNLDBERR
	YDB_ERR_JNLDBSEQNOMATCH       = C.YDB_ERR_JNLDBSEQNOMATCH
	YDB_ERR_JNLDBTNNOMATCH        = C.YDB_ERR_JNLDBTNNOMATCH
	YDB_ERR_JNLDISABLE            = C.YDB_ERR_JNLDISABLE
	YDB_ERR_JNLENDIANBIG          = C.YDB_ERR_JNLENDIANBIG
	YDB_ERR_JNLENDIANLITTLE       = C.YDB_ERR_JNLENDIANLITTLE
	YDB_ERR_JNLEXTEND             = C.YDB_ERR_JNLEXTEND
	YDB_ERR_JNLEXTR               = C.YDB_ERR_JNLEXTR
	YDB_ERR_JNLEXTRCTSEQNO        = C.YDB_ERR_JNLEXTRCTSEQNO
	YDB_ERR_JNLFILECLOSERR        = C.YDB_ERR_JNLFILECLOSERR
	YDB_ERR_JNLFILEDUP            = C.YDB_ERR_JNLFILEDUP
	YDB_ERR_JNLFILEOPNERR         = C.YDB_ERR_JNLFILEOPNERR
	YDB_ERR_JNLFILEXTERR          = C.YDB_ERR_JNLFILEXTERR
	YDB_ERR_JNLFILNOTCHG          = C.YDB_ERR_JNLFILNOTCHG
	YDB_ERR_JNLFILOPN             = C.YDB_ERR_JNLFILOPN
	YDB_ERR_JNLFILRDOPN           = C.YDB_ERR_JNLFILRDOPN
	YDB_ERR_JNLFLUSH              = C.YDB_ERR_JNLFLUSH
	YDB_ERR_JNLFLUSHNOPROG        = C.YDB_ERR_JNLFLUSHNOPROG
	YDB_ERR_JNLFNF                = C.YDB_ERR_JNLFNF
	YDB_ERR_JNLFSYNCERR           = C.YDB_ERR_JNLFSYNCERR
	YDB_ERR_JNLFSYNCLSTCK         = C.YDB_ERR_JNLFSYNCLSTCK
	YDB_ERR_JNLINVALID            = C.YDB_ERR_JNLINVALID
	YDB_ERR_JNLINVALLOC           = C.YDB_ERR_JNLINVALLOC
	YDB_ERR_JNLINVEXT             = C.YDB_ERR_JNLINVEXT
	YDB_ERR_JNLINVSWITCHLMT       = C.YDB_ERR_JNLINVSWITCHLMT
	YDB_ERR_JNLMINALIGN           = C.YDB_ERR_JNLMINALIGN
	YDB_ERR_JNLMOVED              = C.YDB_ERR_JNLMOVED
	YDB_ERR_JNLNEWREC             = C.YDB_ERR_JNLNEWREC
	YDB_ERR_JNLNMBKNOTPRCD        = C.YDB_ERR_JNLNMBKNOTPRCD
	YDB_ERR_JNLNOBIJBACK          = C.YDB_ERR_JNLNOBIJBACK
	YDB_ERR_JNLNOCREATE           = C.YDB_ERR_JNLNOCREATE
	YDB_ERR_JNLNOREPL             = C.YDB_ERR_JNLNOREPL
	YDB_ERR_JNLOPNERR             = C.YDB_ERR_JNLOPNERR
	YDB_ERR_JNLORDBFLU            = C.YDB_ERR_JNLORDBFLU
	YDB_ERR_JNLPOOLBADSLOT        = C.YDB_ERR_JNLPOOLBADSLOT
	YDB_ERR_JNLPOOLPHS2SALVAGE    = C.YDB_ERR_JNLPOOLPHS2SALVAGE
	YDB_ERR_JNLPOOLRECOVERY       = C.YDB_ERR_JNLPOOLRECOVERY
	YDB_ERR_JNLPOOLSETUP          = C.YDB_ERR_JNLPOOLSETUP
	YDB_ERR_JNLPREVRECOV          = C.YDB_ERR_JNLPREVRECOV
	YDB_ERR_JNLPROCSTUCK          = C.YDB_ERR_JNLPROCSTUCK
	YDB_ERR_JNLPVTINFO            = C.YDB_ERR_JNLPVTINFO
	YDB_ERR_JNLQIOSALVAGE         = C.YDB_ERR_JNLQIOSALVAGE
	YDB_ERR_JNLRDERR              = C.YDB_ERR_JNLRDERR
	YDB_ERR_JNLRDONLY             = C.YDB_ERR_JNLRDONLY
	YDB_ERR_JNLREAD               = C.YDB_ERR_JNLREAD
	YDB_ERR_JNLREADBOF            = C.YDB_ERR_JNLREADBOF
	YDB_ERR_JNLREADEOF            = C.YDB_ERR_JNLREADEOF
	YDB_ERR_JNLRECFMT             = C.YDB_ERR_JNLRECFMT
	YDB_ERR_JNLRECINCMPL          = C.YDB_ERR_JNLRECINCMPL
	YDB_ERR_JNLRECTYPE            = C.YDB_ERR_JNLRECTYPE
	YDB_ERR_JNLREQUIRED           = C.YDB_ERR_JNLREQUIRED
	YDB_ERR_JNLSENDOPER           = C.YDB_ERR_JNLSENDOPER
	YDB_ERR_JNLSETDATA2LONG       = C.YDB_ERR_JNLSETDATA2LONG
	YDB_ERR_JNLSPACELOW           = C.YDB_ERR_JNLSPACELOW
	YDB_ERR_JNLSTATE              = C.YDB_ERR_JNLSTATE
	YDB_ERR_JNLSTATEOFF           = C.YDB_ERR_JNLSTATEOFF
	YDB_ERR_JNLSUCCESS            = C.YDB_ERR_JNLSUCCESS
	YDB_ERR_JNLSWITCHFAIL         = C.YDB_ERR_JNLSWITCHFAIL
	YDB_ERR_JNLSWITCHRETRY        = C.YDB_ERR_JNLSWITCHRETRY
	YDB_ERR_JNLSWITCHSZCHG        = C.YDB_ERR_JNLSWITCHSZCHG
	YDB_ERR_JNLSWITCHTOOSM        = C.YDB_ERR_JNLSWITCHTOOSM
	YDB_ERR_JNLTMQUAL1            = C.YDB_ERR_JNLTMQUAL1
	YDB_ERR_JNLTMQUAL2            = C.YDB_ERR_JNLTMQUAL2
	YDB_ERR_JNLTMQUAL3            = C.YDB_ERR_JNLTMQUAL3
	YDB_ERR_JNLTMQUAL4            = C.YDB_ERR_JNLTMQUAL4
	YDB_ERR_JNLTNOUTOFSEQ         = C.YDB_ERR_JNLTNOUTOFSEQ
	YDB_ERR_JNLTPNEST             = C.YDB_ERR_JNLTPNEST
	YDB_ERR_JNLTRANS2BIG          = C.YDB_ERR_JNLTRANS2BIG
	YDB_ERR_JNLTRANSGTR           = C.YDB_ERR_JNLTRANSGTR
	YDB_ERR_JNLTRANSLSS           = C.YDB_ERR_JNLTRANSLSS
	YDB_ERR_JNLUNXPCTERR          = C.YDB_ERR_JNLUNXPCTERR
	YDB_ERR_JNLVSIZE              = C.YDB_ERR_JNLVSIZE
	YDB_ERR_JNLWRERR              = C.YDB_ERR_JNLWRERR
	YDB_ERR_JNLWRTDEFER           = C.YDB_ERR_JNLWRTDEFER
	YDB_ERR_JNLWRTNOWWRTR         = C.YDB_ERR_JNLWRTNOWWRTR
	YDB_ERR_JOBACTREF             = C.YDB_ERR_JOBACTREF
	YDB_ERR_JOBEXAMDONE           = C.YDB_ERR_JOBEXAMDONE
	YDB_ERR_JOBEXAMFAIL           = C.YDB_ERR_JOBEXAMFAIL
	YDB_ERR_JOBFAIL               = C.YDB_ERR_JOBFAIL
	YDB_ERR_JOBINTRRETHROW        = C.YDB_ERR_JOBINTRRETHROW
	YDB_ERR_JOBINTRRQST           = C.YDB_ERR_JOBINTRRQST
	YDB_ERR_JOBLABOFF             = C.YDB_ERR_JOBLABOFF
	YDB_ERR_JOBLVN2LONG           = C.YDB_ERR_JOBLVN2LONG
	YDB_ERR_JOBPARNOVAL           = C.YDB_ERR_JOBPARNOVAL
	YDB_ERR_JOBPARNUM             = C.YDB_ERR_JOBPARNUM
	YDB_ERR_JOBPARSTR             = C.YDB_ERR_JOBPARSTR
	YDB_ERR_JOBPARTOOLONG         = C.YDB_ERR_JOBPARTOOLONG
	YDB_ERR_JOBPARUNK             = C.YDB_ERR_JOBPARUNK
	YDB_ERR_JOBPARVALREQ          = C.YDB_ERR_JOBPARVALREQ
	YDB_ERR_JOBSETUP              = C.YDB_ERR_JOBSETUP
	YDB_ERR_JOBSTARTCMDFAIL       = C.YDB_ERR_JOBSTARTCMDFAIL
	YDB_ERR_JRTNULLFAIL           = C.YDB_ERR_JRTNULLFAIL
	YDB_ERR_JUSTFRACT             = C.YDB_ERR_JUSTFRACT
	YDB_ERR_KEY2BIG               = C.YDB_ERR_KEY2BIG
	YDB_ERR_KILLABANDONED         = C.YDB_ERR_KILLABANDONED
	YDB_ERR_KILLBYSIG             = C.YDB_ERR_KILLBYSIG
	YDB_ERR_KILLBYSIGSINFO1       = C.YDB_ERR_KILLBYSIGSINFO1
	YDB_ERR_KILLBYSIGSINFO2       = C.YDB_ERR_KILLBYSIGSINFO2
	YDB_ERR_KILLBYSIGSINFO3       = C.YDB_ERR_KILLBYSIGSINFO3
	YDB_ERR_KILLBYSIGUINFO        = C.YDB_ERR_KILLBYSIGUINFO
	YDB_ERR_KRNLKILL              = C.YDB_ERR_KRNLKILL
	YDB_ERR_LABELEXPECTED         = C.YDB_ERR_LABELEXPECTED
	YDB_ERR_LABELMISSING          = C.YDB_ERR_LABELMISSING
	YDB_ERR_LABELNOTFND           = C.YDB_ERR_LABELNOTFND
	YDB_ERR_LABELONLY             = C.YDB_ERR_LABELONLY
	YDB_ERR_LABELUNKNOWN          = C.YDB_ERR_LABELUNKNOWN
	YDB_ERR_LASTFILCMPLD          = C.YDB_ERR_LASTFILCMPLD
	YDB_ERR_LASTTRANS             = C.YDB_ERR_LASTTRANS
	YDB_ERR_LASTWRITERBYPAS       = C.YDB_ERR_LASTWRITERBYPAS
	YDB_ERR_LCKGONE               = C.YDB_ERR_LCKGONE
	YDB_ERR_LCKSCANCELLED         = C.YDB_ERR_LCKSCANCELLED
	YDB_ERR_LCKSGONE              = C.YDB_ERR_LCKSGONE
	YDB_ERR_LCKSTIMOUT            = C.YDB_ERR_LCKSTIMOUT
	YDB_ERR_LDBINFMT              = C.YDB_ERR_LDBINFMT
	YDB_ERR_LDGOQFMT              = C.YDB_ERR_LDGOQFMT
	YDB_ERR_LDSPANGLOINCMP        = C.YDB_ERR_LDSPANGLOINCMP
	YDB_ERR_LIBYOTTAMISMTCH       = C.YDB_ERR_LIBYOTTAMISMTCH
	YDB_ERR_LINETOOLONG           = C.YDB_ERR_LINETOOLONG
	YDB_ERR_LINKVERSION           = C.YDB_ERR_LINKVERSION
	YDB_ERR_LISTENPASSBND         = C.YDB_ERR_LISTENPASSBND
	YDB_ERR_LITNONGRAPH           = C.YDB_ERR_LITNONGRAPH
	YDB_ERR_LKENOFINISH           = C.YDB_ERR_LKENOFINISH
	YDB_ERR_LKNAMEXPECTED         = C.YDB_ERR_LKNAMEXPECTED
	YDB_ERR_LKRUNDOWN             = C.YDB_ERR_LKRUNDOWN
	YDB_ERR_LKSECINIT             = C.YDB_ERR_LKSECINIT
	YDB_ERR_LOADABORT             = C.YDB_ERR_LOADABORT
	YDB_ERR_LOADBGSZ              = C.YDB_ERR_LOADBGSZ
	YDB_ERR_LOADBGSZ2             = C.YDB_ERR_LOADBGSZ2
	YDB_ERR_LOADCTRLY             = C.YDB_ERR_LOADCTRLY
	YDB_ERR_LOADEDBG              = C.YDB_ERR_LOADEDBG
	YDB_ERR_LOADEDSZ              = C.YDB_ERR_LOADEDSZ
	YDB_ERR_LOADEDSZ2             = C.YDB_ERR_LOADEDSZ2
	YDB_ERR_LOADEOF               = C.YDB_ERR_LOADEOF
	YDB_ERR_LOADFILERR            = C.YDB_ERR_LOADFILERR
	YDB_ERR_LOADFMT               = C.YDB_ERR_LOADFMT
	YDB_ERR_LOADINVCHSET          = C.YDB_ERR_LOADINVCHSET
	YDB_ERR_LOADRECCNT            = C.YDB_ERR_LOADRECCNT
	YDB_ERR_LOADRUNNING           = C.YDB_ERR_LOADRUNNING
	YDB_ERR_LOCALSOCKREQ          = C.YDB_ERR_LOCALSOCKREQ
	YDB_ERR_LOCKCRITOWNER         = C.YDB_ERR_LOCKCRITOWNER
	YDB_ERR_LOCKINCR2HIGH         = C.YDB_ERR_LOCKINCR2HIGH
	YDB_ERR_LOCKIS                = C.YDB_ERR_LOCKIS
	YDB_ERR_LOCKSPACEFULL         = C.YDB_ERR_LOCKSPACEFULL
	YDB_ERR_LOCKSPACEINFO         = C.YDB_ERR_LOCKSPACEINFO
	YDB_ERR_LOCKSPACEUSE          = C.YDB_ERR_LOCKSPACEUSE
	YDB_ERR_LOCKSUB2LONG          = C.YDB_ERR_LOCKSUB2LONG
	YDB_ERR_LOCKTIMINGINTP        = C.YDB_ERR_LOCKTIMINGINTP
	YDB_ERR_LOGTOOLONG            = C.YDB_ERR_LOGTOOLONG
	YDB_ERR_LOWSPACECRE           = C.YDB_ERR_LOWSPACECRE
	YDB_ERR_LOWSPC                = C.YDB_ERR_LOWSPC
	YDB_ERR_LPARENMISSING         = C.YDB_ERR_LPARENMISSING
	YDB_ERR_LPARENREQD            = C.YDB_ERR_LPARENREQD
	YDB_ERR_LQLENGTHNA            = C.YDB_ERR_LQLENGTHNA
	YDB_ERR_LSEXPECTED            = C.YDB_ERR_LSEXPECTED
	YDB_ERR_LSINSERTED            = C.YDB_ERR_LSINSERTED
	YDB_ERR_LVMONBADVAL           = C.YDB_ERR_LVMONBADVAL
	YDB_ERR_LVNULLSUBS            = C.YDB_ERR_LVNULLSUBS
	YDB_ERR_LVORDERARG            = C.YDB_ERR_LVORDERARG
	YDB_ERR_LVUNDEF               = C.YDB_ERR_LVUNDEF
	YDB_ERR_MALLOCCRIT            = C.YDB_ERR_MALLOCCRIT
	YDB_ERR_MALLOCMAXUNIX         = C.YDB_ERR_MALLOCMAXUNIX
	YDB_ERR_MAXACTARG             = C.YDB_ERR_MAXACTARG
	YDB_ERR_MAXARGCNT             = C.YDB_ERR_MAXARGCNT
	YDB_ERR_MAXBTLEVEL            = C.YDB_ERR_MAXBTLEVEL
	YDB_ERR_MAXFORARGS            = C.YDB_ERR_MAXFORARGS
	YDB_ERR_MAXGTMPATH            = C.YDB_ERR_MAXGTMPATH
	YDB_ERR_MAXNRSUBSCRIPTS       = C.YDB_ERR_MAXNRSUBSCRIPTS
	YDB_ERR_MAXSEMGETRETRY        = C.YDB_ERR_MAXSEMGETRETRY
	YDB_ERR_MAXSSREACHED          = C.YDB_ERR_MAXSSREACHED
	YDB_ERR_MAXSTRLEN             = C.YDB_ERR_MAXSTRLEN
	YDB_ERR_MAXTRIGNEST           = C.YDB_ERR_MAXTRIGNEST
	YDB_ERR_MBXRDONLY             = C.YDB_ERR_MBXRDONLY
	YDB_ERR_MBXWRTONLY            = C.YDB_ERR_MBXWRTONLY
	YDB_ERR_MEMORY                = C.YDB_ERR_MEMORY
	YDB_ERR_MEMORYRECURSIVE       = C.YDB_ERR_MEMORYRECURSIVE
	YDB_ERR_MERGEDESC             = C.YDB_ERR_MERGEDESC
	YDB_ERR_MERGEINCOMPL          = C.YDB_ERR_MERGEINCOMPL
	YDB_ERR_MINNRSUBSCRIPTS       = C.YDB_ERR_MINNRSUBSCRIPTS
	YDB_ERR_MIXIMAGE              = C.YDB_ERR_MIXIMAGE
	YDB_ERR_MLKCLEANED            = C.YDB_ERR_MLKCLEANED
	YDB_ERR_MLKHASHRESIZE         = C.YDB_ERR_MLKHASHRESIZE
	YDB_ERR_MLKHASHRESIZEFAIL     = C.YDB_ERR_MLKHASHRESIZEFAIL
	YDB_ERR_MLKHASHTABERR         = C.YDB_ERR_MLKHASHTABERR
	YDB_ERR_MLKHASHWRONG          = C.YDB_ERR_MLKHASHWRONG
	YDB_ERR_MLKREHASH             = C.YDB_ERR_MLKREHASH
	YDB_ERR_MMBEFOREJNL           = C.YDB_ERR_MMBEFOREJNL
	YDB_ERR_MMFILETOOLARGE        = C.YDB_ERR_MMFILETOOLARGE
	YDB_ERR_MMNOBFORRPL           = C.YDB_ERR_MMNOBFORRPL
	YDB_ERR_MMNODYNDWNGRD         = C.YDB_ERR_MMNODYNDWNGRD
	YDB_ERR_MMNODYNUPGRD          = C.YDB_ERR_MMNODYNUPGRD
	YDB_ERR_MMREGNOACCESS         = C.YDB_ERR_MMREGNOACCESS
	YDB_ERR_MPROFRUNDOWN          = C.YDB_ERR_MPROFRUNDOWN
	YDB_ERR_MRTMAXEXCEEDED        = C.YDB_ERR_MRTMAXEXCEEDED
	YDB_ERR_MSTACKCRIT            = C.YDB_ERR_MSTACKCRIT
	YDB_ERR_MSTACKSZNA            = C.YDB_ERR_MSTACKSZNA
	YDB_ERR_MTANSIFOR             = C.YDB_ERR_MTANSIFOR
	YDB_ERR_MTANSILAB             = C.YDB_ERR_MTANSILAB
	YDB_ERR_MTBLKTOOBIG           = C.YDB_ERR_MTBLKTOOBIG
	YDB_ERR_MTBLKTOOSM            = C.YDB_ERR_MTBLKTOOSM
	YDB_ERR_MTDOSFOR              = C.YDB_ERR_MTDOSFOR
	YDB_ERR_MTDOSLAB              = C.YDB_ERR_MTDOSLAB
	YDB_ERR_MTFIXRECSZ            = C.YDB_ERR_MTFIXRECSZ
	YDB_ERR_MTINVLAB              = C.YDB_ERR_MTINVLAB
	YDB_ERR_MTIOERR               = C.YDB_ERR_MTIOERR
	YDB_ERR_MTIS                  = C.YDB_ERR_MTIS
	YDB_ERR_MTNOSKIP              = C.YDB_ERR_MTNOSKIP
	YDB_ERR_MTRDBADBLK            = C.YDB_ERR_MTRDBADBLK
	YDB_ERR_MTRDONLY              = C.YDB_ERR_MTRDONLY
	YDB_ERR_MTRDTHENWRT           = C.YDB_ERR_MTRDTHENWRT
	YDB_ERR_MTRECGTRBLK           = C.YDB_ERR_MTRECGTRBLK
	YDB_ERR_MTRECTOOBIG           = C.YDB_ERR_MTRECTOOBIG
	YDB_ERR_MTRECTOOSM            = C.YDB_ERR_MTRECTOOSM
	YDB_ERR_MUBCKNODIR            = C.YDB_ERR_MUBCKNODIR
	YDB_ERR_MUCREFILERR           = C.YDB_ERR_MUCREFILERR
	YDB_ERR_MUDESTROYFAIL         = C.YDB_ERR_MUDESTROYFAIL
	YDB_ERR_MUDESTROYSUC          = C.YDB_ERR_MUDESTROYSUC
	YDB_ERR_MUDWNGRDNOTPOS        = C.YDB_ERR_MUDWNGRDNOTPOS
	YDB_ERR_MUDWNGRDNRDY          = C.YDB_ERR_MUDWNGRDNRDY
	YDB_ERR_MUDWNGRDTN            = C.YDB_ERR_MUDWNGRDTN
	YDB_ERR_MUFILRNDWNFL          = C.YDB_ERR_MUFILRNDWNFL
	YDB_ERR_MUFILRNDWNFL2         = C.YDB_ERR_MUFILRNDWNFL2
	YDB_ERR_MUFILRNDWNSUC         = C.YDB_ERR_MUFILRNDWNSUC
	YDB_ERR_MUINFOSTR             = C.YDB_ERR_MUINFOSTR
	YDB_ERR_MUINFOUINT4           = C.YDB_ERR_MUINFOUINT4
	YDB_ERR_MUINFOUINT6           = C.YDB_ERR_MUINFOUINT6
	YDB_ERR_MUINFOUINT8           = C.YDB_ERR_MUINFOUINT8
	YDB_ERR_MUINSTFROZEN          = C.YDB_ERR_MUINSTFROZEN
	YDB_ERR_MUINSTUNFROZEN        = C.YDB_ERR_MUINSTUNFROZEN
	YDB_ERR_MUJNLPREVGEN          = C.YDB_ERR_MUJNLPREVGEN
	YDB_ERR_MUJNLSTAT             = C.YDB_ERR_MUJNLSTAT
	YDB_ERR_MUJPOOLRNDWNFL        = C.YDB_ERR_MUJPOOLRNDWNFL
	YDB_ERR_MUJPOOLRNDWNSUC       = C.YDB_ERR_MUJPOOLRNDWNSUC
	YDB_ERR_MUKEEPNODEC           = C.YDB_ERR_MUKEEPNODEC
	YDB_ERR_MUKEEPNOTRUNC         = C.YDB_ERR_MUKEEPNOTRUNC
	YDB_ERR_MUKEEPPERCENT         = C.YDB_ERR_MUKEEPPERCENT
	YDB_ERR_MUKILLIP              = C.YDB_ERR_MUKILLIP
	YDB_ERR_MULOGNAMEDEF          = C.YDB_ERR_MULOGNAMEDEF
	YDB_ERR_MULTFORMPARM          = C.YDB_ERR_MULTFORMPARM
	YDB_ERR_MULTIPROCLATCH        = C.YDB_ERR_MULTIPROCLATCH
	YDB_ERR_MULTLAB               = C.YDB_ERR_MULTLAB
	YDB_ERR_MUNOACTION            = C.YDB_ERR_MUNOACTION
	YDB_ERR_MUNODBNAME            = C.YDB_ERR_MUNODBNAME
	YDB_ERR_MUNODWNGRD            = C.YDB_ERR_MUNODWNGRD
	YDB_ERR_MUNOFINISH            = C.YDB_ERR_MUNOFINISH
	YDB_ERR_MUNOSTRMBKUP          = C.YDB_ERR_MUNOSTRMBKUP
	YDB_ERR_MUNOTALLINTEG         = C.YDB_ERR_MUNOTALLINTEG
	YDB_ERR_MUNOTALLSEC           = C.YDB_ERR_MUNOTALLSEC
	YDB_ERR_MUNOUPGRD             = C.YDB_ERR_MUNOUPGRD
	YDB_ERR_MUPCLIERR             = C.YDB_ERR_MUPCLIERR
	YDB_ERR_MUPGRDSUCC            = C.YDB_ERR_MUPGRDSUCC
	YDB_ERR_MUPIPINFO             = C.YDB_ERR_MUPIPINFO
	YDB_ERR_MUPIPSET2BIG          = C.YDB_ERR_MUPIPSET2BIG
	YDB_ERR_MUPIPSET2SML          = C.YDB_ERR_MUPIPSET2SML
	YDB_ERR_MUPIPSIG              = C.YDB_ERR_MUPIPSIG
	YDB_ERR_MUPJNLINTERRUPT       = C.YDB_ERR_MUPJNLINTERRUPT
	YDB_ERR_MUPRECFLLCK           = C.YDB_ERR_MUPRECFLLCK
	YDB_ERR_MUPRESTERR            = C.YDB_ERR_MUPRESTERR
	YDB_ERR_MUQUALINCOMP          = C.YDB_ERR_MUQUALINCOMP
	YDB_ERR_MURAIMGFAIL           = C.YDB_ERR_MURAIMGFAIL
	YDB_ERR_MUREENCRYPTEND        = C.YDB_ERR_MUREENCRYPTEND
	YDB_ERR_MUREENCRYPTSTART      = C.YDB_ERR_MUREENCRYPTSTART
	YDB_ERR_MUREENCRYPTV4NOALLOW  = C.YDB_ERR_MUREENCRYPTV4NOALLOW
	YDB_ERR_MUREORGFAIL           = C.YDB_ERR_MUREORGFAIL
	YDB_ERR_MUREPLPOOL            = C.YDB_ERR_MUREPLPOOL
	YDB_ERR_MUREPLSECDEL          = C.YDB_ERR_MUREPLSECDEL
	YDB_ERR_MUREPLSECNOTDEL       = C.YDB_ERR_MUREPLSECNOTDEL
	YDB_ERR_MUREUPDWNGRDEND       = C.YDB_ERR_MUREUPDWNGRDEND
	YDB_ERR_MURNDWNARGLESS        = C.YDB_ERR_MURNDWNARGLESS
	YDB_ERR_MURNDWNOVRD           = C.YDB_ERR_MURNDWNOVRD
	YDB_ERR_MURPOOLRNDWNFL        = C.YDB_ERR_MURPOOLRNDWNFL
	YDB_ERR_MURPOOLRNDWNSUC       = C.YDB_ERR_MURPOOLRNDWNSUC
	YDB_ERR_MUSECDEL              = C.YDB_ERR_MUSECDEL
	YDB_ERR_MUSECNOTDEL           = C.YDB_ERR_MUSECNOTDEL
	YDB_ERR_MUSELFBKUP            = C.YDB_ERR_MUSELFBKUP
	YDB_ERR_MUSIZEFAIL            = C.YDB_ERR_MUSIZEFAIL
	YDB_ERR_MUSIZEINVARG          = C.YDB_ERR_MUSIZEINVARG
	YDB_ERR_MUSTANDALONE          = C.YDB_ERR_MUSTANDALONE
	YDB_ERR_MUTEXERR              = C.YDB_ERR_MUTEXERR
	YDB_ERR_MUTEXFRCDTERM         = C.YDB_ERR_MUTEXFRCDTERM
	YDB_ERR_MUTEXLCKALERT         = C.YDB_ERR_MUTEXLCKALERT
	YDB_ERR_MUTEXRELEASED         = C.YDB_ERR_MUTEXRELEASED
	YDB_ERR_MUTEXRSRCCLNUP        = C.YDB_ERR_MUTEXRSRCCLNUP
	YDB_ERR_MUTNWARN              = C.YDB_ERR_MUTNWARN
	YDB_ERR_MUTRUNC1ATIME         = C.YDB_ERR_MUTRUNC1ATIME
	YDB_ERR_MUTRUNCALREADY        = C.YDB_ERR_MUTRUNCALREADY
	YDB_ERR_MUTRUNCBACKINPROG     = C.YDB_ERR_MUTRUNCBACKINPROG
	YDB_ERR_MUTRUNCERROR          = C.YDB_ERR_MUTRUNCERROR
	YDB_ERR_MUTRUNCFAIL           = C.YDB_ERR_MUTRUNCFAIL
	YDB_ERR_MUTRUNCNOSPACE        = C.YDB_ERR_MUTRUNCNOSPACE
	YDB_ERR_MUTRUNCNOSPKEEP       = C.YDB_ERR_MUTRUNCNOSPKEEP
	YDB_ERR_MUTRUNCNOTBG          = C.YDB_ERR_MUTRUNCNOTBG
	YDB_ERR_MUTRUNCNOV4           = C.YDB_ERR_MUTRUNCNOV4
	YDB_ERR_MUTRUNCPERCENT        = C.YDB_ERR_MUTRUNCPERCENT
	YDB_ERR_MUTRUNCSSINPROG       = C.YDB_ERR_MUTRUNCSSINPROG
	YDB_ERR_MUTRUNCSUCCESS        = C.YDB_ERR_MUTRUNCSUCCESS
	YDB_ERR_MUUPGRDNRDY           = C.YDB_ERR_MUUPGRDNRDY
	YDB_ERR_MUUSERECOV            = C.YDB_ERR_MUUSERECOV
	YDB_ERR_MUUSERLBK             = C.YDB_ERR_MUUSERLBK
	YDB_ERR_NAMECOUNT2HI          = C.YDB_ERR_NAMECOUNT2HI
	YDB_ERR_NAMEEXPECTED          = C.YDB_ERR_NAMEEXPECTED
	YDB_ERR_NCTCOLLDIFF           = C.YDB_ERR_NCTCOLLDIFF
	YDB_ERR_NCTCOLLSPGBL          = C.YDB_ERR_NCTCOLLSPGBL
	YDB_ERR_NEEDTRIGUPGRD         = C.YDB_ERR_NEEDTRIGUPGRD
	YDB_ERR_NEGFRACPWR            = C.YDB_ERR_NEGFRACPWR
	YDB_ERR_NESTFORMP             = C.YDB_ERR_NESTFORMP
	YDB_ERR_NETDBOPNERR           = C.YDB_ERR_NETDBOPNERR
	YDB_ERR_NETFAIL               = C.YDB_ERR_NETFAIL
	YDB_ERR_NETLCKFAIL            = C.YDB_ERR_NETLCKFAIL
	YDB_ERR_NEWJNLFILECREAT       = C.YDB_ERR_NEWJNLFILECREAT
	YDB_ERR_NLMISMATCHCALC        = C.YDB_ERR_NLMISMATCHCALC
	YDB_ERR_NLRESTORE             = C.YDB_ERR_NLRESTORE
	YDB_ERR_NOALIASLIST           = C.YDB_ERR_NOALIASLIST
	YDB_ERR_NOCANONICNAME         = C.YDB_ERR_NOCANONICNAME
	YDB_ERR_NOCCPPID              = C.YDB_ERR_NOCCPPID
	YDB_ERR_NOCHLEFT              = C.YDB_ERR_NOCHLEFT
	YDB_ERR_NOCREMMBIJ            = C.YDB_ERR_NOCREMMBIJ
	YDB_ERR_NOCRENETFILE          = C.YDB_ERR_NOCRENETFILE
	YDB_ERR_NODEEND               = C.YDB_ERR_NODEEND
	YDB_ERR_NODFRALLOCSUPP        = C.YDB_ERR_NODFRALLOCSUPP
	YDB_ERR_NOEDITOR              = C.YDB_ERR_NOEDITOR
	YDB_ERR_NOENDIANCVT           = C.YDB_ERR_NOENDIANCVT
	YDB_ERR_NOEXCLUDE             = C.YDB_ERR_NOEXCLUDE
	YDB_ERR_NOEXCNOZTRAP          = C.YDB_ERR_NOEXCNOZTRAP
	YDB_ERR_NOFILTERNEST          = C.YDB_ERR_NOFILTERNEST
	YDB_ERR_NOFORKCORE            = C.YDB_ERR_NOFORKCORE
	YDB_ERR_NOGTCMDB              = C.YDB_ERR_NOGTCMDB
	YDB_ERR_NOJNLPOOL             = C.YDB_ERR_NOJNLPOOL
	YDB_ERR_NOLBRSRC              = C.YDB_ERR_NOLBRSRC
	YDB_ERR_NOLOCKMATCH           = C.YDB_ERR_NOLOCKMATCH
	YDB_ERR_NOMORESEMCNT          = C.YDB_ERR_NOMORESEMCNT
	YDB_ERR_NONTPRESTART          = C.YDB_ERR_NONTPRESTART
	YDB_ERR_NONUTF8LOCALE         = C.YDB_ERR_NONUTF8LOCALE
	YDB_ERR_NOPINI                = C.YDB_ERR_NOPINI
	YDB_ERR_NOPLACE               = C.YDB_ERR_NOPLACE
	YDB_ERR_NOPREVLINK            = C.YDB_ERR_NOPREVLINK
	YDB_ERR_NOPRINCIO             = C.YDB_ERR_NOPRINCIO
	YDB_ERR_NORECVPOOL            = C.YDB_ERR_NORECVPOOL
	YDB_ERR_NOREGION              = C.YDB_ERR_NOREGION
	YDB_ERR_NOREPLCTDREG          = C.YDB_ERR_NOREPLCTDREG
	YDB_ERR_NORESYNCSUPPLONLY     = C.YDB_ERR_NORESYNCSUPPLONLY
	YDB_ERR_NORESYNCUPDATERONLY   = C.YDB_ERR_NORESYNCUPDATERONLY
	YDB_ERR_NORTN                 = C.YDB_ERR_NORTN
	YDB_ERR_NOSELECT              = C.YDB_ERR_NOSELECT
	YDB_ERR_NOSOCKETINDEV         = C.YDB_ERR_NOSOCKETINDEV
	YDB_ERR_NOSOCKHANDLE          = C.YDB_ERR_NOSOCKHANDLE
	YDB_ERR_NOSPACECRE            = C.YDB_ERR_NOSPACECRE
	YDB_ERR_NOSPACEEXT            = C.YDB_ERR_NOSPACEEXT
	YDB_ERR_NOSTARFILE            = C.YDB_ERR_NOSTARFILE
	YDB_ERR_NOSUBSCRIPT           = C.YDB_ERR_NOSUBSCRIPT
	YDB_ERR_NOSUCHPROC            = C.YDB_ERR_NOSUCHPROC
	YDB_ERR_NOSUPPLSUPPL          = C.YDB_ERR_NOSUPPLSUPPL
	YDB_ERR_NOTALLDBOPN           = C.YDB_ERR_NOTALLDBOPN
	YDB_ERR_NOTALLDBRNDWN         = C.YDB_ERR_NOTALLDBRNDWN
	YDB_ERR_NOTALLJNLEN           = C.YDB_ERR_NOTALLJNLEN
	YDB_ERR_NOTALLREPLON          = C.YDB_ERR_NOTALLREPLON
	YDB_ERR_NOTERMENTRY           = C.YDB_ERR_NOTERMENTRY
	YDB_ERR_NOTERMENV             = C.YDB_ERR_NOTERMENV
	YDB_ERR_NOTERMINFODB          = C.YDB_ERR_NOTERMINFODB
	YDB_ERR_NOTEXTRINSIC          = C.YDB_ERR_NOTEXTRINSIC
	YDB_ERR_NOTGBL                = C.YDB_ERR_NOTGBL
	YDB_ERR_NOTMNAME              = C.YDB_ERR_NOTMNAME
	YDB_ERR_NOTPOSITIVE           = C.YDB_ERR_NOTPOSITIVE
	YDB_ERR_NOTPRINCIO            = C.YDB_ERR_NOTPRINCIO
	YDB_ERR_NOTREPLICATED         = C.YDB_ERR_NOTREPLICATED
	YDB_ERR_NOTRNDMACC            = C.YDB_ERR_NOTRNDMACC
	YDB_ERR_NOTTOEOFONPUT         = C.YDB_ERR_NOTTOEOFONPUT
	YDB_ERR_NOUSERDB              = C.YDB_ERR_NOUSERDB
	YDB_ERR_NOZBRK                = C.YDB_ERR_NOZBRK
	YDB_ERR_NOZTRAPINTRIG         = C.YDB_ERR_NOZTRAPINTRIG
	YDB_ERR_NULLCOLLDIFF          = C.YDB_ERR_NULLCOLLDIFF
	YDB_ERR_NULLENTRYREF          = C.YDB_ERR_NULLENTRYREF
	YDB_ERR_NULLPATTERN           = C.YDB_ERR_NULLPATTERN
	YDB_ERR_NULSUBSC              = C.YDB_ERR_NULSUBSC
	YDB_ERR_NUM64ERR              = C.YDB_ERR_NUM64ERR
	YDB_ERR_NUMERR                = C.YDB_ERR_NUMERR
	YDB_ERR_NUMOFLOW              = C.YDB_ERR_NUMOFLOW
	YDB_ERR_NUMPROCESSORS         = C.YDB_ERR_NUMPROCESSORS
	YDB_ERR_NUMUNXEOR             = C.YDB_ERR_NUMUNXEOR
	YDB_ERR_OBJFILERR             = C.YDB_ERR_OBJFILERR
	YDB_ERR_OFFSETINV             = C.YDB_ERR_OFFSETINV
	YDB_ERR_OFRZACTIVE            = C.YDB_ERR_OFRZACTIVE
	YDB_ERR_OFRZAUTOREL           = C.YDB_ERR_OFRZAUTOREL
	YDB_ERR_OFRZCRITREL           = C.YDB_ERR_OFRZCRITREL
	YDB_ERR_OFRZCRITSTUCK         = C.YDB_ERR_OFRZCRITSTUCK
	YDB_ERR_OFRZNOTHELD           = C.YDB_ERR_OFRZNOTHELD
	YDB_ERR_OLDBINEXTRACT         = C.YDB_ERR_OLDBINEXTRACT
	YDB_ERR_OMISERVHANG           = C.YDB_ERR_OMISERVHANG
	YDB_ERR_OPCOMMISSED           = C.YDB_ERR_OPCOMMISSED
	YDB_ERR_OPENCONN              = C.YDB_ERR_OPENCONN
	YDB_ERR_OPRCCPSTOP            = C.YDB_ERR_OPRCCPSTOP
	YDB_ERR_ORDER2                = C.YDB_ERR_ORDER2
	YDB_ERR_ORLBKCMPLT            = C.YDB_ERR_ORLBKCMPLT
	YDB_ERR_ORLBKDBUPGRDREQ       = C.YDB_ERR_ORLBKDBUPGRDREQ
	YDB_ERR_ORLBKFRZOVER          = C.YDB_ERR_ORLBKFRZOVER
	YDB_ERR_ORLBKFRZPROG          = C.YDB_ERR_ORLBKFRZPROG
	YDB_ERR_ORLBKINPROG           = C.YDB_ERR_ORLBKINPROG
	YDB_ERR_ORLBKNOSTP            = C.YDB_ERR_ORLBKNOSTP
	YDB_ERR_ORLBKNOV4BLK          = C.YDB_ERR_ORLBKNOV4BLK
	YDB_ERR_ORLBKREL              = C.YDB_ERR_ORLBKREL
	YDB_ERR_ORLBKRESTART          = C.YDB_ERR_ORLBKRESTART
	YDB_ERR_ORLBKROLLED           = C.YDB_ERR_ORLBKROLLED
	YDB_ERR_ORLBKSTART            = C.YDB_ERR_ORLBKSTART
	YDB_ERR_ORLBKTERMNTD          = C.YDB_ERR_ORLBKTERMNTD
	YDB_ERR_OUTOFSPACE            = C.YDB_ERR_OUTOFSPACE
	YDB_ERR_PADCHARINVALID        = C.YDB_ERR_PADCHARINVALID
	YDB_ERR_PARAMINVALID          = C.YDB_ERR_PARAMINVALID
	YDB_ERR_PARBUFSM              = C.YDB_ERR_PARBUFSM
	YDB_ERR_PARFILSPC             = C.YDB_ERR_PARFILSPC
	YDB_ERR_PARNORMAL             = C.YDB_ERR_PARNORMAL
	YDB_ERR_PATALTER2LARGE        = C.YDB_ERR_PATALTER2LARGE
	YDB_ERR_PATCLASS              = C.YDB_ERR_PATCLASS
	YDB_ERR_PATCODE               = C.YDB_ERR_PATCODE
	YDB_ERR_PATLIT                = C.YDB_ERR_PATLIT
	YDB_ERR_PATLOAD               = C.YDB_ERR_PATLOAD
	YDB_ERR_PATMAXLEN             = C.YDB_ERR_PATMAXLEN
	YDB_ERR_PATNOTFOUND           = C.YDB_ERR_PATNOTFOUND
	YDB_ERR_PATTABNOTFND          = C.YDB_ERR_PATTABNOTFND
	YDB_ERR_PATTABSYNTAX          = C.YDB_ERR_PATTABSYNTAX
	YDB_ERR_PATUPPERLIM           = C.YDB_ERR_PATUPPERLIM
	YDB_ERR_PBNINVALID            = C.YDB_ERR_PBNINVALID
	YDB_ERR_PBNNOFIELD            = C.YDB_ERR_PBNNOFIELD
	YDB_ERR_PBNNOPARM             = C.YDB_ERR_PBNNOPARM
	YDB_ERR_PBNPARMREQ            = C.YDB_ERR_PBNPARMREQ
	YDB_ERR_PBNUNSUPSTRUCT        = C.YDB_ERR_PBNUNSUPSTRUCT
	YDB_ERR_PBNUNSUPTYPE          = C.YDB_ERR_PBNUNSUPTYPE
	YDB_ERR_PCONDEXPECTED         = C.YDB_ERR_PCONDEXPECTED
	YDB_ERR_PCTYRESERVED          = C.YDB_ERR_PCTYRESERVED
	YDB_ERR_PEERPIDMISMATCH       = C.YDB_ERR_PEERPIDMISMATCH
	YDB_ERR_PERMGENDIAG           = C.YDB_ERR_PERMGENDIAG
	YDB_ERR_PERMGENFAIL           = C.YDB_ERR_PERMGENFAIL
	YDB_ERR_PIDMISMATCH           = C.YDB_ERR_PIDMISMATCH
	YDB_ERR_PINENTRYERR           = C.YDB_ERR_PINENTRYERR
	YDB_ERR_PRCNAMLEN             = C.YDB_ERR_PRCNAMLEN
	YDB_ERR_PREALLOCATEFAIL       = C.YDB_ERR_PREALLOCATEFAIL
	YDB_ERR_PREMATEOF             = C.YDB_ERR_PREMATEOF
	YDB_ERR_PREVJNLLINKCUT        = C.YDB_ERR_PREVJNLLINKCUT
	YDB_ERR_PREVJNLLINKSET        = C.YDB_ERR_PREVJNLLINKSET
	YDB_ERR_PREVJNLNOEOF          = C.YDB_ERR_PREVJNLNOEOF
	YDB_ERR_PRIMARYISROOT         = C.YDB_ERR_PRIMARYISROOT
	YDB_ERR_PRIMARYNOTROOT        = C.YDB_ERR_PRIMARYNOTROOT
	YDB_ERR_PROCTERM              = C.YDB_ERR_PROCTERM
	YDB_ERR_PROTNOTSUP            = C.YDB_ERR_PROTNOTSUP
	YDB_ERR_QUALEXP               = C.YDB_ERR_QUALEXP
	YDB_ERR_QUALVAL               = C.YDB_ERR_QUALVAL
	YDB_ERR_QUERY2                = C.YDB_ERR_QUERY2
	YDB_ERR_QUITALSINV            = C.YDB_ERR_QUITALSINV
	YDB_ERR_QUITARGLST            = C.YDB_ERR_QUITARGLST
	YDB_ERR_QUITARGREQD           = C.YDB_ERR_QUITARGREQD
	YDB_ERR_QUITARGUSE            = C.YDB_ERR_QUITARGUSE
	YDB_ERR_RANDARGNEG            = C.YDB_ERR_RANDARGNEG
	YDB_ERR_RAWDEVUNSUP           = C.YDB_ERR_RAWDEVUNSUP
	YDB_ERR_RCVRMANYSTRMS         = C.YDB_ERR_RCVRMANYSTRMS
	YDB_ERR_RDFLTOOLONG           = C.YDB_ERR_RDFLTOOLONG
	YDB_ERR_RDFLTOOSHORT          = C.YDB_ERR_RDFLTOOSHORT
	YDB_ERR_READLINEFILEPERM      = C.YDB_ERR_READLINEFILEPERM
	YDB_ERR_READLINELONGLINE      = C.YDB_ERR_READLINELONGLINE
	YDB_ERR_READONLYLKFAIL        = C.YDB_ERR_READONLYLKFAIL
	YDB_ERR_READONLYNOBG          = C.YDB_ERR_READONLYNOBG
	YDB_ERR_READONLYNOSTATS       = C.YDB_ERR_READONLYNOSTATS
	YDB_ERR_REC2BIG               = C.YDB_ERR_REC2BIG
	YDB_ERR_RECCNT                = C.YDB_ERR_RECCNT
	YDB_ERR_RECLOAD               = C.YDB_ERR_RECLOAD
	YDB_ERR_RECORDSTAT            = C.YDB_ERR_RECORDSTAT
	YDB_ERR_RECSIZENOTEVEN        = C.YDB_ERR_RECSIZENOTEVEN
	YDB_ERR_RECVPOOLSETUP         = C.YDB_ERR_RECVPOOLSETUP
	YDB_ERR_REGFILENOTFOUND       = C.YDB_ERR_REGFILENOTFOUND
	YDB_ERR_REGOPENFAIL           = C.YDB_ERR_REGOPENFAIL
	YDB_ERR_REGSSFAIL             = C.YDB_ERR_REGSSFAIL
	YDB_ERR_RELINKCTLERR          = C.YDB_ERR_RELINKCTLERR
	YDB_ERR_RELINKCTLFULL         = C.YDB_ERR_RELINKCTLFULL
	YDB_ERR_REMOTEDBNOSPGBL       = C.YDB_ERR_REMOTEDBNOSPGBL
	YDB_ERR_REMOTEDBNOTRIG        = C.YDB_ERR_REMOTEDBNOTRIG
	YDB_ERR_RENAMEFAIL            = C.YDB_ERR_RENAMEFAIL
	YDB_ERR_REORGCTRLY            = C.YDB_ERR_REORGCTRLY
	YDB_ERR_REORGINC              = C.YDB_ERR_REORGINC
	YDB_ERR_REORGUPCNFLCT         = C.YDB_ERR_REORGUPCNFLCT
	YDB_ERR_REPEATERROR           = C.YDB_ERR_REPEATERROR
	YDB_ERR_REPL0BACKLOG          = C.YDB_ERR_REPL0BACKLOG
	YDB_ERR_REPL2OLD              = C.YDB_ERR_REPL2OLD
	YDB_ERR_REPLACCSEM            = C.YDB_ERR_REPLACCSEM
	YDB_ERR_REPLAHEAD             = C.YDB_ERR_REPLAHEAD
	YDB_ERR_REPLALERT             = C.YDB_ERR_REPLALERT
	YDB_ERR_REPLBACKLOG           = C.YDB_ERR_REPLBACKLOG
	YDB_ERR_REPLBRKNTRANS         = C.YDB_ERR_REPLBRKNTRANS
	YDB_ERR_REPLCOMM              = C.YDB_ERR_REPLCOMM
	YDB_ERR_REPLERR               = C.YDB_ERR_REPLERR
	YDB_ERR_REPLEXITERR           = C.YDB_ERR_REPLEXITERR
	YDB_ERR_REPLFILIOERR          = C.YDB_ERR_REPLFILIOERR
	YDB_ERR_REPLFILTER            = C.YDB_ERR_REPLFILTER
	YDB_ERR_REPLFTOKSEM           = C.YDB_ERR_REPLFTOKSEM
	YDB_ERR_REPLGBL2LONG          = C.YDB_ERR_REPLGBL2LONG
	YDB_ERR_REPLINFO              = C.YDB_ERR_REPLINFO
	YDB_ERR_REPLINSTACC           = C.YDB_ERR_REPLINSTACC
	YDB_ERR_REPLINSTCLOSE         = C.YDB_ERR_REPLINSTCLOSE
	YDB_ERR_REPLINSTCREATE        = C.YDB_ERR_REPLINSTCREATE
	YDB_ERR_REPLINSTDBMATCH       = C.YDB_ERR_REPLINSTDBMATCH
	YDB_ERR_REPLINSTDBSTRM        = C.YDB_ERR_REPLINSTDBSTRM
	YDB_ERR_REPLINSTFMT           = C.YDB_ERR_REPLINSTFMT
	YDB_ERR_REPLINSTFREEZECOMMENT = C.YDB_ERR_REPLINSTFREEZECOMMENT
	YDB_ERR_REPLINSTFROZEN        = C.YDB_ERR_REPLINSTFROZEN
	YDB_ERR_REPLINSTMISMTCH       = C.YDB_ERR_REPLINSTMISMTCH
	YDB_ERR_REPLINSTNMLEN         = C.YDB_ERR_REPLINSTNMLEN
	YDB_ERR_REPLINSTNMSAME        = C.YDB_ERR_REPLINSTNMSAME
	YDB_ERR_REPLINSTNMUNDEF       = C.YDB_ERR_REPLINSTNMUNDEF
	YDB_ERR_REPLINSTNOHIST        = C.YDB_ERR_REPLINSTNOHIST
	YDB_ERR_REPLINSTNOSHM         = C.YDB_ERR_REPLINSTNOSHM
	YDB_ERR_REPLINSTOPEN          = C.YDB_ERR_REPLINSTOPEN
	YDB_ERR_REPLINSTREAD          = C.YDB_ERR_REPLINSTREAD
	YDB_ERR_REPLINSTSECLEN        = C.YDB_ERR_REPLINSTSECLEN
	YDB_ERR_REPLINSTSECMTCH       = C.YDB_ERR_REPLINSTSECMTCH
	YDB_ERR_REPLINSTSECNONE       = C.YDB_ERR_REPLINSTSECNONE
	YDB_ERR_REPLINSTSECUNDF       = C.YDB_ERR_REPLINSTSECUNDF
	YDB_ERR_REPLINSTSEQORD        = C.YDB_ERR_REPLINSTSEQORD
	YDB_ERR_REPLINSTSTNDALN       = C.YDB_ERR_REPLINSTSTNDALN
	YDB_ERR_REPLINSTUNDEF         = C.YDB_ERR_REPLINSTUNDEF
	YDB_ERR_REPLINSTUNFROZEN      = C.YDB_ERR_REPLINSTUNFROZEN
	YDB_ERR_REPLINSTWRITE         = C.YDB_ERR_REPLINSTWRITE
	YDB_ERR_REPLJNLCLOSED         = C.YDB_ERR_REPLJNLCLOSED
	YDB_ERR_REPLJNLCNFLCT         = C.YDB_ERR_REPLJNLCNFLCT
	YDB_ERR_REPLLOGOPN            = C.YDB_ERR_REPLLOGOPN
	YDB_ERR_REPLMULTINSTUPDATE    = C.YDB_ERR_REPLMULTINSTUPDATE
	YDB_ERR_REPLNOBEFORE          = C.YDB_ERR_REPLNOBEFORE
	YDB_ERR_REPLNOHASHTREC        = C.YDB_ERR_REPLNOHASHTREC
	YDB_ERR_REPLNORESP            = C.YDB_ERR_REPLNORESP
	YDB_ERR_REPLNOTLS             = C.YDB_ERR_REPLNOTLS
	YDB_ERR_REPLNOTON             = C.YDB_ERR_REPLNOTON
	YDB_ERR_REPLNOXENDIAN         = C.YDB_ERR_REPLNOXENDIAN
	YDB_ERR_REPLOFFJNLON          = C.YDB_ERR_REPLOFFJNLON
	YDB_ERR_REPLONLNRLBK          = C.YDB_ERR_REPLONLNRLBK
	YDB_ERR_REPLPOOLINST          = C.YDB_ERR_REPLPOOLINST
	YDB_ERR_REPLRECFMT            = C.YDB_ERR_REPLRECFMT
	YDB_ERR_REPLREQROLLBACK       = C.YDB_ERR_REPLREQROLLBACK
	YDB_ERR_REPLREQRUNDOWN        = C.YDB_ERR_REPLREQRUNDOWN
	YDB_ERR_REPLSRCEXITERR        = C.YDB_ERR_REPLSRCEXITERR
	YDB_ERR_REPLSTATE             = C.YDB_ERR_REPLSTATE
	YDB_ERR_REPLSTATEERR          = C.YDB_ERR_REPLSTATEERR
	YDB_ERR_REPLSTATEOFF          = C.YDB_ERR_REPLSTATEOFF
	YDB_ERR_REPLTRANS2BIG         = C.YDB_ERR_REPLTRANS2BIG
	YDB_ERR_REPLWARN              = C.YDB_ERR_REPLWARN
	YDB_ERR_REPLXENDIANFAIL       = C.YDB_ERR_REPLXENDIANFAIL
	YDB_ERR_REQ2RESUME            = C.YDB_ERR_REQ2RESUME
	YDB_ERR_REQDVIEWPARM          = C.YDB_ERR_REQDVIEWPARM
	YDB_ERR_REQRECOV              = C.YDB_ERR_REQRECOV
	YDB_ERR_REQRLNKCTLRNDWN       = C.YDB_ERR_REQRLNKCTLRNDWN
	YDB_ERR_REQROLLBACK           = C.YDB_ERR_REQROLLBACK
	YDB_ERR_REQRUNDOWN            = C.YDB_ERR_REQRUNDOWN
	YDB_ERR_RESOLVESEQNO          = C.YDB_ERR_RESOLVESEQNO
	YDB_ERR_RESOLVESEQSTRM        = C.YDB_ERR_RESOLVESEQSTRM
	YDB_ERR_RESRCINTRLCKBYPAS     = C.YDB_ERR_RESRCINTRLCKBYPAS
	YDB_ERR_RESRCWAIT             = C.YDB_ERR_RESRCWAIT
	YDB_ERR_RESTORESUCCESS        = C.YDB_ERR_RESTORESUCCESS
	YDB_ERR_RESTRICTEDOP          = C.YDB_ERR_RESTRICTEDOP
	YDB_ERR_RESTRICTSYNTAX        = C.YDB_ERR_RESTRICTSYNTAX
	YDB_ERR_RESUMESTRMNUM         = C.YDB_ERR_RESUMESTRMNUM
	YDB_ERR_RESYNCSEQLOW          = C.YDB_ERR_RESYNCSEQLOW
	YDB_ERR_REUSEINSTNAME         = C.YDB_ERR_REUSEINSTNAME
	YDB_ERR_RHMISSING             = C.YDB_ERR_RHMISSING
	YDB_ERR_RLBKJNLNOBIMG         = C.YDB_ERR_RLBKJNLNOBIMG
	YDB_ERR_RLBKJNSEQ             = C.YDB_ERR_RLBKJNSEQ
	YDB_ERR_RLBKLOSTTNONLY        = C.YDB_ERR_RLBKLOSTTNONLY
	YDB_ERR_RLBKNOBIMG            = C.YDB_ERR_RLBKNOBIMG
	YDB_ERR_RLBKSTRMSEQ           = C.YDB_ERR_RLBKSTRMSEQ
	YDB_ERR_RLNKCTLRNDWNFL        = C.YDB_ERR_RLNKCTLRNDWNFL
	YDB_ERR_RLNKCTLRNDWNSUC       = C.YDB_ERR_RLNKCTLRNDWNSUC
	YDB_ERR_RLNKINTEGINFO         = C.YDB_ERR_RLNKINTEGINFO
	YDB_ERR_RLNKRECLATCH          = C.YDB_ERR_RLNKRECLATCH
	YDB_ERR_RLNKRECNFL            = C.YDB_ERR_RLNKRECNFL
	YDB_ERR_RLNKSHMLATCH          = C.YDB_ERR_RLNKSHMLATCH
	YDB_ERR_RMBIGSHARE            = C.YDB_ERR_RMBIGSHARE
	YDB_ERR_RMNOBIGRECORD         = C.YDB_ERR_RMNOBIGRECORD
	YDB_ERR_RMWIDTHPOS            = C.YDB_ERR_RMWIDTHPOS
	YDB_ERR_RMWIDTHTOOBIG         = C.YDB_ERR_RMWIDTHTOOBIG
	YDB_ERR_RNDWNSEMFAIL          = C.YDB_ERR_RNDWNSEMFAIL
	YDB_ERR_RNDWNSTATSDBFAIL      = C.YDB_ERR_RNDWNSTATSDBFAIL
	YDB_ERR_ROLLBKINTERRUPT       = C.YDB_ERR_ROLLBKINTERRUPT
	YDB_ERR_ROUTINEUNKNOWN        = C.YDB_ERR_ROUTINEUNKNOWN
	YDB_ERR_RPARENMISSING         = C.YDB_ERR_RPARENMISSING
	YDB_ERR_RPARENREQD            = C.YDB_ERR_RPARENREQD
	YDB_ERR_RSVDBYTE2HIGH         = C.YDB_ERR_RSVDBYTE2HIGH
	YDB_ERR_RSYNCSTRMSUPPLONLY    = C.YDB_ERR_RSYNCSTRMSUPPLONLY
	YDB_ERR_RSYNCSTRMVAL          = C.YDB_ERR_RSYNCSTRMVAL
	YDB_ERR_RTNNAME               = C.YDB_ERR_RTNNAME
	YDB_ERR_RTSLOC                = C.YDB_ERR_RTSLOC
	YDB_ERR_RUNPARAMERR           = C.YDB_ERR_RUNPARAMERR
	YDB_ERR_RWARG                 = C.YDB_ERR_RWARG
	YDB_ERR_RWFORMAT              = C.YDB_ERR_RWFORMAT
	YDB_ERR_SCNDDBNOUPD           = C.YDB_ERR_SCNDDBNOUPD
	YDB_ERR_SDSEEKERR             = C.YDB_ERR_SDSEEKERR
	YDB_ERR_SECNOTSUPPLEMENTARY   = C.YDB_ERR_SECNOTSUPPLEMENTARY
	YDB_ERR_SECONDAHEAD           = C.YDB_ERR_SECONDAHEAD
	YDB_ERR_SECSHRPATHMAX         = C.YDB_ERR_SECSHRPATHMAX
	YDB_ERR_SEFCTNEEDSFULLB       = C.YDB_ERR_SEFCTNEEDSFULLB
	YDB_ERR_SELECTFALSE           = C.YDB_ERR_SELECTFALSE
	YDB_ERR_SELECTSYNTAX          = C.YDB_ERR_SELECTSYNTAX
	YDB_ERR_SEMID                 = C.YDB_ERR_SEMID
	YDB_ERR_SEMKEYINUSE           = C.YDB_ERR_SEMKEYINUSE
	YDB_ERR_SEMREMOVED            = C.YDB_ERR_SEMREMOVED
	YDB_ERR_SEMWT2LONG            = C.YDB_ERR_SEMWT2LONG
	YDB_ERR_SEQNUMSEARCHTIMEOUT   = C.YDB_ERR_SEQNUMSEARCHTIMEOUT
	YDB_ERR_SERVERERR             = C.YDB_ERR_SERVERERR
	YDB_ERR_SETECODE              = C.YDB_ERR_SETECODE
	YDB_ERR_SETENVFAIL            = C.YDB_ERR_SETENVFAIL
	YDB_ERR_SETEXTRENV            = C.YDB_ERR_SETEXTRENV
	YDB_ERR_SETINSETTRIGONLY      = C.YDB_ERR_SETINSETTRIGONLY
	YDB_ERR_SETINTRIGONLY         = C.YDB_ERR_SETINTRIGONLY
	YDB_ERR_SETITIMERFAILED       = C.YDB_ERR_SETITIMERFAILED
	YDB_ERR_SETQUALPROB           = C.YDB_ERR_SETQUALPROB
	YDB_ERR_SETREG2RESYNC         = C.YDB_ERR_SETREG2RESYNC
	YDB_ERR_SETSOCKOPTERR         = C.YDB_ERR_SETSOCKOPTERR
	YDB_ERR_SETZDIR               = C.YDB_ERR_SETZDIR
	YDB_ERR_SETZDIRTOOLONG        = C.YDB_ERR_SETZDIRTOOLONG
	YDB_ERR_SHEBANGMEXT           = C.YDB_ERR_SHEBANGMEXT
	YDB_ERR_SHMHUGETLB            = C.YDB_ERR_SHMHUGETLB
	YDB_ERR_SHMLOCK               = C.YDB_ERR_SHMLOCK
	YDB_ERR_SHMPLRECOV            = C.YDB_ERR_SHMPLRECOV
	YDB_ERR_SHMREMOVED            = C.YDB_ERR_SHMREMOVED
	YDB_ERR_SHRMEMEXHAUSTED       = C.YDB_ERR_SHRMEMEXHAUSTED
	YDB_ERR_SHUT2QUICK            = C.YDB_ERR_SHUT2QUICK
	YDB_ERR_SIDEEFFECTEVAL        = C.YDB_ERR_SIDEEFFECTEVAL
	YDB_ERR_SIGACCERR             = C.YDB_ERR_SIGACCERR
	YDB_ERR_SIGADRALN             = C.YDB_ERR_SIGADRALN
	YDB_ERR_SIGADRERR             = C.YDB_ERR_SIGADRERR
	YDB_ERR_SIGBADSTK             = C.YDB_ERR_SIGBADSTK
	YDB_ERR_SIGCOPROC             = C.YDB_ERR_SIGCOPROC
	YDB_ERR_SIGFLTDIV             = C.YDB_ERR_SIGFLTDIV
	YDB_ERR_SIGFLTINV             = C.YDB_ERR_SIGFLTINV
	YDB_ERR_SIGFLTOVF             = C.YDB_ERR_SIGFLTOVF
	YDB_ERR_SIGFLTRES             = C.YDB_ERR_SIGFLTRES
	YDB_ERR_SIGFLTUND             = C.YDB_ERR_SIGFLTUND
	YDB_ERR_SIGILLADR             = C.YDB_ERR_SIGILLADR
	YDB_ERR_SIGILLOPC             = C.YDB_ERR_SIGILLOPC
	YDB_ERR_SIGILLOPN             = C.YDB_ERR_SIGILLOPN
	YDB_ERR_SIGILLTRP             = C.YDB_ERR_SIGILLTRP
	YDB_ERR_SIGINTDIV             = C.YDB_ERR_SIGINTDIV
	YDB_ERR_SIGINTOVF             = C.YDB_ERR_SIGINTOVF
	YDB_ERR_SIGMAPERR             = C.YDB_ERR_SIGMAPERR
	YDB_ERR_SIGOBJERR             = C.YDB_ERR_SIGOBJERR
	YDB_ERR_SIGPRVOPC             = C.YDB_ERR_SIGPRVOPC
	YDB_ERR_SIGPRVREG             = C.YDB_ERR_SIGPRVREG
	YDB_ERR_SIMPLEAPINEST         = C.YDB_ERR_SIMPLEAPINEST
	YDB_ERR_SIMPLEAPINOTALLOWED   = C.YDB_ERR_SIMPLEAPINOTALLOWED
	YDB_ERR_SIZENOTVALID4         = C.YDB_ERR_SIZENOTVALID4
	YDB_ERR_SIZENOTVALID8         = C.YDB_ERR_SIZENOTVALID8
	YDB_ERR_SNAPSHOTNOV4          = C.YDB_ERR_SNAPSHOTNOV4
	YDB_ERR_SOCKACCEPT            = C.YDB_ERR_SOCKACCEPT
	YDB_ERR_SOCKACPT              = C.YDB_ERR_SOCKACPT
	YDB_ERR_SOCKBFNOTEMPTY        = C.YDB_ERR_SOCKBFNOTEMPTY
	YDB_ERR_SOCKBIND              = C.YDB_ERR_SOCKBIND
	YDB_ERR_SOCKBLOCKERR          = C.YDB_ERR_SOCKBLOCKERR
	YDB_ERR_SOCKCLOSE             = C.YDB_ERR_SOCKCLOSE
	YDB_ERR_SOCKETEXIST           = C.YDB_ERR_SOCKETEXIST
	YDB_ERR_SOCKINIT              = C.YDB_ERR_SOCKINIT
	YDB_ERR_SOCKLISTEN            = C.YDB_ERR_SOCKLISTEN
	YDB_ERR_SOCKMAX               = C.YDB_ERR_SOCKMAX
	YDB_ERR_SOCKNOTFND            = C.YDB_ERR_SOCKNOTFND
	YDB_ERR_SOCKNOTPASSED         = C.YDB_ERR_SOCKNOTPASSED
	YDB_ERR_SOCKPASS              = C.YDB_ERR_SOCKPASS
	YDB_ERR_SOCKPASSDATAMIX       = C.YDB_ERR_SOCKPASSDATAMIX
	YDB_ERR_SOCKWAIT              = C.YDB_ERR_SOCKWAIT
	YDB_ERR_SOCKWAITARG           = C.YDB_ERR_SOCKWAITARG
	YDB_ERR_SOCKWRITE             = C.YDB_ERR_SOCKWRITE
	YDB_ERR_SPCLZMSG              = C.YDB_ERR_SPCLZMSG
	YDB_ERR_SPOREOL               = C.YDB_ERR_SPOREOL
	YDB_ERR_SRCBACKLOGSTATUS      = C.YDB_ERR_SRCBACKLOGSTATUS
	YDB_ERR_SRCFILERR             = C.YDB_ERR_SRCFILERR
	YDB_ERR_SRCLIN                = C.YDB_ERR_SRCLIN
	YDB_ERR_SRCLNNTDSP            = C.YDB_ERR_SRCLNNTDSP
	YDB_ERR_SRCLOC                = C.YDB_ERR_SRCLOC
	YDB_ERR_SRCLOCUNKNOWN         = C.YDB_ERR_SRCLOCUNKNOWN
	YDB_ERR_SRCNAM                = C.YDB_ERR_SRCNAM
	YDB_ERR_SRCSRVEXISTS          = C.YDB_ERR_SRCSRVEXISTS
	YDB_ERR_SRCSRVNOTEXIST        = C.YDB_ERR_SRCSRVNOTEXIST
	YDB_ERR_SRCSRVTOOMANY         = C.YDB_ERR_SRCSRVTOOMANY
	YDB_ERR_SRVLCKWT2LNG          = C.YDB_ERR_SRVLCKWT2LNG
	YDB_ERR_SSATTACHSHM           = C.YDB_ERR_SSATTACHSHM
	YDB_ERR_SSFILCLNUPFAIL        = C.YDB_ERR_SSFILCLNUPFAIL
	YDB_ERR_SSFILOPERR            = C.YDB_ERR_SSFILOPERR
	YDB_ERR_SSPREMATEOF           = C.YDB_ERR_SSPREMATEOF
	YDB_ERR_SSSHMCLNUPFAIL        = C.YDB_ERR_SSSHMCLNUPFAIL
	YDB_ERR_SSTMPCREATE           = C.YDB_ERR_SSTMPCREATE
	YDB_ERR_SSTMPDIRSTAT          = C.YDB_ERR_SSTMPDIRSTAT
	YDB_ERR_SSV4NOALLOW           = C.YDB_ERR_SSV4NOALLOW
	YDB_ERR_STACKCRIT             = C.YDB_ERR_STACKCRIT
	YDB_ERR_STACKOFLOW            = C.YDB_ERR_STACKOFLOW
	YDB_ERR_STACKUNDERFLO         = C.YDB_ERR_STACKUNDERFLO
	YDB_ERR_STAPIFORKEXEC         = C.YDB_ERR_STAPIFORKEXEC
	YDB_ERR_STARFILE              = C.YDB_ERR_STARFILE
	YDB_ERR_STATCNT               = C.YDB_ERR_STATCNT
	YDB_ERR_STATSDBERR            = C.YDB_ERR_STATSDBERR
	YDB_ERR_STATSDBFNERR          = C.YDB_ERR_STATSDBFNERR
	YDB_ERR_STATSDBINUSE          = C.YDB_ERR_STATSDBINUSE
	YDB_ERR_STATSDBMEMERR         = C.YDB_ERR_STATSDBMEMERR
	YDB_ERR_STATSDBNOTSUPP        = C.YDB_ERR_STATSDBNOTSUPP
	YDB_ERR_STDERRALREADYOPEN     = C.YDB_ERR_STDERRALREADYOPEN
	YDB_ERR_STPCRIT               = C.YDB_ERR_STPCRIT
	YDB_ERR_STPEXPFAIL            = C.YDB_ERR_STPEXPFAIL
	YDB_ERR_STPOFLOW              = C.YDB_ERR_STPOFLOW
	YDB_ERR_STRINGOFLOW           = C.YDB_ERR_STRINGOFLOW
	YDB_ERR_STRMNUMIS             = C.YDB_ERR_STRMNUMIS
	YDB_ERR_STRMNUMMISMTCH1       = C.YDB_ERR_STRMNUMMISMTCH1
	YDB_ERR_STRMNUMMISMTCH2       = C.YDB_ERR_STRMNUMMISMTCH2
	YDB_ERR_STRMSEQMISMTCH        = C.YDB_ERR_STRMSEQMISMTCH
	YDB_ERR_STRNOTVALID           = C.YDB_ERR_STRNOTVALID
	YDB_ERR_STRUCTNOTALLOCD       = C.YDB_ERR_STRUCTNOTALLOCD
	YDB_ERR_STRUNXEOR             = C.YDB_ERR_STRUNXEOR
	YDB_ERR_STUCKACT              = C.YDB_ERR_STUCKACT
	YDB_ERR_SUB2LONG              = C.YDB_ERR_SUB2LONG
	YDB_ERR_SUBSARRAYNULL         = C.YDB_ERR_SUBSARRAYNULL
	YDB_ERR_SUPRCVRNEEDSSUPSRC    = C.YDB_ERR_SUPRCVRNEEDSSUPSRC
	YDB_ERR_SUSPENDING            = C.YDB_ERR_SUSPENDING
	YDB_ERR_SVNEXPECTED           = C.YDB_ERR_SVNEXPECTED
	YDB_ERR_SVNONEW               = C.YDB_ERR_SVNONEW
	YDB_ERR_SVNOSET               = C.YDB_ERR_SVNOSET
	YDB_ERR_SYSCALL               = C.YDB_ERR_SYSCALL
	YDB_ERR_SYSTEMVALUE           = C.YDB_ERR_SYSTEMVALUE
	YDB_ERR_SYSUTILCONF           = C.YDB_ERR_SYSUTILCONF
	YDB_ERR_TCGETATTR             = C.YDB_ERR_TCGETATTR
	YDB_ERR_TCOMMITDISALLOW       = C.YDB_ERR_TCOMMITDISALLOW
	YDB_ERR_TCPCONNTIMEOUT        = C.YDB_ERR_TCPCONNTIMEOUT
	YDB_ERR_TCSETATTR             = C.YDB_ERR_TCSETATTR
	YDB_ERR_TERMASTQUOTA          = C.YDB_ERR_TERMASTQUOTA
	YDB_ERR_TERMHANGUP            = C.YDB_ERR_TERMHANGUP
	YDB_ERR_TERMWRITE             = C.YDB_ERR_TERMWRITE
	YDB_ERR_TEXT                  = C.YDB_ERR_TEXT
	YDB_ERR_TEXTARG               = C.YDB_ERR_TEXTARG
	YDB_ERR_THREADEDAPINOTALLOWED = C.YDB_ERR_THREADEDAPINOTALLOWED
	YDB_ERR_TIME2LONG             = C.YDB_ERR_TIME2LONG
	YDB_ERR_TIMERHANDLER          = C.YDB_ERR_TIMERHANDLER
	YDB_ERR_TIMEROVFL             = C.YDB_ERR_TIMEROVFL
	YDB_ERR_TIMRBADVAL            = C.YDB_ERR_TIMRBADVAL
	YDB_ERR_TLSCONNINFO           = C.YDB_ERR_TLSCONNINFO
	YDB_ERR_TLSCONVSOCK           = C.YDB_ERR_TLSCONVSOCK
	YDB_ERR_TLSDLLNOOPEN          = C.YDB_ERR_TLSDLLNOOPEN
	YDB_ERR_TLSHANDSHAKE          = C.YDB_ERR_TLSHANDSHAKE
	YDB_ERR_TLSINIT               = C.YDB_ERR_TLSINIT
	YDB_ERR_TLSIOERROR            = C.YDB_ERR_TLSIOERROR
	YDB_ERR_TLSPARAM              = C.YDB_ERR_TLSPARAM
	YDB_ERR_TLSRENEGOTIATE        = C.YDB_ERR_TLSRENEGOTIATE
	YDB_ERR_TLVLZERO              = C.YDB_ERR_TLVLZERO
	YDB_ERR_TMPFILENOCRE          = C.YDB_ERR_TMPFILENOCRE
	YDB_ERR_TMPSTOREMAX           = C.YDB_ERR_TMPSTOREMAX
	YDB_ERR_TNTOOLARGE            = C.YDB_ERR_TNTOOLARGE
	YDB_ERR_TNWARN                = C.YDB_ERR_TNWARN
	YDB_ERR_TOOMANYCLIENTS        = C.YDB_ERR_TOOMANYCLIENTS
	YDB_ERR_TOTALBLKMAX           = C.YDB_ERR_TOTALBLKMAX
	YDB_ERR_TPCALLBACKINVRETVAL   = C.YDB_ERR_TPCALLBACKINVRETVAL
	YDB_ERR_TPFAIL                = C.YDB_ERR_TPFAIL
	YDB_ERR_TPLOCK                = C.YDB_ERR_TPLOCK
	YDB_ERR_TPMIXUP               = C.YDB_ERR_TPMIXUP
	YDB_ERR_TPNOSTATSHARE         = C.YDB_ERR_TPNOSTATSHARE
	YDB_ERR_TPNOSUPPORT           = C.YDB_ERR_TPNOSUPPORT
	YDB_ERR_TPNOTACID             = C.YDB_ERR_TPNOTACID
	YDB_ERR_TPQUIT                = C.YDB_ERR_TPQUIT
	YDB_ERR_TPRESTART             = C.YDB_ERR_TPRESTART
	YDB_ERR_TPRESTNESTERR         = C.YDB_ERR_TPRESTNESTERR
	YDB_ERR_TPRETRY               = C.YDB_ERR_TPRETRY
	YDB_ERR_TPTIMEOUT             = C.YDB_ERR_TPTIMEOUT
	YDB_ERR_TPTOODEEP             = C.YDB_ERR_TPTOODEEP
	YDB_ERR_TRACEON               = C.YDB_ERR_TRACEON
	YDB_ERR_TRACINGON             = C.YDB_ERR_TRACINGON
	YDB_ERR_TRANS2BIG             = C.YDB_ERR_TRANS2BIG
	YDB_ERR_TRANSMINUS            = C.YDB_ERR_TRANSMINUS
	YDB_ERR_TRANSNEST             = C.YDB_ERR_TRANSNEST
	YDB_ERR_TRANSNOSTART          = C.YDB_ERR_TRANSNOSTART
	YDB_ERR_TRANSREPLJNL1GB       = C.YDB_ERR_TRANSREPLJNL1GB
	YDB_ERR_TRESTLOC              = C.YDB_ERR_TRESTLOC
	YDB_ERR_TRESTMAX              = C.YDB_ERR_TRESTMAX
	YDB_ERR_TRESTNOT              = C.YDB_ERR_TRESTNOT
	YDB_ERR_TRIG2NOTRIG           = C.YDB_ERR_TRIG2NOTRIG
	YDB_ERR_TRIGCOMPFAIL          = C.YDB_ERR_TRIGCOMPFAIL
	YDB_ERR_TRIGDATAIGNORE        = C.YDB_ERR_TRIGDATAIGNORE
	YDB_ERR_TRIGDEFBAD            = C.YDB_ERR_TRIGDEFBAD
	YDB_ERR_TRIGDEFNOSYNC         = C.YDB_ERR_TRIGDEFNOSYNC
	YDB_ERR_TRIGINVCHSET          = C.YDB_ERR_TRIGINVCHSET
	YDB_ERR_TRIGIS                = C.YDB_ERR_TRIGIS
	YDB_ERR_TRIGLOADFAIL          = C.YDB_ERR_TRIGLOADFAIL
	YDB_ERR_TRIGMODREGNOTRW       = C.YDB_ERR_TRIGMODREGNOTRW
	YDB_ERR_TRIGNAMBAD            = C.YDB_ERR_TRIGNAMBAD
	YDB_ERR_TRIGNAMENF            = C.YDB_ERR_TRIGNAMENF
	YDB_ERR_TRIGNAMEUNIQ          = C.YDB_ERR_TRIGNAMEUNIQ
	YDB_ERR_TRIGREPLSTATE         = C.YDB_ERR_TRIGREPLSTATE
	YDB_ERR_TRIGSUBSCRANGE        = C.YDB_ERR_TRIGSUBSCRANGE
	YDB_ERR_TRIGTCOMMIT           = C.YDB_ERR_TRIGTCOMMIT
	YDB_ERR_TRIGTLVLCHNG          = C.YDB_ERR_TRIGTLVLCHNG
	YDB_ERR_TRIGUPBADLABEL        = C.YDB_ERR_TRIGUPBADLABEL
	YDB_ERR_TRIGZBREAKREM         = C.YDB_ERR_TRIGZBREAKREM
	YDB_ERR_TRNLOGFAIL            = C.YDB_ERR_TRNLOGFAIL
	YDB_ERR_TROLLBK2DEEP          = C.YDB_ERR_TROLLBK2DEEP
	YDB_ERR_TSTRTPARM             = C.YDB_ERR_TSTRTPARM
	YDB_ERR_TTINVFILTER           = C.YDB_ERR_TTINVFILTER
	YDB_ERR_TTLENGTHTOOBIG        = C.YDB_ERR_TTLENGTHTOOBIG
	YDB_ERR_TTWIDTHTOOBIG         = C.YDB_ERR_TTWIDTHTOOBIG
	YDB_ERR_TXTSRCFMT             = C.YDB_ERR_TXTSRCFMT
	YDB_ERR_TXTSRCMAT             = C.YDB_ERR_TXTSRCMAT
	YDB_ERR_UIDMSG                = C.YDB_ERR_UIDMSG
	YDB_ERR_UIDSND                = C.YDB_ERR_UIDSND
	YDB_ERR_UNIMPLOP              = C.YDB_ERR_UNIMPLOP
	YDB_ERR_UNIQNAME              = C.YDB_ERR_UNIQNAME
	YDB_ERR_UNKNOWNFOREX          = C.YDB_ERR_UNKNOWNFOREX
	YDB_ERR_UNKNOWNSYSERR         = C.YDB_ERR_UNKNOWNSYSERR
	YDB_ERR_UNSDCLASS             = C.YDB_ERR_UNSDCLASS
	YDB_ERR_UNSDDTYPE             = C.YDB_ERR_UNSDDTYPE
	YDB_ERR_UNSETENVFAIL          = C.YDB_ERR_UNSETENVFAIL
	YDB_ERR_UNSOLCNTERR           = C.YDB_ERR_UNSOLCNTERR
	YDB_ERR_UNUM64ERR             = C.YDB_ERR_UNUM64ERR
	YDB_ERR_UPDATEFILEOPEN        = C.YDB_ERR_UPDATEFILEOPEN
	YDB_ERR_UPDPROC               = C.YDB_ERR_UPDPROC
	YDB_ERR_UPDREPLSTATEOFF       = C.YDB_ERR_UPDREPLSTATEOFF
	YDB_ERR_UPDSYNC2MTINS         = C.YDB_ERR_UPDSYNC2MTINS
	YDB_ERR_UPDSYNCINSTFILE       = C.YDB_ERR_UPDSYNCINSTFILE
	YDB_ERR_USRIOINIT             = C.YDB_ERR_USRIOINIT
	YDB_ERR_UTF16ENDIAN           = C.YDB_ERR_UTF16ENDIAN
	YDB_ERR_UTF8NOTINSTALLED      = C.YDB_ERR_UTF8NOTINSTALLED
	YDB_ERR_VAREXPECTED           = C.YDB_ERR_VAREXPECTED
	YDB_ERR_VARNAME2LONG          = C.YDB_ERR_VARNAME2LONG
	YDB_ERR_VARRECBLKSZ           = C.YDB_ERR_VARRECBLKSZ
	YDB_ERR_VERMISMATCH           = C.YDB_ERR_VERMISMATCH
	YDB_ERR_VERSION               = C.YDB_ERR_VERSION
	YDB_ERR_VIEWAMBIG             = C.YDB_ERR_VIEWAMBIG
	YDB_ERR_VIEWARGCNT            = C.YDB_ERR_VIEWARGCNT
	YDB_ERR_VIEWARGTOOLONG        = C.YDB_ERR_VIEWARGTOOLONG
	YDB_ERR_VIEWCMD               = C.YDB_ERR_VIEWCMD
	YDB_ERR_VIEWFN                = C.YDB_ERR_VIEWFN
	YDB_ERR_VIEWGVN               = C.YDB_ERR_VIEWGVN
	YDB_ERR_VIEWLVN               = C.YDB_ERR_VIEWLVN
	YDB_ERR_VIEWNOTFOUND          = C.YDB_ERR_VIEWNOTFOUND
	YDB_ERR_VIEWREGLIST           = C.YDB_ERR_VIEWREGLIST
	YDB_ERR_WAITDSKSPACE          = C.YDB_ERR_WAITDSKSPACE
	YDB_ERR_WCBLOCKED             = C.YDB_ERR_WCBLOCKED
	YDB_ERR_WCERRNOTCHG           = C.YDB_ERR_WCERRNOTCHG
	YDB_ERR_WCSFLUFAIL            = C.YDB_ERR_WCSFLUFAIL
	YDB_ERR_WCSFLUFAILED          = C.YDB_ERR_WCSFLUFAILED
	YDB_ERR_WCWRNNOTCHG           = C.YDB_ERR_WCWRNNOTCHG
	YDB_ERR_WEIRDSYSTIME          = C.YDB_ERR_WEIRDSYSTIME
	YDB_ERR_WIDTHTOOSMALL         = C.YDB_ERR_WIDTHTOOSMALL
	YDB_ERR_WILDCARD              = C.YDB_ERR_WILDCARD
	YDB_ERR_WILLEXPIRE            = C.YDB_ERR_WILLEXPIRE
	YDB_ERR_WORDEXPFAILED         = C.YDB_ERR_WORDEXPFAILED
	YDB_ERR_WRITERSTUCK           = C.YDB_ERR_WRITERSTUCK
	YDB_ERR_WRITEWAITPID          = C.YDB_ERR_WRITEWAITPID
	YDB_ERR_XCRETNULLREF          = C.YDB_ERR_XCRETNULLREF
	YDB_ERR_XCVOIDRET             = C.YDB_ERR_XCVOIDRET
	YDB_ERR_XTRNRETSTR            = C.YDB_ERR_XTRNRETSTR
	YDB_ERR_XTRNRETVAL            = C.YDB_ERR_XTRNRETVAL
	YDB_ERR_XTRNTRANSDLL          = C.YDB_ERR_XTRNTRANSDLL
	YDB_ERR_XTRNTRANSERR          = C.YDB_ERR_XTRNTRANSERR
	YDB_ERR_YDBDISTUNDEF          = C.YDB_ERR_YDBDISTUNDEF
	YDB_ERR_YDBDISTUNVERIF        = C.YDB_ERR_YDBDISTUNVERIF
	YDB_ERR_YDIRTSZ               = C.YDB_ERR_YDIRTSZ
	YDB_ERR_ZATRANSCOL            = C.YDB_ERR_ZATRANSCOL
	YDB_ERR_ZATRANSERR            = C.YDB_ERR_ZATRANSERR
	YDB_ERR_ZATTACHERR            = C.YDB_ERR_ZATTACHERR
	YDB_ERR_ZBREAKFAIL            = C.YDB_ERR_ZBREAKFAIL
	YDB_ERR_ZBRKCNTNEGATIVE       = C.YDB_ERR_ZBRKCNTNEGATIVE
	YDB_ERR_ZCALLTABLE            = C.YDB_ERR_ZCALLTABLE
	YDB_ERR_ZCARGMSMTCH           = C.YDB_ERR_ZCARGMSMTCH
	YDB_ERR_ZCCLNUPRTNMISNG       = C.YDB_ERR_ZCCLNUPRTNMISNG
	YDB_ERR_ZCCOLON               = C.YDB_ERR_ZCCOLON
	YDB_ERR_ZCCONMSMTCH           = C.YDB_ERR_ZCCONMSMTCH
	YDB_ERR_ZCCONVERT             = C.YDB_ERR_ZCCONVERT
	YDB_ERR_ZCCSQRBR              = C.YDB_ERR_ZCCSQRBR
	YDB_ERR_ZCCTENV               = C.YDB_ERR_ZCCTENV
	YDB_ERR_ZCCTNULLF             = C.YDB_ERR_ZCCTNULLF
	YDB_ERR_ZCCTOPN               = C.YDB_ERR_ZCCTOPN
	YDB_ERR_ZCENTNAME             = C.YDB_ERR_ZCENTNAME
	YDB_ERR_ZCINPUTREQ            = C.YDB_ERR_ZCINPUTREQ
	YDB_ERR_ZCINVALIDKEYWORD      = C.YDB_ERR_ZCINVALIDKEYWORD
	YDB_ERR_ZCMAXPARAM            = C.YDB_ERR_ZCMAXPARAM
	YDB_ERR_ZCMLTSTATUS           = C.YDB_ERR_ZCMLTSTATUS
	YDB_ERR_ZCNOPREALLOUTPAR      = C.YDB_ERR_ZCNOPREALLOUTPAR
	YDB_ERR_ZCOPT0                = C.YDB_ERR_ZCOPT0
	YDB_ERR_ZCPOSOVR              = C.YDB_ERR_ZCPOSOVR
	YDB_ERR_ZCPREALLNUMEX         = C.YDB_ERR_ZCPREALLNUMEX
	YDB_ERR_ZCPREALLVALINV        = C.YDB_ERR_ZCPREALLVALINV
	YDB_ERR_ZCPREALLVALPAR        = C.YDB_ERR_ZCPREALLVALPAR
	YDB_ERR_ZCPREALLVALSTR        = C.YDB_ERR_ZCPREALLVALSTR
	YDB_ERR_ZCRCALLNAME           = C.YDB_ERR_ZCRCALLNAME
	YDB_ERR_ZCRPARMNAME           = C.YDB_ERR_ZCRPARMNAME
	YDB_ERR_ZCRTENOTF             = C.YDB_ERR_ZCRTENOTF
	YDB_ERR_ZCRTNTYP              = C.YDB_ERR_ZCRTNTYP
	YDB_ERR_ZCSTATUSRET           = C.YDB_ERR_ZCSTATUSRET
	YDB_ERR_ZCUNAVAIL             = C.YDB_ERR_ZCUNAVAIL
	YDB_ERR_ZCUNKMECH             = C.YDB_ERR_ZCUNKMECH
	YDB_ERR_ZCUNKQUAL             = C.YDB_ERR_ZCUNKQUAL
	YDB_ERR_ZCUNKTYPE             = C.YDB_ERR_ZCUNKTYPE
	YDB_ERR_ZCUNTYPE              = C.YDB_ERR_ZCUNTYPE
	YDB_ERR_ZCVECTORINDX          = C.YDB_ERR_ZCVECTORINDX
	YDB_ERR_ZCWRONGDESC           = C.YDB_ERR_ZCWRONGDESC
	YDB_ERR_ZDATEBADDATE          = C.YDB_ERR_ZDATEBADDATE
	YDB_ERR_ZDATEBADTIME          = C.YDB_ERR_ZDATEBADTIME
	YDB_ERR_ZDATEFMT              = C.YDB_ERR_ZDATEFMT
	YDB_ERR_ZDEFACTIVE            = C.YDB_ERR_ZDEFACTIVE
	YDB_ERR_ZDEFOFLOW             = C.YDB_ERR_ZDEFOFLOW
	YDB_ERR_ZDIROUTOFSYNC         = C.YDB_ERR_ZDIROUTOFSYNC
	YDB_ERR_ZEDFILSPEC            = C.YDB_ERR_ZEDFILSPEC
	YDB_ERR_ZFF2MANY              = C.YDB_ERR_ZFF2MANY
	YDB_ERR_ZFILENMTOOLONG        = C.YDB_ERR_ZFILENMTOOLONG
	YDB_ERR_ZFILKEYBAD            = C.YDB_ERR_ZFILKEYBAD
	YDB_ERR_ZFILNMBAD             = C.YDB_ERR_ZFILNMBAD
	YDB_ERR_ZGBLDIRACC            = C.YDB_ERR_ZGBLDIRACC
	YDB_ERR_ZGBLDIRUNDEF          = C.YDB_ERR_ZGBLDIRUNDEF
	YDB_ERR_ZGOCALLOUTIN          = C.YDB_ERR_ZGOCALLOUTIN
	YDB_ERR_ZGOTOINVLVL           = C.YDB_ERR_ZGOTOINVLVL
	YDB_ERR_ZGOTOLTZERO           = C.YDB_ERR_ZGOTOLTZERO
	YDB_ERR_ZGOTOTOOBIG           = C.YDB_ERR_ZGOTOTOOBIG
	YDB_ERR_ZINTDIRECT            = C.YDB_ERR_ZINTDIRECT
	YDB_ERR_ZINTRECURSEIO         = C.YDB_ERR_ZINTRECURSEIO
	YDB_ERR_ZLINKBYPASS           = C.YDB_ERR_ZLINKBYPASS
	YDB_ERR_ZLINKFILE             = C.YDB_ERR_ZLINKFILE
	YDB_ERR_ZLMODULE              = C.YDB_ERR_ZLMODULE
	YDB_ERR_ZLNOOBJECT            = C.YDB_ERR_ZLNOOBJECT
	YDB_ERR_ZPARSETYPE            = C.YDB_ERR_ZPARSETYPE
	YDB_ERR_ZPARSFLDBAD           = C.YDB_ERR_ZPARSFLDBAD
	YDB_ERR_ZPEEKNOJNLINFO        = C.YDB_ERR_ZPEEKNOJNLINFO
	YDB_ERR_ZPEEKNORPLINFO        = C.YDB_ERR_ZPEEKNORPLINFO
	YDB_ERR_ZPIDBADARG            = C.YDB_ERR_ZPIDBADARG
	YDB_ERR_ZPRTLABNOTFND         = C.YDB_ERR_ZPRTLABNOTFND
	YDB_ERR_ZROSYNTAX             = C.YDB_ERR_ZROSYNTAX
	YDB_ERR_ZSHOWBADFUNC          = C.YDB_ERR_ZSHOWBADFUNC
	YDB_ERR_ZSHOWSTACKRANGE       = C.YDB_ERR_ZSHOWSTACKRANGE
	YDB_ERR_ZSOCKETATTR           = C.YDB_ERR_ZSOCKETATTR
	YDB_ERR_ZSOCKETNOTSOCK        = C.YDB_ERR_ZSOCKETNOTSOCK
	YDB_ERR_ZSRCHSTRMCT           = C.YDB_ERR_ZSRCHSTRMCT
	YDB_ERR_ZSTEPARG              = C.YDB_ERR_ZSTEPARG
	YDB_ERR_ZTIMEOUT              = C.YDB_ERR_ZTIMEOUT
	YDB_ERR_ZTRIGINVACT           = C.YDB_ERR_ZTRIGINVACT
	YDB_ERR_ZTRIGNOTRW            = C.YDB_ERR_ZTRIGNOTRW
	YDB_ERR_ZTWORMHOLE2BIG        = C.YDB_ERR_ZTWORMHOLE2BIG
	YDB_ERR_ZWRSPONE              = C.YDB_ERR_ZWRSPONE
	YDB_ERR_ZYSQLNULLNOTVALID     = C.YDB_ERR_ZYSQLNULLNOTVALID
)
View Source
const (
	YDB_ERR_STRUCTUNALLOCD  = -151552010
	YDB_ERR_INVLKNMPAIRLIST = -151552018
	YDB_ERR_DBRNDWNBYPASS   = -151552026
	YDB_ERR_SIGACKTIMEOUT   = -151552034
	YDB_ERR_SIGGORTNTIMEOUT = -151552040
)

Global constants containing the error ids

View Source
const DefaultMaximumNormalExitWait time.Duration = 60 // wait in seconds

DefaultMaximumNormalExitWait is default/initial value for MaximumNormalExitWait

View Source
const DefaultMaximumPanicExitWait time.Duration = 3 // wait in seconds

DefaultMaximumPanicExitWait is default/initial value for MaximumPanicExitWait

View Source
const DefaultMaximumSigAckWait time.Duration = 10 // wait in seconds

DefaultMaximumSigAckWait is default/initial value for MaximumSigAckWait

View Source
const DefaultMaximumSigShutDownWait time.Duration = 5 // wait in seconds

DefaultMaximumSigShutDownWait is default/initial value for MaximumSigShutDownWait

View Source
const MinimumGoRelease string = "go1.18"

MinimumGoRelease - (string) Minimum version of Go to fully support this wrapper (including tests)

View Source
const MinimumYDBRelease string = "r1.34"

MinimumYDBRelease - (string) Minimum YottaDB release name required by this wrapper

View Source
const MinimumYDBReleaseMajor int = 1

MinimumYDBReleaseMajor - (int) Minimum major release number required by this wrapper of the linked YottaDB

View Source
const MinimumYDBReleaseMinor int = 34

MinimumYDBReleaseMinor - (int) Minimum minor release number required by this wrapper of the linked YottaDB

View Source
const NOTTP uint64 = 0

NOTTP contains the tptoken value to use when NOT in a TP transaction callback routine.

View Source
const WrapperRelease string = "v1.2.8"

WrapperRelease - (string) The Go wrapper release value for YottaDB SimpleAPI. Note the third piece of this version will be even for a production release and odd for a development release. When released, depending on new content, either the third piece of the version will be bumped to an even value or the second piece of the version will be bumped by 1 and the third piece of the version set to 0. On rare occasions, we may bump the first piece of the version and zero the others when the changes are significant.

Variables

MaximumNormalExitWait is maximum wait for a normal shutdown when no system lock hang in Exit() is likely

MaximumPanicExitWait is the maximum wait when a panic caused by a signal has occured (unlikely able to run Exit()

MaximumSigAckWait is maximum wait for notify via acknowledgement channel that a notified signal handler is done handling the signal.

MaximumSigShutDownWait is maximum wait to close down signal handling goroutines (shouldn't take this long)

Functions

func CallMT added in v1.0.0

func CallMT(tptoken uint64, errstr *BufferT, retvallen uint32, rtnname string, rtnargs ...interface{}) (string, error)

CallMT allows calls to M with string arguments and an optional string return value if the called function returns one and a return value is described in the call-in definition. Else return is nil. This function differs from CallMDescT() in that the name of the routine is specified here and must always be looked up in the routine list. To avoid having two routines nearly identical, this routine is written to invoke CallMDescT().

func DataE

func DataE(tptoken uint64, errstr *BufferT, varname string, subary []string) (uint32, error)

DataE is a STAPI function to return $DATA() value for a given variable subscripted or not.

Matching DataST(), DataE() function wraps and returns the result of ydb_data_st(). In the event of an error, the return value is unspecified.

func DeleteE

func DeleteE(tptoken uint64, errstr *BufferT, deltype int, varname string, subary []string) error

DeleteE is a STAPI function to delete a node or a subtree (see DeleteST) given a deletion type and a varname/subscript set.

Matching DeleteST(), DeleteE() wraps ydb_delete_st() to delete a local or global variable node or (sub)tree, with a value of YDB_DEL_NODE for deltype specifying that only the node should be deleted, leaving the (sub)tree untouched, and a value of YDB_DEL_TREE specifying that the node as well as the(sub)tree are to be deleted.

func DeleteExclE

func DeleteExclE(tptoken uint64, errstr *BufferT, varnames []string) error

DeleteExclE is a STAPI function to do an exclusive delete by deleting all local variables except those root vars specified in the variable name array. If the varname array is empty, all local variables are deleted.

Matching DeleteExclST(), DeleteExclE() wraps ydb_delete_excl_st() to delete all local variables except those specified. In the event varnames has no elements (i.e.,[]string{}), DeleteExclE() deletes all local variables.

In the event that the number of variable names in varnames exceeds YDB_MAX_NAMES, the error return is ERRNAMECOUNT2HI. Otherwise, if ydb_delete_excl_st() returns an error, the function returns the error.

As M and Go application code cannot be mixed in the same process, the warning in ydb_delete_excl_s() does not apply.

func ErrorCode

func ErrorCode(err error) int

ErrorCode is a function used to find the error return code.

func Exit

func Exit() error

Exit invokes YottaDB's exit handler ydb_exit() to shut down the database properly. It MUST be called prior to process termination by any application that modifies the database. This is necessary particularly in Go because Go does not call the C atexit() handler (unless building with certain test options), so YottaDB itself cannot automatically ensure correct rundown of the database.

If Exit() is not called prior to process termination, steps must be taken to ensure database integrity as documented in Database Integrity and unreleased locks may cause small subsequent delays (see relevant LKE documentation).

Recommended behaviour is for your main routine to defer yottadb.Exit() early in the main routine's initialization, and then for the main routine to confirm that all goroutines have stopped or have completely finished accessing the database before returning.

  • If Go routines that access the database are spawned, it is the main routine's responsibility to ensure that all such threads have finished using the database before it calls yottadb.Exit().
  • The application must not call Go's os.Exit() function which is a very low-level function that bypasses any defers.
  • Care must be taken with any signal notifications (see Go Using Signals) to prevent them from causing premature exit.
  • Note that Go *will* run defers on panic, but not on fatal signals such as SIGSEGV.

Exit() may be called multiple times by different threads during an application shutdown.

func ForceInit added in v1.2.8

func ForceInit()

ForceInit may be called to tell YDBGo that initialization has already occurred. This is for use only by users who are mixing v1 and v2 in one application and have already done the initialization with YDBGo v2. See v2 README.md for more information.

func IncrE

func IncrE(tptoken uint64, errstr *BufferT, incr, varname string, subary []string) (string, error)

IncrE is a STAPI function to increment the given value by the given amount and return the new value.

Matching IncrST(), IncrE() wraps ydb_incr_st() to atomically increment the referenced global or local variable node coerced to a number with incr coerced to a number, with the result stored in the node and returned by the function.

If ydb_incr_st() returns an error such as NUMOFLOW or INVSTRLEN, the function returns the error. Otherwise, it returns the incremented value of the node.

With a nil value for incr, the default increment is 1. Note that the value of the empty string coerced to an integer is zero.

func Init added in v1.2.0

func Init()

Init is a function to drive the initialization for this process. This is part wrapper initialization and part YottaDB runtime initialization. This routine is the exterior face of initialization.

func IsLittleEndian

func IsLittleEndian() bool

IsLittleEndian is a function to determine endianness. Exposed in case anyone else wants to know.

func LockDecrE

func LockDecrE(tptoken uint64, errstr *BufferT, varname string, subary []string) error

LockDecrE is a STAPI function to decrement the lock count of the given lock. When the count goes to 0, the lock is considered released.

Matching LockDecrST(), LockDecrE() wraps ydb_lock_decr_st() to decrement the count of the lock name referenced, releasing it if the count goes to zero or ignoring the invocation if the process does not hold the lock.

func LockE

func LockE(tptoken uint64, errstr *BufferT, timeoutNsec uint64, namesnsubs ...interface{}) error

LockE is a STAPI function whose purpose is to release all locks and then lock the locks designated. The variadic list is pairs of arguments with the first being a string containing the variable name and the second being a string array containing the subscripts, if any, for that variable (null list for no subscripts).

Matching LockST(), LockE() releases all lock resources currently held and then attempt to acquire the named lock resources referenced. If no lock resources are specified, it simply releases all lock resources currently held and returns.

interface{} is a series of pairs of varname string and subary []string parameters, where a null subary parameter ([]string{}) specifies the unsubscripted lock resource name.

If lock resources are specified, upon return, the process will have acquired all of the named lock resources or none of the named lock resources.

If timeoutNsec exceeds YDB_MAX_TIME_NSEC, the function returns with an error return of TIME2LONG. If the lock resource names exceeds the maximum number supported (currently eleven), the function returns a PARMOFLOW error. If namesubs is not a series of alternating string and []string parameters, the function returns the INVLKNMPAIRLIST error. If it is able to aquire the lock resource(s) within timeoutNsec nanoseconds, the function returns holding the lock resource(s); otherwise it returns LOCKTIMEOUT. If timeoutNsec is zero, the function makes exactly one attempt to acquire the lock resource(s).

func LockIncrE

func LockIncrE(tptoken uint64, errstr *BufferT, timeoutNsec uint64, varname string, subary []string) error

LockIncrE is a STAPI function to increase the lock count of a given node within the specified timeout in nanoseconds.

Matching LockIncrST(), LockIncrE() wraps ydb_lock_incr_st() to attempt to acquire the referenced lock resource name without releasing any locks the process already holds.

If the process already holds the named lock resource, the function increments its count and returns. If timeoutNsec exceeds YDB_MAX_TIME_NSEC, the function returns with an error return TIME2LONG. If it is able to aquire the lock resource within timeoutNsec nanoseconds, it returns holding the lock, otherwise it returns LOCKTIMEOUT. If timeoutNsec is zero, the function makes exactly one attempt to acquire the lock.

func LockST

func LockST(tptoken uint64, errstr *BufferT, timeoutNsec uint64, lockname ...*KeyT) error

LockST is a STAPI function that releases all existing locks then locks the supplied variadic list of lock keys.

func MessageT

func MessageT(tptoken uint64, errstr *BufferT, status int) (string, error)

MessageT is a STAPI utility function to return the error message (sans argument substitution) of a given error number.

func NewError

func NewError(tptoken uint64, errstr *BufferT, errnum int) error

NewError is a function to create a new YDBError and return it. Note that we use ydb_zstatus() instead of using (for example) GetE() to fetch $ZSTATUS because ydb_zstatus does not require a tptoken. This means that we don't need to pass tptoken to all the data access methods (For example, ValStr()).

func NodeNextE

func NodeNextE(tptoken uint64, errstr *BufferT, varname string, subary []string) ([]string, error)

NodeNextE is a STAPI function to return a string array of the subscripts that describe the next node.

Matching NodeNextST(), NodeNextE() wraps ydb_node_next_st() to facilitate depth first traversal of a local or global variable tree.

If there is a next node, it returns the subscripts of that next node. If the node is the last in the tree, the function returns the NODEEND error.

func NodePrevE

func NodePrevE(tptoken uint64, errstr *BufferT, varname string, subary []string) ([]string, error)

NodePrevE is a STAPI function to return a string array of the subscripts that describe the next node.

Matching NodePrevST(), NodePrevE() wraps ydb_node_previous_st() to facilitate reverse depth first traversal of a local or global variable tree.

If there is a previous node, it returns the subscripts of that previous node; an empty string array if that previous node is the root. If the node is the first in the tree, the function returns the NODEEND error.

func RegisterSignalNotify added in v1.2.0

func RegisterSignalNotify(sig syscall.Signal, notifyChan, ackChan chan bool, notifyWhen YDBHandlerFlag) error

RegisterSignalNotify is a function to request notification of a signal occurring on a supplied channel. Additionally, the user should respond to the same channel when they are done. To make sure this happens, the first step in the routine listening for the signal should be a defer statement that sends an acknowledgement back that handling is complete.

func ReleaseT

func ReleaseT(tptoken uint64, errstr *BufferT) (string, error)

ReleaseT is a STAPI utility function to return release information for the current underlying YottaDB version

func SetValE

func SetValE(tptoken uint64, errstr *BufferT, value, varname string, subary []string) error

SetValE is a STAPI function to set a value into the given node (varname and subscripts).

Matching SetValST(), at the referenced local or global variable node, or the intrinsic special variable, SetValE() wraps ydb_set_st() to set the value specified.

func SubNextE

func SubNextE(tptoken uint64, errstr *BufferT, varname string, subary []string) (string, error)

SubNextE is a STAPI function to return the next subscript at the current subscript level.

Matching SubNextST(), SubNextE() wraps ydb_subscript_next_st() to facilitate breadth-first traversal of a local or global variable sub-tree.

At the level of the last subscript, if there is a next subscript with a node and/or a subtree, it returns that subscript. If there is no next node or subtree at that level of the subtree, the function returns the NODEEND error.

In the special case where subary is the null array, SubNextE() returns the name of the next global or local variable, and the NODEEND error if varname is the last global or local variable.

func SubPrevE

func SubPrevE(tptoken uint64, errstr *BufferT, varname string, subary []string) (string, error)

SubPrevE is a STAPI function to return the previous subscript at the current subscript level.

Matching SubPrevST(), SubPrevE() wraps ydb_subscript_previous_st() to facilitate reverse breadth-first traversal of a local or global variable sub-tree.

At the level of the last subscript, if there is a previous subscript with a node and/or a subtree, it returns that subscript. If there is no previous node or subtree at that level of the subtree, the function returns the NODEEND error.

In the special case where subary is the null array SubNextE() returns the name of the previous global or local variable, and the NODEEND error if varname is the first global or local variable.

func TpE

func TpE(tptoken uint64, errstr *BufferT, tpfn func(uint64, *BufferT) int32, transid string, varnames []string) error

TpE is a Easy API function to drive transactions.

Using TpST(), TpE() wraps ydb_tp_st() to implement transaction processing.

Parameters:

tptoken - the token used to identify nested transaction; start with yottadb.NOTTP. tpfn - the closure which will be run during the transaction. This closure may get invoked multiple times if a

transaction fails for some reason (concurrent changes, for example), so should not change any data outside of
the database.

transid - See docs for ydb_tp_s() in the MLPG. varnames - a list of local YottaDB variables to reset should the transaction be restarted; if this is an array of 1 string

with a value of "*" all YDB local variables get reset after a TP_RESTART.

func UnRegisterSignalNotify added in v1.2.0

func UnRegisterSignalNotify(sig syscall.Signal) error

UnRegisterSignalNotify removes a notification request for the given signal. No error is raised if the signal did not already have a notification request in effect.

func ValE

func ValE(tptoken uint64, errstr *BufferT, varname string, subary []string) (string, error)

ValE is an STAPI function to return the value found for varname(subary...)

Matching ValST(), ValE() wraps ydb_get_st() to return the value at the referenced global or local variable node, or intrinsic special variable.

If ydb_get_s() returns an error such as GVUNDEF, INVSVN, LVUNDEF, the function returns the error. Otherwise, it returns the value at the node.

func YDBWrapperPanic added in v1.1.0

func YDBWrapperPanic(sigNum C.int)

YDBWrapperPanic is a function called from C code. The C code routine address is passed to YottaDB via the ydb_main_lang_init() call in the below initializeYottaDB() call and is called by YottaDB when it has completed processing a deferred fatal signal and needs to exit in a "Go-ish" manner. The parameter determines the type of panic that gets raised.

Types

type BufferT

type BufferT struct {
	// contains filtered or unexported fields
}

BufferT is a Go structure that serves as an anchor point for a C allocated ydb_buffer_t structure used to call the YottaDB C Simple APIs. Because this structure's contents contain pointers to C allocated storage, this structure is NOT safe for concurrent access.

func (*BufferT) Alloc

func (buft *BufferT) Alloc(nBytes uint32)

Alloc is a method to allocate the ydb_buffer_t C storage and allocate or re-allocate the buffer pointed to by that struct.

It allocates a buffer in YottaDB heap space of size nBytes; and a C.ydb_buffer_t structure, also in YottaDB heap space, with its buf_addr referencing the buffer, its len_alloc set to nBytes and its len_used set to zero. Set cbuft in the BufferT structure to reference the C.ydb_buffer_t structure.

func (*BufferT) Dump

func (buft *BufferT) Dump()

Dump is a method to dump the contents of a BufferT block for debugging purposes.

For debugging purposes, dump on stdout:

- cbuft as a hexadecimal address;

- for the C.ydb_buffer_t structure referenced by cbuft: buf_addr as a hexadecimal address, and len_alloc and len_used as integers; and

- at the address buf_addr, the lower of len_used or len_alloc bytes in zwrite format.

func (*BufferT) DumpToWriter

func (buft *BufferT) DumpToWriter(writer io.Writer)

DumpToWriter dumps a textual representation of this buffer to the writer

func (*BufferT) Free

func (buft *BufferT) Free()

Free is a method to release both the buffer and ydb_buffer_t block associated with the BufferT block.

The inverse of the Alloc() method: release the buffer in YottaDB heap space referenced by the C.ydb_buffer_t structure, release the C.ydb_buffer_t, and set cbuft in the BufferT structure to nil.

func (*BufferT) LenAlloc

func (buft *BufferT) LenAlloc(tptoken uint64, errstr *BufferT) (uint32, error)

LenAlloc is a method to fetch the ydb_buffer_t.len_alloc field containing the allocated length of the buffer.

If the C.ydb_buffer_t structure referenced by cbuft has not yet been allocated, return the STRUCTUNALLOCD error. Otherwise, return the len_alloc field of the C.ydb_buffer_t structure referenced by cbuft.

func (*BufferT) LenUsed

func (buft *BufferT) LenUsed(tptoken uint64, errstr *BufferT) (uint32, error)

LenUsed is a method to fetch the ydb_buffer_t.len_used field containing the used length of the buffer. Note that if len_used > len_alloc, thus indicating a previous issue, an INVSTRLEN error is raised.

If the C.ydb_buffer_t structure referenced by cbuft has not yet been allocated, return the STRUCTUNALLOCD error. Otherwise, return the len_used field of the C.ydb_buffer_t structure referenced by cbuft.

func (*BufferT) SetLenUsed

func (buft *BufferT) SetLenUsed(tptoken uint64, errstr *BufferT, newLen uint32) error

SetLenUsed is a method to set the used length of buffer in the ydb_buffer_t block (must be <= alloclen).

Use this method to change the length of a used substring of the contents of the buffer referenced by the buf_addr field of the referenced C.ydb_buffer_t.

If the C.ydb_buffer_t structure referenced by cbuft has not yet been allocated, return the STRUCTUNALLOCD error. If newLen is greater than the len_alloc field of the referenced C.ydb_buffer_t, make no changes and return with an error return of INVSTRLEN. Otherwise, set the len_used field of the referenced C.ydb_buffer_t to newLen.

Note that even if newLen is not greater than the value of len_alloc, setting a len_used value greater than the number of meaningful bytes in the buffer will likely lead to hard-to-debug errors.

func (*BufferT) SetValBAry

func (buft *BufferT) SetValBAry(tptoken uint64, errstr *BufferT, value []byte) error

SetValBAry is a method to set a []byte array into the given buffer.

If the C.ydb_buffer_t structure referenced by cbuft has not yet been allocated, return the STRUCTUNALLOCD error. If the length of value is greater than the len_alloc field of the C.ydb_buffer_t structure referenced by cbuft, make no changes and return INVSTRLEN. Otherwise, copy the bytes of value to the location referenced by the buf_addr field of the C.ydbbuffer_t structure, set the len_used field to the length of value.

func (*BufferT) SetValStr

func (buft *BufferT) SetValStr(tptoken uint64, errstr *BufferT, value string) error

SetValStr is a method to set a string into the given buffer.

If the C.ydb_buffer_t structure referenced by cbuft has not yet been allocated, return the STRUCTUNALLOCD error. If the length of value is greater than the len_alloc field of the C.ydb_buffer_t structure referenced by cbuft, make no changes and return INVSTRLEN. Otherwise, copy the bytes of value to the location referenced by the buf_addr field of the C.ydbbuffer_t structure, set the len_used field to the length of value.

func (*BufferT) Str2ZwrST

func (buft *BufferT) Str2ZwrST(tptoken uint64, errstr *BufferT, zwr *BufferT) error

Str2ZwrST is a STAPI method to take the given string and return it in ZWRITE format.

If the C.ydb_buffer_t structure referenced by cbuft has not yet been allocated, return the STRUCTUNALLOCD error. If len_alloc is not large enough, set len_used to the required length, and return an INVSTRLEN error. In this case, len_used will be greater than len_alloc until corrected by application code. Otherwise, set the buffer referenced by buf_addr to the zwrite format string, and set len_used to the length.

func (*BufferT) ValBAry

func (buft *BufferT) ValBAry(tptoken uint64, errstr *BufferT) ([]byte, error)

ValBAry is a method to fetch the buffer contents as a byte array.

If the C.ydb_buffer_t structure referenced by cbuft has not yet been allocated, return the STRUCTUNALLOCD error. If the len_used field of the C.ydb_buffer_t structure is greater than its len_alloc field (owing to a prior INVSTRLEN error), return an INVSTRLEN error. Otherwise, return len_used bytes of the buffer as a byte array.

func (*BufferT) ValStr

func (buft *BufferT) ValStr(tptoken uint64, errstr *BufferT) (string, error)

ValStr is a method to fetch the buffer contents as a string.

If the C.ydb_buffer_t structure referenced by cbuft has not yet been allocated, return the STRUCTUNALLOCD error. If the len_used field of the C.ydb_buffer_t structure is greater than its len_alloc field (owing to a prior INVSTRLEN error), return an INVSTRLEN error. Otherwise, return len_used bytes of the buffer as a string.

func (*BufferT) Zwr2StrST

func (buft *BufferT) Zwr2StrST(tptoken uint64, errstr *BufferT, str *BufferT) error

Zwr2StrST is a STAPI method to take the given ZWRITE format string and return it as a normal ASCII string.

If the C.ydb_buffer_t structure referenced by cbuft has not yet been allocated, return the STRUCTUNALLOCD error. If len_alloc is not large enough, set len_used to the required length, and return an INVSTRLEN error. In this case, len_used will be greater than len_alloc until corrected by application code. If str has errors and is not in valid zwrite format, set len_used to zero, and return the error code returned by ydb_zwr2str_s() e.g., INVZWRITECHAR. Otherwise, set the buffer referenced by buf_addr to the unencoded string, set len_used to the length.

Note that the length of a string in zwrite format is always greater than or equal to the string in its original, unencoded format.

type BufferTArray

type BufferTArray struct {
	// contains filtered or unexported fields
}

BufferTArray is an array of ydb_buffer_t structures. The reason this is not an array of BufferT structures is because we can't pass a pointer to those Go structures to a C routine (cgo restriction) so we have to have this separate array of the C structures instead. Also, cgo doesn't support indexing of C structures so we have to do that ourselves as well. Because this structure's contents contain pointers to C allocated storage, this structure is NOT safe for concurrent access unless those accesses are to different array elements and do not affect the overall structure.

func (*BufferTArray) Alloc

func (buftary *BufferTArray) Alloc(numBufs, nBytes uint32)

Alloc is a method to allocate an array of 'numBufs' ydb_buffer_t structures anchored in this BufferTArray and also for each of those buffers, allocate 'nBytes' byte buffers anchoring them in the ydb_buffer_t structure.

func (*BufferTArray) DeleteExclST

func (buftary *BufferTArray) DeleteExclST(tptoken uint64, errstr *BufferT) error

DeleteExclST is a method to delete all local variables EXCEPT the variables listed in the method BufferTArray. If the input array is empty, then ALL local variables are deleted. DeleteExclST() wraps ydb_delete_excl_st() to delete all local variable trees except those of local variables whose names are specified in the BufferTArray structure. In the special case where elemUsed is zero, the method deletes all local variable trees.

In the event that the elemUsed exceeds YDB_MAX_NAMES, the error return is ERRNAMECOUNT2HI.

As M and Go application code cannot be mixed in the same process, the warning in ydb_delete_excl_s() does not apply.

func (*BufferTArray) Dump

func (buftary *BufferTArray) Dump()

Dump is a STAPI method to dump (print) the contents of this BufferTArray block for debugging purposes. It dumps to stdout

  • cbuftary as a hexadecimal address,
  • elemAlloc and elemUsed as integers,
  • and for each element of the smaller of elemAlloc and elemUsed elements of the ydb_buffer_t array referenced by cbuftary, buf_addr as a hexadecimal address, len_alloc and len_used as integers and the smaller of len_used and len_alloc bytes at the address buf_addr in zwrite format.

func (*BufferTArray) DumpToWriter

func (buftary *BufferTArray) DumpToWriter(writer io.Writer)

DumpToWriter is a writer that allows the tests or user code to dump to other than stdout.

func (*BufferTArray) ElemAlloc

func (buftary *BufferTArray) ElemAlloc() uint32

ElemAlloc is a method to return elemAlloc from a BufferTArray.

func (*BufferTArray) ElemLenAlloc

func (buftary *BufferTArray) ElemLenAlloc() uint32

ElemLenAlloc is a method to retrieve the buffer allocation length associated with our BufferTArray. Since all buffers are the same size in this array, just return the value from the first array entry. If nothing is allocated yet, return 0.

func (*BufferTArray) ElemLenUsed

func (buftary *BufferTArray) ElemLenUsed(tptoken uint64, errstr *BufferT, idx uint32) (uint32, error)

ElemLenUsed is a method to retrieve the buffer used length associated with a given buffer referenced by its index.

func (*BufferTArray) ElemUsed

func (buftary *BufferTArray) ElemUsed() uint32

ElemUsed is a method to return elemUsed from a BufferTArray.

func (*BufferTArray) Free

func (buftary *BufferTArray) Free()

Free is a method to release all allocated C storage in a BufferTArray. It is the inverse of the Alloc() method: release the numSubs buffers and the ydb_buffer_t array. Set cbuftary to nil, and elemAlloc and elemUsed to zero.

func (*BufferTArray) SetElemLenUsed

func (buftary *BufferTArray) SetElemLenUsed(tptoken uint64, errstr *BufferT, idx, newLen uint32) error

SetElemLenUsed is a method to set the len_used field of a given ydb_buffer_t struct in the BufferTArray.

func (*BufferTArray) SetElemUsed

func (buftary *BufferTArray) SetElemUsed(tptoken uint64, errstr *BufferT, newUsed uint32) error

SetElemUsed is a method to set the number of used buffers in the BufferTArray.

func (*BufferTArray) SetValBAry

func (buftary *BufferTArray) SetValBAry(tptoken uint64, errstr *BufferT, idx uint32, value []byte) error

SetValBAry is a method to set a byte array (value) into the buffer at the given index (idx).

func (*BufferTArray) SetValStr

func (buftary *BufferTArray) SetValStr(tptoken uint64, errstr *BufferT, idx uint32, value string) error

SetValStr is a method to set a string (value) into the buffer at the given index (idx).

func (*BufferTArray) TpST

func (buftary *BufferTArray) TpST(tptoken uint64, errstr *BufferT, tpfn func(uint64, *BufferT) int32, transid string) error

TpST wraps ydb_tp_st() to implement transaction processing.

Any function implementing logic for a transaction should return an error code with one of the following:

- A normal return (nil) to indicate that per application logic, the transaction can be committed. The YottaDB database engine will commit the transaction if it is able to, and if not, will call the function again.

- TPRESTART to indicate that the transaction should restart, either because application logic has so determined or because a YottaDB function called by the function has returned TPRESTART.

- ROLLBACK to indicate that TpST() should not commit the transaction, and should return ROLLBACK to the caller.

The BufferTArray receiving the TpST() method is a list of local variables whose values should be saved, and restored to their original values when the transaction restarts. If the cbuftary structures have not been allocated or elemUsed is zero, no local variables are saved and restored; and if elemUsed is 1, and that sole element references the string "*" all local variables are saved and restored.

A case-insensitive value of "BA" or "BATCH" for transid indicates to YottaDB that it need not ensure Durability for this transaction (it continues to ensure Atomicity, Consistency, and Isolation)

Parameters:

tptoken - the token used to identify nested transaction; start with yottadb.NOTTP errstr - Buffer to hold error string that is used to report errors and avoid race conditions with setting $ZSTATUS. tpfn - the closure function which will be run during the transaction. This closure function may get invoked multiple times

if a transaction fails for some reason (concurrent changes, for example), so should not change any data outside of
the database.

transid - See docs for ydb_tp_s() in the MLPG.

func (*BufferTArray) ValBAry

func (buftary *BufferTArray) ValBAry(tptoken uint64, errstr *BufferT, idx uint32) ([]byte, error)

ValBAry is a method to fetch the buffer of the indicated array element and return it as a byte array.

func (*BufferTArray) ValStr

func (buftary *BufferTArray) ValStr(tptoken uint64, errstr *BufferT, idx uint32) (string, error)

ValStr is a method to fetch the buffer of the indicated array element and return it as a string.

type CallMDesc added in v1.0.0

type CallMDesc struct {
	// contains filtered or unexported fields
}

CallMDesc is a struct that (ultimately) serves as an anchor point for the C call-in routine descriptor used by CallMDescT() that provides for less call-overhead than CallMT() as the descriptor contains fastpath information filled in by YottaDB after the first call so subsequent calls have minimal overhead. Because this structure's contents contain pointers to C allocated storage, this structure is NOT safe for concurrent access.

func (*CallMDesc) CallMDescT added in v1.0.0

func (mdesc *CallMDesc) CallMDescT(tptoken uint64, errstr *BufferT, retvallen uint32, rtnargs ...interface{}) (string, error)

CallMDescT allows calls to M with string arguments and an optional string return value if the called function returns one and a return value is described in the call-in definition. Else return is nil.

func (*CallMDesc) Free added in v1.0.0

func (mdesc *CallMDesc) Free()

Free is a method to release both the routine name buffer and the descriptor block associated with the CallMDesc block.

func (*CallMDesc) SetRtnName added in v1.0.0

func (mdesc *CallMDesc) SetRtnName(rtnname string)

SetRtnName is a method for CallMDesc that sets the routine name into the descriptor.

type CallMTable added in v1.0.0

type CallMTable struct {
	// contains filtered or unexported fields
}

CallMTable is a struct that defines a call table (see https://docs.yottadb.com/ProgrammersGuide/extrout.html#calls-from-external-routines-call-ins). The methods associated with this struct allow call tables to be opened and to switch between them to give access to routines in multiple call tables.

func CallMTableOpenT added in v1.0.0

func CallMTableOpenT(tptoken uint64, errstr *BufferT, tablename string) (*CallMTable, error)

CallMTableOpenT function opens a new call table or one for which the process had no handle and returns a CallMTable for it.

func (*CallMTable) CallMTableSwitchT added in v1.0.0

func (newcmtable *CallMTable) CallMTableSwitchT(tptoken uint64, errstr *BufferT) (*CallMTable, error)

CallMTableSwitchT method switches whatever the current call table is (only one active at a time) with the supplied call table and returns the call table that was in effect (or nil if none).

type KeyT

type KeyT struct {
	Varnm  *BufferT
	Subary *BufferTArray
}

KeyT defines a database key including varname and optional subscripts. Because this structure's contents contain pointers to C allocated storage, this structure is NOT safe for concurrent access.

func (*KeyT) Alloc

func (key *KeyT) Alloc(varSiz, numSubs, subSiz uint32)

Alloc is a STAPI method to allocate both pieces of the KeyT according to the supplied parameters.

Invoke Varnm.Alloc(varSiz) and SubAry.Alloc(numSubs, subSiz)

Parameters:

varSiz  - Length of buffer for varname (current var max is 31).
numSubs - Number of subscripts to supply (current subscript max is 31).
subSiz  - Length of the buffers for subscript values.

func (*KeyT) DataST

func (key *KeyT) DataST(tptoken uint64, errstr *BufferT) (uint32, error)

DataST is a STAPI method to determine the status of a given node and its successors.

Matching DataE(), DataST() returns the result of ydb_data_st(). In the event an error is returned, the return value is unspecified.

func (*KeyT) DeleteST

func (key *KeyT) DeleteST(tptoken uint64, errstr *BufferT, deltype int) error

DeleteST is a STAPI method to delete a node and perhaps its successors depending on the value of deltype.

Matching DeleteE(), DeleteST() wraps ydb_delete_st() to delete a local or global variable node or (sub)tree, with a value of YDB_DEL_NODE for deltype specifying that only the node should be deleted, leaving the (sub)tree untouched, and a value of YDB_DEL_TREE specifying that the node as well as the (sub)tree are to be deleted.

func (*KeyT) Dump

func (key *KeyT) Dump()

Dump is a STAPI method to dump the contents of the KeyT structure.

Invoke Varnm.Dump() and SubAry.Dump().

func (*KeyT) DumpToWriter

func (key *KeyT) DumpToWriter(writer io.Writer)

DumpToWriter dumps a textual representation of this key to the writer.

func (*KeyT) Free

func (key *KeyT) Free()

Free is a STAPI method to free both pieces of the KeyT structure.

Invoke Varnm.Free() and SubAry.Free().

func (*KeyT) IncrST

func (key *KeyT) IncrST(tptoken uint64, errstr *BufferT, incr, retval *BufferT) error

IncrST is a STAPI method to increment a given node and return the new value.

Matching IncrE(), IncrST() wraps ydb_incr_st() to atomically increment the referenced global or local variable node coerced to a number, with incr coerced to a number. It stores the result in the node and also returns it through the BufferT structure referenced by retval.

If ydb_incr_st() returns an error such as NUMOFLOW, INVSTRLEN, the method makes no changes to the structures under retval and returns the error. If the length of the data to be returned exceeds retval.lenAlloc, the method sets the len_used of the C.ydb_buffer_t referenced by retval to the required length, and returns an INVSTRLEN error. Otherwise, it copies the data to the buffer referenced by the retval.buf_addr, sets retval.lenUsed to its length.

With a nil value for incr, the default increment is 1. Note that the value of the empty string coerced to an integer is zero.

func (*KeyT) LockDecrST

func (key *KeyT) LockDecrST(tptoken uint64, errstr *BufferT) error

LockDecrST is a STAPI method to decrement the lock-count of a given lock node.

Matching LockDecrE(), LockDecrST() wraps ydb_lock_decr_st() to decrement the count of the lock name referenced, releasing it if the count goes to zero or ignoring the invocation if the process does not hold the lock.

func (*KeyT) LockIncrST

func (key *KeyT) LockIncrST(tptoken uint64, errstr *BufferT, timeoutNsec uint64) error

LockIncrST is a STAPI method to increment the lock-count of a given node lock with the given timeout in nano-seconds.

Matching LockIncrE(), LockIncrST() wraps ydb_lock_incr_st() to attempt to acquire the referenced lock resource name without releasing any locks the process already holds.

If the process already holds the named lock resource, the method increments its count and returns. If timeoutNsec exceeds YDB_MAX_TIME_NSEC, the method returns with an error return TIME2LONG. If it is able to aquire the lock resource within timeoutNsec nanoseconds, it returns holding the lock, otherwise it returns LOCK_TIMEOUT. If timeoutNsec is zero, the method makes exactly one attempt to acquire the lock.

func (*KeyT) NodeNextST

func (key *KeyT) NodeNextST(tptoken uint64, errstr *BufferT, next *BufferTArray) error

NodeNextST is a STAPI method to return the next subscripted node for the given global - the node logically following the specified node (returns *BufferTArray).

Matching NodeNextE(), NodeNextST() wraps ydb_node_next_st() to facilitate depth first traversal of a local or global variable tree.

If there is a next node:

If the number of subscripts of that next node exceeds next.elemAlloc, the method sets next.elemUsed to the number of subscripts required, and returns an INSUFFSUBS error. In this case the elemUsed is greater than elemAlloc. If one of the C.ydb_buffer_t structures referenced by next (call the first or only element n) has insufficient space for the corresponding subscript, the method sets next.elemUsed to n, and the len_alloc of that C.ydb_buffer_t structure to the actual space required. The method returns an INVSTRLEN error. In this case the len_used of that structure is greater than its len_alloc. Otherwise, it sets the structure next to reference the subscripts of that next node, and next.elemUsed to the number of subscripts.

If the node is the last in the tree, the method returns the NODEEND error, making no changes to the structures below next.

func (*KeyT) NodePrevST

func (key *KeyT) NodePrevST(tptoken uint64, errstr *BufferT, prev *BufferTArray) error

NodePrevST is a STAPI method to return the previous subscripted node for the given global - the node logically previous to the specified node (returns *BufferTArray).

Matching NodePrevE(), NodePrevST() wraps ydb_node_previous_st() to facilitate reverse depth first traversal of a local or global variable tree.

If there is a previous node:

If the number of subscripts of that previous node exceeds prev.elemAlloc, the method sets prev.elemUsed to the number of subscripts required, and returns an INSUFFSUBS error. In this case the elemUsed is greater than elemAlloc. If one of the C.ydb_buffer_t structures referenced by prev (call the first or only element n) has insufficient space for the corresponding subscript, the method sets prev.elemUsed to n, and the len_alloc of that C.ydb_buffer_t structure to the actual space required. The method returns an INVSTRLEN error. In this case the len_used of that structure is greater than its len_alloc. Otherwise, it sets the structure prev to reference the subscripts of that prev node, and prev.elemUsed to the number of subscripts.

If the node is the first in the tree, the method returns the NODEEND error making no changes to the structures below prev.

func (*KeyT) SetValST

func (key *KeyT) SetValST(tptoken uint64, errstr *BufferT, value *BufferT) error

SetValST is a STAPI method to set the given value into the given node (glvn or SVN).

Matching SetE(), at the referenced local or global variable node, or the intrinsic special variable, SetValST() wraps ydb_set_st() to set the value specified by val.

func (*KeyT) SubNextST

func (key *KeyT) SubNextST(tptoken uint64, errstr *BufferT, retval *BufferT) error

SubNextST is a STAPI method to return the next subscript following the specified node.

Matching SubNextE(), SubNextST() wraps ydb_subscript_next_st() to facilitate breadth-first traversal of a local or global variable sub-tree.

At the level of the last subscript, if there is a next subscript with a node and/or a subtree:

If the length of that next subscript exceeds sub.len_alloc, the method sets sub.len_used to the actual length of that subscript, and returns an INVSTRLEN error. In this case sub.len_used is greater than sub.len_alloc. Otherwise, it copies that subscript to the buffer referenced by sub.buf_addr, and sets sub.len_used to its length.

If there is no next node or subtree at that level of the subtree, the method returns the NODEEND error.

func (*KeyT) SubPrevST

func (key *KeyT) SubPrevST(tptoken uint64, errstr *BufferT, retval *BufferT) error

SubPrevST is a STAPI method to return the previous subscript following the specified node.

SubPrevST() wraps ydb_subscript_previous_st() to facilitate reverse breadth-first traversal of a local or global variable sub-tree.

At the level of the last subscript, if there is a previous subscript with a node and/or a subtree:

If the length of that previous subscript exceeds sub.len_alloc, the method sets sub.len_used to the actual length of that subscript, and returns an INVSTRLEN error. In this case sub.len_used is greater than sub.len_alloc. Otherwise, it copies that subscript to the buffer referenced by sub.buf_addr, and sets buf.len_used to its length.

If there is no previous node or subtree at that level of the subtree, the method returns the NODEEND error.

func (*KeyT) ValST

func (key *KeyT) ValST(tptoken uint64, errstr *BufferT, retval *BufferT) error

ValST is a STAPI method to fetch the given node returning its value in retval.

Matching ValE(), ValST() wraps ydb_get_st() to return the value at the referenced global or local variable node, or intrinsic special variable, in the buffer referenced by the BufferT structure referenced by retval.

If ydb_get_st() returns an error such as GVUNDEF, INVSVN, LVUNDEF, the method makes no changes to the structures under retval and returns the error. If the length of the data to be returned exceeds retval.getLenAlloc(), the method sets the len_used` of the C.ydb_buffer_t referenced by retval to the required length, and returns an INVSTRLEN error. Otherwise, it copies the data to the buffer referenced by the retval.buf_addr, and sets retval.lenUsed to its length.

type YDBError

type YDBError struct {
	// contains filtered or unexported fields
}

YDBError is a structure that defines the error message format which includes both the formated $ZSTATUS type message and the numeric error value.

func (*YDBError) Error

func (err *YDBError) Error() string

Error is a method to return the expected error message string.

type YDBHandlerFlag added in v1.2.0

type YDBHandlerFlag int

YDBHandlerFlag type is the flag type passed to yottadb.RegisterSignalNotify() to indicate when or if the driver should run the YottaDB signal handler.

const (
	// NotifyBeforeYDBSigHandler - Request sending notification BEFORE running YDB signal handler
	NotifyBeforeYDBSigHandler YDBHandlerFlag = iota + 1
	// NotifyAfterYDBSigHandler - Request sending notification AFTER running YDB signal handler
	NotifyAfterYDBSigHandler
	// NotifyAsyncYDBSigHandler - Notify user and run YDB handler simultaneously (non-fatal signals only)
	NotifyAsyncYDBSigHandler
	// NotifyInsteadOfYDBSigHandler - Do the signal notification but do NOT drive the YDB handler
	NotifyInsteadOfYDBSigHandler
)

Use iota to get enum like auto values starting at 1

Directories

Path Synopsis
internal
israce
Package israce reports if the Go race detector is enabled.
Package israce reports if the Go race detector is enabled.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL