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
What is the reason behind not using select * in embedded sql programs?
What is load utility in db2?
What is access path in db2?
What is db2 stogroup?
How to create backup table in db2?
What are the different types of base tables?
What is runstats utility in db2?
What is a db2 schema?
How to create db2 table in mainframe?
What is a bind in db2?
What is package in db2 mainframe?
How do I create a view in db2?
If I have a view which is a join of two or more tables, can this view be updateable?
What does runstats do in db2?
Can one database have multiple instances?