how 2 resolve the -311 sqlcode



how 2 resolve the -311 sqlcode..

Answer / 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

More DB2 Interview Questions

What is the difference between static and dynamic SQL?

1 Answers  


How many buffer pools are available in db2?

2 Answers  


is it compulsory commitment control in journal?

0 Answers   TCS,


i hav created a program and moved to production but failed to create the table which is been used in the program. the program shows error as soon as it is moved or installed in production or shows error during its runtime. what is the sqlcode for this error

3 Answers   UST,


What is the meaning of -805 SQL return code?

3 Answers  






In BIND, isolation level parameter specifies the duration of page lock and ACQUIRE, RELEASE also do almost the same thing. What is the exact difference between the two? Do they work in conjunction while executing SQL queries and obtaining locks?

8 Answers   Syntel,


What does db2 mean?

0 Answers  


What are packages in db2?

0 Answers  


I need to view the number of tables existing under one particular Owner. Is it possible? If so, pl give the SQL query for this?

2 Answers  


what are stage one indexable predicates?

1 Answers  


how do we solve soc 7 and soc4 ?

3 Answers   Tech Mahindra,


What is the information associated with sysibm.syslinks table?

0 Answers  


Categories