If you mean how to put multiple dsmc or dsmadmc commands into a script, just
do;
dsmadmc -id=? -pa=? q drm \* wherestate=mountable > filename
dsmadmc -id=? -pa=? (group2) run daily_checks > anotherfilename
dsmc i /
etc..
etc..
Matt.
-Original Message-
From: Leijnse, Finn F SITI-IS
Thanks for your answers,
This is the way I put all query commands in one file.
Script with this line:
dsmadmc -id= -pa= macro /usr/script/macro > file.out
macro file:
All commands can be placed here
> file.out:
All output in one file.
> met vriendelijke groeten, regards et salutation
echo "command1 arguments -
more_args
command2 arguments
command3 arguments -
more_args" | dsmadmc -id= -pa=
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]>
T