Symptoms:
Running DQBATCH using OPTION QUERYLANG=SQL fails with
DQ011E - EITHER THE COMMAND IS UNKNOWN, OR AUTHORIZATION IS DENIED .
Datacom 15.1(and below)
External security has been implemented in the CA Datacom Multi-User for Dataquery SQL non-CICS via path/level DBDQSQQ
The security administrator must give the user authorization to
cxxname.DQACCESS.DQLSQL
SQL Mode is always secured by CA Datacom/DB and by external security when it is in effect in the Multi-User startup .