Open System Services Shell and Utilities Reference Manual (G06.28+, H06.05+)
add_define(1) OSS Shell and Utilities Ref
erence Manual
NAME
add_define - Creates one or more DEFINEs for the current OSS shell
SYNOPSIS
add_define
{define_name1}...
[-like=define_name2]
[attribute_specs]...
FLAGS
-like=define_name2
Creates a DEFINE with the attributes and values of the specified define_name2 and
modified by the specified attribute_specs clauses. If the -like flag is not specified, the
DEFINE created has the attributes and values of the working attribute set modified by
the specified attribute_specs clauses.
DESCRIPTION
The add_define command is specific to HP and an OSS shell built-in command. It creates
DEFINES for the OSS shell and is similiar to the TACL ADD DEFINE command.
The add_define command accepts Guardian attributes. As a result, input must follow Guardian
conventions.
Operands
define_name1
Specifies the name of the DEFINE to be created. The name can be 2 through 24 char-
acters long. The first character must be an equal sign (=), and the second must be a
letter. If neither the -like flag nor the attribute_specs parameter is specified, the
DEFINE is created with the attributes and value
of the working attribute set.
attribute_specs
Specifies the names of one or more valid DEFINE attributes and the values they are to
have. If the -like flag is specified, a DEFINE is created with the attributes and values of
the specified DEFINE and modified by the clauses specified by attribute_specs. If the
-like flag is not specified, a DEFINE is created with the attributes and values of the
working attribute set and modified by the specified attribute_specs. attribute_specs is
defined as:
class={catalog | defaults | map | search | sort |
spool | subsort | tape}
{class_attributes}...
Class Attributes
Certain characters are special in the OSS environment and must be preceded by an escape char-
acter or they will not be accepted by the add_define command. For a detailed description of the
valid class attributes, refer to the ADD DEFINE and SET DEFINE commands in the TACL Refer-
ence Manual.
The add_define command accepts Guardian attributes for setting up the Guardian environment.
As a result, input must follow Guardian conventions.
For class=catalog (a CATALOG DEFINE), you must use the escape character in class-attributes
as follows:
subvol=\$a123
For class=defaults (a DEFAULTS DEFINE), you must use the escape character in class-
attributes
1−2 Hewlett-Packard Company 527188-007