Keyword not allowed for prototype or procedure interface that does not return a value.
20
Cause . . . . . : The DIM keyword is not valid if the prototype or procedure-interface definition does not have a return value specified. The DIM keyword is ignored.
Recovery . . . : Remove the DIM keyword. Compile again.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.