|
The first attachment contained a peice of the code. The second attachment contained parts of the compile listing. I can correct the problem by using a pointer to the data structure, defining the array as a stand alone field and basing it on the data structure using the address. What I don't understand is why the array (7 elements at 10 characters each) will not overlay the data structure which has 7 fields each 10 characters long. Everything appears to be defined correctly when I look at the x-ref at the end of the listing, except it is generating a 7030 error. I am getting this on both a V4R2 and a V4R4 machine. ----- Original Message ----- From: Denis Robitaille <DRobitaille@cascades.com> To: <RPG400-L@midrange.com> Sent: Tuesday, August 31, 1999 3:04 PM Subject: Re: problem with using D-specs in a procedure >I tried it and it did compile. What error message do you get? > >Denis Robitaille >Directeur service technique >Cascades Inc >819 363 5187 >fax 819 363 5177 > > >>>> "Joe Teff" <jteff19@idt.net> 08/31 2:52 PM >>> >An associate was trying to use some code shown in >Bob Cozzi's RPG IV book and it won't compile. I've looked >at it and don't see the problem. What am I missing? > >Joe Teff > > > >+--- >| This is the RPG/400 Mailing List! >| To submit a new message, send your mail to RPG400-L@midrange.com. >| To subscribe to this list send email to RPG400-L-SUB@midrange.com. >| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. >| Questions should be directed to the list owner/operator: david@midrange.com >+--- > +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.