sun.com | docs.sun.com |  | How To Buy | My Sun | Worldwide Sites |

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

User Commands | hadbm-list(1)

- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- EXAMPLES
- EXIT STATUS
- ERROR CODES
- SEE ALSO

## NAME

> hadbm list - lists all the existing databases

## SYNOPSIS

> `hadbm list` [adminpassword=password | adminpasswordfile=filename] [agent=ma_url]

## DESCRIPTION

> Use the `hadbm list` command to get a listing of all the existing database instances known to the management client running this command. If the list could not display the database instance, see the `hadbm` command if you are sure you have created it earlier.

## OPTIONS

> w adminpassword

>   The actual HADBM administation password. Using this option with the `hadbm createdomain` or `hadbm create` command requires that the password is entered each time any `hadbm` command is used.

>   The `adminpassword` is different from the `hadbm dbpassword` command. You must use both passwords when using the following commands: `hadbm create`, `hadbm addnodes`, `hadbm refragment`.

> W adminpasswordfile

>   The file from which the HADBM administration password is read.

> m agent

>   Identifies the URL to the Management Agent. The default is localhost:1862.

## EXAMPLES

> Example 1. Using list

> > >     hadbm list
> > >     Database
> > >     hadb
> > >     mydatabase

## EXIT STATUS

> 0

>   command executed successfully

> 1

>   error in executing the command

## ERROR CODES

> 22002

>   specified database does not exist

## SEE ALSO

> `hadbm-clear`(1), `hadbm-clearhistory`(1), `hadbm-delete`(1), `hadbm-get`(1), `hadbm-restart`(1), `hadbm-resourceinfo`(1), `hadbm-set`(1), `hadbm-start`(1), `hadbm-stop`(1)

J2EE SDK 1.4 | Go To Top | Last Changed 22 Dec 2004

Company Info | Contact | Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.