HP 3000 Manuals

ADD ALIAS [ ALLBASE/NET User's Guide ] MPE/iX 5.0 Documentation


ALLBASE/NET User's Guide

ADD ALIAS 

Use the ADD ALIAS command to add an alias profile to the AliasDB file on
the client.  The first time you use this command to add an alias profile,
the AliasDB file is created.  To display the contents of one or more
alias use the SHOW ALIAS command.

ADD ALIAS can be abbreviated to AA.

To issue this command, you must log on as MANAGER.SYS or have SM
capability.

NETUtil Syntax 

     netutil=> ADD ALIAS
     Alias Name: AliasName 
     Database Server Type: DBServerType 
     DBEnvironment Name on Server: DBEnvironmentName 
     Server Node Name: ServerNodeName 
     Machine Type: MachineType 
     Datacomm Type: DatacommType 

Parameters 

AliasName           is the alias name of the DBEnvironment that resides
                    on the server, to be used by an application of the
                    client.  This name must be unique on the client.  The
                    alias name does not need to be the same as the
                    DBEnvironment name.  It can consist of ASCII 7-bit
                    characters as well as some 8-bit and 16-bit character
                    sets (either ASCII or non-ASCII). The alias name
                    can contain up to 128 characters, it is not
                    case-sensitive, and is stored and displayed exactly
                    as it was entered.

                    The first character of this field cannot be an
                    asterisk (*). 

DBServerType        is ALLBASE/SQL, the database management system server
                    type on the server.  (HP SQL is still supported as a
                    database server type.  However, if you enter HP SQL,
                    NETUtil displays it as ALLBASE/SQL.) The server type
                    name is not case-sensitive and is stored and
                    displayed in uppercase characters.

DBEnvironmentName   is the fully qualified filename of the DBEnvironment
                    on the MPE/iX server or the absolute pathname of the
                    DBEnvironment on the HP-UX server.  This name follows
                    the file naming conventions of the operating system
                    in which the DBEnvironment resides.

                    The MPE/iX DBEnvironment name cannot exceed 26
                    characters in length and is not case-sensitive.

                    The HP-UX DBEnvironment name cannot exceed 128
                    characters in length and is case-sensitive.

                    The DBEnvironment name is stored and displayed
                    exactly as it was entered. 

ServerNodeName      is the node name of the server you want to access.
                    The server node name is not case-sensitive and is
                    stored and displayed exactly as it was entered.
                    However, "node" is the same as "NODE" when the SQL
                    application is running and executes a CONNECT or
                    START DBE command with an alias name.  The name
                    format is based on the datacommm type. 

MachineType         [REV BEG]

                    is the machine type of the server.  Enter HP 3000
                    S900, HP9000 S700, or HP9000 S800.  A space is
                    required between HP3000 or HP9000 and the series
                    number.  The machine type name is not case-sensitive
                    and is stored and displayed in uppercase
                    characters.[REV END]

DatacommType        is the network service interface you are using.  The
                    datacomm type is either NS or ARPA. The data
                    communication type name is not case-sensitive and is
                    stored and displayed in uppercase characters.[REV
                    BEG] If you are using HP-UX release 10.0 on either
                    the client or server, ARPA is the only valid
                    entry.[REV END]

Example 

     netutil=> add alias 
     Alias Name: InvenDB 
     Database Server Type: ALLBASE/SQL 
     DBEnvironment Name on Server: PartsDB.DBgroup.Inven 
     Server Node Name: snode.sdomain.sorg 
     Machine Type: hp3000 s900 
     Datacomm Type: ns 

     Profile added.

     netutil=>



MPE/iX 5.0 Documentation