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...


What is usage pointer in cobol?

Answers were Sorted based on User's Feedback



What is usage pointer in cobol?..

Answer / nidhi

1. Its declared without a pic clause. Only "usage is pointer" is declared for the variable.
2. Its a 4 byte variable used to hold address of variables in linkage sectio only.
3. "seT ADDRESS OF VAR-LINK-SEC TO POINTER-VAR" is how we get address into pointer var.

Is This Answer Correct ?    1 Yes 0 No

What is usage pointer in cobol?..

Answer / varalakshmi

You can use pointer data items when you want to accomplish limited base addressing,
particularly when you want to pass and receive addresses of a variably located record
area.

Is This Answer Correct ?    0 Yes 0 No

What is usage pointer in cobol?..

Answer / sriram

Declare a pointer as an elementary data item bearing the
USAGE IS POINTER clause, with no PICTURE. E.g:
05 EXAMPLE-P USAGE IS POINTER.

EXAMPLE-P is a four-byte field which can store the address
of any data item. Unless you're interfacing COBOL to
Assembler or something, you really don't care what the
pointer looks like internally. It's just a piece of magic
which enables you to access the thing it's pointing to.



Please let me know if I am wrong

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More DB2 Interview Questions

how do you resolve -805?

3 Answers   HCL,


How do you declare a host variable (in COBOL) for an attribute named emp-name of type VARCHAR(25) ?

2 Answers   IBM, Tech Mahindra,


Can a array declared with an index be displayed(readable format) in spool?

4 Answers   Syntel, UST,


How do you concatenate the firstname and lastname from emp table to give a complete name?

0 Answers  


Explain db2.

0 Answers  


What is a Foreign Key?

0 Answers   Tavant Technologies, Zensar,


Which are the db2 tools to protect integrity of the database?

0 Answers   IBM,


In a single table,How to retrieve a employee-id of an employee who works in more than one department?

15 Answers   Cap Gemini,


I need to view the number of tables existing under one particular Owner. Is it possible? If so, pl give the SQL query for this?

0 Answers  


What is the physical storage length of the data types date, time, and timestamp?

0 Answers  


In SPUFI suppose you want to select maximum of 1000 rows, but the select returns only 200 rows. What are the 2 SQLCODEs that are returned?

1 Answers  


Write a query to extract first 5 characters of a name in the column Stud_Name?

1 Answers   RBS,


Categories