On certain CVs, some OLQ USERs who attempt to submit a report as batch get the error 132006 Default job control language module could not be found, even though the OLQBATCH-JCL qfile does reside in the dictionary.
IDMS - all supported releases
The OLQBATCH-JCL qfile that contains OLQBATCH submission JCL must reside in the dictionary defined as REPORT DICTNAME in the sysgen OLQ statement (unless OPT00069 is ON which tells OLQ to look in the current dictname set by the USER).
OLQ determines its dictionary security setting from the CV's DEFAULT DICTNAME. The DEFAULT DICTNAME is specified in the DBTABLE for the CV in the *DEFAULT subschema mapping statement for subschema IDMSNWK?.
If the OPTIONS FOR DICTIONARY In the default dictname indicates SECURITY FOR OLQ IS ON, then OLQ will require that USER definitions have ACCESS TO QFILE xxxxxxx clauses in the dictionary where the qfile resides.
If SECURITY FOR OLQ IS ON in the default dictname and a USER in the REPORT DICTNAME does not have the ACCESS TO QFILE OLQBATCH-JCL clause, that user will get the error 132006 Default job control language module could not be found.
Modifying that USER to have the relevant ACCESS clause will allow them to find the qfile.