[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: [sqr-users] Spurious Error Messages



the include for datetime.sqc should also appear PHYSICALLY before 
the include that has the reference to the array or the compiler/interpreter 
will not know about the create-array at the time it reaches the sqc in 
question.

HTH,
Hugh


> I've had so many errors related to datetime.sqc that I automatically include 
> it in all my programs.
> 
> Richard Knapp
> Database Programmer/Analyst
> Institutional Research and Planning
> University of Missouri System
> 573-882-8856
> knappr@umsystem.edu
> 
> 
> -----Original Message-----
> From: Les Hancock [mailto:les_hanc@yahoo.com]
> Sent: Wednesday, December 18, 2002 12:30 PM
> To: sqr-users@sqrug.org
> Subject: Re: [sqr-users] Spurious Error Messages
> 
> 
> Steve:
> 
> I believe the problem is in this sqc:
> 
> ptgbltme.sqc
> 
> 
> Here is line 768:
> 
> get #NODIM from DaysInMonth(#DSTMonth) dim(#LeapYear)
> ! Format # of Day in Month
> 
> 
> Array DaysInMonth is defined in datetime.sqc
> 
> So, you may just need to include the datetime.sqc
> in your SQR.
> 
> 
> Les
> 
> 
> 
> 
> 
> --- Ray Ontko <rayo@ontko.com> wrote:
> > Hi Steve,
> > 
> > Look at line 768 in one of the included files,
> > probably stdapi.sqc.
> > 
> > Ray
> > 
> > On Wed, Dec 18, 2002 at 09:25:06AM -0800, Alexander,
> > Steve wrote:
> > > In SQR 6, and Peoplesoft 8, I'm getting the same
> > error message repeatedly,
> > > with line numbers that go past the end of my
> > program file:
> > > 
> > > Error on line 768:
> > >    (SQR 3506) Array specified not defined with
> > CREATE-ARRAY.
> > > 
> > > The errors go away when I comment out the
> > "#include 'stdapi.sqc'.  I've seen
> > > this kind of problem before (but with different
> > spurious error messages)
> > > when I #define the same preprocessor constant
> > twice, but I can't find that
> > > happening in this case.
> 

_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users