Identification division - cobol programming, COBOL Programming

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.

Posted Date: 10/16/2012 3:35:19 AM | Location : United States







Related Discussions:- Identification division - cobol programming, Assignment Help, Ask Question on Identification division - cobol programming, Get Answer, Expert's Help, Identification division - cobol programming Discussions

Write discussion on Identification division - cobol programming
Your posts are moderated
Related Questions
FILE UPDATION: The method of modifying an old file with present information is termed as file updating. Master file: A master file is a file which is used as an author

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

How do I move a single QUOTE to a field or set the value clause? "''" does not work?

REDEFINES CLAUSE: At times it may be found that two or more storage regions defined in the DATA DIVISION are not in use concurrently. In such situations only one storage regio

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

RULES OF RENAMES CLAUSE:   The rules below should be observed while using the RENAMES clause: (i) All RENAMES entries should be written only after the last record descript

Column and Field in COBOL program: In COBOL there are 2 types of entries termed as margin A and margin B entries. The Margin A entries start from the column 8, 9, 10 or 11 and

PROCEDURE DIVISION statements for the indexed files: All the statements which are available for a relative file are also available for an indexed file. READ STTATEMENT :

Rules for Simple sort verb: The work file is to be defined by a sort elaboration entry (SD entry).The format of SD entry is as shown below. The rules below should be taken

MOVE CORRESPONDING: It is frequently required to move some of the data items of one group to some other data items in the other group. If the names of the equivalent data item