|
LR has no effect in a nomain program.... -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of rob@xxxxxxxxx Sent: Wednesday, January 24, 2007 4:00 PM To: RPG programming on the AS400 / iSeries Subject: Re: RNF7534-Files should be closed explicitly when NOMAIN is specifiedonthe Control specification. So does this boil down to just a few choices? 1 - Explicitly open and close the file all the time. 2 - Use ACTGRP(*NEW) on CRTPGM and explicitly close the file to eliminate the warning messages. The AG will implicitly open the file. 3 - Implicitly open the file, don't worry about closing it, and ignore the compile warning messages about close. Would setting on the LR indicator do anything? Rob Berendt
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.