I did try Birgitta's example, but the problem is that the pre-compiler
does not accept nested DSs.
My example did not use nested data structures, but 3 independent array data
structures.
Mit freundlichen Grüßen / Best regards
Birgitta Hauser
"Shoot for the moon, even if you miss, you'll land among the stars." (Les
Brown)
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"
?Train people well enough so they can leave, treat them well enough so they
don't want to.? (Richard Branson)
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of
Englander, Douglas
Sent: Donnerstag, 2. Februar 2017 19:17
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Embedded SQL into a DS of multiple DS
This program was originally written to perform a single row fetch into
multiple data structures. The program also selects * on the join, so it is
pulling in all columns, even though it does not use all columns. I don't
want to rewrite the program at this point. I was trying to reduce runtime,
but also have time constraints. I will leave it as is for now.
I did try Birgitta's example, but the problem is that the pre-compiler does
not accept nested DSs.
Thank you for all the suggestions!!
Doug
--
This is the RPG programming on the IBM i (AS/400 and 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.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.