× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Aaron,
Forgive me if I'm missing something, but how do you know your records are
not being loaded?

If you trying to see the values from debug, you don't reference any
variables from that file in your program, so the values will not get
populated.

Hope this helps,
James R. Perkins

On Dec 14, 2007 9:47 AM, Aaron Bartell <albartell@xxxxxxxxx> wrote:

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 Bartell

Hi all,

Not sure if this has to do with the fact that I just installed the
latest
CUMES, but I wanted to declare that up front as that seems to be the
time
my issue started.

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
this
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 thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.