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
INDEXED SEQUENTIAL FILES: In the indexed sequential files which are also known as indexed files, the records are stored in the sequence order generally in ascending order. In

CR and DB (Credit and Debit Sign): The two characters that is CR or DB symbol may appear only at the rightmost place of the picture. They are similar to the minus sign edit ch

Illustration of Perform with varying option: A) Perform para-3 varying the k from 1 by 1 until k > 10. Here para-3 will be constantly executed 10 times (For k=1,2,3, .....1

WRITE statement: The WRITE statement for tape and sequential-disk files has the syntax shown below. WRITE            record-name      [  FROM    identifier   ] As a resu

REWRITE statement: The REWRITE statement is used to update the existing record in a disk file. The normal format is as shown below: REWRIE  record-name  [  FROM      ide

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

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 Write statement: Illustration: (i) WRITE TRANS-RECORD AFTER ADVANCING 3 LINES. This WRITE statement specified that the TRANS-RECORD is a record name of a fi

Display control verbs in Cobol

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: