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.
Answers were Sorted based on User's Feedback
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 |
Answer / 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 |
Answer / sreenivaas
procedure division using a b.
add a to b.
display b.
| Is This Answer Correct ? | 0 Yes | 6 No |
is it compulsory commitment control in journal?
What is the difference between nvl and coalesce?
My SQL is not performing well. Describe how will you fine tune it?
What is the difference between base table and view?
AGGREGATE function support by DB2. A) SUM & AVG B) SUM, MIN & AVG C) SUM, MAX, AVG , MIN &COUNT D) NONE
What is the use of DELGEN in DB2? Can we Write the program with out using it?
What is lock escalation in db2?
List out the buffer pools in db2
What is dbrm? What it contains? When it will be created?
What can the SET option of the Repair Utility accomplish?
How do run the JCL which has 25 steps by skipping the following steps 5, 10,15 and 25 without using COND statement
What is the difference between spufi and qmf?