COBOL Manual for TNS and TNS/R Programs

HP COBOL Manual for TNS and TNS/R Programs522555-006
A-1
A ASCII Character Set
This appendix contains two tables of the ASCII character set, both of which use these
column headings:
Table A-1 is in numeric order and Table A-2 is in alphabetic order.
ASCII Character Set in Numeric Order
Table A-1 presents the ASCII character set in numeric order; that is, these columns are
in numeric order:
Ord. (the character’s ordinal number in the ASCII character set)
Octal (the character’s octal representation)
Hex. (the characters hexadecimal representation)
Dec. (the characters decimal representation)
If you know one of the preceding values for the character you want to look up, use
Table A-1; if you know only the character code or the character itself (such as “NUL” or
“A”), use Table A-2 instead.
Column Heading Meaning
Ord. Character’s ordinal number in the ASCII character set
Octal Character’s octal representation (with left and right bytes)
Hex. Character’s hexadecimal representation
Dec. Character’s decimal representation
Char Character code or character itself (such as NULL or A )
Meaning Meaning of character code (such as “Null” or “Uppercase A ”)
Table A-1. ASCII Character Set in Numeric Order (page1of5)
Ord.
Octal
Hex. Dec. Char. MeaningLeft Right
1 000000 000000 00 0 NUL Null
2 000400 000001 01 1 SOH Start of heading
3 001000 000002 02 2 STX Start of text
4 001400 000003 03 3 ETX End of text
5 002000 000004 04 4 EOT End of transmission
6 002400 000005 05 5 ENQ Enquiry
7 003000 000006 06 6 ACK Acknowledge
8 003400 000007 07 7 BEL Bell
9 004000 000010 08 8 BS Backspace
10 004400 000011 09 9 HT Horizontal tabulation