Error BAM1007 with TIVARC

Tools

Error BAM1007 with TIVARC

Hello,

I'm trying to copy a table stored in a TSM backup via tivarc. I took the backup with this TIVARC line:

tivarc sessions=31 IOPARM='SERVER=W.X.Y.Z CLIENT=PTERADATAP DATASETNAME=BCP_FOCALIZADO_300611' < backup.txt

This is backup.txt script:

logon TDPROD/edw_backup,*****;
archive data tables (DBMANT.DISKSPACE_HIST),
release lock,
file=FOCAL;
logoff;

So, I do something like this when I try to make the restore:

tivarc IOPARM='SERVER=W.X.Y.Z CLIENT=PTERADATAP DATASETNAME=BCP_FOCALIZADO_300611' < restore.txt

This is restore.txt script

logon TDPROD/edw_backup,****;
COPY DATA TABLES (DBMANT.DISKSPACE_HIST_CPY) (FROM (DBMANT.DISKSPACE_HIST)),
RELEASE LOCK,
FILE=FOCAL;
logoff;

The restore operation ends with this errror message

*** Failure ARC0805:Access Module returned error code 34:
Error BAM1007: No backup file(s) found with NameSpace=Teradata, Path=, Segment=F????, Generation=0.

I read in Teradata manuals that "Path" should be the DATASETNAME IOPARM variable value (BCP_FOCALIZADO_300611 in this case), but in the error message "Path" appears to be blank.

What am I doing wrong?

Thanks in advance (sorry about muy english)

Alan Ortiz,
Tags (1)