PTF RO60740 provides new versions of the IDMS-STATUS module.
It is possible that the old version is still being used even after the APAR is applied and new versions added to the dictionary with IDMSDDDL.
IDMS - All Supported Releases
The search sequence that the compilers use for COPYing modules into a program is this:
1. First search in descending order of version number, among modules with the correct MODE according to the program being compiled.
2. If none was found, then search in descending order of version number, for modules with no MODE.
According to a normal installation, IDMS-STATUS version 1 is provided with no MODE.
It is designed to be the version used for MODE IS BATCH programs but can also act as a default.
With PTF RO60740, an IDMS-STATUS version 11 is added which also acts in the same way - there is no MODE so it will work for BATCH programs and as a default.
This all works successfully if the modules are not modified after installation.
However, if MODE IS BATCH had been added to IDMS-STATUS version 1, then after RO60740 is applied, version 1 will still be used for a BATCH program, according to the search sequence described above.
The solution is to remove the MODE IS BATCH clause from IDMS-STATUS version 1, or add a MODE IS BATCH clause to IDMS-STATUS version 11.