HPlogo ALLBASE/NET User's Guide: HP 9000 Computer Systems > Chapter 4 NETUtil Reference

ADD ALIAS

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

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.

You must have superuser capability to issue this command.

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 on 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 16-bit characters or other ASCII or non-ASCII 8-bit characters and can contain up to 128 characters. The HP-UX alias name is case-sensitive; the MPE/iX alias name is not case-sensitive. An alias name 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 absolute pathname of the DBEnvironment on the HP-UX server or fully qualified filename on the MPE/iX server. This name follows the file naming conventions of the operating system in which the DBEnvironment resides.

An HP-UX DBEnvironment name cannot exceed 128 characters in length, is case-sensitive, and is localizable (8-bit and 16-bit characters).

An MPE/iX DBEnvironment name cannot exceed 26 characters in length and is not 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. The name format is based on the datacommm type.

MachineType

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

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. If you are using HP-UX release 10.0 on either the client or server, ARPA is the only valid entry.

Examples

In this example, the alias profile is for a DBEnvironment on an HP-UX server:

  netutil=> add alias

  Alias Name: purchdbe

  Database Server Type: ALLBASE/SQL

  DBEnvironment Name on Server: /users/dbsupport/purchdbe

  Server Node Name: system1

  Machine Type: hp9000 s800

  Datacomm Type: arpa



  Profile added.



  netutil=>

In this example, the alias profile is for a DBEnvironment on an MPE/iX server:

  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: arpa



  Profile added.



  netutil=>
Feedback to webmaster