I see. In that case, another option is dynamic SQL and leveraging the SQLDA
descriptor area. More code, but it works.
Search InfoCenter on SQLDA, there are a number of examples.
Here are a couple:
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/sqlp/rbafydynexa
mple.htm
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/sqlp/rbafyproces
ssqlda.htm
Elvis
Celebrating 11-Years of SQL Performance Excellence on IBM i, i5/OS and
OS/400
www.centerfieldtechnology.com
-----Original Message-----
Subject: Re: SQL
Elvis Budimlic wrote:
Yes, I've done it.
I just googled it and first hit contains Birgitta's post on the topic,
with
links to relevant manuals:
That looks like a case of the compiler resolving a data structure
definition to fields, rather than actually reading into or writing from
a block of undifferentiated bytes.
This is a case in which neither the filename nor the record structure
are known at compile time.
This mailing list archive is Copyright 1997-2026 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.