183/461

## list-jdbc-resources

lists all JDBC resources

Synopsis

    list-jdbc-resources [--help] [target target]

Description

The `list-jdbc-resources` subcommand displays a list of the existing JDBC resources.

This subcommand is supported in remote mode only.

Options

`--help`
`-?`

  Displays the help text for the subcommand.

Operands

`--target`

  This operand specifies which JDBC resources you can list. Usage of this operand is optional. Valid values are:

  `server`

    Lists the JDBC resources in the current server and is the default.

  `domain`

    Lists the JDBC resources in the current domain.

  cluster_name

    Lists the JDBC resources in a cluster.

  instance_name

    Lists the JDBC resources for a particular instance.

Examples

Example 1 Listing the JDBC Resources

  This example lists the current JDBC resources.

      asadmin> list-jdbc-resources
      jdbc/DerbyPool
      Command list-jdbc-resources executed successfully.

Exit Status

0

  subcommand executed successfully

1

  error in executing the subcommand

See Also

create-jdbc-resource(1), delete-jdbc-resource(1)

asadmin(1M)