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

What do you mean by storage group (stogroup)?

583


Why db2 is called db2?

595


What is the picture clause of null indicator variable?

692


What is cobol db2?

570


What does sqlcabc has?

633






What is deadlock in db2?

585


What is plan in cobol db2?

595


What is database alias db2?

611


What is the role of union all and union

650


What is the maximum size of varchar data type in db2?

645


in my project..TEST is db2 8.1 version In PROD it is 7.1 if i do REORG in TEST.. can I use the same REORG jcl with out modification in PROD region (this is DB2 8.1 )? if not, what modification i need to do in my REORG control card?

1628


Explain the benefits you can get from mainframe connect?

522


What are the rules for db2 programming?

643


Explain various types of locks in db2?

693


What is dbrm library?

578