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



It would also have worked if the the filed was fixed length but with a length of the exact length of the file path you used. The way you had it is was looking for a file with blanks at the right hand end of the name.


On Aug 17, 2015, at 11:43 AM, Lloyd Bailey <lbailey@xxxxxxxxxxxxxxx> wrote:

Thanks, Alan. Varying was correct resolution.

On Mon, Aug 17, 2015 at 11:37 AM, Alan Campin <alan0307d@xxxxxxxxx> wrote:

Field is not varying?

On Mon, Aug 17, 2015 at 8:34 AM, Lloyd Bailey <lbailey@xxxxxxxxxxxxxxx>
wrote:

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.


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




--
Lloyd Bailey
Phone: 631-258-3198
--
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.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.