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
PROGRAM FOR SUBTRACT VERB: We have to write a simple program to elaborate the SUBTRACT verb. You can also use edit characters in the program. Identification division. Pr

Illustration of Subtract verb: (a) SUBTRACT A FROM B. This illustration means that the value of A will be subtracted from the value of B and the subtracted result will be s

File- Section &Working-Storage Section: a) FILE SECTION: The FILE SECTION includes the explanation of all data items that must be read from or written onto some external

FILE STATUS clause: This clause has been involved in the above syntax for completeness. The ORGANIZATION, REVERSE, ACCESS and STATUS clause can be specified in any order.

ROUNDED OPTION: Let us consider the DATA DIVISION entries which are as shown below: Now, subsequent to the execution of the statement ADD A B GIVING C, the C will hold

COMPOUND CONDITION: The two simple conditions can be connected by the logical operators AND or OR to form a compound condition (also termed as combined condition). When two co

File volatility: File volatility associates to the number of times the updating of records are needed during some time period. File interrogation: Some files hold re

REWRITE STATEMENT: As in the situation of a relative file, the REWRITE statement needs that the file should be opened in the I-O mode, and if the SEQENTIAL access mode is spec

COMPUTE VERB: The COMPUTE verb is very powerful. All the evaluations performed by the other 4 verbs can also be completed easily by using the COMPUTE verb. Its normal format i

PROGRAM FOR COMPUTE VERB: We have to write an easy program to elaborate the COMPUTE verb.  Identification division. Program- id. compverb. Environment division. Da