Is it possible to run an OCF session (or IDMSBCF batch job) such that it will access the database in READ ONLY mode?
IDMS - all supported releases
Yes.
Place the syntax SET SESSION READ ONLY; after the CONNECT and before the rest of the input.
For example:
CONNECT TO APPLDICT;
SET SESSION READ ONLY;
SELECT * FROM DEMOPROJ.EMPLOYEE;
For more information, see IDMS SQL Reference section “Statements”, “SET SESSION”.