Provided is a solution to correct the error message "CPM1015F Unexpected return code (8) from ENF INIT- terminating".
The "CPM1015F Unexpected return code (8) from ENF INIT- terminating" error normally occurs on the initial startup of CPMSRVR during implementation. The error is occurring because the Critical Path Monitoring (CPM) checkpoint file is empty. To correct this symptom, add the statement below to the existing CPMPARMS dd file.
set Restarttime=0000000000000 (that is 13 zeroes)
Once the statement is added, restart the CPMSRVR.