|
I have a global constant:
//dcl-c MAX_ELEMENTS 50;
In a procedure, I have a variable:
dcl-s Weight char( MAX_ELEMENTS );
The program will not compile like that.
If I copy the constant into the procedure that uses it, it will compile. (The example is simple, but in reality there are about ten procedures that use the constant and I'm not eager to copy the one constant into each of those procedures.)
Does anyone know if there is a PTF available for this issue? I'm at 7.1.
Kurt Anderson
Sr. Programmer/Analyst - Application Development, Service Delivery Platform
[cid:image002.jpg@01CD16F9.25D27630]
web: www.customcall.com<http://www.customcall.com/> | email: kurt.anderson@xxxxxxxxxxxx<mailto:kurt.anderson@xxxxxxxxxxxx>
A Division of Enghouse Systems Ltd.<http://www.enghouse.com/> (TSX:ESL)
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.