|
Happens with AS/SET code , (big programs like ORD701B PUR550B2). One option is to do a CVTRPGSRC to an ILE source. Then compile. Otherwise you will need to remove bits of code you dont need cause you got too many fields. AS/SET has a habit of duplicating sub-routines if you access the same file with a different field NAME but same attributes. eg Order Header by ORDER and somewhere else by ORDNO. Use a work field to do the file I/O and move ORDER and/or ORDNO to the work field. "Lehti, Eric" wrote: > When my RPG compile is submitted with the GENOPT(*LIST) parameter, I get the > message: CPD6311: 'Label on statement caused more than 32,767 objects to > be defined' > > The compile joblog shows message CPF6301: Intermediate representation of > program (IRP ) contains 30 errors. Probable compiler error. > > My question to you is: > - What are these 32,767 objects? Are they: > - Field names in program? > - Array elements? > - Files and field names defined? > - All the afore-mentioned? > > This arbitrary limit in RPG gives us a headache every time we try to add a > few lines of code to this program. I will appreciate any suggestions you > can provide. > Thanks > Eric W. Lehti > Fike Corporation > Blue Springs, Missouri > mailto:Eric.Lehti@fike.com > Phone (816) 229-3405 ext. 231 (Central time) > Direct (816) 229-6216 ext. 231 > ~ +--- | 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.