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

what is search and searchall?what is the diffrence between them?give an best example?

5521


What are the different open modes available in cobol?

711


What is the difference between perform … with test after and perform … with test before?

862


What is the local-storage section?

668


What do you understand by psb and acb?

659






What is redefines clause in COBOL?

836


What is link edit in cobol?

723


What is cobol?

732


Can we redefine the field of x(200) to less than 200?

803


Which division and paragraphs are mandatory for a COBOL program?

701


What are the cobol coding sheets?

655


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

760


What is a SSRANGE and NOSSRANGE?

803


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1794


What is the difference between comp and comp-3?

688