Creating a Sybase ASA Connection Profile

To supply the runtime connection information for a Sybase Adaptive Server Anywhere (ASA) database server endpoint, create a Sybase ASA connection profile. You can also use the fully-configured default Sybase ASA connection profile installed with Sybase WorkSpace.

  1. In the Enterprise Explorer, right-click Databases and select New.

  2. In the Wizard Selection page, select Sybase ASA Connection Profile and click Next.

  3. Complete the following information on the wizard pages (provided by the ASA administrator):

    Name and Description page

    FieldDescription
    NameFor example: ASAServerName.
    DescriptionFor example: YourCorp ASA.
    Auto-Connect

    Select the check box to automatically connect to the server and display its contents in the Enterprise Explorer. This happens whenever the Enterprise Explorer is opened.

    Specify a Driver and Connection Details page

    FieldDescription
    Select Driver

    Select the Sybase ASA driver for your database, overwriting the fields on this page. For example: Sybase ASA Default.

    Note

    Selecting a driver template from the Select Driver menu overwrites all the other fields in this dialog.

    If no compatible driver exists, click [...] to open the Driver Definitions dialog and define one.

    Host NameFor example: YourASAServer.
    Database NameFor example: ASA_ONE.
    Port NumberFor example: 7200.
    User NameFor example: dbadmin.
    PasswordEnter the password for the database server login, if required.
    Filter Properties
    Catalog

    If your catalog has the same name as the Database Name, accept this as the default, for example, asademo. If you have multiple catalogs on your database, enter the appropriate catalog name.

    Schema

    Specify a schema or filter by schema name, using % as the wild card. For example, TABL%. To specify all schemas on the catalog, enter %

    Procedure Name

    Specify a procedure or filter by procedure name, using % as the wild card, for example: ADDR%. To specify all procedures on the schema, enter %.

  4. In Optional Properties, specify any connection properties by entering a line in the format KEY=value, for example, DYNAMIC_PREPARE=true and clicking Add

    Added connection properties appear in the list.

    Note

    For complete information on connection properties in Sybase ASA, contact the database administrator.

  5. Use the Up, Down, Remove, and Clear All buttons to delete or change the order of the connection properties.

  6. Click Next.

  7. In the Summary page, click Back to make changes or Finish to confirm.

    The connection profile icon appears in the Enterprise Explorer under the Databases folder. If you selected Auto-Connect in the Name and Description page, the connection profile is connected.

    Note

    If you change the connection properties of a connection profile that is already connected, the connection profile will immediately disconnect from the resources and automatically attempt to reconnect using the updated information.

Setting Up Connection Profiles for Service Development

Using the Default Connection Profiles

Developing a Database Service

Connection Profiles

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com