Skip to content

DRDA Code Point Reference

Code points are 2-byte identifiers used in DDM objects to identify commands, replies, and parameters. This is a reference of the code points used by db2-node.

Connection / Handshake

Code PointNameDescription
0x1041EXCSATExchange Server Attributes
0x1443EXSATRDExchange Server Attributes Reply Data
0x106DACCSECAccess Security
0x14ACACCSECRDAccess Security Reply Data
0x106ESECCHKSecurity Check
0x1219SECCHKRMSecurity Check Reply Message
0x2001ACCRDBAccess RDB (connect to database)
0x2201ACCRDBRMAccess RDB Reply Message

Parameters

Code PointNameDescription
0x115EEXTNAMExternal Name
0x116DSRVNAMServer Name
0x115ASRVRLSLVServer Product Release Level
0x1147SRVCLSNMServer Class Name
0x1404MGRLVLLSManager Level List
0x11A2SECMECSecurity Mechanism
0x11DCSECTKNSecurity Token
0x11A0USRIDUser ID
0x11A1PASSWORDPassword
0x2110RDBNAMRDB Name (database name)
0x112EPRDIDProduct Specific Identifier
0x002FTYPDEFNAMType Definition Name
0x0035TYPDEFOVRType Definition Overrides
0x119CCCSIDSBCCCSID Single-Byte Characters
0x119DCCSIDDBCCCSID Double-Byte Characters
0x119ECCSIDMBCCCSID Mixed-Byte Characters
0x210FRDBACCCLRDB Access Manager Class

SQL Operations

Code PointNameDescription
0x200DPRPSQLSTTPrepare SQL Statement
0x2414SQLSTTSQL Statement (carries SQL text)
0x2412SQLDTASQL Data (parameter values)
0x200COPNQRYOpen Query (SELECT)
0x2006CNTQRYContinue Query (fetch more rows)
0x2005CLSQRYClose Query
0x200AEXCSQLIMMExecute SQL Immediate
0x200BEXCSQLSTTExecute SQL Statement (prepared)
0x200ERDBCMMRDB Commit
0x200FRDBRLLBCKRDB Rollback

Reply Messages

Code PointNameDescription
0x2408SQLCARDSQL Communications Area Reply Data
0x2411SQLDARDSQL Descriptor Area Reply Data
0x241BQRYDTAQuery Answer Set Data
0x241AQRYDSCQuery Answer Set Description
0x1149SVRCODSeverity Code
0x220BENDQRYRMEnd of Query Reply Message
0x2205OPNQRYRMOpen Query Reply Message
0x2218RDBUPDRMRDB Update Reply Message
0x124CSYNTAXRMSyntax Error Reply Message
0x1245PRCCNVRMProcessing Conversion Reply Message

Manager Code Points

Used in MGRLVLLS negotiation to declare supported protocol capabilities.

Code PointNameDescription
0x1403AGENTAgent (connection) Manager
0x2407SQLAMSQL Application Manager
0x240FRDBRelational Database Manager
0x1440SECMGRSecurity Manager
0x1474CMNTCPIPTCP/IP Communication Manager

Security Mechanisms

CodeNameDescription
0x0003USRIDPWDUser ID and Password (cleartext)
0x0004USRIDONLUser ID only
0x0005USRIDNWPWDUser ID with New Password
0x0009EUSRIDPWDEncrypted User ID and Password

Severity Codes (SVRCOD)

ValueMeaning
0x0000Info — success
0x0004Warning
0x0008Error
0x0010Severe error
0x0014Access violation
0x0018Critical error
0x001CSession terminated

Full Reference

The complete list of 200+ code points can be found in:

Released under the MIT License.