|
View previous topic :: View next topic
|
| Author |
Message |
Nagendran
New User
Joined: 24 Jan 2007 Posts: 89 Location: USA
|
|
|
|
Hi,
I am getting below 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
can anybody help??
regards,
Nagu |
|
| Back to top |
|
 |
ofer71
Global Moderator

Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
I believe the message is self-explanatory. Can you show us how the program was invoked? Is it batch of foreground?
O. |
|
| Back to top |
|
 |
Nagendran
New User
Joined: 24 Jan 2007 Posts: 89 Location: USA
|
|
|
|
Its batch...
the BMP step that execute both IMS & DB2... |
|
| Back to top |
|
 |
sanjayis01 Warnings : 1 New User
Joined: 13 Jun 2007 Posts: 55 Location: banaglore
|
|
|
|
| can any one please assist for me , i m also facing the same problem. |
|
| Back to top |
|
 |
Prajesh_v_p
Active User

Joined: 24 May 2006 Posts: 133 Location: India
|
|
|
|
Can you look if DYNAM option is specified, while compilation?
Thanks,
Prajesh |
|
| Back to top |
|
 |
sanjayis01 Warnings : 1 New User
Joined: 13 Jun 2007 Posts: 55 Location: banaglore
|
|
|
|
| Can please post specific post. |
|
| Back to top |
|
 |
ofer71
Global Moderator

Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
The message says that you should run it under the DSN interface, that is: The EXEC PGM should be IKJEFT01, and in SYSTSIN you should have DSN RUN PROGRAM() etc...
O. |
|
| Back to top |
|
 |
nagaraj_bez
New User
.jpg)
Joined: 09 Jun 2005 Posts: 10
|
|
|
|
| Thankx a lot! This helped me resolving my prob which was the same. i was not using the DSN=(pgm name) format for a db2+cobol pgrm. instead was giving just exec pgm = 'xyz' which threw -927 sql code |
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Good to hear this helped - thanks for letting us know.
d |
|
| Back to top |
|
 |
|
|