Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to resolve -927 error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
anjani33

New User


Joined: 16 Mar 2007
Posts: 9
Location: pune

PostPosted: Fri Mar 28, 2008 12:09 pm    Post subject: How to resolve -927 error
Reply with quote

Hi,
How to resolve -927 error?
In my program it is getting while opening cursor.
Please reply.

Thank you.
Anjani.
Back to top
View user's profile Send private message
References
PostPosted: Fri Mar 28, 2008 12:09 pm    Post subject: Re: How to resolve -927 error Reply with quote

Richa Jain

New User


Joined: 18 Mar 2008
Posts: 30
Location: Chennai

PostPosted: Fri Mar 28, 2008 12:29 pm    Post subject:
Reply with quote

Hi Anjani

Provide some detail or code where u are getting an error.
Also u can refer QW - Programmer Response.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Senior Member


Joined: 20 Oct 2006
Posts: 1395
Location: germany

PostPosted: Fri Mar 28, 2008 2:09 pm    Post subject:
Reply with quote

-927 means basically you do not have a db2 connection.
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 265
Location: Spain

PostPosted: Fri Mar 28, 2008 2:10 pm    Post subject:
Reply with quote

use the search facility:

http://www.ibmmainframes.com/viewtopic.php?t=26559&highlight=927
http://www.ibmmainframes.com/viewtopic.php?t=23571&highlight=927
http://www.ibmmainframes.com/viewtopic.php?t=6073&highlight=927
http://www.ibmmainframes.com/viewtopic.php?t=6372&highlight=927
Back to top
View user's profile Send private message
baluM

New User


Joined: 20 Aug 2005
Posts: 4

PostPosted: Sun Mar 30, 2008 8:51 am    Post subject: Reply to: SQLCODE = -927
Reply with quote

Hi,

Please check INCLUDE SYSLIB option (i.ae DSNCLI or DSNELI) in the compile jcl.If your program is called by online then it should be DSNCLI otherwise DSNELI.

Thanks,
Bal
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1