did you close the stream file & reopen it before writing data to it?

Thanks,
Tommy Holden



Mike <koldark@xxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
09/17/2007 10:02 AM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
"RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
cc

Subject
Code Page Problem with Scott's IFS Book






I am working with Scott Klement's IFS book and keep on having a code page
problems. I have my open statement as:

fd = open('/web/customerService/webCategories.xml':
O_CREAT+O_TRUNC+O_WRONLY:
RW*OWNER + RW*GROUP + R: 819);

and I still get gobbly gook in my file. Ideas?


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.