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
FILE-CONTROL ENTRIES FOR THE SEQUENTIAL FILES: The characteristics of each and every files handled in a program are specified in the ENVIRONMENT DIVISION and DATA DIVISION.

Example of constructing an arithmetic expression: An arithmetic expression may be proceeded by a + or - sign. These operations are known as unary + or unary - operators. Il

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

VALUE CLAUSE: The value clause defines the preliminary value of the data item. Normally initialization will be completed just before the first statement in the procedure di

Display control verbs in Cobol

I need help with a COBOL programming assingment. I have started the program but I need help completing the program. I have 5 errors. Here is the question. 10. Suppose your company

PROGRAM FOR CONDITION NAMES: We have to write a simple program to demonstrate Condition names usage.  identification division.   program- id.   environment division.

SUBTRACT VERB: The SUBTRACT verb is used to subtract one, or the sum of two or more numbers from one or more numbers and to store the result. The form of the SUBTRACT verb

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

UPDATING OF THE RELATIVE AND INDEXED FILES: The Sequential files are updated by creating a new master file from an existing old master file and a transaction file. Such an Upda