ADSM-L

Re: redirect output from dsmc AIX client 3.1.0.7

1999-07-16 11:44:17
Subject: Re: redirect output from dsmc AIX client 3.1.0.7
From: Dwight Cook <decook AT AMOCO DOT COM>
Date: Fri, 16 Jul 1999 10:44:17 -0500
     To get dsmc to not think the redirect is a parameter being passed to
     it I've had to do :

eval nohup dsmc retrieve /d114/oracle/OHSPB/oehr_aais01_OHSPB.dbf
/d105/oracle/OHSPB/oehr_aais01_OHSPB.dbf -serv=srvdsm01 -replace=yes
-desc='coldarch_OHSPB.99194.02H43M01S' -pass=amoco >28.files.out 2>&1 &
The "eval" will trigger the isolation of the true parameters to the dsmc process
The "eval" will trigger the isolation of the true parameters to the dsmc process
and let the redirect work as desired.

as you can see I like to put standard error to the same file as standard out,
otherwise you might get something in your dsmerror.log & nohup.out that isn't in
the "directed to" output file... (I hate it if I fire off about 100 of the above
such commands and then in nohup.out & dsmerror.log have 2 - 1092 no files found
messages... kind'a helps to know which two of the one hundred weren't found)

Dwight


______________________________ Reply Separator _________________________________
Subject: redirect output from dsmc AIX client 3.1.0.7
Author:  Rainer.Holzinger (Rainer.Holzinger AT DOMINO.HAINDL DOT DE) at 
unix,mime
Date:    7/16/99 8:24 AM


Hi all,

how do I redirect output from dsmc commands (AIX client 3.1.0.7) within a
shell script?

TIA
Rainer
<Prev in Thread] Current Thread [Next in Thread>