Start of change

-927   THE LANGUAGE INTERFACE (LI) WAS CALLED WHEN THE CONNECTING ENVIRONMENT WAS NOT ESTABLISHED. THE PROGRAM SHOULD BE INVOKED UNDER THE DSN COMMAND

Explanation

In the TSO environment, the user has attempted to execute an application program without first establishing the correct execution environment by issuing the DSN command. In the IMS™, CICS®, RRSAF, or call attachment facility (CAF) environment, the user has attempted to execute an application program that is not using the correct language interface module.

System action

The statement cannot be processed.

Programmer response

In the TSO environment, DB2® application programs should be invoked under the RUN subcommand of the DSN command processor. In the IMS, CICS, RRSAF, or CAF environment check that the application was link-edited with or is dynamically allocating the correct language interface module. The language interface modules required in each environment are as follows:
  • TSO: DSNELI
  • IMS: DFSLI000
  • CICS: DSNCLI
  • RRSAF: DSNRLI
  • CAF: DSNALI

The DYNAM option can result in the incorrect language interface module being loaded at run time.

SQLSTATE

51006

End of change