|
Quick question - if I have a file in a module that specifies NOMAIN, the compiler warns me that I should manually close the file. However, my procedure has ACTGRP(*CALLER) and is called by a program that specifies ACTGRP(*NEW). Am I correct in thinking that when the calling program ends, the file will be closed? I don't know where I got this idea, but it seems to me that ending an activation group closes any files opened in that activation group. Is this true? Are there exceptions? Joe
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 copyright@midrange.com.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.