Difference: 0DXSubrXmlImport (8 vs. 9)

Revision 92015-11-18 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="Main.530DataExchange"

.XML IMPORT

Line: 11 to 11
  PASS <XML_file> FIELD SHARE? N PASS <XML_Map> FIELD SHARE? N PASS <Import_Flag> FIELD SHARE? N
Changed:
<
<
PASS <Delete_Flag> FIELD SHARE? N
>
>
PASS <Delete XML File> FIELD SHARE? N PASS <Create XVALUE> FIELD SHARE? N
  SUBR 0DX .XML IMPORT DETACHED END? N FAIL 0
    • Check for errors IF 0DX .XML IMPORT NE
Line: 31 to 32
  <Delete_Flag> A Y/N flag to indicate if the XML Source File should be deleted (Optional - Release 5.4 and later only). This flag is not present in releases 5.3.3 and earlier, your XML file will be automatically deleted. In 5.4 and up, if you do not pass this flag, the XML Source File will not be deleted.
Changed:
<
<
After the API is complete, your extracted data will be available in the 0DX XVALUE file. This is true, regardless of whether the API imported the data or not. The XVALUE file is keyed on the <key> that is returned from the API. Remember that there can be more than one imported file in XVALUE, you should use <key> in a BEG AT/END AT to only read the data records for this import.
>
>
<Create XVALUE> A Y/N flag to indicate if the XVALUE file should be created (Optional - Release 5.4.3 and later only). This flag is not present in releases 5.4.2 and earlier, the 0DX XVALUE file will always be created. For performance reasons, you may want to skip creating the XVALUE file and read the RAWXML and RAWXMLAT files direclty yourself.
 
Changed:
<
<
XVALUE is a temporary file and the contents will be lost when the session ends.
>
>
After the API is complete, your extracted data will be available in the 0DX XVALUE file (or the RAWXML/RAWXMLAT files if you did not create the XVALUE file). This is true, regardless of whether the API imported the data or not. The XVALUE, RAWXML and RAWAMLAT files are keyed on the <key> that is returned from the API. Remember that there can be more than one imported file in these, you should use <key> in a BEG AT/END AT to only read the data records for this import. Note that you can manage the amount of data in these work files via the .XML PURGE API.

XVALUE, RAWXML and RAWXMLAT are temporary files and the contents will be lost when the session ends.

  NOTE: This subroutine must be invoked DETACHED, and cannot be invoked via GOSUB. The 0DX .XML IMPORT field must be intialized in your process before invoking the API, or you will not get a return value.

Comments:

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback