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 do you reference the rrds file formats from cobol programs
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What are the rules of the move verb?
how do you define single dimensional array and multidimensional array in your cobol?
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.
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
Explain about different table spaces.
What is difference between static and dynamic call in cobol?
How do define dynamic array in cobol.
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
How do u write test cases?
Which mode is used to operate the sequential file?
What are 77 levels used for?
What are the pertinent COBOL commands?