|
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,
--
Lloyd Bailey
--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.
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.