EBCDIC
Table 1 shows the collating sequence for EBCDIC character and unsigned decimal data. The collating sequence ranges from low (00000000) to high (11111111). The bit configurations which do not correspond to symbols (that is, 0 through 73, 81 through 89, and so forth) are not shown. Some of these correspond to control commands for the printer and other devices.
ALTSEQ, CHALT, and LOCALE can be used to select alternate collating sequences for character data.
Packed decimal, zoned decimal, fixed-point, and normalized floating-point data are collated algebraically, that is, each quantity is interpreted as having a sign.
EBCDIC Collating SequenceCollating Sequence
|
Bit Configuration | Symbol | Meaning |
---|---|---|---|
0 | 00000000 | ||
. | |||
. | |||
64 | 01000000 | SP | Space |
. | |||
. | |||
74 | 01001010 | θ | Cent sign |
75 | 01001011 | . | Period, decimal point |
76 | 01001100 | < | Less than sign |
77 | 01001101 | ( | Left parenthesis |
78 | 01001110 | + | Plus sign |
79 | 01001111 | I | Vertical bar, Logical OR |
80 | 01010000 | & | Ampersand |
. | |||
. | |||
90 | 01011010 | ! | Exclamation point |
91 | 01011011 | $ | Dollar sign |
92 | 01011100 | * | Asterisk |
93 | 01011101 | ) | Right parenthesis |
94 | 01011110 | ; | Semicolon |
95 | 01011111 | Logical not | |
96 | 01100000 | — | Minus, hyphen |
97 | 01100001 | / | Slash |
107 | 01101011 | , | Comma |
108 | 01101100 | % | Percent sign |
109 | 01101101 | _ | Underscore |
110 | 01101110 | > | Greater than sign |
111 | 01101111 | ? | Question mark |
. | |||
. | |||
122 | 01111010 | : | Colon |
123 | 01111011 | # | Number sign |
124 | 01111100 | @ | Commercial At |
125 | 01111101 | ' | Apostrophe, prime |
126 | 01111110 | = | Equal sign |
127 | 01111111 | " | Quotation marks |
. | |||
. | |||
129 | 10000001 | a | |
130 | 10000010 | b | |
131 | 10000011 | c | |
132 | 10000100 | d | |
133 | 10000101 | e | |
134 | 10000110 | f | |
135 | 10000111 | g | |
136 | 10001000 | h | |
137 | 10001001 | i | |
. | |||
. | |||
145 | 10010001 | j | |
146 | 10010010 | k | |
147 | 10010011 | l | |
148 | 10010100 | m | |
149 | 10010101 | n | |
150 | 10010110 | 0 | |
151 | 10010111 | p | |
152 | 10011000 | q | |
153 | 10011001 | r | |
. | |||
. | |||
162 | 10100010 | s | |
163 | 10100011 | t | |
164 | 10100100 | u | |
165 | 10100101 | v | |
166 | 10100110 | w | |
167 | 10100111 | x | |
168 | 10101000 | y | |
169 | 10101001 | z | |
193 | 11000001 | A | |
194 | 11000010 | B | |
195 | 11000011 | C | |
196 | 11000100 | D | |
197 | 11000101 | E | |
198 | 11000110 | F | |
199 | 11000111 | G | |
200 | 11001000 | H | |
201 | 11001001 | I | |
. | |||
. | |||
209 | 11010001 | J | |
210 | 11010010 | K | |
211 | 11010011 | L | |
212 | 11010100 | M | |
213 | 11010101 | N | |
214 | 11010110 | O | |
215 | 11010111 | P | |
216 | 11011000 | Q | |
217 | 11011001 | R | |
. | |||
. | |||
226 | 11100010 | S | |
227 | 11100011 | T | |
228 | 11100100 | U | |
229 | 11100101 | V | |
230 | 11100010 | W | |
231 | 11100111 | X | |
232 | 11101000 | Y | |
233 | 11101001 | Z | |
. | |||
. | |||
240 | 11110000 | 0 | |
241 | 11110001 | 1 | |
242 | 11110010 | 2 | |
243 | 11110011 | 3 | |
244 | 11110100 | 4 | |
245 | 11110101 | 5 | |
246 | 11110110 | 6 | |
247 | 11110111 | 7 | |
248 | 11111000 | 8 | |
249 | 11111001 | 9 | |
. | |||
. | |||
255 | 11111111 |