File-control entries for the sequential files, COBOL Programming

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.

       SELECT       [  OPTIONAL  ]     file-name         ASSIGN     TO   hardware-name

2054_FILE-CONTROL ENTRIES FOR THE SEQUENTIAL FILES.png

Posted Date: 10/17/2012 7:55:54 AM | Location : United States







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

Write discussion on File-control entries for the sequential files
Your posts are moderated
Related Questions
PROGRAM FOR IF -ELSE: We have to write a program to check whether the given number is ODD or EVEN. You can use IF..ELSE. Identification division. Program- id. IfElse.

DELETE STATEMENT : The file should be opened in the I-O mode. If the access is SEQUENTIAL, the INVALID KEY phrase must be specified. Rather than, the last input-output state

PROGRAM FOR INVENTORY  We have to write a program to update the inventory file. Consider 2 files,viz, invfile an tranfile. Invfile has 3 fields pno,name,qty. Tranfile has 3 fil

PROGRAM TO DEMONSTRATE SORT VERB: The file for which a record having 2 fields, viz., Account Number and Name is already available. Sort the file based on the ascending order o

Picture Clause: The picture clause explains the general characteristics of an elementary data item. These characteristics are elaborated below: Class: In COBOL the

DELETE STATEMENT: The format of the delete statement is as shown below: DELETE   file-name RECORD   [  ;   INVALID   KEY  imperative-statement  ] Whenever the ACCESS MOD

VALUE CLAUSE: The value clause defines the preliminary value of the data item. Normally initialization will be completed just before the first statement in the procedure di

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

File- Section &Working-Storage Section: a) FILE SECTION: The FILE SECTION includes the explanation of all data items that must be read from or written onto some external

B (Blank Insertion) : The occurrence of a B anyplace in the picture will insert a space character in the edited data. There can be more than one B in the picture. Examples: