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
OPEN STATEMENT: Whenever a READ or a WRITE operation is executed on a file, then it should be open. The opening of a file may be completed with the help of the OPEN verb. With

REWRITE STATEMENT: The REWRITE statement has the format for a relative file as shown below, REWRITE record-name  [ FORM identifier ]

FILE-CONTROL paragraph for the indexed files: The common format for the SELECT clause for a file is as shown below: SELECT  file-name  ASSIGN   TO  implementor -name

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

Example of Class condition: Let the BASIC-PAY be a data name in the card record defined with picture 9(5) V99. By reading the card we can test the value of the BASIC-PAY to ma

Illustration of if- else statement: IF OK-BALANCE NEXT SENTENCE ELSE MOVE 2 BALANCE-CODE In this illustration, the OK-BALANCE is a condition name. No action is specific if

Size: The number of characters or digits needed to store the data item in the memory in termed as the Size of the data item. All the 4 general characteristics explained can

Group Item as Operand in the Relational Condition: Whenever an operand of a relational condition is the group item, the item is then considered to be an alphanumeric field. Th

Example of Special-names: Consider the illustration: Let the SPECIAL-NAMES paragraph be as shown: SPECIAL-NAMES. CHANNEL 1 IS PAGE-TOP. The Channel is related with the t

PROGRAM FOR SUBTRACT VERB: We have to write a simple program to elaborate the SUBTRACT verb. You can also use edit characters in the program. Identification division. Pr