COBOL OCCURS...DEPENDING ON
This article discusses the COBOL "Occurs...Depending On" clause. We explain how it works, and how mainframe files which use it can be handled on a PC, when converting mainframe files to PC files.
COBOL Intrinsic Function : COBOL Date, COBOL Current Date
The newest flavor of COBOL, generically called 20x but released by IBM under the name of COBOL/370 (previous version was COBOL II, which followed COBOL 85 - explain that naming convention), includes a collection of built-in, or intrinsic, functions. This page will discuss two categories of these functions:
Accepting and returning data in a Cobol program : Procedure Division
In the PROCEDURE DIVISION of a program, you code the executable statements that process the data you have defined in the other divisions. The PROCEDURE DIVISION contains one or two headers and the logic of your program.
Identification Division in COBOL
The Identification Division must be the first division in every COBOL source program. It names the program and may include the date the program was written, the date of compilation, and other such documentary information about the program.
RENAMES Clause -- Level-66 Entry
Format 2 (RENAMES Clause -- Level-66 Entry) regroups previously defined items by specifying alternative, possibly overlapping, groupings of elementary data items.
|