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
Group Item as Operand in the Relational Condition: Whenever an operand of a relational condition is the group item, the item is then considered to be an alphanumeric field. Th

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

bal majduri ik kanuni apradh hai is de bavjud bache ,ghra,hotla,road, kam karn lai majbur han bacheya te mapeya nu parhai val prerit karn lai ik bashan teyar kro

INPUT AND OUTPUT PROCEDURE IN SORT STATEMENT: The common format of the SORT statement can write as shown below: The format of the RELEASE statement is as shown be

I uploaded a file from PC to Mainframe, variable LRCL 256. In my COBOL program I defined it as FD INPUT-FILE LABEL RECORDS ARE OMITTED BLOCK CONTAINS 0 RECORDING MODE

CONDITION - COBOL Programming: The condition is an entity which at one point of time can have only one of the two values - true or false. As we already know that, the IF verb

Examples - Edit characters for numeric data: The following illustration illustrates the use of Z editing characters. The character b is used to indicate the space character an

Block Size: The normal practice is to group a number of consecutive records to form that is termed as a block or a physical record. The number of records in a block is frequen

DISPLAY STATEMENT:   The function of the DISPLAY statement is just opposite to that of the ACCEPT statement. It is used to display the low-volume results on the operator's co

OPEN STATEMENT: Whenever a READ or a WRITE operation is executed on a file, then it should be open. The opening of a file may be completed with the help of the OPEN verb. With