Picture clause, COBOL Programming

Picture Clause:

The picture clause explains the general characteristics of an elementary data item.

These characteristics are elaborated below:

Class:

In COBOL the data item may be one of the 3 classes - numeric, alphabetic or alphanumeric. The numeric items consist only of digits 0 to 9. The Alphabetic items consist only of the letters A to Z (a to z) and the space (blank) character. The alphanumeric may consist of alphabets, digits as well as the special characters. 

 

Posted Date: 10/16/2012 3:46:28 AM | Location : United States







Related Discussions:- Picture clause, Assignment Help, Ask Question on Picture clause, Get Answer, Expert's Help, Picture clause Discussions

Write discussion on Picture clause
Your posts are moderated
Related Questions
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

Object-Computer - Configuration section: The computer name specifies a specific computer on which the object program is to be executed. The MEMORY SIZE is used to show the

Illustration of Search verb: To illustrate the other use of SEARCH verb, assume we wish to search the similar tab to find the number of persons whose deposited amount is more

Identification Division: The Identification Division is the first division of each and every COBOL source program. The paragraph PROGRAM-ID is necessary in most of the mac

Example of read statement: Illustration: READ OLD-MASTER AT END MOVE ZERO TO END-OF-RECORDS. As a result of this statement, generally the next record from the OLD-MAST

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

DIVIDE VERB: The aim of the DIVIDE verb is to divide one number by the other and to store the result.  There are few forms of this verb. One of its forms is as shown below:

What is the difference between subscript and index

PROGRAM FOR ELECTRICITY BILL: An electricity company supplies electricity to 4 types of customers coded 1, 2, 3 & 4.The rate schedule for customers is shown in one table as

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