The Full Wiki

More info on Signed overpunch

Signed overpunch: Wikis

Advertisements

Note: Many of our articles have direct quotes from sources you can cite, within the Wikipedia article! This article doesn't yet, but we're working on it! See more info or our list of citable articles.

Encyclopedia

From Wikipedia, the free encyclopedia

A signed overpunch is a code used to store the sign of a number by changing the last digit. It was used in old punched card systems and was carried over to COBOL, especially when using EBCDIC. Its purpose is to save a character that would otherwise be used by the sign digit.[1]

The codes

Code Digit Sign
} 0
J 1
K 2
L 3
M 4
N 5
O 6
P 7
Q 8
R 9
{ 0 +
A 1 +
B 2 +
C 3 +
D 4 +
E 5 +
F 6 +
G 7 +
H 8 +
I 9 +

Examples

10} is -100
45A is 451

Decimal points are usually implied not explicit in the text. Using numbers with two decimal digits:

1000} is -100.00

References


Advertisements






Got something to say? Make a comment.
Your name
Your email address
Message