English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2 answers

What do you mean display the sign?

Compare the field to zero and display "-" or "+".

If you want to see the hex code then you have more of a problem.
The sign byte can be f, c or d.
f = Unsigned. Assumed to be positive
c = Positive.
d = Negative.

View the output of a dump
Output the field to a file and view the file in an Hex editor
Use a complex operation of and's and if's and redefines to work out what the sign is.

2006-10-13 23:40:19 · answer #1 · answered by AnalProgrammer 7 · 0 0

wow,,,, people still use COBOL!!????

have not use that for a long time, lets see,,,,,, i have even goten rid of my COBOL books, so sorry, time to update...... ya think?

2006-10-13 23:12:39 · answer #2 · answered by mhp_wizo_93_418 7 · 0 0

fedest.com, questions and answers