×
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.
I'm playing with XML-INTO, for first time. When I run the below, I receive
CPE3025, "No such path or directory."
/include qrpgcpy,psds
d customer_T ds Qualified template
d id 7a
d name 40a
d address likeds(address_T)
d address_T ds qualified template
d city 40a
d state 2a
d customers ds likeds(customer_T) dim(99)
d aCustomer ds likeds(customer_T)
d fileLoc s 25a inz('/home/LBAILEY/test.xml')
d i s 3i 0
/free
xml-into customers %xml(fileLoc: 'doc=file case=any');
for i = 1 to psdsXMLElements;
aCustomer=customers(i);
endfor;
*inlr = '1';
/end-free
I can copy/paste the value of fileLoc into a WRKLNK command, and it shows
me the file. So I know there is no misspelling of path and file.
I'm missing something obvious, what am I missing?
Thanks for any help,
As an Amazon Associate we earn from qualifying purchases.
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.