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-ISES-31 [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 27, 2001 4:30 PM To: [EMAIL PROTECTED] 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] >