|
2 - We used to use just DFTACTGRP(*NO) in our H-Specs, now we also
use ACTGRP(*CALLER)
Good and bad. Good if the root program (i.e. the one effectively
called from the command line) is a real ILE program with either ACTGRP
(*NO) or ACTGRP(somenameorother). Otherwise *CALLER just results in
running the program in the default activation group and that will
bite you in the end. Apart from anything else it will prevent you
from cleaning up programs and files without signing off. See 3 below.
Here is what we have done so far:
1 - When we convert an OPM to ILE, we also convert any called
programs to ILE
2 - We used to use just DFTACTGRP(*NO) in our H-Specs, now we also
use ACTGRP(*CALLER)
3 - In our main menu program we use RCLRSC(*) when a menu option ends
4 - In SQL programs we have started using *ENDMOD to close the
cursor (either at compile or using 'Set Option' in SQL)
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.