We go into dsmadmc with the itemcommit option before we run macros:

dsmadmc  -itemcommit



Linda Seeba                               Phone: (314) 234-5190
I/T Specialist - Sr                      Fax: (314) 232-4581
IBM Global Services               E-Mail:[EMAIL PROTECTED]


---------------------- Forwarded by Linda Seeba/St Louis/IBM on 02/08/2001
11:37 AM ---------------------------

"Kleynerman, Arthur" <[EMAIL PROTECTED]>@VM.MARIST.EDU> on
02/06/2001 10:51:16 AM

Please respond to "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]>

Sent by:  "ADSM: Dist Stor Manager" <[EMAIL PROTECTED]>


To:   [EMAIL PROTECTED]
cc:
Subject:  Re: Error Handling in Macros



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