Block contains and records contains clause, COBOL Programming

BLOCK CONTAINS CLAUSE:

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.

RECORDS CONTAINS CLAUSE:

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

Data types available in COBOL are given below Alpha-numeric (X), numeric (9), alphabetic (A)

Literals: The actual values can too appear in a program. These values are termed as literals. For illustration, the statement MOVE 0 TO TOTAL indicates that the value zero wil

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

PROGRAMS FOR REDEFINES CLAUSE: We have to write a simple program to explain the REDEFINES clause at 01 level. identification division. program- id. Redef. environment

READ STATEMENTS: The common format for the read statements is as shown bellow. Format 1: READ file-name RECORD [ INTO   identifier ] [  ;  AT   END     imperative-s

Example of compound condition: In common, a compound condition has the form which is as shown below: Where condition-1 & condition-2 can be any one of the below:

ADD and SUBTRACT CORRESPONDING: The CORRESPONDING option can also used with the ADD and SUBTRACT verbs. The following are some of the formats of these verbs with the CORRESPON

How do i write a simple cobol programming that works

OCCURS - INDEXED BY PROGRAM: identification division. program- id. searching. environment division. data division. working-storage section. 01 table1.      0