Problem with MACRO automation
2015-10-04 17:40:32
We have our ADSM servers send lists of tapes to be sent offsite =
and
to be retrieved via Email or printer, but the Macro commands I am using =
are
putting the actual command into the message in addition to the actual =
data.
Is there a way to turn off Macro command listings? =20
I am getting this output by redirecting the output of the command =
inside the
Macro file:
EX: SELECT DRMEDIA.VOLUME_NAME as "Volume", DRMEDIA.STATE as "State" =
FROM
DRMEDIA DRMEDIA WHERE DRMEDIA.STATE=3D'VAULTRETRIEVE') >> =
c:\temp\vault.lst
If I forego the macro and just redirect the output of the command from =
the
command line I get the entire ADSM login info in addition to the data i
want.
Here's an Example (Of the Macro adding Server command messages): Very
annoying ANS8001I Messages
1:54p
Wed 08/18/1999=20
=20
MAGSTAR 001=20
=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=
=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=20
ANS8000I Server command: 'SELECT DRMEDIA.VOLUME_NAME as "Volume",
DRMEDIA.STATE as "State" FROM DRMEDIA DRMEDIA WHERE
(DRMEDIA.STATE=3D'VAULTRETRIEVE')'
ANR2034E SELECT: No match found using this criteria.
=20
ANS8000I Server command: 'SELECT count(DRMEDIA.VOLUME_NAME) as "Total =
Tapes
for MAGSTAR 001" FROM DRMEDIA DRMEDIA WHERE (DRMEDIA.STATE LIKE
'VAULTRETRIEVE')'
Total Tapes for MAGSTAR 001
---------------------------
0
0
=20
=20
MAGSTAR 002=20
=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=
=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=20
ANS8000I Server command: 'SELECT DRMEDIA.VOLUME_NAME as "Volume",
DRMEDIA.STATE as "State" FROM DRMEDIA DRMEDIA WHERE
(DRMEDIA.STATE=3D'VAULTRETRIEVE')'
Volume State =20
------------------ ------------------
00C2E9 VAULTRETRIEVE =20
00C2E9 VAULTRETRIEVE =20
=20
ANS8000I Server command: 'SELECT count(DRMEDIA.VOLUME_NAME) as "Total =
Tapes
for MAGSTAR 002" FROM DRMEDIA DRMEDIA WHERE (DRMEDIA.STATE LIKE
'VAULTRETRIEVE')'
Total Tapes for MAGSTAR 002
---------------------------
1
1
|
|
|