Oooops, you're absolutely right. I only tested it with a query that didn't produce output and not with one that did. Sorry about that.
You may consider using OS commands to filter out the unwanted messages like grep -v on UNIX. Regards, Alexander ------------------------------------------------------------ Alexander Verkooijen Senior Systems Programmer High Performance Computing SARA Computing & Networking Services > -----Original Message----- > From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] > On Behalf Of Robert Ouzen > Sent: dinsdag 20 januari 2004 14:47 > To: [EMAIL PROTECTED] > Subject: Re: Another question about script > > > Hi Alexander > > The option -quiet work to well .... Now I got in my output > nothing it's > suppress everything. > My batch file look like: > > dsmadmc -id=robert -pass=xxxxx -tcpserveraddress=adsmnew.haifa.ac.il > -itemcommit -quiet -dataonly=yes macro stat_unix.adsm > > c:\blat\stat_unix.txt > > My output was empty , without-quiet I got information with > the ANR2034E and > ANS8991I messages. > > Thanks Alexander maybe another option parameter .... > > Regards Robert > > -----Original Message----- > From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] > On Behalf Of > Alexander Verkooijen > Sent: Tuesday, January 20, 2004 3:23 PM > To: [EMAIL PROTECTED] > Subject: Re: Another question about script > > Hi Robert, > > > Try the -quiet option of the dsmadmc command. > > It supresses the ANR2034E and > the ANS8001I messages. > > Kind regards, > > Alexander > > ------------------------------------------------------------ > Alexander Verkooijen > Senior Systems Programmer > High Performance Computing > SARA Computing & Networking Services > > > > -----Original Message----- > > From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] > On Behalf > > Of Robert Ouzen > > Sent: dinsdag 20 januari 2004 9:36 > > To: [EMAIL PROTECTED] > > Subject: Another question about script > > > > > > Hi to all > > > > Did is a way to get nothing in the output from a script if > is no data > > , I mean I used the options: -dataonly=yes and -itemcommit and it > > work fine but when my select as no output at all I got the line: > > > > ANR2034E SELECT: No match found using this criteria. > > ANS8001I Return code 11. > > > > I need to use a clean output to run on it statistics ............. > > > > T.I.A Regards > > > > Robert Ouzen > > E-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > > >
