FUNL0142 (Stmterr) statement may not occur outside FOR EACH RECORD loop.

From m204wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

This indicates that the FUEL program contains a stmterr statement, and it may only occur within the FOR EACH RECORD loop. You must either delete the stmterr statement or move it inside the FOR EACH RECORD loop.

For example, an UNLOAD statement may only occur within the FOR EACH RECORD loop.