15.10 - XML-response-format - 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

For the XML Datatypes (XML, XML Deferred, XML Locator), XML‑response‑format specifies the format in which the XML data is returned. The following two options are available:

  • Character or 'C'
  • Binary or 'B'
  • Connect‑type=C (DBOCTYPE) needs to be specified to use this option.

     

    In this language...

    The variable name for XML‑response‑format is...

    COBOL

    XML‑RESPONSE‑FORMAT

    PL/I

    XML_RESPONSE_FORMAT

    C

    xmlResponseFormat

    IBM Assembler

    DBRIXRF

     

    If...

    Then set XML‑response‑format to...

    The application wishes the XML response fields to be in Character format

    'C'

  • DBRIXRFC for Assembler
  • DBC_xmlRespFmtChar for C
  • XML‑RESP‑FMT‑CHAR for COBOL
  • DBC_XML_RESP_FMT_CHAR for PL/I
  • The application wishes the XML response fields to be in Binary format

    'B'

  • DBRIXRFB for Assembler
  • DBC_xmlRespFmtBin for C
  • XML‑RESP‑FMT‑BIN for COBOL
  • DBC_XML_RESP_FMT_BIN for PL/I
  • The default XML‑response‑format is 'C' (Character).

     

    This routine...

    Does this...

    DBCHINI

    writes

    DBCHCL

    reads (RSUP; IRQ; IWPF)

     

    XML‑response‑format is used by...

    To...

    applications

    write