I have one column say 'X' defined as VARCHAR
Can anyone tell me What are the different ways to update
this column thru COBOL-DB2 program?

Answer Posted / anoop

As far as my knowledge if there is a VARCHAR in table then
its host variable should have the length field and data
field. I feel you have to populate bothe the fields in order
to update the VARCHAR field. please get it confirmed also.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

923


how do you define single dimensional array and multidimensional array in your cobol?

665


How do define dynamic array in cobol.

666


What is difference between static and dynamic call in cobol?

768


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

651






What is cobol?

737


Write the code to count the sum of n natural numbers.

697


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1518


What is link edit in cobol?

737


Have you used comp and comp-3 in your project? And how?

2003


What is report-item in COBOL?

702


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

813


In COBOL programming, what is PERFORM? What is VARYING?

666


Explain the configuration section of a cobol program with examples of syntax.

651


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

672