Re: Running dsmadmc in batch under unix.
1998-06-16 09:15:45
Subject: |
Re: Running dsmadmc in batch under unix. |
From: |
Dwight Cook <decook AT AMOCO DOT COM> |
Date: |
Tue, 16 Jun 1998 08:15:45 -0500 |
Have you noticed the need to route /dev/null as input so that
multi-page output will scroll to completion.
TALK ABOUT PAIN...
and the only thing I've found is large "egrep" statements to get clean
output
later,
Dwight
ps not sure if this has been fixed... it was bad enough altering all
my scripts, adding "</dev/null", I'm not looking for the chance to
remove it.
______________________________ Reply Separator _________________________________
Subject: Running dsmadmc in batch under unix.
Author: Carl.Makin (Carl.Makin AT IPAUSTRALIA.GOV DOT AU) at unix,mime
Date: 6/16/98 12:47 AM
System: ADSM 3.1.1.2, F50/Aix 4.2.1
I'm trying to write some automation scripts in perl and am somewhat amazed
at how silly the redirection facilities are in dsmadmc.
The only way I can see of generating clean output (ie not contaminated by
copyright messages and other crap) is to use redirection in the command
itself to a temporary file. This is *very* annoying as it makes my scripts
a bit more complex than they need to be.
Aside from using different "greps" to filter the output, has anyone managed
to get clean output from dsmadmc in batch?
Carl.
|
|
|