what is dynamic cursor?gives syntax for this?
Answer / 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 |
in my table i will update only 100 record among 1000 records i need to display recently updated record'.....can u tell me where those records are stored how can i display those records...?if there is any sql query pls let me know....?
What does the sqlcode of -818 pertain to?
How can deadlocks be resolved?
Explain the function of data manager.
Can you use a select query in a loop to fetch multiple rows? If so what is the advantage of using a cursor?
run jcl for cobol+db2 pgm?.. //jobcard //step001 exec pgm=ikjeft01 //systin dd * DSNSYSTEM(--------) RUN PROGRAM(MYPGMNAME) PLAN(-----), LIB(-------), PARMS(------) /* WHAT WILL U GIVE INSIDE THE BRACKETS... WHAT IS PLAN,PACKAGE,BIND?..PLAN N PACAKGES ARE GENERATED BY ?...
Explain the benefits you can get from mainframe connect?
Give the COBOL definition of a VARCHAR field.
what is load and unload in db2
Can DASD types assigned to storage groups be intermixed (i.e., 3350s and 3380s)?
Explain the contention situations caused by locks?
What is the difference between Where and Having Clause