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 / raghvendra

LINKEAGE SECTION
01 WS-LINKEAGE SECTION.
05 WS-LINK-LENGTH PIC s9(4)comp.
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 ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain various types of locks in db2?

693


Explain about dbrm.

609


have 3 tables table1, table2 and table3 which contains employee information. table1 is master table, table2 contains emp details like emp no and so on, table 3 contains emp salary. so if any emp leave company between 25th - 30th of every month it has to get updated in tables. but it is not getting updated. What is the reason.

1238


What is db2 stogroup?

676


What is the latest version of ibm db2?

740






What is dbrm?

645


How do you pull up a query which was previously saved in qmf?

675


What is an instance in db2?

563


Name the lockable units in DB2?

665


What is the use of db2 optimizer?

611


Mention the location where the output received from explain statement is stored.

630


Which components manage deadlocks in db2?

615


Where can you declare a cursor in a cobol-db2 program?

604


What is multi row fetch in db2?

610


what is db2 restart?

1694