|
----- Message from Darren Strong <darren@xxxxxxxxx> on Mon, 13 Jun<rpg400-l@xxxxxxxxxxxx>
2016 14:34:07 -0400 -----
To:
"RPG programming on the IBM i \(AS/400 and iSeries\)"
give
Subject:
Re: Files used by SQL in RPGLE
I like to use external data structures with a 'qualified template' to
me fields to reference for my cursor fields. This makes sure that
DSPPGMREF picks it up, and gives me a nice way to have external fields
define my internal fields so they always match on the fetch.
So, it might look like this
D IIM_t E DS extname(IIM) qualified template
D C1 DS qualified
D Part like(IIM_t.IPROD)
D Qty like(IIM_t.IONH)
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.