ADSM-L

Unix scripts and dsmc

1999-04-08 19:08:03
Subject: Unix scripts and dsmc
From: Craig Murphy <craigm AT NZ1.IBM DOT COM>
Date: Fri, 9 Apr 1999 11:08:03 +1200
Hello

ADSM Server V2.1.5.18
Client 2.1.0.2

I'm trying to create a script using dsmc like the many I have using dsmadmc
but it doesn't work.
eg.
dsmadmc -id=bla -password=bla 'q db'  - works fine

If I try to do similar with dsmc .
eg
dsmc -node=bla -password=bla 'q archive * ' - does not look at the command.
I just get the dsmc> prompt.

I can pipe the command into dsmc
eg
echo 'q archive * ' | dsmc -node=bla etc
but if I get to complicated with the command it doesn't like it - and its a
pretty ugly way of doing it anyway.

Surely there must be a simple way of doing this that works. Any advise out
there.

Thanks

Craig
<Prev in Thread] Current Thread [Next in Thread>