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
How to rename a table in DB2 ?
How to check sequence on a table in db2?
What is database alias db2?
List down the types of triggers in the db2 database?
What is view db2?
What are sqlcodes –803,-805, -811, -818,-904,-911,-913,-101, +100?
What is reorg and runstats in db2?
On which levels locks can be applied?
How would you find out the total number of rows in a db2 table?
Discuss about db2 bind?
What is cursor stability in db2?
What's The Percentage Free Space ?
When reorg is used?
What is deadlock in db2?
What is sqlca’s maximum length?