Module 3: COBOL Program structure
COBOL Character Set
To learn any language, first it is very important to know the alphabets of the language. The alphabets of COBOL language is called as ‘Character Set’.
Sr. No. | Character | Description |
---|---|---|
|
|
10 Numerals |
|
|
26 English characters (Upper case) |
|
|
26 English characters (Lower case) |
|
Space or blank character | |
|
|
Plus sign |
|
|
Minus Sign or Hyphen |
|
|
Forward slash |
|
|
Asterisk |
|
|
Equal sign |
|
|
Currency sign |
|
|
Comma |
|
|
Semi colon |
|
|
Colon |
|
|
Period or Decimal Point |
|
|
Apostrophe |
|
|
Quotation mark |
|
|
Left parenthesis |
|
|
Right parenthesis |
|
|
Less than symbol |
|
|
Greater than symbol |
- The characters 0-9 are called numeric characters or digits. The characters A-Z and a-z are called letters and the remaining characters are called as Special characters