File-control paragraph for the indexed files, COBOL Programming

FILE-CONTROL paragraph for the indexed files:

The common format for the SELECT clause for a file is as shown below:

SELECT  file-name  ASSIGN   TO  implementor -name

1178_FILE-CONTROL paragraph for the indexed files.png

The ORGANIZATION clause specifies that the file is an indexed file. The RECORD KEY clause indicates the record key data item on the basis of which the file is sequenced. The field that is specified in the RECORD KEY clause (data-name-1) is also termed as the primary key. Whereas the files are stored on the basis of the prime key, that is the records of an alternative key.

Posted Date: 10/17/2012 8:26:32 AM | Location : United States







Related Discussions:- File-control paragraph for the indexed files, Assignment Help, Ask Question on File-control paragraph for the indexed files, Get Answer, Expert's Help, File-control paragraph for the indexed files Discussions

Write discussion on File-control paragraph for the indexed files
Your posts are moderated
Related Questions
Concept of a two-dimensional table: Concept of a two-dimensional table can be easily extended to tables having three or more dimensions. The Handling of tables up to three dim

File Description for the Relative and Indexed Files: The FD entry for a relative or an indexed file is similar to that of a sequential file. Some compilers do not permit varia

Numeric -   Literals : The numeric literal can be created with the help of digits only. It can have a sign (+ or -) and can also have a decimal point. If no sign is specifi

CLOSE STATEMENT: When the processing of a file is completed, then the file may be closed. This is completed with the help of the CLOSE-verb. The form of the CLOSE statement is

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

Plus Sign - edit characters for numeric data: + (Plus Sign) : A plus sign is alike to minus sign except that when the item is positive, +sign will be inserted rather th

Valid and Invalid Word - Cobol words: Valid Word             Invalid Word & Reason emp-sal                  -pay   ( it starts with a hyphen)  TOTAL MARK (blank space em

PROGRAM FOR MOVE CORRESPONDING: We have to write a simple program to demonstrate Move Corresponding. identification division.   program- id.   environment division.

UPDATING OF THE RELATIVE AND INDEXED FILES: The Sequential files are updated by creating a new master file from an existing old master file and a transaction file. Such an Upda

Environment Division: The Environment Division is the second division in the COBOL source program. It is mainly machine-dependent . The computer and all the peripheral dev