DCL-1060-00-E INTO expected as second parm

When you use the NEXT or NEXTREC keyword, the following parameter must be INTO followed by a data area.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Resolution:

Check syntax.