COBOL – SIGN STORED IN COMP, COMP-3 AND DISPLAY FORMATS
Sign is stored in different formats as shown below.
- COMP : IN THE MOST SIGNIFICANT BIT
- COMP-3 : IT IS STORED IN THE LAST NIBBLE
- DISPLAY : THE SIGN OF THE FIELD IS USUALLY CARRIED IN THE RIGHTMOST BYTE ALONG WITH THE RIGHTMOST DIGIT OF THE FIELD.
——————————————————————————————————–
In United States, If you would like to Earn Free Stocks, Credit card Points and Bank account Bonuses, Please visit My Finance Blog
——————————————————————————————————–
You may also like to look at:
Working on Mainframes – Is Change to a different technology necessary |