Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Use update query in the COBOL program inside the DB2 code
block
EXEC SQL
UPDATE <TABLE NAME> SET <COLUMN NAME> = 'X'
WHERE CLAUSE
END-EXEC

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different rules for performing sort operation?

1281


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

5428


How can you get the ksds file records into your cobol program?

1138


what is the difference between COBOL2 AND COBOL390?

3115


What is static and dynamic call in cobol?

1117


How to know whether the module is dynamical or statistical?

1213


Is it possible that the redefines clause has different picture clauses compared to the one it redefined?

1211


What is the difference between PIC 9.99 and PIC9v99?

1405


what happens if parmparameter passes zero bytes to the program

2185


Describe the cobol database components?

1219


What guidelines should be followed to write a structured cobol prgm?

1215


How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?

1234


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

8031


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9177


how to refer the data field?

2324