|
That's very odd - we tested this code at V5R1 and it did work as I describe.. but it's a moot point now! What I really need is an elegant way of closing all the files that have been opened by a service program - without reclaiming the entire activation group. I don't really like the solution of the 'control' module that contains the public closedown procedure calling private closedown procedures in all of the other modules. This is because it means that the code in the control module has to know about the physical implementation of the other modules that make up the service program. I can't think of an alternative solution at the moment though. It seems bizarre that there is no apparent straightforward way of doing this. Cheers, Stu -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Barbara Morris Sent: Friday 05 November 2004 15:08 To: rpg400-l@xxxxxxxxxxxx Subject: Re: CLOSE *ALL "Bramley, Stu" wrote: > > At V5R1 the CLOSE operation code with the *ALL option specified closed all > files opened by a program or service program. > > At V5R2, this appears to have changed to close all files opened by the > module from which the CLOSE is issued. > CLOSE *ALL has always been module-specific. There must be some other difference. -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. If you are not the intended recipient, please notify the sender by return email and then delete the message from your computer. The Skandia UK Group reserves the right to monitor e-mail communications through its networks. No contract may be concluded on behalf of the Skandia UK Group by email. Skandia Life Assurance (Holdings) Limited Skandia Life Assurance Company Limited Skandia MultiFUNDS Limited, Skandia Investment Management Limited. Registered Nos: 1606702, 1363932, 1680071, 4227837, England Registered Office: Skandia House, Portland Terrace, Southampton SO14 7EJ, United Kingdom Royal Skandia Life Assurance Limited Registered No : 24916 Isle of Man Registered Office: Skandia House, King Edward Road, Onchan, Isle of Man IM99 1NU, British Isles Skandia Life Assurance Company Limited, Skandia MultiFUNDS Limited, Skandia Investment Management Limited and Royal Skandia Life Assurance Limited are authorised and regulated by the Financial Services Authority for UK investment business. Internet: www.skandia.co.uk
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.