https://userapps.support.sap.com/sap/support/knowledge/en/3245350
3245350 - IBM Db2 LUW: Restore fails with SQL2538N error | SAP Knowledge Base Article
During a restore process, you find a failure error in the db2diag.log stating: MESSAGE : SQL2538N Unexpected End of File of Backup Image reached on media ""....