The STATIC keyword is not valid for File specifications in the main source section.
20
Cause . . . . . : The STATIC keyword is only valid for File specifications in subprocedures. The keyword is ignored.
Recovery . . . : Remove the STATIC keyword.
Technical description . . . . . . . . : The STATIC keyword is implied for File specifications in the main source section.