Close statement - sequential files, COBOL Programming

CLOSE statement:

The simplified syntax of the CLOSE statement is as shown below:

 

CLOSE          file-name-1   [WITH   LOCK   ]

 

                      [  , file-name-2   [WITH   LOCK   ]    ] ...

The CLOSE statements terminate the processing of the file. 

 

 

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







Related Discussions:- Close statement - sequential files, Assignment Help, Ask Question on Close statement - sequential files, Get Answer, Expert's Help, Close statement - sequential files Discussions

Write discussion on Close statement - sequential files
Your posts are moderated
Related Questions
Point Location: The position of the decimal point is the other characteristic which can be specified in the case of the numeric data items. If the position is not specified, t

Direct Organization: Besides the relative or indexed organization, also a direct access file can be designed to have what is termed as direct organization.  In this organizati

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

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.

DECLARATIVE and FILE STATUS Clause: The input-output exception condition in the situation of a direct access files can be handled by a declarative procedure in a manner simila

Label Records / Disk Directory: The most important information stored in the header label is what is termed as the file title. In the situation of magnetic-disk files the labe

FILLER CLAUSE: Consider the statements as shown below: 1)  01    f    pic     x(80)  value    all "-". This statement origins a line of 80 characters filled with "-"

RULES FOR INDEXED TABLES: The rules of indexing a table with an INDEXED phrase are as shown below: (1) If indexing is completed for any one level of a table, then indexing

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

OCCURS - INDEXED BY PROGRAM: identification division. program- id. searching. environment division. data division. working-storage section. 01 table1.      0