Select the data source type as JDBC Query and click Next. For more information In the Data Source Definition window, click Query Definition.

Configuring and Using the Pluggable Data sources 14-15 Table 14–4 Oracle Thick Driver Property Value Username Reports Password Welcome Database n123 where n123 is a tnsname entry in the tnsnames.ora file Table 14–5 JDBC-ODBC Driver Property Value Username NA Password This password is set at the time of establishing an ODBC connection. Database SQLSVR where SQLSVR is the ODBC Data entry in the ODBC data source. Table 14–6 Sybase Property Value Username Reports Password Welcome Database hostname: The TCPIP address or TCPIP host name of the server you are connecting to. port: The number of the TCPIP port. Example: server1.us.oracle.com:1300 Table 14–7 DB2 Property Value Username Reports Password Welcome Database hostname: The TCPIP address or TCPIP host name of the server you are connecting to. port: The TCPIP port number. property: The connection properties. Refer to the driver documentation for a list of connection properties and their valid values. Example1: server1:1654 Example2: server2:1721;PackageName=pkg1 Table 14–8 SQL Server Property Value Username Reports Password Welcome 14-16 Publishing Reports to the Web with Oracle Reports Services

14.1.3 Running a JDBC Report Using Oracle Reports Services

When you run a report containing a JDBC query Reports Server or rwrun engine, use the sign-on parameter to submit the connection information for the JDBC data source. This sign-on parameter is defined for your JDBC query in Reports Builder during design time. For example, if your report has a JDBC query to a Sybase data source, a JDBC query to a DB2 data source, and a SQL query to an Oracle data source, then the request could be defined as: http:your_ias_ server:portreportsrwservlet?report=my.rdfuserid=userpwdoracledb desformat=pdfdestype=cachep_sybasepds=sybaseuserpwsybasehost:port p_db2pds=db2userpwddb2host:port where: ■ userid is the value for connecting the SQL query to the Oracle database. You need not specify the userid if your report does not have a SQL query or a REF CURSOR query. ■ p_sybasepds is the sign-on parameter associated with the Sybase JDBC query. ■ p_db2pds is the sign-on parameter associated with the DB2 JDBC query defined in the report at design time. The default sign-on parameter name P_JDBCPDS will be used if you have not specified a name in the JDBC Query dialog box while designing the report in Reports Builder.

14.1.4 TroubleShooting Information

This section lists: Database hostname: The TCPIP address or TCPIP host name of the server you are connecting to. port: The TCPIP port number. Example1: server1:1654 Table 14–9 Informix Property Value Username Reports Password Welcome Database hostname: The TCPIP address or TCPIP host name of the server you are connecting to. port: The TCPIP port number. InformixServer name: The Informix server name. Database name: The database name you are connected to. Example2: server_ name:2003;InformixServer=myinformix_ server;DatabaseName=scotttigermydb Table 14–8 Cont. SQL Server Property Value