|
If the "O" specs are not to be used globally then it would seem that they should come between your "C" specs & the procedure end spec....
O specs are always global. Files in RPG are global -- you can't declare a file that's local to a subprocedure. (At least, not using standard RPG operations. You can do it with APIs, but that's another topic altogether)
Since files are always global, so are O specs. They have to go before the first P spec in the program.
Duane, can you possibly post your code, or at least part of it, since I'm struggling to get a mental picture of what it looks like...
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.