Problem with MACRO automation
1999-08-18 13:59:33
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?
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='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
MAGSTAR 001
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
ANS8000I Server command: 'SELECT DRMEDIA.VOLUME_NAME as "Volume",
DRMEDIA.STATE as "State" FROM DRMEDIA DRMEDIA WHERE
(DRMEDIA.STATE='VAULTRETRIEVE')'
ANR2034E SELECT: No match found using this criteria.
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
MAGSTAR 002
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
ANS8000I Server command: 'SELECT DRMEDIA.VOLUME_NAME as "Volume",
DRMEDIA.STATE as "State" FROM DRMEDIA DRMEDIA WHERE
(DRMEDIA.STATE='VAULTRETRIEVE')'
Volume State
------------------ ------------------
00C2E9 VAULTRETRIEVE
00C2E9 VAULTRETRIEVE
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
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Problem with MACRO automation,
Wes Lewison <=
|
|
|