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
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:

Example of Move corresponding: Consider the DATA DIVISION entries shown below. Suppose it is needed that the data stored in the 4 fields of the PAY_REC should be

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.

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

.(Period or Decimal Point) : The period may be used to insert a decimal point and may not come into view more than once. Both the period and V cannot appear in similar picture

Floating Insertion   The currency symbol ($) can emerge in multiples on the left-hand side of the picture. In this situation the character will be treated in similar way as t

MERGE VERB WITH OUTPUT PROCEDURE: Like the sort verb, the merge verb can also have an output procedure. The syntax of the MERGE verb is as shown below:   The r

We have input file, record layout is EMP ID (6 char) , EMP NAME (20 char), Designation (3 char),Salary (5 digit) Base Branch (10char) Grade (3 Alphanumeric). This is the input f

FILE CHARACTERISTICS: The task of file handling is the responsibility of the system software termed as IOCS (Input-Output control system). Record Size: We know that th

ON SIZE ERROR OPTION:   If after an arithmetic expression, the result exceeds the highest value which can be accommodated in the result; this error is termed as size error. T