View previous topic :: View next topic
|
Author |
Message |
piyush2129
New User
Joined: 26 Sep 2006 Posts: 4
|
|
|
|
How would the number +1234 be stored if a PIC clause of PICTURES9(4) comp-3 were used? |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi !
Like: 01 23 4C in three bytes.
Regards, UmeySan |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi !
One more hint.
Have you ever had a look in the compile-list of your Cobol programm.
There,on the almost right side, you could see the used filed declarations
for the coded pic clause.
WRK-INSBANKLZ PIC S9(08) COMP-3 BLW=00000+B70 5P
5P = five bytes packed decimal
Regards, UmeySan |
|
Back to top |
|
|
|