Character set - cobol programming, COBOL Programming

Character Set:

To study any language, first one should know the alphabets of the language and they are termed as character set in general. There are 50 different characters in the COBOL character set.

They are listed as below:

0-9               (10 numerals)

A-Z              (26 English alphabets-only capital letters)

-                  (hyphen or minus sign)

+                  (Plus sign)

*                  (Asterisk)

/                   (Slash)

0=                (Equal sign)

$                  (Currency sign)

,                   (Comma)

;                   (Semi colon)

.                (Period or decimal point)

"                (Quotation mark)

(                (Left Parenthesis)

)                (Right Parenthesis)

>              (Greater than symbol)

<               (Less than symbol)

The characters 0-9 are known as numeric characters or digits. The characters A-Z are known as letters and the remaining characters are known as special characters. The space or blank character in many cases is treated as a letter.

 

Posted Date: 10/16/2012 3:27:29 AM | Location : United States







Related Discussions:- Character set - cobol programming, Assignment Help, Ask Question on Character set - cobol programming, Get Answer, Expert's Help, Character set - cobol programming Discussions

Write discussion on Character set - cobol programming
Your posts are moderated
Related Questions
Column and Field in COBOL program: In COBOL there are 2 types of entries termed as margin A and margin B entries. The Margin A entries start from the column 8, 9, 10 or 11 and

NESTED IF STATEMENT:   The then and else statement of an IF statement can hold other IF statements. The involved IF statements in their turn may also hold other IF statements

Example of Perform statement: PERFORM BEGIN-CALCULATION THRU END-CALCULATION. Assume, BEGIN-CALCULATION and END-CALCULTION is paragraph names. The execution of the PERFORM

ADD and SUBTRACT CORRESPONDING: The CORRESPONDING option can also used with the ADD and SUBTRACT verbs. The following are some of the formats of these verbs with the CORRESPON

PROGRAM FOR SIMPLE PERFORM: We have to write a program to elaborate simple PERFORM statement Identification division. Program- id.  Perf1. Environment division. Da

Environment Division: The Environment Division is the second division in the COBOL source program. It is mainly machine-dependent . The computer and all the peripheral dev

Format for COBOL Programs: The COBOL is a high-level language. Therefore, a COBOL program can be executed on a computer for which a COBOL compiler exists. The compiler transla

FILE CHARACTERISTICS: The task of file handling is the responsibility of the system software termed as IOCS (Input-Output control system). Record Size: We know that th

PROGRAM FOR SCREEN SECTION:  identification division.   program- id.   environment division.   data division.   working-storage section.   01  a pic 9(2) value

PROGRAM FOR ADD VERB: We have to write a simple program to elaborate the ADD verb. You can also use edit characters in the program. Identification division. Program- id.