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
DELETE STATEMENT : The file should be opened in the I-O mode. If the access is SEQUENTIAL, the INVALID KEY phrase must be specified. Rather than, the last input-output state

There are some restrictions when these procedures are used. (i) The Procedure should not contain any SORT/MERGE statement. (ii) An explicit transfer of the control outside

Column and Field in COBOL program: In COBOL there are 2 types of entries termed as margin A and margin B entries. The Margin A entries start from the column 8, 9, 10 or 11 and

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:

Example of Accept statement: For illustration, ACCEPT FLAG-A can be specified to read the value of the FLAG_A from the console. It may be keep in mind that no file definition

File volatility: File volatility associates to the number of times the updating of records are needed during some time period. File interrogation: Some files hold re

RULES OF MOVE VERB:  The Data movement is managed by the rules which are as shown below: (a) The contents of the identifier - 1 or the value of the literal - 1 is moved to

RESERVE clause: This clause indicates the number of buffers to be used for the file. Integer-1 specifies this number. ORGANIZATION/ACCESS clause: These two clause

B (Blank Insertion) : The occurrence of a B anyplace in the picture will insert a space character in the edited data. There can be more than one B in the picture. Examples:

MOVE CORRESPONDING: It is frequently required to move some of the data items of one group to some other data items in the other group. If the names of the equivalent data item