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 db2 command?
Hi, i would like to start a new carrier in DB2 DBA.Which and what all step should i have to take..?
What is rebind in db2?
What is page size in db2?
How do you stop a db2 database in linux?
What is the difference between cursor and select statement?
Where do you specify them?
Is db2 a database?
What is the difference between dbm cfg and db cfg file in db2 ?
Hi Everyone... Under the Logical files, when am working on multiple rec format logical file, I have joined two pf's using the multiple record format logical file concept, but when i run queried the LF only the first mentioned pf records are reflecting and I am not able to see any of the field records specified under the second pf. Kindly let me know whats the reason behind this. Below is the str of LF., R rec PFILE(LOGICAA) CUSTNO CUSTNAME BILL K CUSTNO R rec1 PFILE(LOGICAA1) CUSTNO ADD K CUSTNO .....
What is cascading rollback?
Is ibm db2 free?
Mention a credible reason why select* is never given preference in an sql program that has been embedded.
What is runstats db2?
What is universal database?