× 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.



I don't have an RPG III manual at hand, but I thought that in both II and III (which, with E specs it has to be one or the other) the arrays did have to be defined after Output in the exact same order in which they are defined in the E-specs. I do know that this is true for II and that descriptions on the '**' lines are irrelevant to the compiler (and useful to humans).

* Jerry C. Adams
*IBM System i Programmer/Analyst
B&W Wholesale Distributors, Inc.* *
voice
615.995.7024
fax
615.995.1201
email
jerry@xxxxxxxxxxxxxxx <mailto:jerry@xxxxxxxxxxxxxxx>



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.

On Wed, Mar 12, 2008 at 7:31 AM, Norm Dennis <nhdennis@xxxxxxxxxxx> wrote:
How are you addressing the array elements?


Norm Dennis

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On
Behalf Of Phil Kestenbaum
Sent: Wednesday, 12 March 2008 5:10 AM
To: RPG programming on the AS400 / iSeries
Subject: RE: also a senior moment - compile time array


Compiler had no warning. Just was stumped I already re-did it bec. it
had to be put in but was curious how it would not show on debug.

E MADE 1 3 50

Goes to pos. 50

** ARRAY MSG
"TECHNOLOGIES INC. IS THE ".
"MADE IN CHINA".
"INDUSTRIES IS THE ".

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Tuesday, March 11, 2008 4:06 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: also a senior moment - compile time array

At the minimum we'll need the definition spec for this compile time
array.
And the ** line and perhaps a line or two after that.

Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com





"Phil Kestenbaum" <pkestenbaum@xxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
03/11/2008 03:53 PM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
<rpg400-l@xxxxxxxxxxxx>
cc

Subject
also a senior moment - compile time array






I have an older program that we added a compile time array, for printing
messages.. It is visible on the code specs but it won't print. I
debugged it and it shows blanks.

Any ideas for the reason it is not being accepted by the program? I can
certainly change it to a constant but it sort of mimics an existing
program.

TIA,

Phil


This message contains information proprietary to our company. It is
intended to be read only by the individual or entity named above or
their
designee.
Any distribution of this message or the information contained herein
without written permission from our company is strictly prohibited. If
the
reader of this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are hereby
notified that you have received this document in error and that any
review, dissemination, distribution, or copying of this message is
strictly prohibited. If you have received this communication in error,
please notify us immediately by e-mail, and delete the original message.


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

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

No virus found in this incoming message.
Checked by AVG.
Version: 7.5.518 / Virus Database: 269.21.7/1325 - Release Date: 11/03/2008
1:41 PM

No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.518 / Virus Database: 269.21.7/1325 - Release Date: 11/03/2008
1:41 PM

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

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.