You are correct and i have already checked the site still i failed to resolve that error.And one thing I have aready checked in my Run jcl where we can put the CALL attachment Facility as Y. But i falied.
My progqarm is basically a called DB2-Cobol program.and while i am trying to insert any record through front end its should insert data to the data base ..instaed of inserting the data it showed the -927 error. Although my code is correct every where and my run jcl also correct still i am getting same error. Could you give me the Sceen shot so that i can resolve that error.
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, or call attachment facility (CAF) environment, the user has attempted to execute an application program that is not using the correct language interface module.
If Your code and run jcl were correct You would not get the error...
The message explanation seems very clear to me
You are executing Your program from the WRONG environment