|
>> is it a way to make procedure to NOt reinitialize the variables? Only subprocedures automatically reinitialize (and that can be controlled by the use of the STATIC keyword). I suspect though that your problem lies in having used the default of *NEW as the activation group on CRTPGM. If this is the case that you look at using DFTACTGRP(*No) in the H spec then use CRTBNDRPG as normal. If you have other procedures to bind look into using binding directories to keep it all simple.
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.