|
manually opening/closing files: yes. that's what i meant. thanx for your comments on this one. -----Ursprüngliche Nachricht----- Von: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] Im Auftrag von Wilt, Charles Gesendet: Dienstag, 18. Juli 2006 15:54 An: RPG programming on the AS400 / iSeries Betreff: RE: usropn files and service programs If you allow the file to be automatically opened, you are correct the system will only open it the one time and will not close it. Note that if you close it manually but the activation group is not terminated, you'll get an error as the system will not re-open the file. However, the OP was talking about manually opening/closing the files. Charles Wilt -- iSeries Systems Administrator / Developer Mitsubishi Electric Automotive America ph: 513-573-4343 fax: 513-398-1121
-----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Lim Hock-Chai Sent: Tuesday, July 18, 2006 9:26 AM To: RPG programming on the AS400 / iSeries Subject: RE: usropn files and service programs I always thought that the file is only open once during the service program start up. Subsequence call to procedures will not cause file to open or close. Am I wrong on this? -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Knezevic.Mihael Sent: Tuesday, July 18, 2006 2:07 AM To: RPG programming on the AS400 / iSeries Subject: usropn files and service programs <clip> afaik the default advice of ibm is that files in a service program should be defined usropn. but if i open and close the files on every procedure call the batch program is really slow. </clip> -- 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.
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.