MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

-927 error while calling DB2 subroutine from IMSDB2 module.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Problem Determination
View previous topic :: View next topic  
Author Message
sinduja
Beginner


Joined: 20 Jun 2005
Posts: 29
Topics: 14

PostPosted: Wed Feb 18, 2009 6:34 am    Post subject: -927 error while calling DB2 subroutine from IMSDB2 module. Reply with quote

Hi ,

At the time of execution of the SQL in the sub-module , I am getting an error code -927 .

DSNT408I 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
DSNT418I SQLSTATE = 51006 SQLSTATE RETURN CODE
DSNT415I SQLERRP = DSNELI SQL PROCEDURE DETECTING ERROR


I use CHANGE MAN to perform the compile of both the modules . Please let me know if this has anything to do with any compile options.

Thanks,
Sinduja
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Wed Feb 18, 2009 3:02 pm    Post subject: Reply with quote

How did you try to execute the program? PGM=ABC or under TSO (IKJEFT01)???
The latter is how you do it.
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
Anuj Dhawan
Intermediate


Joined: 19 Jul 2007
Posts: 298
Topics: 7
Location: Mumbai,India

PostPosted: Wed Sep 30, 2009 1:55 am    Post subject: Reply with quote

Is this resolved? Just in case if you still log in here...

1. Make sure you use the correct DB2 attachment stub.
2. Make sure you include the linkage control card in your development package (changeman package).
_________________
Regards,
Anuj
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Problem Determination All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group