15.10 - DBCHQE - Call-Level Interface Version 2

Teradata Call-Level Interface Version 2 Reference for Mainframe-Attached Systems

prodname
Call-Level Interface Version 2
vrm_release
15.10
category
Programming Reference
featnum
B035-2417-035K

DBCHQE is called by a CLIv2 application to obtain information about its execution environment. When used by an application supporting multiple releases of CLIv2, TDP, or Teradata Database, some return codes that indicate downlevel versions of these components must be handled by the application, most often as equivalent to the information not being available.

  • 202 - CLIv2 does not support the query item
  • 359 - the Database version does not support the requested information
  • 365 - the TDP version does not support the requested information
  • 451 - TDP does not support the query item
  • For queries that return collections of items (Aggregate‑support‑list, Procedure‑data, and Utility‑data), these applications should also allow for downlevel versions of CLIv2 by ensuring that items of interest are present by checking the returned length (QEPRALEN).