FUNL0007 First statement not OPEN, compile not performed.
The first statement of every Fast/Unload program running in batch mode must be the OPEN statement followed by the name of the input database file. Correct the input program to contain the appropriate OPEN statement. Note that no OPEN statement is required when Fast/Unload is invoked via $FUNLOAD.