IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SQLCODE -927


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ramoji

New User


Joined: 25 May 2007
Posts: 2
Location: hyderabad

PostPosted: Mon Jul 18, 2011 6:24 pm
Reply with quote

Hi,

I am running a IMS-DB2 cobol program with enterprise cobol version. I am facing an abend with sqlcode -927. Could anyone please help me to resolve the issue...
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Mon Jul 18, 2011 6:37 pm
Reply with quote

ramoji wrote:
Hi,

I am running a IMS-DB2 cobol program with enterprise cobol version. I am facing an abend with sqlcode -927. Could anyone please help me to resolve the issue...


Why are you not refering documentation? What does it say?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Jul 18, 2011 7:55 pm
Reply with quote

Hello and welcome to the forum,

When you have a question, you need to post more useful information than merely some db2 return code. . .

What command/statement/process failed? What is running on the system that is similar? What do your support people have to say?

The forum can be quite useful but we need something to work with.

The description for the -927 looks to be quite clear and the resolution will be site-specific, so you need to take this to your peers or support people.
Back to top
View user's profile Send private message
ramoji

New User


Joined: 25 May 2007
Posts: 2
Location: hyderabad

PostPosted: Tue Jul 19, 2011 12:04 pm
Reply with quote

Hi,
Thanks for the reply.

Sorry I am new to this forum. We are moving all old cobol codes to enterprise cobol. While running one program which has both Db2 as well IMS is running fine with old verion of cobol but failing with enterprise cobol.

It is failing in the first executable SQL in the program while opening a cursor.

I have checked in google but could not find much. It might be environmental issue or compilation option. Posted this here to check if somebody else has faced the same issue. I am using changeman as changemanagement tool.

In the abend it is not giving more information.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Wed Jul 20, 2011 2:19 am
Reply with quote

SQLCODE -927:

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

Pretty simple to diagnose and resolve if you know what you're doing, yes?
Back to top
View user's profile Send private message
prasanth_thavva

New User


Joined: 28 Jul 2005
Posts: 86
Location: Chennai

PostPosted: Wed Jul 20, 2011 12:25 pm
Reply with quote

Welcome to our forum.

But dick was expecting to provide usefull information about failed SQL statement which can daignozied in this forum.

Pls try to understand and provide us the details with SQl statement and all relevant error message.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jul 20, 2011 7:40 pm
Reply with quote

Hello,

Have you read about and understood the -927? If not you need to do so - possibly by talking with your dba and other support people. . .

If there is no connection, nothing can work. . .
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts SQLCODE = -122 while using the scalar... DB2 4
No new posts SQLCODE = -16002 when using XMLEXISTS DB2 1
No new posts Is SQLCODE -811 possible while fetchi... DB2 1
No new posts SQLCODE=-204 SQLSTATE=42704 DB2 4
No new posts Getting sqlcode 805 while executing R... DB2 10
Search our Forums:

Back to Top