-927 error while calling DB2 subroutine from IMSDB2 module.
Select messages from
# through # FAQ
[/[Print]\]

MVSFORUMS.com -> Problem Determination

#1: -927 error while calling DB2 subroutine from IMSDB2 module. Author: sinduja PostPosted: Wed Feb 18, 2009 6:34 am
    —
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

#2:  Author: Nic CloustonLocation: At Home PostPosted: Wed Feb 18, 2009 3:02 pm
    —
How did you try to execute the program? PGM=ABC or under TSO (IKJEFT01)???
The latter is how you do it.

#3:  Author: Anuj DhawanLocation: Mumbai,India PostPosted: Wed Sep 30, 2009 1:55 am
    —
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).



MVSFORUMS.com -> Problem Determination


output generated using printer-friendly topic mod. All times are GMT - 5 Hours

Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group