Identification division - cobol programming, COBOL Programming

Assignment Help:

Identification Division:

The Identification Division is the first division of each and every COBOL source program. The paragraph PROGRAM-ID is necessary in most of the machines. The other paragraphs are elective.

The structure of Identification division is shown below:

IDENTIFICATION DIVISION.

PROGRAM-ID. Entry

[AUTHOR. entry.]

[INSTALLATION. entry.]

[DATE-WRITTEN. entry.] Optional

[DATA-COMPILED. entry.]

[SECURITY. entry.]

[REMARKS. entry.]

The division heading and paragraph names must be coded as A margin entries. The entries subsequent the paragraph headings should be terminated by a period. The entry in the PROGRAM-ID paragraph includes the program name to be used to identify the object program.

The entries in the other paragraphs are generally treated as comments and the programmer is free to write whatever thing for these entries. Only significant entries must be included in these places to provide better clarity and documentation.

The entry for the AUTHOR paragraph may include the name of the programmer. The entrance of the DATE-COMPILED paragraph may hold the date of compilation. If this entry is left blank, then the compiler inserts the real date in the listing of the source program which may be printed during the compilation.


Related Discussions:- Identification division - cobol programming

File activity, File Activity: The file activity is a measure of the pr...

File Activity: The file activity is a measure of the proportion of records processed during an update run. Therefore we define the activity ration as shown below. Activi

Program using occurs clause, PROGRAM USING OCCURS CLAUSE: We have to w...

PROGRAM USING OCCURS CLAUSE: We have to write a simple program to demonstrate Occurs Clause. Get the employee details for 3 persons and compute the total salary. identifica

Evaluate statemant, single program how may when statement has used

single program how may when statement has used

Configuration section - cobol program, Configuration Section: This sec...

Configuration Section: This section holds an overall specification of the computer used for the purpose of the compilation and execution of the program. There are in all 3 par

File description for the relative and indexed files, File Description for t...

File Description for the Relative and Indexed Files: The FD entry for a relative or an indexed file is similar to that of a sequential file. Some compilers do not permit varia

Example of move corresponding, Example of Move corresponding: Consider...

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

Example of accept statement, Example of Accept statement: For illustra...

Example of Accept statement: For illustration, ACCEPT FLAG-A can be specified to read the value of the FLAG_A from the console. It may be keep in mind that no file definition

Input and output procedure in statement, INPUT AND OUTPUT PROCEDURE IN SORT...

INPUT AND OUTPUT PROCEDURE IN SORT STATEMENT: The common format of the SORT statement can write as shown below: The format of the RELEASE statement is as shown be

Accept statement, ACCEPT STATEMENT: The ACCEPT statement is used to re...

ACCEPT STATEMENT: The ACCEPT statement is used to read the low-volume data from the operator's console, several other hardware device or from the operating system. The common

Common form of the read statements, Common form of the READ statements: ...

Common form of the READ statements: Format 1 is the common form of the READ statements. Format 2 is used when the access mode is either random or dynamic. For illustration,

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

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!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd