Block contains and records contains clause, COBOL Programming


Integer -1 of the BLOCK CONTAINS clause indicates the block size either in terms of records or in terms of characters. For illustration, BLOCK CONTAINS 50 RECORDS that means there are 50 records in the block.


This clause indicates the records size. Integer-2 indicates the number of characters in a record. The RECORD CONTAINS clause is mainly used for documentary aims only.


Posted Date: 10/17/2012 8:00:21 AM | Location : United States

Related Discussions:- Block contains and records contains clause, Assignment Help, Ask Question on Block contains and records contains clause, Get Answer, Expert's Help, Block contains and records contains clause Discussions

Write discussion on Block contains and records contains clause
Your posts are moderated
Related Questions
WRITE Statement:      The WRITE statement for a relative file has the format which is as shown below.          WRITE  record-name   [ FORM   identifier ]

Picture Clause: The picture clause explains the general characteristics of an elementary data item. These characteristics are elaborated below: Class: In COBOL the

SUBTRACT VERB: The SUBTRACT verb is used to subtract one, or the sum of two or more numbers from one or more numbers and to store the result. The form of the SUBTRACT verb

Example of add verb: (a) ADD A TO B. This illustration represents that the value of A will be added to the value of B and the result will be stored in B.  The alignment of

RULES OF REDEFINES CLAUSE The rules shown below govern the use of the REDEFINES clause: (i) The level-number of data-name-1 and data-name-2 should be identical. (ii) Exce

When using the accept verb in cobol is it possible to assign something other then "SYSIN" for a ddname?

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 i

Illustration of Subtract verb: (a) SUBTRACT A FROM B. This illustration means that the value of A will be subtracted from the value of B and the subtracted result will be s

DIVIDE VERB: The aim of the DIVIDE verb is to divide one number by the other and to store the result.  There are few forms of this verb. One of its forms is as shown below:

How do I move a single QUOTE to a field or set the value clause? "''" does not work?