# Functions
AddGlobalMapRepository this method adds a Adabas Map repository used to search for a used Adabas Map.
AddGlobalMapRepositoryReference this method adds a Adabas Map repository used to search for a used Adabas Map.
AllGlobalMapNames provides all Adabas Map names defined in the in global defined repositories.
AllGlobalMaps provides all Adabas Maps defined in the in global defined repositories.
CleanGlobalMapRepository this methods removes all global defined repositories in the Adabas Map repository.
DelGlobalMapRepository this method removes a global map repository entry.
DelGlobalMapRepositoryReference this method removes a global map repository entry.
DumpGlobalMapRepositories dump global map repositories.
EndAsynchronousMapCache the Map cache update thread is initiated to end asynchronous cache update.
Endian current byte order of the client system.
LoadJSONMap load JSON Map file and creates Map instance of that.
NewAdabas create a new Adabas struct instance.
NewAdabasID create a new unique Adabas ID instance using static data.
NewAdabasMap create new Adabas map instance containing the long name to short name definition.
NewAdabasMapNameStoreRequest creates a new store Request instance using an Adabas instance and Adabas Map.
NewAdaIPC fake nil instance to disable driver.
NewAdaTCP create new ADATCP connection to remote TCP/IP Adabas nucleus.
NewAdatcpHeader new Adabas TCP header.
NewBuffer Create a new buffer with given id.
NewBufferWithSize Create a new buffer with given id and predefined size.
NewClonedAdabas create a cloned Adabas struct instance.
NewConnection create new Adabas connection instance The target url will look like <dbid>(<driver prefix>://<host>:<port>).
NewConnectionID create new Adabas connection instance providing a Adabas ID The target url will look like <dbid>(<driver prefix>://<host>:<port>).
NewDeleteRequestAdabas create a new Request instance.
NewDeleteRequestDeprecated create a new store Request instance.
NewError Create new Adabas errror.
NewFieldQuery parse field and return query info.
NewMapDeleteRequest create a new Map Delete Request instance.
NewMapNameDeleteRequest create a new Request instance.
NewMapNameDeleteRequestRepo create a new delete Request instance.
NewMapRepository new map repository created.
NewMapRepositoryWithURL new map repository created.
NewRcvBuffer Create a new buffer with given id.
NewReadRequest create a request defined by a dynamic list of parameters.
NewRecord create new result record infrastructure based on the given definition.
NewRecordIsn create a new result record with ISN or ISN quantity.
NewSendBuffer Create a new buffer with given id.
NewStoreRequest creates a new store Request instance using different types of parameters.
NewStoreRequestAdabas creates a new store Request instance using an Adabas instance and Adabas file number.
NewURL create a URL based on a input string.
NewURLWithDbid create a new URL based on the database id only.
ParseJSONFileForFields Parse JSON map export file.
PeriodGroup return if it is part of an period group return the period group field of level 1.
RegisterExternalDriver register external drivers.
SearchAdabasBuffer returns search buffer of the search tree.
SearchMapRepository searchs in global-defined Adabas Map repositories for a specific map name.
StartAsynchronousMapCache this method starts a thread which update the map cache periodically.
TimeTrack defer function measure the difference end log it to log management, like
defer TimeTrack(time.Now(), "CallAdabas "+string(adabas.Acbx.Acbxcmd[:])).
ValueAdabasBuffer returns value buffer of the search tree.
# Constants
F-Format Buffer */.
I-ISN Buffer */.
Multifetch Buffer */.
I/O Buffer (internal) */.
Performance Buffer */.
R-Record Buffer */.
S-Search Buffer */.
U-User Info */.
V-Value Buffer */.
CLEX Info Buffer (internal) */.
Security Buffer (internal) */.
EBCDIC F-Format Buffer */.
EBCDIC I-ISN Buffer */.
EBCDIC Multifetch Buffer */.
EBCDIC I/O Buffer (internal) */.
EBCDIC Performance Buffer */.
EBCDIC R-Record Buffer */.
EBCDIC S-Search Buffer */.
EBCDIC User Info */.
EBCDIC V-Value Buffer */.
EBCDIC CLEX Info Buffer */.
EBCDIC Security Buffer */.
AdaALLOC Double allocation error.
AdaALOCK ISN already held by some other user (Adabas response code 145).
AdaAnact Adabas is not active or accessible (Adabas response code 148).
AdaBLOST receive buffer lost (Adabas response code 210).
AdaBPLOCK Hyperdescriptor error (Adabas response code 87).
AdaBPMFU All buffer pool space is used (Adabas response code 162).
AdaBPOLL Insufficient space in attached buffer (Adabas response code 255).
AdaBSPEC Invalid buffer length specification (Adabas response code 146).
AdaCALLINV Invalid function call - coding error (Adabas response code 252).
AdaCancel Adabas call canceled (Adabas response code 154).
AdaCmdInvalid Invalid command code (Adabas response code 22).
AdaCompressTooLong Compressed record too long (Adabas response code 49).
AdaDARAB Invalid DATA RABN (Adabas response code 173).
AdaDDLCommandFailed DDL command has failed (Adabas response code 15).
AdaDescrLong Descriptor value too long (Adabas response code 56).
AdaDSpec Unknown Descriptor specification in search buffer for L9 (Adabas response code 57).
AdaEOF Adabas End of File reached (Adabas response code 3).
AdaErrorFB Error in format buffer (Adabas response code 41).
AdaERSBU Error in search buffer (Adabas response code 61).
AdaETDAT Necessary ET-data was not found in appropriate WORK block (Adabas response code 182).
AdaEXOVFCB Extent overflow in File Control Block (FCB) (Adabas response code 75).
AdaFBNotUsableUpdate Format buffer cannot be used for update (Adabas response code 44).
AdaFCONVSUB Format conversion for subfield not possible (Adabas response code 59).
AdaFCTNY Function not yet implemented (Adabas response code 250).
AdaFieldCountOverflow Field count for PE or MU overflowed when using N-option for update (Adabas response code 45).
AdaFileChanged File number changed during command sequence (Adabas response code 18).
AdaFNFCR Format not found according to selection criterion (Adabas response code 58).
AdaFuncMP Function not completely executed (Adabas response code 2).
AdaFUNotAvaiable File(s) / user ID not available at open time (Adabas response code 48).
AdaGCBEX Invalid GCB / FCB extent detected (Adabas response code 243).
AdaHoldIsnOverflow Maximum number of ISNs held by a single user are reached (Adabas response code 48).
AdaHYISN OS: Invalid ISN from hyperexit, MF: A hypertable overflow occurred.
AdaHYISNMF MF: Invalid ISN from hyperexit (Adabas response code 83).
AdaHYPERR Hyperdescriptor error (Adabas response code 86).
AdaHYXNA Hyperdescriptor not available (Adabas response code 79).
AdaICNF Invalid client number specification (Adabas response code 66).
AdaIDUCB Correct Ident not found in UCB (Adabas response code 247).
AdaIEDEC Internal error during decompressing of superfields (Adabas response code 67).
AdaIFBSmall Internal format buffer too small to store format (Adabas response code 42).
AdaIncompFCTE Incompatible format conversion or truncation error (Adabas response code 55).
AdaInconsistentCmd Inconsistent usage of a command (Adabas response code 21).
AdaIncosistentDE Inconsistent Descriptor definition for L9 (Adabas response code 43).
AdaINMEM Insufficient memory (Adabas response code 88).
AdaINRAB Invalid RABN (Adabas response code 170).
AdaInvalidADD1 Invalid ADDITION-1 contents for L3/L6/S9 (Adabas response code 28).
AdaInvalidCID Invalid command identification (CID) value (Adabas response code 20).
AdaInvalidCOP An invalid command option has been detected.
AdaInvalidFileNumber Invalid or unauthorized file number (Adabas response code 17).
AdaInvalidIsnBuf Invalid ISN found in ISN-buffer (Adabas response code 24).
AdaInvalidISNBufferLength Invalid ISN-buffer length or invalid ISN-Quantity (Adabas response code 26).
AdaInvalidRBOpen Invalid record buffer Contents During Open (Adabas response code 51).
AdaInvalidRBVB Invalid data in record buffer or value buffer (Adabas response code 52).
AdaInvalidStartISN Invalid ISN starting value for L2/L5 (Adabas response code 23).
AdaINVIS Invalid ISN for HI,N2 or L1/L4 (Adabas response code 113).
AdaINVLIST Error in inverted list (Adabas response code 176).
AdaINVPWD Invalid password (Adabas response code 201).
AdaINVRF Refresh file not permitted (Adabas response code 114).
AdaINVUSR SAF security invalid user (Adabas response code 208).
AdaIOERR I/O error (Adabas response code 99).
AdaISNLL ISN specified in ISN-LL for subsequent S1/S2 not found (Adabas response code 25).
AdaISNNotSorted ISN list not sorted (Adabas response code 1).
AdaISNVAL ISN value invalid (ISN=0 or ISN>MAXISN) (Adabas response code 172).
AdaIUBSZ User buffer greater than IUB size (Adabas response code 152).
AdaIUCAL Invalid utility call (Adabas response code 251).
AdaLNKERR This response is issued by an Adabas link routine (Adabas response code 228).
AdaLOBERR Internal error during LOB file processing (Adabas response code 132).
AdaLODUEX User exit / SPT load error (Adabas response code 241).
AdaLPWSmall LWP parameter too small (for given SBL/VBL) (Adabas response code 28).
AdaLSPEC Inconsistent length specification in search and value buffer (Adabas response code 62).
AdaMISAC Record cannot be located in DATA storage block as indicated by AC (Adabas response code 177).
AdaMismatchFB Mismatch of format buffer usage for supplied command ID (Adabas response code 46).
AdaMissingVOPT Missing V option during forced value start during L3/L6 (Adabas response code 29).
AdaNDSOFF Nondescriptor search issued though facility is off (Adabas response code 78).
AdaNFPWD Invalid password for used file (Adabas response code 202).
AdaNLOCK ISN to be updated not held by user (Adabas response code 144).
AdaNODESC Error in inverted list - descriptor not found (Adabas response code 165).
AdaNODV Error in inverted list - DV not found (Adabas response code 166).
AdaNormal Normal successful completion (Adabas response code 0).
AdaNOTYET Functionality not yet implemented (Adabas response code 212).
AdaNSAAD No Space available for ASSO/DATA (Adabas response code 77).
AdaNSACQ No space available in command queue (Adabas response code 151).
AdaNSSC No space in table of sequential commands (Adabas response code 70).
AdaNSSR No space in table of search results (Adabas response code 71).
AdaNSUQU No space available for user in user queue (Adabas response code 72).
AdaNSWRK No space available for search result in WORK (Adabas response code 73).
AdaNTWRK No temporary space on WORK for search command (Adabas response code 74).
AdaNUCLI Too many nuclei used in parallel (Adabas response code 150).
AdaOVDVT DVT overflow during update command (Adabas response code 85).
AdaOVFST Free Space Table (FST) overflow (Adabas response code 78).
AdaOVIDX An overflow occured in an inverted list index (Adabas response code 76).
AdaOVUCB Utility communicaton block (UCB) overflow (Adabas response code 246).
AdaPending Adabas call already pending (Adabas response code 153).
AdaPWDINU Password already in use (Adabas response code 204).
AdaRbtl Record buffer too long for C3,C5,ET (Adabas response code 54).
AdaRbts Record buffer too short (Adabas response code 53).
AdaRMUTI Only local utility usage allowed (Adabas response code 211).
AdaSAF SAF security login required (Adabas response code 208).
AdaSCALERR Space calculation error (Adabas response code 65).
AdaSECUR Security violation (Adabas response code 200).
AdaSExpandedFiles S2/S9 is not allowed for expanded files.
AdaSubCommandFailed A subcommand of the MC call has failed (Adabas response code 16).
AdaSXInterrupted SX command interrupted because of timeout.
AdaSYLOD System file not loaded or inconsistent (Adabas response code 253).
AdaSyntax Syntax error in format buffer (Adabas response code 40).
AdaSYRBO Syntax error in record buffer for open (Adabas response code 50).
AdaSYSBU Syntax error in search buffer (Adabas response code 60).
AdaSysCe System communication error (Adabas response code 149).
AdaTCPConnectPayloadLength ADATCP connect payload.
AdaTCPDataHeaderLength length of AdaTCPDataHeader structure.
AdaTCPHeaderLength length of AdaTCPHeader structure.
AdaTIMEOUT Connection timeout (Adabas response code 224).
AdaTooManyOccurrencesPeriod Too many occurrences for a periodic group.
AdaTransactionAborted Transaction aborted (Adabas response code 9).
AdaUAOS Error in communication with Adabas utilities or Adabas Online System (AOS) (Adabas response code 64).
AdaUBNAC User buffer not accessible (Adabas response code 147).
AdaUCIDS Unknown command identification (CID) in search buffer (Adabas response code 63).
AdaUNIQD Unique descriptor already present (Adabas response code 98).
AdaUQDV Error in inverted list - DV already present (Adabas response code 167).
AdaUTUCB Pending utility entries in UCB (Adabas response code 245).
AdaVCompression Error in system view compression.
AdaWOSUB Workpool overflow during sub/super update (Adabas response code 84).
AdaXAProtocol Mismatch in the calling protocol (Adabas response code 230).
AddACCCNotAllowed Command not allowed for ACC user (Adabas response code 19).
ConnectError connection errror.
ConnectReply reply after first connect.
ConnectRequest connect.
DataError data error.
DataReply data reply.
DataRequest data request.
DisconnectError disconnect error.
DisconnectRequest disconnect request.
DisconnetReply disconnect reply.
MaxDatabasesID maximum valid database id.
# Structs
Abd Adabas Buffer definition.
Acbx Adabas Control block extended version.
Adabas is an main Adabas structure containing all call specific parameters.
AdaTCP TCP connection handle (for internal use only).
AdaTCPConnectPayload Adabas TCP connect payload.
AdaTCPDataHeader Adabas TCP header.
AdaTCPHeader Adabas TCP Header ADATCP.
AID Adabas id.
Buffer Adabas Buffer overlay to combine the buffer itself with the Adabas buffer definition.
CallStatistic statistic of one Adabas call.
Connection Adabas connection context.
Cursoring the structure support cursor instance handling reading record list in chunks defined by a search or descriptor.
DatabaseURL defines the target URL of a database file.
DeleteRequest request instance handling data store and update.
Error error message with code and time.
FieldQuery parse result of the field part of the query.
ID Adabas Id.
Map Adabas map structure defining repository where the Map is stored at.
MapField Structure to define short name to long name mapping.
MapFile parse map JSON import/export files.
ReadRequest request instance handling field query information.
Record one result record of the result list received by record list or in the stream callback.
Repository Adabas Map repository container.
Response contains the result information of the request.
Statistics Adabas call statistic of all calls with counting remote calls.
Status of the referenced connection.
StoreRequest request instance handling data store and update.
URL define the desination of the host.
# Interfaces
Driver driver interface for different TCP/IP based connections.
ExternalDriver external driver.
# Type aliases
BufferType type of buffer following.
Dbid Adabas database identifier.
Fnr Adabas file number identifier.
InterfaceFunction function callback used to go through the list of received interface instances.
StreamFunction function callback used to go through the list of received records.
TransferDataType transfer data type used to check buffer.