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" <[EMAIL PROTECTED]> on 27.09.2001
18:29:32
Please respond to "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
>