type "commit" after each statement:

q vol access=destroyed
commit
q vol access=unavail
commit

etc.

-----Original Message-----
From: Steve Firmes [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 2:49 PM
To: [EMAIL PROTECTED]
Subject: Error Handling in Macros


I have been trying to right a macro that contains several queries.

The problem I am having is when the query doesn't return a result.

example macro:
q vol access=destroyed
q vol access=unavailable

result:
ANR2034E QUERY VOLUME: No match found using this criteria.
ANS8001I Return code 11.
ANS8029E Macro processing terminated.

The macro never gets to the second statement.

Does anyone know how I can get the macro to proceed beyond the first
message?

Thanks for your help.



Stephen Firmes, Storage Management Specialist
Articulent Inc.
45 South Street, Hopkinton, MA 01748
P: 508-497-2500/F: 508-497-3464

Please visit our web site at www.articulent.com


---------------------------------------

The information contained in this e-mail message, and any attachment thereto, is 
confidential and may not be disclosed without our express permission.  If you are not 
the intended recipient or an employee or agent responsible for delivering this message 
to the intended recipient, you are hereby notified that you have received this message 
in error and that any review, dissemination, distribution or copying of this message, 
or any attachment thereto, in whole or in part, is strictly prohibited.  If you have 
received this message in error, please immediately notify us by telephone, fax or 
e-mail and delete the message and all of its attachments.  Thank you.

Every effort is made to keep our network free from viruses.  You should, however, 
check this e-mail message, as well as any attachment thereto, for viruses.  We take no 
responsibility and have no liability for any computer virus which may be transferred 
via this e-mail message.

Reply via email to