View previous topic :: View next topic |
Author |
Message |
iknow Beginner
Joined: 09 Jan 2006 Posts: 39 Topics: 15 Location: Inside the MATRIX
|
Posted: Mon Jan 09, 2006 9:08 am Post subject: Data representation in COBOL |
|
|
Hi All,
Here is a sample code...
A PIC X(04) VALUE IS 'KLMN'.
B REDEFINES A PIC S9(04).
ADD 1000 TO B.
DISPLAY B.
This gives 134E as answer.
Could anyone please let me know how the data is actually stored and how this operation is actually performed. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12377 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
iknow Beginner
Joined: 09 Jan 2006 Posts: 39 Topics: 15 Location: Inside the MATRIX
|
Posted: Mon Jan 09, 2006 10:31 pm Post subject: |
|
|
Hi,
Thanks for your reply. |
|
Back to top |
|
 |
|
|