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
Selection of file Organization: While designing a file, the programmer should select an appropriate association for a file. The order in which the choice is to be made is as s

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

RULES FOR OCCURS CLAUSE: The rules apply for the OCCURS clause and the subscripts are as shown below. (1) The integer in the OCCURS clause should be a positive integer.

Plus Sign - edit characters for numeric data: + (Plus Sign) : A plus sign is alike to minus sign except that when the item is positive, +sign will be inserted rather th

PROGRAM TO FIND INTEREST ON BANK DEPOSITS: We have to write a program to find interest on deposits. The criteria is given below : identification division. program-

FILE UPDATION: The method of modifying an old file with present information is termed as file updating. Master file: A master file is a file which is used as an author

INPUT-OUTPUT SECTION: This section holds information regarding the files to be used in the program. There are 2 paragraphs in this section- FILE-CONTROL & I-O-CONTROL. The

DELETE STATEMENT: The format of the delete statement is as shown below: DELETE   file-name RECORD   [  ;   INVALID   KEY  imperative-statement  ] Whenever the ACCESS MOD

Occurs Clause: Let us establish tables with the help of an illustration. Assume that there are ten different types of income-tax rates that are read from some input medium and

Rules for constructing an Arithmetic Expression: The rules for constructing an arithmetic expression are as shown below: (i) When an arithmetic expression specifies a calcu