



The Identification Division must be the first division in every COBOL
X source program, class definition, and method definition. It names the
X program, class, or method, and can include the date the program, class, or
X method was written, the date of compilation, and other such documentary
information. The Identification Division must begin with the words
X IDENTIFICATION DIVISION or ID DIVISION followed by a separator period.
___ Format--Program Identification Division ____________________________
| |
| (1) |
| >>__ _IDENTIFICATION_ __DIVISION.__PROGRAM-ID._____program-name______> |
| |_ ID ___________| |
| |
| (1) |
| >__ ______________________________________________ __._______________> |
| |_ ____ __ _ RECURSIVE _________ __ _________ _| |
| |_IS_| |_COMMON__ _________ _| |_PROGRAM_| |
| | |_INITIAL_| | |
| |_INITIAL__ ________ _| |
| |_COMMON_| |
| |
| >__ ___________________________________ _____________________________> |
| | (1) | |
| |_AUTHOR._____ ___________________ _| |
| | <_______________ | |
| |___comment-entry_|_| |
| |
| >__ _________________________________________ _______________________> |
| | (1) | |
| |_INSTALLATION._____ ___________________ _| |
| | <_______________ | |
| |___comment-entry_|_| |
| |
| >__ _________________________________________ _______________________> |
| | (1) | |
| |_DATE-WRITTEN._____ ___________________ _| |
| | <_______________ | |
| |___comment-entry_|_| |
| |
| >__ __________________________________________ ______________________> |
| | (1) | |
| |_DATE-COMPILED._____ ___________________ _| |
| | <_______________ | |
| |___comment-entry_|_| |
| |
| >__ _____________________________________ __________________________>< |
| | (1) | |
| |_SECURITY._____ ___________________ _| |
| | <_______________ | |
| |___comment-entry_|_| |
| |
| Note: |
X | (1) This separator period is optional as an IBM extension. |
| |
|________________________________________________________________________|
X ___ Format--Class Identification Division _________________________________________ X | | X | >>__ _IDENTIFICATION DIVISION_ __CLASS-ID.__class-name-1________________________> | X | |_ID DIVISION_____________| | | | X | <______________ | X | >__INHERITS____class-name-2_|__ _________________________________ __.___________> | X | |_METACLASS__ ____ __class-name-3_| | X | |_IS_| | | | X | >__ ________________________________ ___________________________________________> | X | |_AUTHOR.__ ___________________ _| | X | | <_______________ | | X | |___comment-entry_|_| | | | X | >__ ______________________________________ _____________________________________> | X | |_INSTALLATION.__ ___________________ _| | X | | <_______________ | | X | |___comment-entry_|_| | | | X | >__ ______________________________________ _____________________________________> | X | |_DATE-WRITTEN.__ ___________________ _| | X | | <_______________ | | X | |___comment-entry_|_| | | | X | >__ _______________________________________ ____________________________________> | X | |_DATE-COMPILED.__ ___________________ _| | X | | <_______________ | | X | |___comment-entry_|_| | | | X | >__ __________________________________ ________________________________________>< | X | |_SECURITY.__ ___________________ _| | X | | <_______________ | | X | |___comment-entry_|_| | | | |___________________________________________________________________________________|
X ___ Format--Method Identification Division _____________________________ X | | X | >>__ _IDENTIFICATION DIVISION_ ______________________________________> | X | |_ID DIVISION_____________| | | | X | >__METHOD-ID.__method-name-1__ ______________________________ __.____> | X | |_ ____ __ ________ __OVERRIDE_| | X | |_IS_| |_METHOD_| | | | X | >__ ________________________________ ________________________________> | X | |_AUTHOR.__ ___________________ _| | X | | <_______________ | | X | |___comment-entry_|_| | | | X | >__ ______________________________________ __________________________> | X | |_INSTALLATION.__ ___________________ _| | X | | <_______________ | | X | |___comment-entry_|_| | | | X | >__ ______________________________________ __________________________> | X | |_DATE-WRITTEN.__ ___________________ _| | X | | <_______________ | | X | |___comment-entry_|_| | | | X | >__ _______________________________________ _________________________> | X | |_DATE-COMPILED.__ ___________________ _| | X | | <_______________ | | X | |___comment-entry_|_| | | | X | >__ __________________________________ _____________________________>< | X | |_SECURITY.__ ___________________ _| | X | | <_______________ | | X | |___comment-entry_|_| | | | |________________________________________________________________________|
Subtopics:
© Copyright IBM Corp. 1991, 1998
Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks of Adobe Systems incorporated.