View previous topic :: View next topic |
Author |
Message |
tcurrier Intermediate
Joined: 10 Feb 2006 Posts: 188 Topics: 68
|
Posted: Fri Feb 13, 2009 9:33 pm Post subject: Easytrieve & S9(5)V99 field ? |
|
|
I have a field, which is defined in COBOL as S9(5)V99
in Hex, a sample value is:
F0F0F1F4F3F0D0
In Easytrieve, is there a way to display this field as:
-14.30 or 14.30-
?
Thanks for any help... |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Fri Feb 13, 2009 11:40 pm Post subject: |
|
|
tcurrier,
Code: |
file-var pos 7 N 2
Display File-var
|
Using a Display or Report features will print the number as you desired. However if you are writing to an output file then you need to follow the procedure listed here
http://mvsforums.com/helpboards/viewtopic.php?p=13780#13780
Kolusu |
|
Back to top |
|
 |
|
|