how 2 resolve the -311 sqlcode

Answer Posted / shravan kumar.p

If Length is not declared for varchar, sql code -311 will appears...
by giving the varchar lenth in cobol+db2 pgm we can resolve this -311 sql code..

if wrong correct me..
thakyou...

Is This Answer Correct ?    16 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the full forms of spufi and dclgen and why are they used?

654


What do you mean by between and in? Is between inclusive of specified range values?

662


What are foreign keys in db2?

614


What is query_cache_limit?

541


Explain about rct.

644






What is the physical storage length of time data type?

668


Where can you declare a cursor in a cobol-db2 program?

602


What's The Percentage Free Space ?

764


Name the lockable units in DB2?

661


What is db2? Explain.

601


How would the varchar column remarks defined?

631


Comment whether the cursor is closed during commit or not.

665


What is the use of predicate?

580


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

4172


B37 abend during spufi?

978