|
If you trying to see the values from debug, you don't reference anyvariables from that file in your program, so the values will not get
Here is the code: http://mowyourlawn.com/temp/t_mktliv.html
I only included the tables necessary to get to the offending portion of
code
(highlighted in yellow). Anything jumping out? No subprocdures (I have
been bitten by that one before :-), but I do define a data structure for
each table so I can prefix the columns. Note that I have been doing this
(prefixing) for years and haven't been bit in the butt with it.
Aaron Bartell
http://mowyourlawn.com
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Joe Pluta
Sent: Friday, December 14, 2007 11:10 AM
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: READE not bringing in record data
Aaron, just a quick shot in the dark: are you using subprocedures? If so,
be very careful with global vs. local declarations. If you have a data
structure defined locally in a subprocedure that has the file fields in
it,
those fields won't get loaded by a READ.
Joe
From: Aaron Bartelllatest
Hi all,
Not sure if this has to do with the fact that I just installed the
CUMES, but I wanted to declare that up front as that seems to be thetime
my issue started.this
I have a very simple program that first CHAINs to a header record
(successfully) and then does a SETLL/READE for a DOW loop for a child
table.
It finds the records on the READE (i.e. %eof(CHILD) is not on), but it
doesn't load the record data into my program. It continues to loop
through
for the exact amount of records that are in the child table (eight in
case) and then ends.
--
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.
--
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.