|
Have you thought about using the INDARA option? It removes the indicators from the normal data buffer. Thank you, Matt Tyler WinCo Foods, LLC mattt@xxxxxxxxxxxxxx -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of rick baird Sent: Friday, July 22, 2005 12:21 PM To: RPG programming on the AS400 / iSeries Subject: Re: another SQL precompiler issue - mods for recieving fetches Matt, thanks - I can't do the subfiles explicitly (indicators and such), but all I had to do to trick the pre-compiler was to define them 'like' the fields I'm retrieving in my select/fetch. it's redundant, but it works. On 7/22/05, Tyler, Matt <mattt@xxxxxxxxxxxxxx> wrote: > Rick, > My testing showed that the host structure must be entirely > explicitly, referenced defined or using an external data structure. Is > S2DS a structure based on a sub file? Can you use the sub file to create an > external DS (DS E DS EXTNAME(DSPF:REC:[*INPUT|*OUTPUT] or something like > that). > > If you cannot, then you are probably going to need to create the > host structure with different field names. > > Thank you, > Matt Tyler > WinCo Foods, LLC > mattt@xxxxxxxxxxxxxx > -- > -- > This is the RPG programming on the AS400 / 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. > >
As an Amazon Associate we earn from qualifying purchases.
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.