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 get the data to code the BMS macro?
What is the difference between next sentence and continue in cobol programing language?
What are the access modes of START statement?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What is the difference between binary search and sequential search?
What is link edit in cobol?
how do you define single dimensional array and multidimensional array in your cobol?
Can you please let me know the centre name of INS certification in Kolkata.
What is the difference between structured cobol programming and object alternativelyiented cobol?
What are the different rules to perform a Search?
Can a Search can be done on a table with or without Index?
In COBOL, what is the different between index and subscript?
Difference between array and sub-script ?
What are 77 levels used for?
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.