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
What is the difference b/w index and subscript? Subscript indicates to the array occurrence whereas index is the displacement (in no of bytes) from the beginning of the array.

PROGRAM FOR SIMPLE PERFORM: We have to write a program to elaborate simple PERFORM statement Identification division. Program- id.  Perf1. Environment division. Da

can we move spaces to numeric field

Comparison of the Numeric Operand with Nonnumeric Operand: The numeric operand can be compared to the nonnumeric operand subject to the restrictions which are as follows.

CLOSE statement: The simplified syntax of the CLOSE statement is as shown below:   CLOSE          file-name-1   [WITH   LOCK   ]                         [  , file-

DECLARATIVE and FILE STATUS Clause: The input-output exception condition in the situation of a direct access files can be handled by a declarative procedure in a manner simila

Illustration of Divide verb: (a) DIVIDE 5 INTO A. If the value of A is 20, then after execution of this statement the value of A will be 4. The older value of A will be los

SIMPLE MERGE VERB: Like sorting, the merging of files is often required in different commercial application. It is likely to merge two or more files with the help of one MERGE

Illustration of the abbreviation: A few illustration of the abbreviation are given below: Illustration: The compound condition  AMOUNT GREATER THAN 499 AND AMOUNT L

IF STATEMENT: The easiest form of the IF statement is  IF condition-1 statement-1 where the condition-1 may be any one from the shown below. When the condition-1