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
The LENDER Bank offers mortgages on homes valued up to $500,000. The required down payment is calculated as follows: 4% of the first $60,000 borrowed 8% of the next $30,000 borro

DELETE STATEMENT : The file should be opened in the I-O mode. If the access is SEQUENTIAL, the INVALID KEY phrase must be specified. Rather than, the last input-output state

Illustration of Multiply verb: (a)  MULTIPLY A BY B. In this situation the value of A & B will be multiplied and the product will be stored in B.  The decimal point locatio

PROGRAM TO DEMONSTRATE MERGE VERB: The two files for which a record having 2 fields viz. Account Number and Name are already available. Now Merge these two files and create a

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

Direct Organization: Besides the relative or indexed organization, also a direct access file can be designed to have what is termed as direct organization.  In this organizati

OPEN STATEMENT: Whenever a READ or a WRITE operation is executed on a file, then it should be open. The opening of a file may be completed with the help of the OPEN verb. With

START STATEMENT: The START statement places the files to the initial logical record whose record key satisfies the condition specified by the KEY phrase. The access mode shoul

PROGRAM FOR PERFORM - VARYING: We have to write a program to elaborate PERFORM ...VARYING Identification division. Program- id. PerfVary. Environment division. Dat

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