Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
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 file.
b) WORKING-STORAGE SECTION:
The data items that are developed internally as intermediate result as well as the constants are explained in this section of the DATA DIVISION.
The format of the DATA DIVISION is as shown below:
DATA DIVISION.
[FILE SECTION.
File section entries.
......
......]
[WORKING-STORAGE SECTION.
WORKING-STORAGE ENTRIES.
All the section names as well as the division name should be coded as the margin A entries,
Each section of the DATA DIVISION is optional that means that a section may be omitted if there is no data which may be explained in a specific section. It is important to note that the sections to be included should appear in the order as shown above.
BLOCK CONTAINS CLAUSE: Integer -1 of the BLOCK CONTAINS clause indicates the block size either in terms of records or in terms of characters. For illustration, BLOCK CONTAINS
DELETE STATEMENT: The format of the delete statement is as shown below: DELETE file-name RECORD [ ; INVALID KEY imperative-statement ] Whenever the ACCESS MOD
ADD and SUBTRACT CORRESPONDING: The CORRESPONDING option can also used with the ADD and SUBTRACT verbs. The following are some of the formats of these verbs with the CORRESPON
RELATIONAL CONDITION: We know that a relational condition specifies a comparison between two operands and has the form. Operand-1 relational-operator operand-2
WRITE Statement: The WRITE statement for a relative file has the format which is as shown below. WRITE record-name [ FORM identifier ]
COBOL Words: The COBOL word can be formed by using the characters as shown below: 0-9 A-Z (a-z) - (hyphen) The rules below should be hold in forming the COBOL words.
Data Names and Identifiers: The Data name provides reference to the storage space in the memory where the real value is stored. This value takes part in the operation whene
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
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
CONDITION - COBOL Programming: The condition is an entity which at one point of time can have only one of the two values - true or false. As we already know that, the IF verb
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd