Search found 2 matches

by Bhanu Pathak
Wed Jan 06, 2016 2:28 pm
Forum: IBM DB2 and IMS DB/DC
Topic: Getting SQLCODE -927 with a new COBOL-DB2 program.
Replies: 3
Views: 2527

Re: Getting SQLCODE -927 with a new COBOL-DB2 program.

This is what I get as error:

SQLCODE = -927, ERROR: THE LANGUAGE INTERFACE (LI) WAS CALLED WHEN THE CONNECTING ENVIRONMENT WAS NOT ESTABLISHED. THE PROGRAM SHOULD BE INVOKED UNDER THE DSN COMMAND
by Bhanu Pathak
Wed Jan 06, 2016 2:21 pm
Forum: IBM DB2 and IMS DB/DC
Topic: Getting SQLCODE -927 with a new COBOL-DB2 program.
Replies: 3
Views: 2527

Getting SQLCODE -927 with a new COBOL-DB2 program.

Hi, I have written a new COBOL-DB2 program. This program is being called by another program which is only a COBOL program. I have called it the way it should be called and coded in similar way the other programs are coded. But I still end up with SQLCODE -927 all the time. How can I solve it? Regards.

Go to advanced search