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

ARITHMETIC VERBS: Most of the problems need some computations to be performed on the input or intermediate data that are numeric in nature. The Arithmetic verbs are used to pe

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

RENAMES CLAUSE: At times re-grouping of an elementary data items in a record may be essential so that they can belong to the original as well as to the latest group. This is o

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

OCCURS CLAUSE - PROGRAM: We have to write a program to demonstrate the occurs clause. Get names of the students and show them on the screen.  identification division.

Program for Sequential File Creation & Rewriting  We have to write a program to create a Length file with just two fields: l (Length) and l-c (Length-Code). Add a few records.

Write a COBOL IF sentence to use the values of numeric variables EXAM and COURSEWORK , both assumed to be with format PIC 999 and in the range 0 to 100 and to move the value:

There are some restrictions when these procedures are used. (i) The Procedure should not contain any SORT/MERGE statement. (ii) An explicit transfer of the control outside

Floating Insertion   The currency symbol ($) can emerge in multiples on the left-hand side of the picture. In this situation the character will be treated in similar way as t