File-control paragraph for the relative files, COBOL Programming

FILE-CONTROL paragraph for the relative files:

The normal format for the SELECT clause for a relative file is as shown below.

SELECT  file-name  ASSIGN  TO  implementor-name

1052_FILE-CONTROL paragraph for the relative files.png

  [; FILE    STATUS    IS data-name-2]

Whether the file must be used successively or randomly, must specified through the word SEQUNTIALLY or RANDOMLY in the access mode clause the clause ACCESS MODE IS DYNAMIC it represents that the file is accessed sequentially and / or randomly in the PROCEDURE DIVISION.

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







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

Write discussion on File-control paragraph for the relative files
Your posts are moderated
Related Questions
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

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

FILE-CONTROL: The FILE-CONTROL paragraph names each and every file and identifies the first medium through file control entries. The basic format of a file control entry is gi

Rules for Simple sort verb: The work file is to be defined by a sort elaboration entry (SD entry).The format of SD entry is as shown below. The rules below should be taken

FILE-CONTROL ENTRIES FOR THE SEQUENTIAL FILES: The characteristics of each and every files handled in a program are specified in the ENVIRONMENT DIVISION and DATA DIVISION.

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

Rules for apply for the condition name: The rules below apply for the condition name. (i) The Condition names should be explained at level 88. The level number starts in ma

TO WRITE A QUADRATIC EQN ROOTS ARE COMPLEX IN COBOL PROGRAM

Example of Sign condition: The illustration below describes the use of the sign condition. Illustration:     77  BALANCE  PIC  S9 (6) V99.       .       .     I