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
PROGRAM FOR SIMPLE PERFORM: We have to write a program to elaborate simple PERFORM statement Identification division. Program- id.  Perf1. Environment division. Da

START STATEMENT: The START statement places the files to the initial logical record whose record key satisfies the condition specified by the KEY phrase. The access mode shoul

Examples - Edit characters for numeric data: The following illustration illustrates the use of Z editing characters. The character b is used to indicate the space character an

WRITE Statement:      The WRITE statement for a relative file has the format which is as shown below.          WRITE  record-name   [ FORM   identifier ]

single program how may when statement has used

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

PERFORM WITH VARYING OPTION: The format is as shown below:

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

Example of Perform statement: PERFORM BEGIN-CALCULATION THRU END-CALCULATION. Assume, BEGIN-CALCULATION and END-CALCULTION is paragraph names. The execution of the PERFORM

PROGRAM FOR COMPUTE VERB: We have to write an easy program to elaborate the COMPUTE verb.  Identification division. Program- id. compverb. Environment division. Da