TSS9801E CPF RECOVERY FILE HDR INCORRECT FILE WILL NOT BE PROCESSED
Article ID: 98360
Top Secret - LDAP
When trying to create new CPF Recovery file we get a return code of zero but the create fails with the following message:
TSS9801E CPF RECOVERY FILE HDR INCORRECT; FILE WILL NOT BE PROCESSED
Release: TOPSEC00200-15.0-Top Secret-Security
If the JCL has DCB=KEYLEN=1 then the blocksize is created with one extra block causing the blocksize to be invalid and the error to be received.
Remove the DCB=KEYLEN=1 from the JCL.