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
PERFORM STATEMENT:   The PERFORM statement can be used to execute the group of consecutive statements written elsewhere in the program. We refer to this group of statements a

REWRITE STATEMENT: As in the situation of a relative file, the REWRITE statement needs that the file should be opened in the I-O mode, and if the SEQENTIAL access mode is spec

Write a COBOL IF sentence to use the values of numeric variables EXAM and COURSEWORK , both assumed to be with format PIC 999 and in the range 0 to 100 and to move the value:

Example of Sign condition: The illustration below describes the use of the sign condition. Illustration:     77  BALANCE  PIC  S9 (6) V99.       .       .     I

FILE DESCRIPTION- FIXED-LENGTH RECORDS: The normal characteristics of a file are explained in the file description (FD) entry of the DATA DIVISION.

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

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

Illustration of indexed tables: Index items defined through the INDEXED phrase of the OCCURS clause are one type of indexes. There can be other type of index items that are de

/ (Slash Insertion): The edit character slash (/) also termed as virgule or stroke, may appear anyplace in the picture. When used, it will be inserted. More than one slash can

Selection of file Organization: While designing a file, the programmer should select an appropriate association for a file. The order in which the choice is to be made is as s