MFPLI00229S MAIN parameter insert-name must be a scalar of CHAR VAR type without * extents.

You've specified a preprocessor or -SYSTEMxxx option that conflicts with the parameter types declared for your procedure with OPTIONS(MAIN).
Resolution:
Correct your -SYSTEMxxx setting.
Module:
DCLPL1.PL1