How to resolve the -305 error code in DB2?
And also please let me know, how to resolve the db2 error
codes.

Answer Posted / satish29

If you are moving NULL to host variable, -305 error will
get.
check in your db2 table whether NULL values are present or
not.

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of runstats in db2?

826


Explain what are the various isolation levels possible?

835


What is a db2 cursor?

822


What action db2 takes when a program aborts in the middle of a transaction?

898


Why select is not preferred in embedded sql programs?

966


What does a deadlock mean in DB2?

877


Define predicate?

897


How can the firstname and the lastname from the emp table be concatenated to generate complete names?

982


What is node in db2?

826


I have a subprogram B calling from mainprogram A.I have opened a cursor in A ,Can i fetch the same cursor in subprogram B , If yes , Please explain the reason?

2170


How can you do the explain of a dynamic sql statement?

850


Can you tell me how can you find out the # of rows updated after an update statement?

899


What is the use of db2 optimizer?

844


What are the prerogatives?

822


What is the difference between nvl and coalesce?

840