The PROGRAM statement can appear only as the first statement of the main program.
The name of the program cannot be:
The same as that of an external procedure or common block
MAIN (all uppercase), or a runtime error results
The name of the program can be the same as a local name in the main program.@ The FORTRAN 77 Standard does not allow this practice.