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
What are the different rules for performing sort operation?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
How can you get the ksds file records into your cobol program?
what is the difference between COBOL2 AND COBOL390?
What is static and dynamic call in cobol?
How to know whether the module is dynamical or statistical?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is the difference between PIC 9.99 and PIC9v99?
what happens if parmparameter passes zero bytes to the program
Describe the cobol database components?
What guidelines should be followed to write a structured cobol prgm?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
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?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
how to refer the data field?