I wrote an easytrieve routine to update a VSAM file. Its just one step in a multi step job & only updates one record, the record is small approx 100 characters. The problem is that it appears easytrieve is 'hanging' on to the file during the entire run of the job, not releasing it for other jobs that use the exact same routine to update the same vsam file. It wasn't a problem when only a couple of quick running jobs updated the file but now I have hundreds, some of the jobs run for hours, and having contention problems all the time.
I stumped as to what to do. Is this an easytrieve thing? Should I rewrite the routine in COBOL?