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

CHANGE ALIAS

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

Use the CHANGE ALIAS command to change an alias profile in the AliasDB file on the client.

CHANGE ALIAS prompts you for the current value of the alias name of the alias profile you want to change, and then for a new alias name. If you do not want to change the alias name, press the Return key instead of entering a new name.

The current value of each parameter following the alias name is displayed. You are prompted to enter a new value. To keep the current value, press the Return key.

CHANGE ALIAS can be abbreviated to CA.

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

NETUtil Syntax

   netutil=> CHANGE ALIAS

   Alias Name (current value): AliasName

   Alias Name (new value) (opt): AliasName

   Database Server Type (current value): DBServerType

   DBEnvironment Name on Server (current value): DBEnvironmentName

   DBEnvironment Name on Server (new value) (opt): DBEnvironmentName

   Server Node Name (current value): ServerNodeName

   Server Node Name (new value) (opt): ServerNodeName

   Machine Type (current value): MachineType

   Machine Type (new value) (opt): MachineType

   Datacomm Type (current value): DatacommType

   Datacomm Type (new value) (opt): DatacommType

Change Profile (y/n)? {y[es]} {n[o]}

Parameters

AliasName

is the alias name of the DBEnvironment that resides on the server. It is used by the application on the client. This name must be unique on the client and 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, 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 on 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 in the case in which 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.

MachineType

is the machine type of the server. Enter HP 3000 S900, HP9000 S700, or HP9000 Series 800. A space is required between HP3000 or HP9000 and the series number. The machine type name is not case-sensitive and is stored 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.

Example

In this example, the server node name is changed from the snode.sdomain.sorg to snode and the datacomm type is changed from NS to ARPA.

   netutil=> change alias

   Alias Name (current value): InvenDB

   Alias Name (new value) (opt): Return

   Database Server Type (current value): ALLBASE/SQL

   DBEnvironment Name on Server (current value): PartsDB.DBgroup.Inven

   DBEnvironment Name on Server (new value) (opt): Return

   Server Node Name (current value): snode.sdomain.sorg

   Server Node Name (new value) (opt): snode

   Machine Type (current value): HP3000 S900

   Machine Type (new value) (opt): Return

   Datacomm Type (current value): NS

   Datacomm Type (new value) (opt): ARPA Return



   Change Profile (y/n)? y



   Profile changed.



   netutil=>
Feedback to webmaster