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

Answer Posted / guest

supose, one of ur DB2 table column is defined as NOT NULL,
if u trying to insert null value on that column at that
time , u will get this error.

u can slove this error by handling the null indicator in
ur program.
define null indiactor workign stroage variable with s9(4)
comp.

Is This Answer Correct ?    45 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is the primary key a clustered index?

600


What is a db2 table?

588


Define declaration generator (dclgen).

658


Why cursor is used in db2?

567


What are foreign keys in db2?

607






What is the use of commit in db2?

624


List out the data types available.

693


How to find the number of rows in db2 tables?

605


How to compare data between two tables in db2?

652


Mention the location where the output received from explain statement is stored.

624


What is the reason behind not using select * in embedded sql programs?

596


Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?

2678


Explain about mirror activator disk mirroring?

553


Is db2 a mainframe?

579


How and when does the db2 enforces the unique key?

609