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

wht happens if we close cursor with cursor with hold option?

3 Answers   Valtech,


What are the advantages of using a PACKAGE?

2 Answers  


When is the authorization check on DB2 objects done - at BIND time or run time?

1 Answers  


How many databases can be created inside an instance in db2 ?

0 Answers   MCN Solutions,


Hi Dude,this is Ram.could any one tell me aboue CURRENT OF clause in DB2. Thanks in advance.......

2 Answers  






What is the use of value function?

0 Answers  


Where is the output of EXPLAIN stored?

2 Answers  


File not opened because library is *PROD and debug is UPDPROD(*NO). ? what may be the reason? how to solve it..?

0 Answers   Infosys,


What is dpf in db2?

0 Answers  


What are packages in db2?

0 Answers  


When you are working with the project after coding what will u do? Like what type of documents u will prepare? How will u do testing?

2 Answers  


What is ACQUIRE/RELEASE in BIND?

3 Answers   Cognizant,


Categories