Parm value passed is PARM=(10,20). how do code linkage
section and how would you add these two passes values and
show result in cobol program.
Answer Posted / vaneesh khurana
LINKEAGE SECTION
01 WS-LINKEAGE SECTION.
05 WS-LINK-LENGTH PIC X(2).
05 WS-A PIC 9(2).
05 FILLER PIC X.
05 WS-B PIC 9(2).
PROCEDURE DIVISION USING WS-LINKEAGE-SECTION.
COMPUTE WS-B = WS-A + WS+B
DISAPLAY WS-B.
STOP-RUN.
Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
what is utility for parm lib
How do you select a row using indexes in db2?
How to find schema of a table in db2?
How to find the number of rows in db2 tables?
Who uses db2?
What is commit in db2?
What parameters are used to control the free space in DB2?
before altering a table is it necessary to lock ? if lock what is it ? how to do ? ifi want to lock a table what is that command ?
How to fetch the last row from the table in SQL (db2)?
Why do we use cursor?
How do I change the column size in db2?
What is null in db2?
What is cursor in dbms?
Define db2.
Are views updateable?