× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Jason, Brad is correct, but don't give up performance by giving up on returning 
with *INLR = *off and using a named activation group.

Here is a helpful hint:

Create a data structure whose subfields are the fields that need to be 
reinitialized each time the program is run.  Use the INZ keyword, as required, 
on each subfield.  Then, each time the program is called, use the RESET op code 
on the data structure and all the subfields will be reinitialized.

-
Mel Rothman, CGIDEV2 Author
http://www.easy400.ibm.it/en

Brad Stone wrote:
>
> >And remember, I am using return.
> > Thanks for all
> > of the help!!!!!
> >
>
> And that's exactly the problem.  Initialization doesn't
> occur (*INZSR is not run, INZ statements not run, etc) on
> the second call to the program unless LR is set on.
>
> Just like any RPG program, this behaves the same way.
>
> Brad




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.