A clause you have specified is allowed only in a nested program. For example, the COMMON clause, as defined by ANSI.
Revise your program.