FORTRAN 77 Language Reference

Restrictions

The PROGRAM statement can appear only as the first statement of the main program.

The name of the program cannot be:

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.