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

Example of read statement, Example of read statement: Illustration: ...

Example of read statement: Illustration: READ OLD-MASTER AT END MOVE ZERO TO END-OF-RECORDS. As a result of this statement, generally the next record from the OLD-MAST

Program for divide verb, PROGRAM FOR DIVIDE VERB:   We have to write ...

PROGRAM FOR DIVIDE VERB:   We have to write an easy program to elaborate DIVIDE verb. You can also use edit characters in the program. Identification division. Program-

Program for size error , PROGRAM FOR SIZE ERROR:   We have to write a...

PROGRAM FOR SIZE ERROR:   We have to write an easy program to elaborate the size error option. Identification division. Program- id. sizeerr. Environment division.

ACCEPT VERB, When using the accept verb in cobol is it possible to assign s...

When using the accept verb in cobol is it possible to assign something other then "SYSIN" for a ddname?

Program for indexed sequential file creation-mode, PROGRAM FOR INDEXED SEQU...

PROGRAM FOR INDEXED SEQUENTIAL FILE CREATION (RANDOM MODE): We have to write a program to create an Indexed Sequential File in random mode for Student particulars. Suppose jus

Program for perform - thru, PROGRAM FOR PERFORM - THRU: We have to wri...

PROGRAM FOR PERFORM - THRU: We have to write a program to elaborate PERFORM ...THRU statement Identification division. Program- id.  Perfthru. Environment division.

Illustration of if- else statement, Illustration of if- else statement: ...

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

File description- fixed-length records, FILE DESCRIPTION- FIXED-LENGTH RECO...

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

Sequential files, SEQUENTIAL FILES:   The purpose of the proposed sec...

SEQUENTIAL FILES:   The purpose of the proposed section is to introduce the concepts such as File characteristics, File Description for Fixed-Length Records, File-Control

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