I need some info on how to reduce the number of shared locks placed by my IDMS-COBOL batch program (running in retrieval mode on MVS).
I had a look at the compiler options to find out if an option can be set at compiler level for batch programs but could not find any. The batch program is precompiled by IDMS/DML pre-compiler. Can I set a pre-compiler or compiler level option so that no locks are placed (not even shared locks) when retrieving a record?
The parameter set during SYSGEN was Retrieval No locks. The DBA has confirmed that the system level default is that no locks will be placed during retrieval. Somehow this system option is getting overridden by our programs.
In short, is there any other way I can run an IDMS-COBOL batch program in retrieval mode and not place any shared locks?