Pathway/XM System Management Manual
Configuring the Pathway/XM Environment
Compaq NonStop™ Pathway/XM System Management Manual—426761-001
4-8
Using the SET and ADD Statements
1. Define the attributes for the object, using a SET statement parameter for each
attribute.
PXMCFG scans your attribute definitions in order, checking them for syntax errors.
PXMCFG saves the attributes as a working set, pending your request to add the
objects to your configuration. In many cases, you can choose to accept default
values supplied by PXMCFG.
2. Add the object to your configuration with the ADD statement.
PXMCFG writes the object’s name and definition to the SuperCTL file. The object
definition recorded in the SuperCTL file includes attribute values assigned by
default as well as those that you specified in your SET statements.
The object name you assign in the ADD statement will be used at run time in PXMCOM
commands that refer to the object. For more information about names, see Choosing
Object Names on page 4-13.
To illustrate the relationship between the SET and ADD functions, suppose that you
want to define and add a SERVER identified by the name SRVR-X. You first define
the attributes by using a series of SET SERVER statements (or by accepting default
attribute values from PXMCFG):
SET SERVER TYPE DISTRIBUTED
SET SERVER MAXSERVERS 2
SET SERVER PROGRAM \PARIS.$MARKT.PROGFILE.UPDATE
SET SERVER SECURITY “N”
Then, you name and add the SERVER object, using an ADD SERVER statement:
ADD SERVER SRVR-X
PXMCFG writes the name and definition for this SERVER object into the SuperCTL
file, as shown in Figure 4-1.
Some attributes for an object type, such as the PROGRAM attribute in the preceding
example, are required and have no default values. You must use SET statements to
assign values for all required attributes before adding any objects of that type.