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

Can we delete records from view?

770


What is copy pending status in db2?

893


What is buffer pool in the db2 database?

878


what is diffrence b/w file-aid tool and file-aid utility???

4562


Differentiate between cs and rr isolation levels? Where do you specify them?

846


What is dclgen (declaration generator)?

838


What is precompiler in db2?

806


What is the function of logging in the db2 database?

891


What is the difference between bind and rebind in db2?

1214


What is bind and rebind in db2?

911


What are the 2 sqlcodes that are returned?

895


What is the use of db2?

824


List out the three types of page locks that can be held.

939


Define sqlca.

881


What is cobol db2?

767