ADSM-L

Re: Problem with MACRO automation

1999-08-18 14:00:50
Subject: Re: Problem with MACRO automation
From: "Agnew, Doug" <dagnew AT CHARLOTTEPIPE DOT COM>
Date: Wed, 18 Aug 1999 14:00:50 -0400
Wes,

What I would suggest is taking the output file and running it through a
simple awk program.  Perhaps you could add a literal to the select statement
that would help distinguish it from the other lines.  Like 'SELECT
"VAULTRETRIEVE", DRMEDIA....' then the awk program would be something like:
BEGIN {print "Tapes to be retrieved from vault";}
$1~/VAULTRETRIEVE/ { print $0}; }

Of course, you could dress it up with more headings and line counts, etc.
You could build an entire tape movement report set using macros, scripts and
ksh/awk programs (been there, done that).

Doug Agnew


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