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 maximum number of columns in a db2 table?
What are the 2 sqlcodes that are returned?
What is dpf in db2?
What is schema in db2?
Define db2 and its databases?
Explain in brief how does db2 determine what lock-size to use?
How is the value function used?
What is db2 and what is the use of db2 optimizer?
What is temporal table in db2?
What is the maximum size of varchar data type in db2?
Mention data types used in db2 ?
Which is faster delete or truncate?
What is the difference between bind and rebind in db2?
What is concurrency?
What is cursor stability in db2?