View previous topic :: View next topic
|
Author |
Message |
pkmurali Warnings : 1 Active User
Joined: 15 Dec 2005 Posts: 271
|
|
|
|
Hi all,
What is the size of the variable declared as usage is POINTER?
05 WS-VAR USAGE IS POINTER.
Please suggest.
Thanks,
Murali. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
There is a link to manuals at the top of the page. Click on it, find the COBOL Language Reference manual, and navigate to section 5.3.17.8 which talks about USAGE POINTER and explicitly tells you how big it is. You would do yourself a lot of good by spending enough time in this manual to learn how to use it for yourself -- and you could answer questions such as this much faster. |
|
Back to top |
|
|
pkmurali Warnings : 1 Active User
Joined: 15 Dec 2005 Posts: 271
|
|
|
|
Thanks Robert.
It' 4 byte. I viewed it in xped, it seems to be character data type. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
it is a binary word; datatype is BINARY or COMP. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Character data type is not right -- check the manual. |
|
Back to top |
|
|
|