my goal is to duplicate a table - and to use it as a table with _R... functions - not like just a generic stream file.
Do not think that IFS files are good for that.
And I want it in QTEMP as this temporary table must exist only inside this session.


-----Original Message-----
From: c400-l-bounces@xxxxxxxxxxxx [mailto:c400-l-bounces@xxxxxxxxxxxx] On Behalf Of Bill Seurer
Sent: Friday, February 15, 2013 4:25 PM
To: Bare Metal Programming IBM i (AS/400 and iSeries)
Subject: Re: [C400-L] Creating temporary table

c400-l-bounces@xxxxxxxxxxxx wrote on 02/15/2013 03:07:22 AM:

All these methods seem odd - that made me think that maybe there is
some better way...

Is there any way you can duplicate it without using CRTDUPOBJ? If so you could use the tmpnam function (or one of its cousins) to create a temporary file in IFS in /tmp without worrying about getting a conflict.

This thread ...


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

This mailing list archive is Copyright 1997-2019 by 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].