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
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

Minus sign - edit characters for numeric data: The minus sign can appear either at the leftmost or rightmost location of the picture. If an item is negative, a minus sign will

Selection of file Organization: While designing a file, the programmer should select an appropriate association for a file. The order in which the choice is to be made is as s

Illustration of Perform with varying option: A) Perform para-3 varying the k from 1 by 1 until k > 10. Here para-3 will be constantly executed 10 times (For k=1,2,3, .....1

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

Example of If- else statement Illustration:   IF   QUANTITY IS NUMERIC AND QUANTITY IS POSITIVE          MOVE ZERO TO ERROR-CODE. COMPUTE SALES VALUE=QUANTITY*RATE

Example of Redefines clause: This illustration describes a sales record that may either contain the total amount of sale or the quantity (QTY) and UNIT-PRICE. The aim of such

Introduction to COBOL: In the year 1959, a new language named the COBOL ( CO mmon B usiness O riented L anguage) was introduced remembering the business purpose application

Direct Organization: Besides the relative or indexed organization, also a direct access file can be designed to have what is termed as direct organization.  In this organizati

RELATIONAL CONDITION:   We know that a relational condition specifies a comparison between two operands and has the form.     Operand-1    relational-operator   operand-2