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

how to unload different table data into different gdg files/ vsam files.

3 Answers  


What is the difference between plan and package in db2?

0 Answers  


Are view updateable?

0 Answers  


What is lock escalation?

2 Answers  


what is the syntax for FOR UPDATE CLAUSE in cursor declaration and how can u update using cursor? is it possible to update multiple rows at a time.

2 Answers   Syntel,






In cobol+DB2program if the code of cobol program has changed than i have to do precompilation once again?

6 Answers   TCS,


What value the host varible will contain , if null indicator value is -2 ? Will it contain the truncated value or nothing will move ?

3 Answers   Cap Gemini,


Is ibm db2 open source?

0 Answers  


What is a DB2 bind?

1 Answers   Logica CMG,


What is netezza database?

0 Answers  


What is a cursor?

2 Answers  


What is dclgen (declaration generator)?

0 Answers  


Categories