The NoteBook of EricKong

            BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
            611 Posts :: 1 Stories :: 190 Comments :: 0 Trackbacks

          IDENTIFICATION DIVISION is used to establish the Identity of the program, and assigns a unique name to the Program.

          ENVIRONMENT DIVISION tells the environment – SOURCE-COMPUTER and OBJECT-COMPUTER on which the COBOL Program would run. It also declares the Input and Output file-names, accessed by the COBOL Program. 

          DATA DIVISION is the place in the COBOL Program, that creates Storage areas(COBOL Variables) for storing Data. Generally, COBOL Programs read data-records from Input-File, or Write records to Output-file. When the data-record from the Input-file is read, there's got to be a place in the COBOL Program, where the Input File Data arrives, its received and it has to be stored. COBOL Programs may do some rough-work. Such variables which act like a temporary scratch-pad, where you could do some rough-work, and which are there only as long as the COBOL Program runs are called WORKING-STORAGE Areas.

          PROCEDURE DIVISION is the starting-point of the COBOL Program, where the Program begins to run. You code the Instructions that you to perform one-by-one in the PROCEDURE DIVISION.

          posted on 2011-12-27 09:46 Eric_jiang 閱讀(165) 評論(0)  編輯  收藏 所屬分類: Mainframe
          主站蜘蛛池模板: 博野县| 桐梓县| 满洲里市| 和平区| 沁阳市| 广南县| 马鞍山市| 浦江县| 伊通| 湘潭县| 清苑县| 宣武区| 毕节市| 连南| 桐城市| 桓仁| 沂源县| 基隆市| 泰州市| 元谋县| 顺义区| 白银市| 长沙市| 米脂县| 蒲城县| 游戏| 阿尔山市| 崇义县| 于都县| 安新县| 静安区| 乌鲁木齐市| 贡山| 张掖市| 靖安县| 大石桥市| 达尔| 兴安县| 白沙| 天等县| 开化县|