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
MULTI-DIMENSIONAL TABLES: The type of table which has been considered above is known as one-dimensional table. Whenever a table is such that each of its elements in turn is a

Group Item as Operand in the Relational Condition: Whenever an operand of a relational condition is the group item, the item is then considered to be an alphanumeric field. Th

PROGRAM FOR MULTIPLY VERB: We have to write a simple program to elaborate MULTIPLY verb. You can also use the edit characters in the program. Identification division. Pr

PROGRAM FOR INVENTORY  We have to write a program to update the inventory file. Consider 2 files,viz, invfile an tranfile. Invfile has 3 fields pno,name,qty. Tranfile has 3 fil

PROGRAM FOR IF :   We have to write a program to check whether the given number is ODD or EVEN. Identification division. Program- id. Ifst. Environment division.

INDEXED TABLES: The OCCURS clause that is used to define tables can optionally have an INDEXED phrase. This phrase involves the names of data items which are to be used as sub

Introduction to COBOL: In the year 1959, a new language named the COBOL ( CO mmon B usiness O riented L anguage) was introduced remembering the business purpose application

PROGRAM FOR INDEXED SEQUENTIAL FILE CREATION: We have to write a program to create an Indexed Sequential File in a dynamic mode for Student particulars. Suppose just 3 fields:

RULES FOR SEARCH VERB: The rules apply for the SEARCH verb is as shown below: (1) The SEARCH verb can be applied only to a table that has the OCCURS clause and INDEXED phra

Illustration of nested if statement: Consider the nested sentence which is as shown below: The IF-ELSE pairs in this sentence can be detected by applying the rule whic