I have one program that opens a VSAM file in input mode and read it randomly. The record key for file is the records of another file that may vary from 1 to 1m.
There are many job that execute this program simultaneously and hence may perform read on VSAM file using keys from their individual file.
Does this affect the processing of job? I mean contention on file opening.
My another question is, since my program is a middle program so I am opening file only once but after reading the records or at the end of processing I am not closing it. Would it affect anything?