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, 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'- XML-RESP-FMT-CHAR for COBOL
- DBC_XML_RESP_FMT_CHAR for PL/I
- DBC_xmlRespFmtChar for C and C++
- DBRIXRFC for Assembler
|
The application wishes the XML response fields to be in Binary format |
'B'- XML-RESP-FMT-BIN for COBOL
- DBC_XML_RESP_FMT_BIN for PL/I
- DBC_xmlRespFmtBin for C and C++
- DBRIXRFB for Assembler
|
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 |