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
How to find the maximum value in a column in the db2 database?
Are views updateable?
What is the difference between dbm cfg and db cfg file in db2 ?
What type of database is db2?
What is package in cobol db2?
What is the maximum size of a char data type in db2?
What is dpf in db2?
What is the difference between spufi and qmf?
What are host variables in db2?
What is a db2 cursor?
How to rename a table in DB2 ?
What is the use of db2 optimizer?
What is scrollable cursor in db2?
What is the difference between using bind () and rebind () methods of naming class?
what is a corelated subquerry?