Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



Parm value passed is PARM=(10,20). how do code linkage section and how would you add these two pas..

Answer / 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

Parm value passed is PARM=(10,20). how do code linkage section and how would you add these two pas..

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

Parm value passed is PARM=(10,20). how do code linkage section and how would you add these two pas..

Answer / sreenivaas

procedure division using a b.
add a to b.
display b.

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More DB2 Interview Questions

What do you mean by NOT NULL WITH DEFAULT? When will you use it?

3 Answers  


What is the difference between CS and RR isolation levels?

1 Answers  


what is difference between Static call and Dynamic call? How does it function?

1 Answers   Syntel,


What is image copy?

1 Answers   Virtusa,


How can the firstname and the lastname from the emp table be concatenated to generate complete names?

0 Answers  


I have a table which has thousand of records i want to fetch only record num 100 to record num 200. Write a query that satisfies this criteria.(Cant use any keys) Anyone please reply ASAP!

17 Answers   KNIT, Tech Mahindra,


how to resolve -811 sqlcode .give clear explaination

3 Answers   IBM,


What are catalog tables in db2?

0 Answers  


What is an access path?

3 Answers  


What if we fail to give values in columns declared as NOT NULL ?

3 Answers   Cap Gemini,


What is the clustering index in the db2 database?

0 Answers  


what is copy pending and check pending ?

1 Answers   Xansa,


Categories