TSM ANS1245E The file has an unknown format
If the DBAs get the error “ANS1245E The file has an unknown format”
when doing a RMAN restore of a DB from one machine to another, check the version of the TSM client API ( not the TDP version ) is the same on both machines.
The easiest way to do this is to type dsmc on both machines
This is machine 1 where the TSM RMAN backup was done
$ dsmc
IBM Tivoli Storage Manager
Command Line Backup-Archive Client Interface
Client Version 7, Release 1, Level 1.0
This is machine 2 where the DBAs were restoring the RMAN backup to
$ dsmc
IBM Tivoli Storage Manager
Command Line Backup-Archive Client Interface
Client Version 6, Release 4, Level 2.0
The fix was to upgrade the TSM client on machine 2 to 7.1.1 to match that on machine 1. Once the client was updated the RMAN restore worked fine.