addp

Purpose

Use the addp command to add a variable name-value pair to a policy.

See Also:

Prerequisites

You must have the modify administrative domain's configuration right to use the addp command.

Syntax

addp::=

addp policy-name { member-name member-value }...

Semantics

policy-name

Specifies the name of a policy or a class of policies.

member-name ...

Specifies the user-assigned name of a policy, usually an environment variable name.

member-value ...

Specifies the user-assigned value of a policy, usually an environment variable value.

Example

Example 2-2 uses the addp command to set the VERBOSE environment variable for the backupev policy in the ndmp class.

Example 2-2 Enabling Verbose Output from the NDMP Data Service

ob> pwdp
/
ob> lsp ndmp
authenticationtype               negotiated                  [default]
backupev                         (none)                      [default]
backuptype                       (host type specific)        [default]
password                         (not set)                   [default]
port                             10000                       [default]
protocolversion                  (as proposed by server)     [default]
restoreev                        (none)                      [default]
username                         root                        [default]
ob> addp  ndmp/backupev VERBOSE y
ob> lsp ndmp/backupev
backupev                         VERBOSE        y