In this post, you’ll learn about the error message -927 the langrage interface was called when the connecting environment was not established. the program should be invoked under the dsn command in the IBM DB2 database , the reason why it occurs along with the solution to fix it
IBM DB2 Error Message
-927 the langrage interface was called when the connecting environment was not established. the program should be invoked under the dsn command
Reason for the Error
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, or call attachment facility (CAF) environment, the user has attempted to execute an application program that is not using the correct language interface module.
Solution
In the TSO environment, DB2 application programs should be invoked under the RUN subcommand of the DSN command processor. In the IMS, CICS, or CAF environment check that the application was link-edited with or is dynamically allocating the correct language interface module.