View previous topic :: View next topic |
Author |
Message |
sinduja Beginner
Joined: 20 Jun 2005 Posts: 29 Topics: 14
|
Posted: Wed Feb 18, 2009 6:34 am Post subject: -927 error while calling DB2 subroutine from IMSDB2 module. |
|
|
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 |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Wed Feb 18, 2009 3:02 pm Post subject: |
|
|
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 |
|
|
Anuj Dhawan Intermediate
Joined: 19 Jul 2007 Posts: 298 Topics: 7 Location: Mumbai,India
|
Posted: Wed Sep 30, 2009 1:55 am Post subject: |
|
|
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 |
|
|
|
|