× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Does anybody have an idea what I'm doing wrong with my XML-INTO code :-



I get this





call getxml

No such path or directory.

La préparation pour l'analyse syntaxique XML a échoué avec le message

CPE3025. ( Preparation failed with message CPE)


La préparation pour l'analyse syntaxique XML a échoué avec le message

CPE3025.

Exception non interceptée à la ligne 143



My code is as follows



for get_data = 1 to ct ;

ifs_file = '/home/c_papworth/' +

'fswx' + get_dataa + '.xml' ;

xml-into dswpostit %xml(ifs_file :

'doc=file case=any allowmissing=yes') ;

%occur(ws_save_ds) = get_data ;

ws_save_ds = dswpostit ;

endfor ;



The contents og IFS_FILE in debug are :-



IFS_FILE = '/home/c_papworth/fswx0001.xml '



This file exists (I created it using the XML write from a COBOL programme )



<d<ds-xml>

- <file:///I:\C_PAPWORTH\fswx0001.xml##> <RSWPOSTIT>

- <file:///I:\C_PAPWORTH\fswx0001.xml##>

<SWICFAMCPT>TR</SWICFAMCPT>

<SWIONUMCPT>00000399999</SWIONUMCPT>

<SWICDEVCPT>EUR</SWICDEVCPT>

<SWICREGCPT>TR29102LMFBGCEUR</SWICREGCPT>

<SWIYACCVAL>I</SWIYACCVAL>

<SWICVALEUR>BE0003796134</SWICVALEUR>

<SWILVALEUR>DEXIA</SWILVALEUR>

<SWICPLCXYL>025</SWICPLCXYL>

<SWICNATCPT>0</SWICNATCPT>

<SWICDEVCOU>EUR</SWICDEVCOU>

<SWIUNEGOCN>22570000000</SWIUNEGOCN>

<SWICFMTCOU>9</SWICFMTCOU>

<SWIDCOURS>20070327</SWIDCOURS>

<SWICSENQTE>1</SWICSENQTE>

<SWICEXPQTE>UNT</SWICEXPQTE>

<SWIQPOSTIT>43</SWIQPOSTIT>

<SWICFMTQTE>0</SWICFMTQTE>

<SWICSENMON>C</SWICSENMON>

<SWICDEVFMT>EUR</SWICDEVFMT>

<SWIMMONVAL>97051</SWIMMONVAL>

<SWICFMTMTV>2</SWICFMTMTV>

<SWIDESP>20070416</SWIDESP>

<SWICMARFNR>SWIFT</SWICMARFNR>

<SWICBIC>XXXXXXXXBIC</SWICBIC>

<SWIXCLIENT>TR29102LMFBGCEUR</SWIXCLIENT>

</RSWPOSTIT>

</ds-xml>



Do I need to reflect the ds_xml in the doc=file path=ds-xml






As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.