Answer Posted / harsha
Working-Storage Section.
01 WS-FIELD.
49 WS-FIELD-TEXT PIC X(40).
49 WS-FIELD-LEN PIC S9(4) COMP.
PROCEDURE DIVISION.
MOVE +45 TO WS-FIELD-LEN.
MOVE 'UPDATE TAB1
SET ----=:----- WHERE ---=:----'
TO WS-FIELD-TEXT.
EXEC-SQL
EXECUTE IMMEDIATE:WS-FIELD
END-EXEC.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How to find the number of rows in db2 tables?
ther r 2 tables OTTABLE & SALTABLE, add the otamt from OTTABLE to empsal of SALTABLE if eid is matched else add the unmatched from OTTABLE to SALTABLE
Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?
What is a collection in db2?
What is universal database?
What is a plan and package in db2?
What are bind parameters in db2?
Is db2 a database?
What is table space in db2?
What is dbrm library?
What is null in db2?
Is the primary key a clustered index?
What is concurrency?
What is the use of dclgen in db2?
What is null value in db2?