Picture specification - picture clause, COBOL Programming

PICTURE specification:

The size of a group item is equivalent to the total of the sizes of all the subordinate elementary items. The group item class is alphanumeric.

The illustration below describes the PICTURE specification.

Illustration:

PICTURE IS S999V99

Represents a signed data item with a size of 5 characters and the positions of the assumed point is before 2 places from the rightmost end. Note that the S and V are not counted 

 

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







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

Write discussion on Picture specification - picture clause
Your posts are moderated
Related Questions
Transaction file : A transaction file is a file which contains new records those changes to old records which are used to update the master file. The problem of file updatio

SEQUENTIAL FILES WITH THE VARIABLE-LENGTH RECORDS: The Magnetic - tape or disk files can hold variable-length records. In this situation the file can have records with various

REWRITE STATEMENT: The REWRITE statement has the format for a relative file as shown below, REWRITE record-name  [ FORM identifier ]

Example of Redefines clause: This illustration describes a sales record that may either contain the total amount of sale or the quantity (QTY) and UNIT-PRICE. The aim of such

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

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

PERFORM STATEMENT:   The PERFORM statement can be used to execute the group of consecutive statements written elsewhere in the program. We refer to this group of statements a

Examples - Edit characters for numeric data: The following illustration illustrates the use of Z editing characters. The character b is used to indicate the space character an

Data Division: The Data Division is a part of the COBOL program where every data item processed by the program is described. It is very important to note that unless a data

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