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


Please Help Members By Posting Answers For Below Questions

what is utility for parm lib

1884


How do you select a row using indexes in db2?

647


How to find schema of a table in db2?

572


How to find the number of rows in db2 tables?

617


Who uses db2?

576






What is commit in db2?

596


What parameters are used to control the free space in DB2?

642


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 ?

1715


How to fetch the last row from the table in SQL (db2)?

1041


Why do we use cursor?

599


How do I change the column size in db2?

593


What is null in db2?

575


What is cursor in dbms?

593


Define db2.

672


Are views updateable?

645