|
How do I write the equivalent of
/FREE
IF NOT %OPEN(MYFILE);
%OPEN(MYFILE);
ENDIF;
/END-FREE
for RPGIII ?
David FOXWELL
Guys, guys, lets be reasonable here. Surely we're not the only shop
with a load of RPGIII that still need to be maintained. I only ever
used CVTRPGSRC once and it left me with hours of work to get the
program running correctly.
What noone has replied to is, why can't I just do this?
C OPEN MYFILE 10
C KEY CHAINMYFILE 10
Isn't it like
monitor;
open myfile;
on-error;
// do nothing
endmon;
??
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.