From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Campin
--The other question I would have is why anyone would write a service program these days using file I/O instead of SQL.

With file I/O I get more control over the file locks. When I close a file, its closed.

SQL doesn't always close the files when you run a close cursor.
So, short of destroying active service program, killing the activation group, or other extreme methods, that SQL service program is going to hold onto file locks.

Chris Hiebert
Senior Programmer/Analyst
Disclaimer: Any views or opinions presented are solely those of the author and do not necessarily represent those of the company.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by 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].