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
How to know whether the module is dynamical or statistical?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
A table has two indexes defined. Which one will be used by the SEARCH?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
Which Search verb is equivalent to PERFORM…VARYING?
Differentiate cobol and cobol-ii. (Most of our programs are written in cobolii, so, it is good to know, how, this is different from cobol)?
What is the difference between binary search and sequential search?
What are 77 levels used for?
What are the different data types in cobol?
what happens if parmparameter passes zero bytes to the program
Differentiate between structured cobol programming and object-oriented cobol programming.
What is the compute verb? How is it used?
What is amode(24)?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?