ADSM-L

Re: double query in script

2001-09-30 07:46:18
Subject: Re: double query in script
From: Zlatko Krastev/ACIT <acit AT ATTGLOBAL DOT NET>
Date: Sun, 30 Sep 2001 14:43:59 +0300
echo "command1 arguments -
        more_args
command2 arguments
command3 arguments -
        more_args" | dsmadmc -id=<user> -pa=<password>

Zlatko Krastev
IT Consultant





"Leijnse, Finn F SITI-ISES-31" <Finn.F.Leijnse AT IS.SHELL DOT COM> on 
27.09.2001
18:29:32
Please respond to "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
To:     ADSM-L AT VM.MARIST DOT EDU
cc:

Subject:        double query in script

Hello all,

I have finally mastered the scripting of daily checks on AIX through Perl
or
Kornshell with SQL or just one simple query to a file and then in a mail
but.....
I wonder if someone can help me on the next question:

How can I place two or more commands in a script?

the script will invoke the  DSMC but then I seem to be able to put in only
one query? I need some help on the syntax...


> met vriendelijke groeten, regards et salutations,
>
> Finn Leijnse
>
> ISES/31 - Central Data Storage Management
> Shell Services International bv.
> email: Finn.F.Leijnse AT IS.shell DOT com
>
<Prev in Thread] Current Thread [Next in Thread>