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 are the various data types available in db2?

0 Answers  


How would one remove old reorg information from the DB2 catalog?

2 Answers  


What can the Locate option of the Repair Utility accomplish?

2 Answers  


quary for 1> fetch last record 2> fetch in reverse order 3> fetch last 5 row 4> fetch second last record (their is no primary key) i think concept of count can be use for this in 4th

5 Answers  


Name some fields from SQLCA

1 Answers  


What does this mean ? GRANT BIND,EXECUTE ON PLAN MK2 TO PUBLIC;

4 Answers   Accenture,


What are db2 objects?

0 Answers  


Can DB2 be accessed by TSO users? If yes, which command is used to invoke DB2?

1 Answers  


Q3. How will you fetch duplicate values from a DB2 table?

2 Answers   RBS,


What is node in db2?

0 Answers  


On which levels locks can be applied?

0 Answers  


What is lock contention?

1 Answers  


Categories