Boris,

This is where my lack of "purity" will shine thru.  

But, I prefer to use each tool for what it is best at.  C is very good at
string manipulation, bit twiddling, buffer manipulation, and crazy screwy
weird stuff.  RPG is no fun at all doing these kind of things.

C sucks at working with "native" AS/400 externally described files (device
or database).  On the other hand, RPG excels at doing these things!

So, I use RPG modules to do the normal as/400 file manipulation and C to do
the "fun" stuff.

Yes, you can use a hammer to drive a screw...but it wont be pretty and
generally makes a mess.

JMHO,
Bob

> -----Original Message-----
> From: c400-l-bounces@xxxxxxxxxxxx [mailto:c400-l-bounces@xxxxxxxxxxxx] On
> Behalf Of Boris
> Sent: Thursday, July 29, 2004 10:42 AM
> To: c400-l@xxxxxxxxxxxx
> Subject: [C400-L] Example of using Display Files as binary stream files
> 
> Hi All,
> Does anybody have an example of using Display files with fopen, fwrite...
> functions? All I could find in the documentation that this is possible.
> 
> Or an example of a C program writing into a USRDFN record.
> 
> Any input is highly appreciated
> Thanks
> _______________________________________________
> This is the C programming iSeries / AS400 (C400-L) mailing list
> To post a message email: C400-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/c400-l
> or email: C400-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/c400-l.


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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 here. If you have questions about this, please contact [javascript protected email address].