Next to the book (an entry to the COBOL study notes)
SlaveProgramWe can see that the COBOL program is divided into four parts:
Identification Division.
Environment Division.
Data Division.
Procedure division.
For more information about the functions of each part, see Chapter 1 Cobol.
Here we mainly look at the content in procedure Division. This is the core.Process name naming features. In fact, this is not a hard rule. It is written according to the specifications of my company and looks much clearer. a00-Main-Proc. The main process is known at first glance, a000-Initialize. You can also know that this is the initialization process, and so on. The main logic processing is b000.-PRG-Process. Here, we simply assign values to the file records and then write them into the file. This program looks very simple, as if there is nothing to say... Here is an example of structured programming, which is easy to understand.
Suddenly, I don't want to say more... I don't know what it is...