General Page
You are in: RPG Cafe > XML-INTO datasubf and countprefix
Short URL: http://ibm.biz/rpgcafe_xmlinto_datasubf_countprefix
RPG Cafe: XML-INTO datasubf & countprefix
XML-INTO "datasubf" and "countprefix" options
This enhancement provides support for two XML-INTO options to enable RPG to consume more types of XML documents.
- The "datasubf" option enables the XML-INTO operation to handle XML elements in the following form:
text data - The "countprefix" option provides a way to detect the number of subfields and subfield array elements that were set by the XML-INTO operation. It reduces the need to specify the "allowmissing=yes" option.
Documentation in the IBM Knowledge Center
- Example of the "datasubf" option: https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/rzasd/datasubfxmp.htm
- Example of the "countprefix" option: https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/rzasd/countprefixmp.htm
[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SS69QP","label":"Rational Development Studio for i"},"Component":"ILE RPG Compiler","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]
Was this topic helpful?
Document Information
Modified date:
12 December 2019
UID
ibm11108467