Re: Another question about script
2004-01-20 08:48:23
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:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Alexander Verkooijen
Sent: Tuesday, January 20, 2004 3:23 PM
To: ADSM-L AT VM.MARIST DOT EDU
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:ADSM-L AT VM.MARIST DOT EDU] On Behalf
> Of Robert Ouzen
> Sent: dinsdag 20 januari 2004 9:36
> To: ADSM-L AT VM.MARIST DOT EDU
> 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: rouzen AT univ.haifa.ac DOT il <mailto:rouzen AT univ.haifa.ac DOT il>
>
|
|
|