|
>II have a program (module) that contains two >compile-time arrays; one is associated with >the main procedure and I want to place the >other in a called subprocedure. In RPG III >you would simple include the "program data" >at the end of the source code in the order >that corresponded with the E-specs for >both the arrays. How does one do it with ILE RPG? Apparently, one doesn't at V4R5: 14 pproc b 15 dproc pi 10 16 d inParm 1 const 17 18 d local s 10 dim(2) perrcd(1) ctdata ======> aaaaaa bbbbbb *RNF3757 20 a 001800 The keyword is not valid for definitions in subprocedures. *RNF3757 20 b 001800 The keyword is not valid for definitions in subprocedures. It looks like both arrays will have to be global. --buck
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.