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
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

ROUNDED OPTION: Let us consider the DATA DIVISION entries which are as shown below: Now, subsequent to the execution of the statement ADD A B GIVING C, the C will hold

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

ON SIZE ERROR OPTION:   If after an arithmetic expression, the result exceeds the highest value which can be accommodated in the result; this error is termed as size error. T

FILE-CONTROL: The FILE-CONTROL paragraph names each and every file and identifies the first medium through file control entries. The basic format of a file control entry is gi

PROGRAM FOR ELECTRICITY BILL: An electricity company supplies electricity to 4 types of customers coded 1, 2, 3 & 4.The rate schedule for customers is shown in one table as

Example of Accept statement: For illustration, ACCEPT FLAG-A can be specified to read the value of the FLAG_A from the console. It may be keep in mind that no file definition

COMPUTE VERB: The COMPUTE verb is very powerful. All the evaluations performed by the other 4 verbs can also be completed easily by using the COMPUTE verb. Its normal format i

FILE STATUS clause: This clause has been involved in the above syntax for completeness. The ORGANIZATION, REVERSE, ACCESS and STATUS clause can be specified in any order.

Comparison of Nonnumeric Operands: A nonnumeric operand can be compared to the other nonnumeric operand according to the rules as shown below: (i) Fields of Equal Sizes: