Answer Posted / 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 View All Answers
Following a db2 update statement, what is the quickest way to compute the total number of updated rows?
What is reorg and runstats in db2?
What do you mean by cursor?
What is dbrm?
What is the difference between oracle and db2?
How is the value function used?
List some fields from sqlca?
What are host variables in db2?
Mention data types used in db2 ?
What is the use of runstats in db2?
How do you stop a db2 database in linux?
Which components manage deadlocks in db2?
When a COBOL-DB2 program in PRODUCTION is updating main tables and gone for long run, what have to do?
What is db2 connect?
What is difference between alias and synonym in db2?