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 ?    0 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

Can DASD types assigned to storage groups be intermixed (i.e., 3350s and 3380s)?

1 Answers  


Explain the use of the WHERE clause?

1 Answers  


What is the purpose of coding FETCH in a SQL SELECT query? Explain with an example in Detail?

4 Answers  


Describe the elements of the SELECT query syntax?

3 Answers  


What is correlation names?

1 Answers  






what is the differences between spufi and qmf and which is better?

4 Answers   Cap Gemini, Accenture,


why we create view.

5 Answers  


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

1 Answers   RBS,


what is Runstats? Whem will u choose to runatats?

1 Answers   Danske,


What technique is used to retrieve data from more than one table in a single SQL statement?

9 Answers   TCS, CTS,


What is an alias?

3 Answers  


what is the difference between join and union?

4 Answers  






Categories