• Subject: CRTPGM Creation Options *DUPVAR *DUPPROC
  • From: bellis@xxxxxxxxxxxx
  • Date: Thu, 22 Jul 1999 13:54:41 -0500



We use binding directories defined for functional areas such as Finance, Order
Entry, Warehouse etc...
Each binding directory contains all of the modules/service programs that are
needed for each functional area.  If there is a module that is needed across
functional areas it is added to the binding directory of those areas.

My problem is if there are variables and/or procedures defined for export within
multiple modules in a binding directory.
When I try to create the program (CRTPGM) I get the error:
Definition supplied multiple times for symbol 'xxxxx'.....
Where 'xxxxx' is the variable or procedure name defined for export.

If we set the parameter OPTIONS (creation options) in the CRTPGM command to both
 *DUPVAR and *DUPPROC
the program is then created without error.

Does anyone know if there any problems with setting this parameter to *DUPVAR
*DUPPROC?
We would like to change the defaults of the CRTPGM command to this.

Thank You,
Brian Ellis.





* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].