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
STATEMENTS FOR SEQUENTIAL FILES: A basic operation on a file includes the reading and writing of its records. Whenever the file is sequential, there are three verbs for the

PROCEDURE DIVISION statements for the relative files: The statements OPEN, CLOSE, READ, WRITE and REWRITE that are available for sequential files are also available for the re

calculate simple interest

Structure of a COBOL Program: Every COBOL program should have the 4 divisions in the order in which they are specified below: 1. Identification division 2. Environment D

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

bal majduri ik kanuni apradh hai is de bavjud bache ,ghra,hotla,road, kam karn lai majbur han bacheya te mapeya nu parhai val prerit karn lai ik bashan teyar kro

PROGRAM TO FIND INTEREST ON BANK DEPOSITS: We have to write a program to find interest on deposits. The criteria is given below : identification division. program-

MULTI-DIMENSIONAL TABLES: The type of table which has been considered above is known as one-dimensional table. Whenever a table is such that each of its elements in turn is a

SEARCH VERB: The SEARCH verb is used to position elements in one-dimensional tables. Let us consider the following problem. Assume that each element of a table consists of thr

Plus Sign - edit characters for numeric data: + (Plus Sign) : A plus sign is alike to minus sign except that when the item is positive, +sign will be inserted rather th