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
PROGRAM FOR RENAMES CLAUSE: identification division. program- id. environment division. data division. working-storage section. 01 emp.      02 empdet.

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

ADD VERB: The ADD Verb can be used to find the sum of two or more numbers and to store the sum.  The ADD verb takes any one of the two forms as shown below:

WRITE STATEMENT: The records are written to be logical place as determined from the value of the record key. The INVALID KEY condition occurs in the cases shown below: (i)

PROGRAM FOR INDEXED SEQUENTIAL FILE CREATION: We have to write a program to create an Indexed Sequential File in a dynamic mode for Student particulars. Suppose just 3 fields:

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

CLOSE statement: The simplified syntax of the CLOSE statement is as shown below:   CLOSE          file-name-1   [WITH   LOCK   ]                         [  , file-

PROGRAM USING OCCURS CLAUSE: We have to write a simple program to demonstrate Occurs Clause. Get the employee details for 3 persons and compute the total salary. identifica

Program for Sequential File Creation & Rewriting  We have to write a program to create a Length file with just two fields: l (Length) and l-c (Length-Code). Add a few records.

Sign - Picture clause: The numeric data item can be signed or unsigned. If a numeric data is regarded as unsigned then during the execution these unsigned data items are treat