|
David,
RCLRSC does not affect static storage of ILE programs (<
http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/index.jsp?topic=/cl/rclrsc.htm
).
If you have declared variables STATIC, then you must have a reason to do so and thus should know when the scope of your variable ends. If the static storage belongs to a program, you might consider initialising on entering the program if you want the scope to be the call level.
Joep Beckeringh
David FOXWELL
What is the normal manner to initialize such variables between program calls? Without using activation group *NEW. Currently, it seems we are relying on a CLP that issues a RCLRSC.
Thanks.
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.