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

DELETE ALIAS

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

Use the DELETE ALIAS command to delete one or more alias profiles from the AliasDB file on the client. To prevent you from accidentally deleting an alias profile, you are prompted to confirm the deletion.

DELETE ALIAS can be abbreviated to DA.

You must have superuser capability to issue this command.

NETUtil Syntax

  netutil=> DELETE ALIAS

  Alias Name: AliasName

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

Parameters

AliasName

is either the alias name of the DBEnvironment on the server to be used by the application on the client or an asterisk (*).

If you enter an alias name, the alias profile with the same name is deleted from the AliasDB file.

If you enter an asterisk, you are prompted for the database server type and then the server node name. In this case, all alias profiles that match the database server type and the server node name are deleted.

Examples

In this example, one alias profile is deleted from the AliasDB file.

  netutil=> delete alias

  Alias Name: purchdbe



  Delete Profile (y/n)? y



  Profile deleted.



  netutil=>

In this example, all alias profiles for a specific node are deleted.

  netutil=> delete alias

  Alias Name: *

  Database Server Type: ALLBASE/SQL 

  Server Node Name: system1



  Profiles qualified: 2



  Delete all (y/n)? y



  Profiles deleted.



  netutil=>
Feedback to webmaster