There have been a lot of changes in RPG over the last few years and I've lost track of many of these changes, so I have a question about file opens in RPG :-
Is it possible to open a file for either input only or update without using overrides (and preferably without multiple F-specs)?
The idea is to have one program for enquiry and maintenance using a parameter to select whether enquiry only or maintenance. If enquiry mode, then the file only needs to be opened for input, otherwise it will need to be opened for update as well. I'm trying to reduce the number of locks used on the data files.
Any ideas? Thanks in advance.
April 21, 2009 11:20 AM
November 19, 2009 5:50 PM