In TSO the program was not run under the DSN command. In IMS, CICS, RRSAF or CAF the program is not using the right language interface module. The statement is not processed.
Typical causes
In TSO, the program was run without first establishing the DSN environment.
In IMS, CICS, RRSAF or CAF, the wrong language interface module is linked or allocated.
The DYNAM compile option loaded the wrong language interface module at run time.
How to fix it
In TSO, run the program with the RUN subcommand of the DSN command processor.
Link-edit or dynamically allocate the right module: DSNELI for TSO, DFSLI000 for IMS, DSNCLI for CICS, DSNRLI for RRSAF, DSNALI for CAF.
Check whether the DYNAM option causes the wrong module to be loaded.