ABEND S047 in module KEPSTCTO in CANSM2HP (i.e. EPILOG Historical Maintenance proc).
KEPSTCTO has not been authorized.
Diagnosing the problem
This ABEND is usually due to a missing parmlib entry for KEPSTCTO. Check your SYS1.PARMLIB(IKJTSOnn) member (where nn is some number) to see if there is an AUTHPGM(KEPSTCTO) statement
Resolving the problem
Add an AUTHPGM(kEPSTCTO) statement to your SYS1.PARMLIB(IKJTSOnn) member.