How to display in SYSOUT?
Posted: Tue Jun 12, 2007 12:45 pm
Hi,
I need to display the columns and their corresponding host-variables in SYSOUT for a COBOL-DB2 program.
How to do it?
Please find the code below:
In the above shown code, I want to display the variables VUK_BORSE_NBR & :DCLVUK-BORSE.VUK-ORDER-NBR. How to achieve it?
Please help.
TIA.
I need to display the columns and their corresponding host-variables in SYSOUT for a COBOL-DB2 program.
How to do it?
Please find the code below:
Code: Select all
P0001-UNLOCK-BORSED SECTION.
EXEC SQL
UPDATE XYZ_IRTER
SET LOCKED_INDCTR = 'N'
VU_LAST_CHG_TIMSTM = CURRENT TIMESTAMP
WHERE VU_PRIXNK_KEY = :DCLVUK-BORSE.VU-PRIXNK-KEY
AND VUK_BORSE_NBR = :DCLVUK-BORSE.VUK-BORSE-NBR
END-EXEC
Please help.
TIA.