× 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.



You don't show your declaration for the IFS_FILE field.
If it is a VARYING field, then it may be a "path=" missing from the options
parameter.
If it is not VARYING, then you need to do a %trimR(ifs_file) to delete the
trailing blanks off the field name.

-Bob Cozzi
www.RPGWorld.com


-------- Original Message --------
Subject: XML question
From: "PAPWORTH Paul" <Paul.Papworth@xxxxxxx>
Date: Wed, April 18, 2007 8:54 am
To: <rpg400-l@xxxxxxxxxxxx>

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 )You

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.