ADSM-L

ARCHIVE command - length restrictions

2001-02-22 11:13:45
Subject: ARCHIVE command - length restrictions
From: Sergio Cherchyk <scherchyk AT BANCORIO.COM DOT AR>
Date: Thu, 22 Feb 2001 13:16:01 -0300
Hi everybody!

I'm trying to backup ORACLE databases using a script that uses an
ARCHIVE command to which a list of files to back up is given, so that
the final command is something like this:

dsmc archive -archmc=ORACLE_DIARIO -desc="TST11 OFFLINE ORACLE_DIARIO
20010216.153447" /oracle/rdbms/8.0.5/dbs/initTST11.ora
/TST11/dbs/system01.dbf /TST11/data/ajes_data.dbf
/TST11/data/amul_data.dbf /TST11/index/amul_ind.dbf
/TST11/rollback/rbs.dbf /TST11/temporary/temporary.dbf
/TST11/dbs/user.dbf /TST11/index/ajes_ind.dbf /TST11/data/eul_data.dbf
/TST11/data/eft_data.dbf /TST11/index/eft_ind.dbf
/TST11/data/cheques_data.dbf /TST11/index/cheques_ind.dbf
/TST11/redologs1/log3a.dbf /TST11/redologs2/log2b.dbf
/TST11/redologs1/log1a.dbf /TST11/redologs1/ctrl1.dbf
/TST11/redologs2/ctrl2.dbf /TST11/redologs1/ctrl3.dbf
/TST11/dbs/cfstby.dbf

The error message that I get after this command is issued is:

ANS1102E Excessive number of command line arguments passed to the
program!
ANS1133W An expression might contain a wildcard not enclosed in quotes

Not seeing any wildcards and not finding a limit in the number of
parameters to be passed to an ARCHIVE command, I thought that it should
have failed because an exesive number of characters in the command line.
TSM specifies 256 character as a maximun limit, so it appeared natural
to me that this command doesn't work.

However this, the following comman DOES work, even if it is largely
superior to 256 characters in length:

dsmc archive -archmc=ORACLE_DIARIO -desc="TST1 OFFLINE ORACLE_DIARIO
20010216.152135" /oracle/rdbms/7.3.4/dbs/initTST1.ora
/TST1/dbs/system01.dbf /TST1/dbs/user.dbf /TST1/data/data.dbf
/TST1/rollback/rbs.dbf /TST1/temporary/temporary.dbf /TST1/index/ind.dbf
/TST1/redologs1/log1a.dbf /TST1/redologs2/log1b.dbf
/TST1/redologs2/log2b.dbf /TST1/redologs2/log2a.dbf
/TST1/redologs1/log3a.dbf /TST1/redologs2/log3b.dbf
/TST1/redologs2/log4b.dbf /TST1/redologs2/log4a.dbf /TST1/dbs/ctrl1.dbf
/TST1/redologs1/ctrl2.dbf /TST1/redologs2/ctrl3.dbf /TST1/dbs/cfstby.dbf
/TST1/archivelog

Does anyone know which is the real restriction that I'm not respecting
in the first example?

The client is TSM 3.7.2 in an AIX 4.3.2

Thanks in advance
--
--------------------------------------------
--------------------------------------------
Sergio R. Cherchyk
Sergio R. Cherchyk
Arquitectura Tecnológica - Midrange
Banco Río de la Plata S.A. - Grupo BSCH
Mire 480, 2do piso - 1036 Cap. Fed.
Argentina
Tel. (054)-11-4341-1643
Fax. (054)-11-4341-1264
--------------------------------------------
=======================================================================
<Prev in Thread] Current Thread [Next in Thread>