ADSM-L

Re: ARCHIVE command - length restrictions

2001-02-23 07:20:36
Subject: Re: ARCHIVE command - length restrictions
From: Richard Sims <rbs AT BU DOT EDU>
Date: Fri, 23 Feb 2001 07:21:04 -0500
> 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...

You're ignoring that Messages manual that the Tivoli folks labored so long to
put together for our reference.  The description of the ANS1102E messages
says:

    Archive, Delete, and Selective can contain a maximum of 20 file
    specifications.

I count 21 filenames in your command line.

As an addendum I have to say that I don't think much of this arbitrary limit
of 20: one should be able to have as many operands as are supported by the
command line length or operands count in your individual operating system,
which in the Unix case is far more than a measly 20.

    Richard Sims, BU
<Prev in Thread] Current Thread [Next in Thread>