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



If you have all the state codes in 1 line, you should have Dim(1) PerRcd(50)
I believe the DIM keyword tells the compiler how many lines of data are in
the
compile time array.  I suspect the compile has a severity 00 (or 10) message
saying you have not filled the array because it expects 50 lines and only
finds one.
I could be very wrong here, of course, but what have you got to lose except
time? <g>

Kevin Monahan
Sr Programmer/Analyst
JL Hammett Co
781-848-1000 x1114
www.hammett.com


> -----Original Message-----
> From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On
> Behalf Of Feador, Jerry
> Sent: Thursday, April 18, 2002 2:18 PM
> To: 'rpg400-l@midrange.com'
> Subject: RE: Compile Time Array...
>
>
> When I include the PerRcd(50) the compile bombs with: Too many records
> provided to initialize array or table; excess entries ignored.
>
>
> -----Original Message-----
> From: Kevin Monahan [mailto:kevin.monahan@hammett.com]
> Sent: Thursday, April 18, 2002 11:20 AM
> To: rpg400-l@midrange.com
> Subject: RE: Compile Time Array...
>
>
> I think you need PERRCD(50)
>
> Kevin Monahan
> Sr Programmer/Analyst
> JL Hammett Co
> 781-848-1000 x1114
> www.hammett.com
>
>
> > -----Original Message-----
> > From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On
> > Behalf Of Feador, Jerry
> > Sent: Thursday, April 18, 2002 2:10 PM
> > To: 'rpg400-l@midrange.com'
> > Subject: Compile Time Array...
> >
> >
> > Hi All,
> >
> > Can I join the Drain Bread Club?
> > I must be missing something... I'm trying to load a simple array
> > with state
> > abbreviations using compile time data. I'm only getting the
> first element
> > loaded. (?) the rest are blank. What am I missing? Anyone?
> >
> > D abbrev            S                  2        Dim(50) CtData
> >
> > ...<program snip>...
> >
> > **
> > ALAKASAZAR...
> >
> > Jerry L. Feador
> > Programmer/Analyst II
> > Kia Motors America, Inc.
> > (949) 595-5810



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.