Using An Attributes File; Reading In The Attributes File - HP 9000 User Manual

Hide thumbs Also See for 9000:
Table of Contents

Advertisement

Command Reference

Using an Attributes File

Using an Attributes File
You may want to pre-define specific attribute value pairs in permanent
files and access them when you need those specific values within a
command.
When creating a file containing attribute and value pairings, you may
want to use space between the end of each attribute name and the equal
sign so the equal signs and values are aligned. (See the sample attribute
file in the section below.) This makes your files easier to read and
maintain.
If you do not specify a full path name for your attributes file, HPDPS
uses the path name from the environment variable PDPATH to locate the
attributes file.
If PDPATH is undefined or contains a null string, HPDPS looks in your
current working directory for the attributes file. For example, if PDPATH
contained /home/smith/, the following command would read file
/home/smith/my_attributes to obtain the attributes file:
pdpr -X my_attributes File1

Reading in the Attributes File

You can read in an attribute file in the following ways:
• Use the -x flag and specify the command-attribute attributes:
• Use the -X flag to specify an attributes file name:
• Use both to read an attribute file into a command.
The -X and -x flags are additive so that all attributes and values are
NOTE
used. If the same object-attribute is specified more than once in a
command with multiple uses of the -x, -X command flags or the
attributes command-attribute, or a combination of them, the value
read last takes precedence.
72
pdset -x "attributes=AttrFilePP1" PhysPrt2
pdset -X AttrFilePP1 PhysPrt2
Chapter 3

Advertisement

Table of Contents
loading

Table of Contents