I have installed free version of Teradata Express 14.0x few weeks ago. I am trying to run arcmain to archive some database and then eventually restore it to a difrrent database.
I am getting error 3802 when running rachive command, no clue why? I am on SUSE Linux ...
#!/bin/ksh
arcmain SESSIONS=8 CATALOG OUTLOG=ARCALLfinancial.log < /root/premfiles/arcmain/arcdatabase.in
Folliwng is my arcdatabase.in file:
.LOGON dbccop1/DBC,DBC;
ARCHIVE DATA TABLES (DBC) ALL,
RELEASE LOCK,
FILE=financil;
.LOGOFF;
2. I have also tried:
ARCHIVE DATA TABLES (DBC), RELEASE LOCk
3. I have also tried:
ARCHIVE DATA TABLES (financial), RELEASE LOCk
where financial is name of the database
4. I have also tried:
ARCHIVE DATA TABLES (financial.accts), RELEASE LOCk
where financial is name of the databaseand accts is tablename
All sceraios 1 to 4 give me the same error
ARCMAIN giving Error 3802:Database '$ARC' does not exist.
ANy idea why? There is something not setup or missing in my .in file, Do not know what??
Following is log file:
010/14/2013 15:31:02 RUNNING ARCMAIN RELEASE 14.00.00.01 BUILD 1102-07e (Dec 14
2011)
07/14/2013 15:31:02 *** **** ****
07/14/2013 15:31:02 * * * * * PROGRAM: ARCMAIN
07/14/2013 15:31:02 ***** **** * RELEASE: 14.00.00.01
07/14/2013 15:31:02 * * * * * BUILD: 110207eLX (Dec 14 2011)
07/14/2013 15:31:02 * * * * ****
07/14/2013 15:31:02
07/14/2013 15:31:02 RESTARTLOG = ARCLOG130714_153102_22400.rlg
07/14/2013 15:31:02
07/14/2013 15:31:02 PARAMETERS IN USE:
07/14/2013 15:31:02
07/14/2013 15:31:02 SESSIONS 8
07/14/2013 15:31:02 CATALOG ENABLED FOR OBJECTS AND ALL TABLES
07/14/2013 15:31:02 OUTPUT LOGGED TO ARCALLfinancial.log
07/14/2013 15:31:02
07/14/2013 15:31:02
07/14/2013 15:31:02 CHARACTER SET IN USE: ASCII
07/14/2013 15:31:02 .LOGON DBCCOP1/DBC,;
07/14/2013 15:31:03 LOGGED ON 3 SESSIONS
07/14/2013 15:31:03
07/14/2013 15:31:03 DBS LANGUAGE SUPPORT MODE Standard
1,1 Top
07/14/2013 15:31:03 DBS RELEASE 14.00.00.01
07/14/2013 15:31:03 DBS VERSION 14.00.00.01
07/14/2013 15:31:03
07/14/2013 15:31:03 STATEMENT COMPLETED
07/14/2013 15:31:03
07/14/2013 15:31:03 ARCHIVE DATA TABLES (DBC) ALL,
07/14/2013 15:31:03 RELEASE LOCK,
07/14/2013 15:31:03 FILE=financil;
07/14/2013 15:31:03 UTILITY EVENT NUMBER - 29
07/14/2013 15:31:06 LOGGED ON 8 SESSIONS
07/14/2013 15:31:06 *** Error 3802:Database '$ARC' does not exist.
07/14/2013 15:31:06 *** Failure ARC0100:Unable to create catalog table.
07/14/2013 15:31:06 LOGGED OFF 11 SESSIONS
07/14/2013 15:31:06 ARCMAIN TERMINATED WITH SEVERITY 12