IBM CLI 和 ODBC
Installing and Configuring DB2 Clients
Running CLI/ODBC Programs
The DB2 Call Level Interface (CLI) run-time environment and the ODBC driver
are included with the DB2 Client Application Enabler. This is contained
on the DB2 Client Application Enablers CD-ROM or can be downloaded from the
Web page at
http://www.software.ibm.com/data/db2.
This support enables applications developed using ODBC and DB2 CLI APIs to
work with any DB2 server. DB2 CLI application development support is
provided by the DB2 Software Developer's Kit (DB2 SDK) which is part of
the separately orderable DB2 Application Development Kit product.
Before DB2 CLI or ODBC applications can access DB2, the DB2 CLI
packages must be bound on the server. Although this will occur
automatically on the first connection if the user has the required authority
to bind the packages, it is recommended that the administrator do this first
with each version of the client on each platform that will access the
server. See Binding Database Utilities for specific details.
The following general steps are required on the client system to give DB2
CLI and ODBC applications access to DB2 databases. These instructions
assume that you have successfully connected to DB2 using a valid user ID and
password. Depending on the platform many of these steps are
automatic. For complete details, see the section that deals
specifically with your platform.
- Use the CCA to add the database (if you have separate client and server
machines) so that its instances and databases can be made known to the Control
Center, then add the instances and databases for that system. (Your
local system is represented by Local icon.) If you do not
have access to this program you can use the catalog command in the
command line processor. - On all platforms other than OS/2 and Windows 3.x, the DB2
CLI/ODBC driver is automatically installed when the DB2 Client Application
Enabler is installed, and therefore nothing needs to be done. On
OS/2 and Windows 3.x you must use the Install ODBC
Driver icon to install both the DB2 CLI/ODBC driver and the ODBC driver
manager. - To access the DB2 database from ODBC:
- The Microsoft, Visigenic, or other ODBC Driver Manager must already be
installed (this is done by default during the installation of DB2). - The DB2 databases must be registered as ODBC data sources. The ODBC
driver manager does not read the DB2 catalog information; instead it
references its own list of data sources. - If a DB2 table does not have a unique index then many ODBC applications
will open it as read-only. A unique index should be created for each
DB2 table that is to be updated by an ODBC application. Refer to the
CREATE INDEX statement in the SQL
Reference. Using the Control Center you would alter the settings of the
table, then select the Primary Key tab and move one or more columns
from the available columns list over to the primary key columns list.
Any column you select as part of the primary key must be defined as NOT
NULL.
- The Microsoft, Visigenic, or other ODBC Driver Manager must already be
- Various CLI/ODBC Configuration Keywords can be set to modify the behavior
of DB2 CLI/ODBC and the applications using it. - If you followed the above steps to install ODBC support, and added DB2
databases as ODBC data sources, your ODBC applications will now be able to
access them.
After the platform specific instructions there are further details on the
following topics:
- How to Bind the DB2 CLI/ODBC Driver to the Database
- How to Set CLI/ODBC Configuration Keywords
- Configuring db2cli.ini
Platform Specific Details for CLI/ODBC Access
|
The platform specific details on how to give DB2 CLI and ODBC applications access to DB2 are divided into the following categories: |
Windows 3.x, Windows 95, Windows 98, and Windows NT Client Access to DB2 using CLI/ODBC
Before DB2 CLI and ODBC applications can successfully
access a DB2 database from a Windows client, perform the following steps on
the client system:
- The DB2 database (and node if the database is remote) must be
cataloged. To do so, use the CCA (or the command line
processor). See Configuring Database Connections for more details.For more information refer to the on-line help in the CCA (or the
CATALOG DATABASE and CATALOG NODE commands in the Command Reference). - Verify that the Microsoft ODBC Driver Manager and the DB2 CLI/ODBC driver
are installed. On Windows 32-bit operating systems they are both
installed with DB2 unless the ODBC component is manually unselected during the
install. On Windows 3.x you must use the Install ODBC
Driver icon to install the Microsoft ODBC Driver Manager and the DB2
CLI/ODBC driver.To verify that they both exist on the machine:
- Run the Microsoft ODBC Administrator from the icon in the Control Panel,
or issue the appropriate command from the command line:
odbcad32.exe for Windows 32-bit operating systems,
odbcadm.exe on Windows 3.x. - Click on the Drivers push button, or the ODBC
Drivers tab (depending on the platform). - Verify that "IBM DB2 ODBC Driver" is shown in the list.
If either the Microsoft ODBC Driver Manager or the IBM DB2 CLI/ODBC driver
is not installed, then rerun the DB2 install and select the ODBC component on
Windows 32-bit operating systems, or double-click on the Install ODBC
Driver icon in the DB2 program group in Windows 3.x. - Run the Microsoft ODBC Administrator from the icon in the Control Panel,
- Register the DB2 database with the ODBC driver manager as a data
source. On Windows 32-bit operating systems you can make the data
source available to all users of the system (a system data source), or only
the current user (a user data source). Use either of these methods to
add the data source:- Using the CCA:
- Select the DB2 database alias that you want to add as a data
source. - Click on the Properties push button. The Database
Properties window opens. - Select the Register this database for ODBC check box.
- On Windows 32-bit operating systems you can use the radio buttons to add
the data source as either a user or system data source.
- Select the DB2 database alias that you want to add as a data
- Using the Microsoft 32-bit ODBC Administration tool, which you
can access from the icon in the Control Panel or by running
odbcad32.exe from the command line:- On Windows 32-bit operating systems the list of user data sources appears
by default. If you want to add a system data source click on the
System DSN button, or the System DSN tab (depending on
the platform). - Click on the Add push button.
- Double-click on the IBM DB2 ODBC Driver in the list.
- Select the DB2 database to add and click on OK.
- On Windows 32-bit operating systems the list of user data sources appears
- On Windows 32-bit operating systems there is a command that can be issued
in the command line processor to register the DB2 database with the ODBC
driver manager as a data source. An administrator could create a
command line processor script to register the required databases. This
script could then be run on all of the machines that require access to the DB2
databases through ODBC.The Command Reference contains more information on the CATALOG command:
CATALOG [ user | system ] ODBC DATA SOURCE
- Using the CCA:
- Optional: Configure the DB2 CLI/ODBC driver using the CCA:
- Select the DB2 database alias you want to configure.
- Click on the Properties push button. The Database Properties window opens.
- Click on the Settings push button. The CLI/ODBC Settings window opens.
- Click on the Advanced push button. You can set the configuration keywords in the window that opens. These keywords are associated with the database alias name, and affect all DB2 CLI/ODBC applications that access the database. The online help explains all of the keywords, as does Configuration Keyword Descriptions.
For information on manually editing this file (db2cli.ini), see Configuring db2cli.ini.
- Optional: Using 16-bit ODBC applications:
Although not directly related to DB2, some users have experienced problems when running 16-bit ODBC applications on Windows 32-bit operating systems.
Both 16- and 32-bit applications use the same 32-bit IBM DB2 CLI/ODBC Driver. The Microsoft ODBC Driver Manager takes care of the conversion between the 16-bit application and the 32-bit ODBC driver.
Some 16-bit applications were shipped with an old set of 16-bit Driver Manager DLLs (that is, before 1995). These DLLs do not function well in the 32-bit environment. The following symptoms may occur when running the old DLLs:
- Traps occur in odbc.dll or other ODBC related DLLs.
- 16-bit applications do not see data sources cataloged using the 32-bit ODBC Administrator (from the Control Panel).
If (and only if) you are experiencing these problems you may want to update the Microsoft 16-bit ODBC Driver Manager DLLs. These files are provided with DB2 in the SQLLIB\MSODBC16 subdirectory. Use these new DLLs to replace the older versions that are located in the system subdirectory of the Windows operating system directory.
- If you have installed ODBC access (as described above), you can now access DB2 data using ODBC applications. Start the ODBC application and go to the Open window. Select the ODBC databases file type. The DB2 databases that you added as ODBC data sources will be selectable from the list. Many ODBC applications will open the table as read-only unless a unique index exists.
|
If you require additional information at this point you can refer to the following topics in Detailed Configuration Information: |
OS/2 Client Access to DB2 using CLI/ODBC
Before DB2 CLI and ODBC applications can successfully
access a DB2 database from an OS/2 client, perform the following steps
on the client system:
- The DB2 database (and node if the database is remote) must be
cataloged. To do so, use the CCA (or the command line
processor).For more information see the on-line help in the CCA or Configuring Database Connections.
- If you are using ODBC applications to access DB2 data, perform the
following steps. (If you are using only CLI applications, skip this
step and go to the next step.)- Check that the ODBC Driver Manager (Visigenic or Intersolv) and the DB2
CLI/ODBC driver are installed:- Run the ODBC Administration tool in one of two ways:
- Double-click on the Control Panel icon from the Main
Folder in WIN-OS/2 or the ODBC Folder in OS/2, and double-click on
the ODBC Administrator icon. - Run odbcadm.exe from the command line.
The Data Sources window opens.
- Double-click on the Control Panel icon from the Main
- Click on the Drivers push button. The Drivers window
opens. - Verify that "IBM DB2 ODBC Driver" is shown in the list.
If either the ODBC Driver Manager or the IBM DB2 CLI/ODBC driver is not
installed then double-click on the Install ODBC Driver icon in the
DB2 folder to install both the DB2 CLI/ODBC driver and the ODBC driver
manager. - Run the ODBC Administration tool in one of two ways:
- Register the DB2 database with the ODBC driver manager as a data
source using either of these methods:- Using the CCA:
- Select the DB2 database alias that you want to add as a data
source. - Click on the Properties push button.
- Select the Register this database for ODBC check box.
- Select the DB2 database alias that you want to add as a data
- Using the Visigenic ODBC Administration tool, which you can
access from the ODBC folder or by running
odbcadm.exe from the command line:- Click on the Add push button from the Data Sources
window. The Add Data Source Window opens. - Double-click on the IBM DB2 ODBC Driver in the list.
- Select the DB2 database to add and click on OK.
- Click on the Add push button from the Data Sources
- Using the CCA:
- Check that the ODBC Driver Manager (Visigenic or Intersolv) and the DB2
- Optional: Configure the DB2 CLI/ODBC driver using the CCA:
- Select the DB2 database alias you want to configure.
- Click on the Properties push button. The Database
Properties window opens. - Click on the Settings push button. The CLI/ODBC Settings
window opens. - Click on the Advanced push button. You can set the
configuration keywords in the window that appears. These keywords are
associated with the database alias name, and affect all DB2
CLI/ODBC applications that access the database. The online help
explains all of the keywords, as does Configuration Keyword Descriptions.For information on manually editing this file
(db2cli.ini), see Configuring db2cli.ini.
- If you have installed ODBC access (as described above), you can now access
DB2 data using ODBC applications. Start the ODBC application and go to
the Open window. Select the ODBC databases file type.
The DB2 databases that you added as ODBC data sources will be selectable from
the list. Many ODBC applications will open the table as read-only
unless a unique index exists.
|
If you require additional information at this point you can refer to the following topics in Detailed Configuration Information: |
UNIX Client Access to DB2 using CLI/ODBC
Before DB2 CLI and ODBC applications can successfully
access a DB2 database from a UNIX client, perform the following steps on the
client system:
- The DB2 database (and node if the database is remote) must be
cataloged. To do so, use the command line processor.For more information see Chapter 10. Configuring Client-to-Server Communications Using the Command Line Processor or the CATALOG DATABASE and CATALOG
NODE commands in the Command Reference. - The DB2 CLI/ODBC driver is automatically installed when DB2 is installed,
and therefore nothing needs to be done. - If you are using ODBC applications to access DB2 data, perform the
following steps. (If you are using only CLI applications, skip this
step and go to the next step.)- When using an ODBC application you must ensure that the Visigenic or
Intersolv ODBC Driver Manager components are installed and that each user that
will use ODBC has access to it.- If DB2 installed the Driver Manager it would be located in the
sqllib/odbclib subdirectory. - If the Driver Manager was installed by another program, the file
.odbc.ini (begins with a period) would be located in
the home directory of the user ID that runs the ODBC application. - DB2 does not install an ODBC Driver Manager on the SCO UnixWare operating
system. You must use the ODBC Driver Manager that was supplied with
your ODBC client application or ODBC SDK in order to access DB2 data using
that application.
- If DB2 installed the Driver Manager it would be located in the
- The Driver Manager uses two initialization files. A sample template
of these files are provided in the sqllib/odbclib
subdirectory.- odbcinst.ini
- ODBC Driver Manager's configuration file indicating which database
drivers are installed. Each user that will use ODBC must have access to
this file. - .odbc.ini
- End-user's data source configuration. Each user has a separate
copy of this file. The sample template file is called odbc.ini
(without the first dot).
Setting up odbcinst.ini
The settings in this file impact all of the ODBC drivers on the
machine.Use an ASCII editor to update this file. It must have a stanza
(section) called [IBM DB2 ODBC DRIVER], with a line starting with
"Driver" indicating the full path to the DB2 ODBC driver
(db2.o). For example, if the home directory of your
end user is /u/thisuser/ and the sqllib directory is installed
there, then the correct entry would be:[IBM DB2 ODBC DRIVER]
Driver=/u/thisuser/sqllib/lib/db2.oSee the sample file in the sqllib/odbclib subdirectory for an example.
Setting up odbc.ini
The settings in this file are associated with a particular user on the machine; different users can have different odbc.ini files.
The odbc.ini file must be copied into the end user's home directory and called .odbc.ini. Update this file, using an ASCII editor, to reflect the appropriate data source configuration information. To register a DB2 database as an ODBC data source there must be one stanza (section) for each DB2 database.
The sample odbc.ini template shows:
- line 2 (part of the [ODBC Data Source] stanza):
SAMPLE=IBM DB2 ODBC DRIVER
Indicates that there is a data source called SAMPLE that used the IBM DB2 ODBC DRIVER.
- lines 4-6 (part of the [SAMPLE] stanza):
[SAMPLE]
Driver=/u/thisuser/sqllib/lib/db2.o
Description=Sample DB2 ODBC DatabaseIndicates that the SAMPLE database is part of the DB2 instance located in the directory /u/thisuser.
- line 11 (part of the [ODBC] stanza):
InstallDir=/u/thisuser/sqllib/odbclib
Indicates that /u/thisuser/sqllib/odbclib should be treated as the location where ODBC is installed.
Note: If your application specifically installed the ODBC components (such as the Driver Manager) elsewhere, you must update the line starting with InstallDir under the [ODBC] stanza to reflect this new location. For example, if ODBC has been installed in /opt/odbc, the [ODBC] stanza would look like:
[ODBC]
Trace=0
TraceFile=odbctrace.out
InstallDir=/opt/odbc
See the sample file in the sqllib/odbclib subdirectory for an example. You can also see How to Configure ODBC.INI for more detailed information.
Once the .ini files are set up you can run your ODBC application and access DB2 databases. Refer to the documentation that comes with your ODBC application for additional help and information.
- odbcinst.ini
- When using an ODBC application you must ensure that the Visigenic or
- Configure the DB2 CLI/ODBC driver (optional).
There are various keywords and values that can be used to modify the behavior of DB2 CLI/ODBC and the applications using it. The keywords are associated with the database alias name, and affect all DB2 CLI/ODBC applications that access the database.
For information on manually editing this file (db2cli.ini), see Configuring db2cli.ini. For information about the specific keywords see the CLI Guide and Reference.
|
If you require additional information at this point you can refer to the following topics in Detailed Configuration Information: |
Macintosh Client Access to DB2 using CLI/ODBC
Before DB2 CLI and ODBC applications can successfully
access a DB2 database from a Macintosh client, perform the following steps on
the client system:
- The DB2 database (and node if the database is remote) must be
cataloged. To do so, use the command line processor.For more information see Configuring Database Connections.
- If you are using ODBC applications to access DB2 data, perform the
following steps. (If you are using only CLI applications, skip to step
#4.)- An ODBC driver manager must be installed to handle the communications
between the ODBC applications and the DB2 ODBC driver. DB2 does not
supply a Macintosh ODBC driver manager, only the DB2 ODBC driver
itself. If your ODBC application does not supply an ODBC driver manager
then you can obtain the MacODBC driver manager directly from Apple. - Register the DB2 database with the ODBC driver manager list of data
sources (contained in the ODBC Preferences file) as a data source
using either of these methods:- Running ODBC Setup (in a 68K environment) or ODBC Setup
PPC (in a PowerMacintosh environment) from the Control Panel - Editing the initialization (ODBC Preferences or ODBC Preferences PPC) file
directly; refer to the next step in this process for more information.
- Running ODBC Setup (in a 68K environment) or ODBC Setup
- An ODBC driver manager must be installed to handle the communications
- Configuring ODBC Preferences or ODBC Preferences PPC: The ODBC
initialization file is used to record information such as the available
drivers and data sources. See the documentation for your driver manager
for procedures on updating this file.The MacODBC driver manager uses the ODBC Preferences file or the ODBC
Preferences PPC file to record information about the available drivers and
data sources.It is also possible to modify these files manually. Do not change
any of the existing entries in the files.- Use an ASCII editor to edit the ODBC Preferences file or the
ODBC Preferences PPC file.- 68K Environment
- The following is a sample ODBC Preferences file:
[ODBC Data Sources]
GLOBALDB=IBM ODBC DB2 for Macintosh
SAMPLE=IBM ODBC DB2 for Macintosh [GLOBALDB]
Driver=appl:ODBC$DB2DriverFunctionSet
Description=My GLOBAL database [SAMPLE]
Driver=appl:ODBC$DB2DriverFunctionSet
Description=My SAMPLE database - PowerMacintosh Environment
- The following is a sample ODBC Preferences PPC:
[ODBC Data Sources]
SAMPLE=IBM ODBC DB2 for PPC [SAMPLE]
Driver=DB2ODBCDriverPPC
Description=My SAMPLE database
- 68K Environment
- The [ODBC Data Source] section lists the name of each available data source and the description of the associated driver.
For each data source listed in the [ODBC Data Source] section, there is a section that lists additional information about that data source. These are called the Data Source Specification sections.
Under the [ODBC DATA SOURCE] entry, add the following line:
- 68K Environment
- database_alias=IBM ODBC DB2 for Macintosh
- PowerMacintosh Environment
- database_alias=IBM ODBC DB2 for PPC
where database_alias is the alias of the database cataloged in the database directory (the database name used by the Command Line Processor CONNECT TO statement).
- Add a new entry in the Data Source Specification section to associate the data source with the driver:
- 68K Environment
-
[database_alias]
Driver=appl:ODBC$DB2DriverFunctionSet - PowerMacintosh Environment
-
[database_alias]
Driver=DB2ODBCDriverPPC
Where database_alias is the alias of the database cataloged in the database directory, and listed under the Data Source Specification section.
- Use an ASCII editor to edit the ODBC Preferences file or the
- The DB2 CLI/ODBC driver can be configured further by editing the db2cli.ini file. This file contains various keywords and values that can be used to modify the behavior of DB2 CLI and the applications using it. The keywords are associated with the database alias name, and affect all DB2 CLI applications that access the database. For a complete description of all the keywords and their usage, refer to Configuration Keyword Descriptions.
- If you have installed ODBC access (as described above), you can now access DB2 data using ODBC applications. Start the ODBC application and go to the Open window. Select the ODBC databases file type. The DB2 databases that you added as ODBC data sources will be selectable from the list. Many ODBC applications will open the table as read-only unless a unique index exists.
Detailed Configuration Information
The section Platform Specific Details for CLI/ODBC Access should provide you with all of the information you require. The following additional information is useful where DB2 tool support is not available, and for administrators who require more detailed information.
|
The following topics are covered in this section: |
How to Bind the DB2 CLI/ODBC Driver to the Database
The CLI/ODBC driver will autobind on the first connection
to the database, provided the user has the appropriate privilege or
authorization. The administrator may want to perform the first connect
or explicitly bind the required files.
See Binding Database Utilities for more information.
How to Set CLI/ODBC Configuration Keywords
DB2 CLI can be configured further by using either the CCA
or the DB2 Client Setup administration tool, whichever is applicable for your
platform, or by manually editing the db2cli.ini file.
This file contains various keywords and values that can be used to modify
the behavior of DB2 CLI and the applications using it. The keywords are
associated with the database alias name, and affect all DB2 CLI and
ODBC applications that access the database.
By default, the location of the CLI/ODBC configuration keyword file is as
follows:
- Platform:
- Location:
- OS/2
- sqllib directory
- Windows NT
- sqllib directory
- Windows 95
- sqllib directory
- Windows 98
- sqllib directory
- Windows 3.x
- sqllib\win directory
- UNIX
- sqllib/cfg directory of the database instance running the
CLI/ODBC applications
The environment variable DB2CLIINIPATH can also be used to override the
default and specify a different location for the file.
The configuration keywords enable you to:
- Configure general features such as data source name, user name, and
password. - Set options that will affect performance.
- Indicate query parameters such as wild card characters.
- Set patches or work-arounds for various ODBC applications.
- Set other, more specific features associated with the connection, such as
code pages and IBM Graphic data types.
For a complete description of all the keywords and their usage, refer to Configuration Keyword Descriptions.
Configuring db2cli.ini
The db2cli.ini initialization file is an ASCII file which
stores values for the DB2 CLI configuration options. A sample file is
shipped to help you get started. Refer to the CLI
Guide and Reference for information on each keyword.
See Platform Specific Details for CLI/ODBC Access for more information on how to modify this file on your
platform.
How to Configure ODBC.INI
Microsoft's 16-bit ODBC Driver Manager and Visigenic's ODBC
Driver Manager use the odbc.ini file to record information
about the available drivers and data sources. Visigenic's ODBC
Driver Manager also uses the odbcinst.ini file on UNIX
platforms. Although the necessary files are updated automatically by
the tools on most platforms, users of ODBC on UNIX platforms will have to edit
them manually. The file odbc.ini (and
odbcinst.ini where required) are located:
- Platform:
- Location:
- Windows
- x:\windows (where x is the drive where
Windows is installed) - WIN-OS/2
- x:\os2\mdos\winos2 (where x is the
drive where OS/2 is installed) - UNIX
- Home directory of user ID running ODBC application (on UNIX the
odbc.ini file name has a dot before it: .odbc.ini)
It is also possible to modify this file manually. Do not change any
of the existing entries in the file.
- Use an ASCII editor to edit the odbc.ini file.
The following is an example odbc.ini file:
[ODBC Data Sources]
MS Access Databases=Access Data (*.mdb) [MS Access Databases]
Driver=D:\WINDOWS\SYSTEM\simba.dll
FileType=RedISAM
SingleUser=False
UseSystemDB=FalseThe [ODBC Data Sources] section lists the name of each available data source and the description of the associated driver.
For each data source listed in the [ODBC Data Sources] section, there is a section that lists additional information about that data source. These are called the Data Source Specification sections.
- Under the [ODBC DATA SOURCE] entry, add the following line:
database_alias=IBM DB2 ODBC DRIVER
where database_alias is the alias of the database cataloged in the database directory (the database name used by the command line processor CONNECT TO statement).
- Add a new entry in the Data Source Specification section to associate the data source with the driver:
[database_alias]
Driver=x:\windows\system\db2cliw.dllWhere:
- database_alias is the alias of the database cataloged in the database directory, and listed under the Data Source Specification section.
- x is the drive where Windows is installed.
The following shows the example file with the IBM data source entries added:
[ODBC Data Sources]
MS Access Databases=Access Data (*.mdb)
SAMPLE=IBM DB2 ODBC DRIVER [MS Access Databases]
Driver=D:\WINDOWS\SYSTEM\simba.dll
FileType=RedISAM
SingleUser=False
UseSystemDB=False [SAMPLE]
Driver=D:\WINDOWS\SYSTEM\db2cliw.dll
Description=Sample DB2 Client/Server database
Note: | If you are running the ODBC application under WIN-OS/2, specify the equivalent path \OS2\MDOS\WINOS2\SYSTEM in place of the \WINDOWS\SYSTEM path. |
IBM CLI 和 ODBC的更多相关文章
- [IBM][CLI Driver][DB2/NT] SQL1101N 不能以指定的授权标识和密码访问节点 "" 上的远程数据库 "LBZM"。 SQLSTATE=08004
[IBM][CLI Driver][DB2/NT] SQL1101N 不能以指定的授权标识和密码访问节点 "" 上的远程数据库 "LBZM". SQLST ...
- (转载) IBM DB2数据库odbc配置步骤详解
[IT168 技术] 首先安装IBM DB2 odbc driver 1):可以单独下载DB2 Run-Time Client,大约(86.6m),安装后则odbc驱动程序安装成功.下载地址:ftp: ...
- [IBM][CLI Driver] SQL0270N 函数不受支持(原因码:"75")。 SQLSTATE=42997
db2 update dbm cfg using FEDERATED yes 与 自动维护 (AUTO_MAINT) = ON 自动数据库备份 (AUTO_DB_BACKUP) = OFF 自动表 ...
- DataStage 三、配置ODBC
DataStage序列文章 DataStage 一.安装 DataStage 二.InfoSphere Information Server进程的启动和停止 1 配置ODBC需要了解的基础知识 配置O ...
- QTP脚本汇总比较有价值
1.Object Spy的Tips Hold the CTRL key to change the window focus or perform other mouse operations 2. ...
- db2笔记
第七章:数据库备份与恢复 (恢复的概念,db2日志,数据库和表空间的备份,数据库和表空间的恢复,数据库和表空间的前滚,recover使用程序,数据库重建,监控备份恢复和复原,优化备份恢复和复原)1) ...
- Oracle 与 mysql 建立透明网关
1.1.1. 文档编写目的 项目上需要做与Mysql数据库的对接,然而Oracle与Mysql数据库是异构的,因此这里采用透明网关的方式来解决. 另,项目上的环境为APP:12.2.6 ; DB: ...
- [转载]DB2与ORACLE、MYSQL比较2
原文地址:DB2与ORACLE.MYSQL比较2作者:欣颖 4.2 Oracle9i Oracle的产品战略是每12到18个月发布一个主要版本.主要发行版本所遵循的命名战略在PC领域中更为常见,它不 ...
- oracle与DB2
1.体系结构,DB2的实例和数据库分开的做法,我个人还是比较喜欢的,因为实例可以创建多个,数据库的恢复直接恢复到实例下就可以了,相对ORACLE简单多了. 2.管理工具,DB2的管理工具做得太简陋了, ...
随机推荐
- AJAX学习笔记
AJAX不是一种编程语言,AJAX是一种实现网页异步加载的技术,即不刷新网页也能部分的更新网页的内容.如:提交表单信息,通过ajax可以不刷新页面来使得人们明白如何正确的填写信息,判断填写信息的错误或 ...
- HTML基础标签入门
HTML基础标签 昨天学习了一些HTML的基本标签以及基本属性: HTML是一种超文本标记语言,其中PHP是世界上最好的语言(增加学习的动力荣誉感). HTML文档里包含三部分: <html&g ...
- php用redis保存session
1.修改php.ini中session配置: ini_set('session.save_handler', 'redis');ini_set('session.save_path', 'tcp:// ...
- Struts2第一个入门案例
一.如何获取Struts2,以及Struts2资源包的目录结构的了解 Struts的官方地址为http://struts.apache.org 在他的主页当中,我们可以通过左侧的Apache ...
- rpc-1-OSI模型
rpc-1-OSI模型 第一部分,网络7层协议 1. OSI模型: 开放通信系统互联网参考模型,是国际标准化组织(ISO),提出的一个,试图使各种计算机在世界范围内互连为网络的模式.(遵循这个模式,计 ...
- 【Android】Ignoring InnerClasses attribute for an anonymous inner class
这个问题是因为Android只能有6w个方法,解决方法,在defaultConfig中加入一句:multiDexEnabled true
- 检查日期是否为节假日api
http://www.easybots.cn/api/holiday.php?d=20160104 返回值: 工作日对应结果为 0, 休息日对应结果为 1, 节假日对应的结果为 2: 检查一个日期是否 ...
- 答辩HTML5
答辩有三个项目,有三个游戏和知乎,游戏都是有js写的,我想说的是想要做一个是那么难啊!老师给了我们游戏的项目还有游戏的思路构成,完成项目.还有一个知乎,也很难,用到HTML,css3,php,数据库, ...
- crontab详解
搜索 纠正错误 添加实例 crontab 提交和管理用户的需要周期性执行的任务 补充说明 crontab命令 被用来提交和管理用户的需要周期性执行的任务,与windows下的计划任务类似,当安装完成 ...
- Linux kernel make 常用选项介绍
Linux kernel 编译方法大全记录 一.这是一个我自己写的自动make脚本: #!/bin/sh export ARCH=arm export CROSS_COMPILE=arm-linux- ...