beautypg.com

Figure 9 actions dialog box – HP NonStop G-Series User Manual

Page 124

background image

Appendix N: Log Success/Failure of User Defined Command for Recovery 124

3.

Click the Actions button. This displays the Actions dialog box. Select the User define command option from

the Command drop-down menu. Specify the user command in the second Command box. The Subject

(%s%) field in the event will contain what is defined in the “Object” field (i.e. the file name

$DSMSCM.OVNMTEST.GOODTEST).

Figure 9

Actions Dialog Box

4.

Select the value as Default in Success and Failure drop down list available under the Log area and click the

OK button. This will save the recovery configuration settings in OVNM.
In this example a tacl macro called “TCREATE” is used to create a file defined in the Subject field (%s%) of

the EMS Event.
Here’s the TCREATE example using the OVNM supported output commands:

?tacl routine

#frame

#push fname == File named Pushed will =

$DSMSCM.OVNMTEST.GOODTEST

#output OVNM_user_cmd_status Starting

#if [#argument/value fname/filename/syntax]

[#IF [#CREATEFILE [fname]] |then|

==Create failed, results of #CREATEFILE =>1

#output OVNM_user_cmd_status Failed

|else|

== file created, results of #CREATEFILE = 0

#output OVNM_user_cmd_status Successful

] == end of if

#unframe

A

pp

en

di

x N

This manual is related to the following products: