RECOVERY process parses control statement sequentially instead of a complete set.
The RANGEDT control statement didn't stop the execution
FUNCTION= DB10007E - INVALID FUNCTION
DB10015E - NO EXECUTION DUE TO INDICATED ERROR(S)
Issue around Quotes and continuation line missing in the BACKWARD/FORWARD RECOVERY command.
It is fine to put quotes around "stuff". Examples that work fine are:
The error INVALID FUNCTION is not because of the quotes, it is a second line and no comma on the first line. For example in the above, if DETAIL had no comma then the REPORT ran without the RANGEDT and then it was thought a new function and is not.