|
Yes Eric. The idea was that the child program would end with a return so that storage would NOT re-initialize. Thanks. -----Original Message----- Message: 7 From: "DeLong, Eric" <EDeLong@Sallybeauty.com> To: "'rpg400-l@midrange.com'" <rpg400-l@midrange.com> Subject: RE: Difference B/W Return and seton LR from a programme to a pare nt p rogramme Date: Fri, 4 Oct 2002 13:30:20 -0500 Reply-To: rpg400-l@midrange.com David, did you get this resolved? *CALLER for the child program is not advised if you depend on this program to be initialized on each call. If you always want this program to re-initialize storage each time it is called, recompile the child program as ACTGRP(*NEW), and ensure that you are setting on LR. There is some overhead involved in repeatedly creating and destroying activation groups, so if it runs several thousand times, you may need to change the way you're initializing. Eric DeLong Sally Beauty Company MIS-Project Manager (BSG) 940-898-7863 or ext. 1863
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.