Rational Developer for System z
Enterprise COBOL for z/OS, Version 4.1, Language Reference


Optional paragraphs

These optional paragraphs in the identification division can be omitted:

AUTHOR
Name of the author of the program.
INSTALLATION
Name of the company or location.
DATE-WRITTEN
Date the program was written.
DATE-COMPILED
Date the program was compiled.
SECURITY
Level of confidentiality of the program.

The comment-entry in any of the optional paragraphs can be any combination of characters from the character set of the computer. The comment-entry is written in Area B on one or more lines.

The paragraph name DATE-COMPILED and any comment-entry associated with it appear in the source code listing with the current date inserted. For example:

DATE-COMPILED. 11/30/07.

Comment-entries serve only as documentation; they do not affect the meaning of the program. A hyphen in the indicator area (column 7) is not permitted in comment-entries.

You can include DBCS character strings as comment-entries in the identification division of your program. Multiple lines are allowed in a comment-entry that contains DBCS character strings.

A DBCS character string must be preceded by a shift-out control character and followed by a shift-in control character. For example:

AUTHOR.       <.A.U.T.H.O.R.-.N.A.M.E>, XYZ CORPORATION
DATE-WRITTEN. <.D.A.T.E>

When a comment-entry that is contained on multiple lines uses DBCS characters, shift-out and shift-in characters must be paired on a line.


Terms of use | Feedback

This information center is powered by Eclipse technology. (http://www.eclipse.org)