|
That would work too. Then I wouldn't have to close and re-open anything. I've done it before to open a file for both RRN and key sequence. Regards, Mark > ----- Message from "Lim Hock-Chai" <Lim.Hock-Chai@xxxxxxxx> on Thu, > 30 Sep 2004 12:58:16 -0500 ----- > To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx> > Subject: RE: Commitment control and open data paths with triggers > > Note: haven't had a chance to test below yet. > > can you declare two F specs that refer to that same file TESTH. One > under commitment control the other doesn't. > If TCommitLock <> '0' > use the file that is under commitment control > otherwise > use the file that is not under commitment control > endif
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.