×
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.
It's a program that is maintained. I also wouldn't do it this way.
Definetly was not showing on the printed output so I ran debug on it and
was showing as blank. Yet another array in that group was visible.
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Simon Coulter
Sent: Wednesday, March 12, 2008 8:38 AM
To: RPG programming on the AS400 / iSeries
Subject: Re: also a senior moment - compile time array
On 12/03/2008, at 10:37 PM, Michael Ryan wrote:
The name of the array is MADE, but you're specifying it as ARRAY on
the array data (**) line. You can have multiple compile time arrays
and they don't have to be in the order specified on the D (or E ?)
specs if you specify a name. If this is the only compile time array,
or the arrays are specified in the same order as they are defined,
either take off the name on the ** line or specify the same name on
the ** line as the name of the array.
All true for RPG IV but then he wouldn't have an E-spec defining the
array ...
The original problem is unclear. He says he defined a compile-time
array and has data top populate it but "it won't print. I debugged it
and it shows blanks". WHAT shows blanks? The array? I doubt it.
Likely cause is a code defect in the print routine.
Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists
http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------
As an Amazon Associate we earn from qualifying purchases.