COBOL学习(1)-程序结构

结构如下:
********************************************************************************
IDENTIFICATION DIVISION.
PROGRAM-ID.
AUTHOR.
INSTALLATION.
DATE-WRITTEN.
DATE-COMPILED.
SECURITY.
********************************************************************************
ENVIRONMENT DIVISION.
CONFIGURATION SECTION.
SOURCE-COMPUTER.
OBJECT-COMPUTER.
SPECIAL--NAMES.
INPUT-OUTPUT SECTION.
FILE-CONTROL.
I-O-CONTROL.
********************************************************************************
DATA DIVISION.
FILE SECTION.
WORKING-STORAGE SECTION.
LINKAGE SECTION.
COMMUNICATION SECTION.
REPORT SECTION.
********************************************************************************
PROCEDURE DIVISION.
XXXXX SECTION.
XXXXXPARAGRAPH.
********************************************************************************
序号区: 6个字符 1-6列
指示符区:1个字符 7列
A区: 4个字符 8-11列
B区: 61个字符 12-72列
注释区: 8个字符 73-80列

你可能感兴趣的:(Security,cobol)