Ibm GC09-2830-00 Uživatelský manuál

Procházejte online nebo si stáhněte Uživatelský manuál pro Počítače Ibm GC09-2830-00. IBM GC09-2830-00 User Manual Uživatelská příručka

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 196
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků

Shrnutí obsahu

Strany 1 - Quick Beginnings

IBM DB2 ConnectPersonal EditionQuick BeginningsVe r s i o n 6GC09-2830-00IBM

Strany 2

connections. For DB2 Connect installation instructions, see “Part 2.DB2 Connect: Planning and Installation” on page 21.Step 5. After installation, you

Strany 3

Configuring Microsoft SNA ClientRead this section if you have a Windows NT workstation that has DB2Connect installed. This section provides step-by-ste

Strany 4

The rest of this section assumes:1. The Microsoft SNA Server has already been configured for APPCcommunications with the host, and is enabled for ODBC

Strany 5 - Contents

2. Microsoft SNA Client Version 2.11 is not already installed on your DB2Connect workstation.To configure the Microsoft SNA client perform the followin

Strany 6 - Part 7. Appendixes ...131

__ a. The Symbolic destination name (16) defined at the MicrosoftSNA Server for the Partner LU (2) of the target host orAS/400 database server.__ b

Strany 7 - Contents v

program name (17), the mode (15), and the security type. Enterthe following commands substituting your values from the worksheetin Table 5 on page

Strany 8

database name (database_name). The information in the database directory,along with the information in the node directory, is used on the DB2 Connectw

Strany 9 - Database

If you need to change values that were set with the catalog databasecommand, perform the following steps:Step a. Run the uncatalog database command:un

Strany 10 - Conventions

The userid and password values required are those defined at the host orAS/400 system, and must be provided to you by your DB2 Administrator. Formore i

Strany 12

Chapter 8. Enabling Multisite Updates (Two-Phase Commit)This chapter provides an overview of the multisite update function as itapplies to scenarios t

Strany 13

This icon marks a fast path. A fast path guides you to informationspecific to your configuration where multiple options are available.This icon marks a

Strany 14 - 2 Quick Beginnings

TP Monitor multisite update can coordinate a transaction that accesses bothDB2 and non-DB2 resource managers such as Oracle, Informix, SQLServer, etc.

Strany 15 - Chapter 1. About DB2 Connect

Host and AS/400 multisite update scenarios that require SPM.Yes TCP/IP Yesv DB2 ConnectEnterpriseEditionv DB2UniversalDatabaseEnterpriseEditionv DB2Un

Strany 16 - 4 Quick Beginnings

Host and AS/400 multisite update scenarios that require SPM.No TCP/IP Nov DB2 ConnectPersonalEditionv DB2 ConnectEnterpriseEditionv DB2UniversalDataba

Strany 17

1. Set your Web browser to the following URL:http://www.software.ibm.com/data/db2/library/2. Select ″DB2 Universal Database″.3. Search for ″Technotes″

Strany 18 - 6 Quick Beginnings

Step 2. Select the databases you wish to test from the available databases inthe left sub-window. You can use the arrow buttons in the middle tomove s

Strany 19

Part 5. Configuring DB2 Clients to Use DB2 Connect© Copyright IBM Corp. 1993, 1999 103

Strany 21

Chapter 9. Configuring Client-to-Server CommunicationsUsing the Client Configuration AssistantTo configure communications from a DB2 client to a server,

Strany 22 - 10 Quick Beginnings

When you add a database using this configuration method, theClient Configuration Assistant will generate a default node name forthe server where the dat

Strany 23

Step 2. Click on the ... push button and select a profile.Step 3. Enter a local database alias name in the Database alias field and adda comment that de

Strany 25

Adding a Database Using DiscoveryThis option cannot return information about pre-Version 5 DB2systems or any systems where an Administration Server is

Strany 26 - 14 Quick Beginnings

b. Enter the required communication protocol parameters for theremote Administration Server and click on OK. A new system isadded. For more informatio

Strany 27

Step 8. You are now able to use this database. To finish using the AddDatabase SmartGuide, click on the Close push button; you can thenadd more databas

Strany 28 - 16 Quick Beginnings

OS/390 or MVSLocation nameAS/400RDB nameVM or VSEDBNAMEWhen a database is created on the remote server, if a database aliasis not specified during data

Strany 29

have incorrectly specified or click on the Help push button for moreinformation. For even more detailed information, refer to theTroubleshooting Guide.

Strany 30 - 18 Quick Beginnings

have the discover_inst database manager configuration parameter anddatabases with the discover_db database configuration parameter set toENABLE. The dis

Strany 31 - Running Your Own Applications

A Client Profile is generated from a client using the Export function of theCCA. The information contained in a Client Profile is determined during thee

Strany 32 - 20 Quick Beginnings

Step 6. Click on OK. The Export Client Profile window opens.Step 7. Enter a path and file name for this Client Profile and click on OK.The DB2 Message wi

Strany 33

v If you would like all users on your system to have access tothis data source, select the As a system data source radiobutton.v If you would like onl

Strany 34 - 22 Quick Beginnings

Part 6. Using DB2 Connect© Copyright IBM Corp. 1993, 1999 117

Strany 35 - Disk Requirements

Part 1. Introduction to DB2 Connect© Copyright IBM Corp. 1993, 1999 1

Strany 37 - Product Requirements

Chapter 10. Running Your Own ApplicationsVarious types of applications can access DB2 databases:v Applications developed using the DB2 Software Develo

Strany 38 - 26 Quick Beginnings

The bind files are grouped together in different .lst files in the bnd directory,under the installation directory (typically sqllib\win on Windows 3.x s

Strany 39 - Performing the Installation

"bind @db2ubind.lst messages bind.msg grant public""bind @db2cli.lst messages clibind.msg grant public"In this example, bind.msg a

Strany 40 - 28 Quick Beginnings

The following general steps are required on the client system to give DB2 CLIand ODBC applications access to DB2 databases. These instructions assumet

Strany 41 - Software Registration

Platform Specific Details for CLI/ODBC AccessThe platform specific details on how to give DB2 CLI and ODBCapplications access to DB2 are divided into th

Strany 42 - 30 Quick Beginnings

d. On Windows 32-bit operating systems you can use the radiobuttons to add the data source as either a user or system datasource.v Using the Microsoft

Strany 43 - Windows NT

OS/2 Client Access to DB2 using CLI/ODBCBefore DB2 CLI and ODBC applications can successfully access a DB2database from an OS/2 client, perform the fo

Strany 44 - 32 Quick Beginnings

2) Click on the Add push button from the Data Sources window.The Add Data Source Window opens.3) Double-click on the IBM DB2 ODBC DRIVER in the list.4

Strany 45

Running Java ProgramsYou can develop Java programs to access DB2 databases with the appropriateJava Development Kit (JDK) on AIX, HP-UX, Linux, OS/2,

Strany 47

Configuring the EnvironmentTo build and run DB2 Java programs, you need to install and configure theappropriate version of the Java Development Kit (JDK

Strany 48 - 36 Quick Beginnings

You may want to pipe the output to a file for easier viewing. The JDK11_PATHfield appears near the beginning of the output. For more information on thes

Strany 49 - Connect Communications

java prog_namewhere prog_name is the name of the program.The DB2 JDBC driver handles the JDBC API calls from your application anduses the DB2 CAE to c

Strany 50 - 38 Quick Beginnings

Part 7. Appendixes© Copyright IBM Corp. 1993, 1999 131

Strany 51

132 Quick Beginnings

Strany 52 - 40 Quick Beginnings

Appendix A. Basic Task KnowledgeThis section describes the basic tasks that you will need to know to use thisproduct effectively.Go to the task that y

Strany 53

Starting the Control CenterStart the Control Center in one of the following ways:On OS/2v Enter the db2cc command at a command prompt.orv Click on the

Strany 54 - 42 Quick Beginnings

v Display all the command scripts known to the system through the ScriptCenter, with summary information listed for each.Start the Command Center in o

Strany 55

To save commands as scripts, select Script->Save as from the menu bar. Formore information, click on the Help push button or press the F1 key.If yo

Strany 56 - 44 Quick Beginnings

If the DB2 command contains characters that have special meaningon the operating system you are using, you will need to enter thecommand in quotation

Strany 57 - Configuring DB2 for MVS/ESA

Chapter 1. About DB2 ConnectDB2 Connect Enterprise EditionDB2 Connect Enterprise Edition is a connectivity server thatconcentrates and manages connect

Strany 58 - 46 Quick Beginnings

db2 => select empno, function, firstname, lastname, birthdate, from \db2 (cont.) => employee where function='service' and \db2 (cont.)

Strany 59

Appendix B. Using the Control Center to Administer DB2for OS/390 and DB2 Connect Enterprise Edition serversDB2 Control Center is an easy to use applic

Strany 60 - 48 Quick Beginnings

Preparing DB2 for OS/390 Servers for the Control CenterThe DB2 Control Center uses stored procedures to deliver many of itsmanagement functions. There

Strany 61 - Example Worksheet:

Appendix C. db2cpic.dll - Extended SNA Security Codes onWindows NT and Windows 95Extended SNA Security Codes were not implemented by some SNAsubsystem

Strany 63

Appendix D. How the DB2 Library Is StructuredThe DB2 Universal Database library consists of SmartGuides, online help,books and sample programs in HTML

Strany 64 - 52 Quick Beginnings

SmartGuide Helps You to... How to Access...Create Table Select basic data types, and create a primarykey for the table.From the Control Center, click

Strany 65

Type of Help Contents How to Access...Control Center HelpClient ConfigurationAssistant HelpEvent Analyzer HelpCommand Center HelpExplains the tasks you

Strany 66 - 54 Quick Beginnings

DB2 Information – Hardcopy and OnlineThe table in this section lists the DB2 books. They are divided into twogroups:Cross-platform booksThese books co

Strany 67 - Host and AS/400 Databases

Name Description Form NumberFile Name forOnline BookHTMLDirectoryCross-Platform BooksAdministration Guide Administration Guide, Design andImplementati

Strany 68 - 56 Quick Beginnings

Working with DB2 DataAs well as providing a relational database to store your data, DB2 lets youissue requests to administer, query, update, insert, o

Strany 69 - Communications Using the CCA

Name Description Form NumberFile Name forOnline BookHTMLDirectoryApplication DevelopmentGuideExplains how to develop applicationsthat access DB2 datab

Strany 70 - 58 Quick Beginnings

Name Description Form NumberFile Name forOnline BookHTMLDirectoryInstallation andConfiguration SupplementGuides you through the planning,installation,

Strany 71

Name Description Form NumberFile Name forOnline BookHTMLDirectoryWhat’s New Describes the new features, functions,and enhancements in DB2 UniversalDat

Strany 72 - 60 Quick Beginnings

Name Description Form NumberFile Name forOnline BookHTMLDirectoryDB2 Enterprise - ExtendedEdition for Windows NTQuick BeginningsProvides planning, ins

Strany 73

Name Description Form NumberFile Name forOnline BookHTMLDirectoryCross-Platform Sample Programs in HTMLSample programs inHTMLProvides the sample progr

Strany 74 - 62 Quick Beginnings

Swedish sTrad. Chinese tTurkish m2. For late breaking information that could not be included in the DB2 books:v On UNIX-based platforms, see the Relea

Strany 75

If you have not installed the Information Center, you can open the pageby double-clicking on the DB2 Online Books icon. Depending on thesystem you are

Strany 76 - 64 Quick Beginnings

Web. To access this information, you musthave a connection to the Web from yoursystem.When you select an item in one of the lists, the Information Cen

Strany 77

v List of booksv Tables of contents of frequently used booksv Frequently referenced articles, such as the ALTER TABLE topicv The Search formFor inform

Strany 78 - 66 Quick Beginnings

book, simply run it as you would run any other executable program. Theresult from this step is a printable PostScript file with a file extension of.ps.3

Strany 79 - Connect Workstation

In this environment, if you are using Windows 32-bit operating systems youcan use the DB2 Connect Personal Edition Integrated SNA Support to connectdi

Strany 80 - 68 Quick Beginnings

Note: These form numbers only apply if you are ordering books that areprinted in the English language in North America.You can also order books indivi

Strany 81

Appendix E. National Language Support (NLS)This section contains information about configuring national language supportfor the DB2 Connect product, an

Strany 82 - 70 Quick Beginnings

Table 8. Languages and Code Pages (continued)Country Code Languageen Englishes Spanishfi Finnishfr Frenchgr Greekhu Hungarianil Hebrewit Italianjp Japa

Strany 83

FOR BIT DATA clause) is not converted. Otherwise all input and outputcharacter data is converted if the two machines have different code pages orCCSID

Strany 84 - 72 Quick Beginnings

Table 9. Workstation Code Page to Host CCSID Conversion (continued)Host CCSIDs Code Page Countries838 874 Thailand930, 939, 5026, 5035 932, 942, 943,

Strany 85

Since defaults on different platforms are not the same, problems appear whenDB2 data is sent from one platform to another. For example, Windowsplatfor

Strany 86 - 74 Quick Beginnings

X'3F21' 856 11X'3F22' 862 11X'3F23' 916 11X'3F24' 1255 11Where CDRA String Types are defined:String - Text - Nu

Strany 87

Appendix F. Naming RulesGo to the section that describes the naming rules that you requireinformation on:v “General Naming Rules”v “Database, Database

Strany 88 - 76 Quick Beginnings

Database alias names are synonyms given to remote databases. Database aliasesmust be unique within the System Database Directory in which all aliases

Strany 89

Using delimited identifiers, it is possible to create an object thatviolates these naming rules; however, subsequent use of the objectcould result in e

Strany 90 - 78 Quick Beginnings

Connections via Communications GatewaySome organizations prefer to concentrate access to SNA networks throughdedicated SNA Gateways, such as IBM eNetw

Strany 91

v Can contain 1 to 8 charactersv Cannot include &, #, and @v Must be unique within the networkDB2SYSTEM Naming RulesDB2 uses the DB2SYSTEM name to

Strany 92 - 80 Quick Beginnings

Appendix G. List Files, Bind Files, and PackagesThis appendix lists the bind files contained in different .lst files shipped withthe product. Although t

Strany 93

xMz Clients for MacintoshxGz Clients for Silicon GraphicsList Files Associated with DRDA ServersThe following table lists which bind files are included

Strany 94 - 82 Quick Beginnings

Table 10. DRDA Bind Files and Packages (continued)Component Bind FileNamePackageNameMVS VM/VSE OS/400Isolation level NC db2clpnc.bnd sqlc6xyz no no ye

Strany 95

172 Quick Beginnings

Strany 96 - 84 Quick Beginnings

Appendix H. NoticesAny reference to an IBM licensed program in this publication is not intendedto state or imply that only IBM’s licensed program may

Strany 97

TrademarksThe following terms are trademarks or registered trademarks of the IBMCorporation in the United States and/or other countries:ACF/VTAMADSTAR

Strany 98 - 86 Quick Beginnings

Microsoft, Windows, Windows NT, Visual Basic, and the Windows logo aretrademarks or registered trademarks of Microsoft Corporation in the UnitedStates

Strany 99

176 Quick Beginnings

Strany 100 - 88 Quick Beginnings

IndexAAccess Profilecreating 113using 112accessing datathrough DB2 Connect 8through Net.Data or JDBC 14accessing host serversconfiguring communicationsI

Strany 101 - APPC TCP/IP*** MPTN

Although you can use DB2 Connect Personal Edition with SNA gateways, youmay find DB2 Connect Enterprise Edition a better choice if you want to usemany

Strany 102 - 90 Quick Beginnings

DB2 Connect User’s Guide 148DB2 Data Links Manager for AIXQuick Beginnings 151DB2 Data Links Manager forWindows NT QuickBeginnings 151DB2 Enterprise -

Strany 103

partner node name 69passwordnaming rules 169planningDB2 configuration 23DB2 Connect configuration 23privilegesrequired 138productdescriptions 3overview

Strany 105

Contacting IBMThis section lists ways you can get more information from IBM.If you have a technical problem, please take the time to review and carry

Strany 106 - 94 Quick Beginnings

Log on as anonymous. In the directory /ps/products/db2, you can finddemos, fixes, information, and tools concerning DB2 and many relatedproducts.Interne

Strany 108 - 96 Quick Beginnings

IBMRPart Number: CT6D9NAPrinted in the United States of Americaon recycled paper containing 10%recovered post-consumer fiber.GC09-2830-00CT6D9NA

Strany 110 - 98 Quick Beginnings

same machine as IBM eNetwork Communications Server or Microsoft SNAServer, and in many cases it can provide a less expensive andbetter-performing solu

Strany 111

Java applets. In addition, you can use a wide range of off-the-shelf orcustom-developed database applications with DB2 Connect and its associatedtools

Strany 112 - 100 Quick Beginnings

DB2 Run-Time Client DB2 Administration ClientDB2 forMVSDB2 forVSEDB2 forVMOS/390Communication SupportAPPC, Named Pipes, NetBIOS,IPX/SPX, TCP/IPAS/400S

Strany 113 - Smartguide Steps

TP Monitor ClientDB2 forMVSDB2 forVSEDB2 forVMOS/390TP Monitor(eg. CICS, ENCINA, MTS)Application Business LogicAS/400S/390, S/370Application 1Applicat

Strany 114 - 102 Quick Beginnings

Web BrowserDB2 forMVSDB2 forVSEDB2 forVMOS/390WebSphereJava Servlets,JSP,Enterprise Java BeansAS/400S/390, S/370Application 1Application 2Application

Strany 115

Web BrowserDB2 forMVSDB2 forVSEDB2 forVMOS/390ASPs, COM ObjectsAS/400S/390, S/370Application 1Application 2Application nDB2 Connect Enterprise Edition

Strany 116 - 104 Quick Beginnings

Accessing DB2 Data from the Web Using JavaJava Database Connectivity (JDBC) and Embedded SQL for Java (SQLJ) areprovided with DB2 to allow you to crea

Strany 117

JDBC and SQLJ applications can be run from any system that has a DB2 clientinstalled; a Web browser and a Web server are not required.Java-enabled Web

Strany 118 - 106 Quick Beginnings

For more information on Java enablement, refer to the DB2 Java Enablementweb page at http://www.software.ibm.com/data/db2/java/. For moreinformation o

Strany 119

Web BrowserDB2 forMVSDB2 forVSEDB2 forVMOS/390Net.DataNet.DataTemplatesAS/400S/390, S/370Application 1Application 2Application nDB2 Connect Enterprise

Strany 120 - 108 Quick Beginnings

IBM DB2 ConnectPersonal EditionQuick BeginningsVe r s i o n 6GC09-2830-00IBM

Strany 121

Managing Connections to Databases Using the Client Configuration AssistantThe Client Configuration Assistant (CCA) helps you manage your databaseconnect

Strany 122 - 110 Quick Beginnings

Through a DB2 client, these applications can access all servers and, by usingthe DB2 Connect product (or the DB2 Connect functionality supplied withDB

Strany 123

v Net.Data macros containing HTML and SQL.The DB2 CLI/ODBC driver is an optional component during a DB2 clientinstall. It is required to run CLI, ODBC

Strany 124 - 112 Quick Beginnings

Part 2. DB2 Connect: Planning and Installation© Copyright IBM Corp. 1993, 1999 21

Strany 126 - 114 Quick Beginnings

Chapter 2. Planning for InstallationIf you know that your system meets all the hardware and softwarerequirements, and you want to begin installing you

Strany 127

For information about space requirements for data, refer to the AdministrationGuide.Estimating Fixed Disk RequirementsTo estimate the disk requirement

Strany 128 - 116 Quick Beginnings

v Whether you will be using a direct connection (see “Accessing Host orAS/400 DB2 Data Using DB2 Connect Personal Edition” on page 4), orconnections v

Strany 129 - Part 6. Using DB2 Connect

Table 2. Software Requirements (continued)Product Hardware/SoftwareRequirementsCommunicationsWindows 32-bit Operating Systemsv DB2 Connect PersonalEdi

Strany 130 - 118 Quick Beginnings

Chapter 3. Installing DB2 Connect on OS/2This section describes how to install DB2 Connect Personal Edition on anOS/2 workstation. For information on

Strany 131 - Binding Database Utilities

Before using this information and the product it supports, be sure to read the general information under“Appendix H. Notices” on page 173.This documen

Strany 132 - 120 Quick Beginnings

Step 1. Log on to the system with the user ID that you created to performthe installation.Step 2. Insert the CD-ROM in the drive.Step 3. Open an OS/2

Strany 133 - Running CLI/ODBC Programs

For information on errors encountered during installation, see thel1.log and l2.log files. These files store general information anderror messages resul

Strany 134 - 122 Quick Beginnings

Upgrading from a Try-and-Buy LicenseTo upgrade from a Try-and-Buy license, perform the following steps:Step 1. Start the Control Center. For more info

Strany 135 - CLI/ODBC”

Chapter 4. Installing DB2 Connect on Windows 9x orWindows NTThis section describes how to install DB2 Connect Personal Edition onWindows 32-bit operat

Strany 136 - 124 Quick Beginnings

__ 3. For Windows NT, any user account that does not belong to the guestsgroup. This user account will be used to perform the installation.Performing

Strany 137

Step 4. The Welcome window opens.Step 5. Respond to the setup program’s prompts. Online help is available toguide you through the remaining steps. Inv

Strany 138 - 126 Quick Beginnings

To set up connections to host or AS/400 database servers, go to one ofthe following sections:v “Chapter 6. Configuring DB2 Connect to Host or AS/400Com

Strany 139 - Running Java Programs

Upgrading from a Try-and-Buy LicenseTo upgrade from a Try-and-Buy license, perform the following steps:Step 1. Start the Control Center. For more info

Strany 141 - Java Applications

Part 3. Preparing Host and AS/400 Databases for DB2Connect Communications© Copyright IBM Corp. 1993, 1999 37

Strany 142 - 130 Quick Beginnings

ContentsWelcome to DB2 Connect! ... viiHow This Book is Structured...viiConventions ...viiiPart 1. Introduction to DB2Connect ...

Strany 144 - 132 Quick Beginnings

Chapter 5. Configuring Host and AS/400 Databases for DB2ConnectThis section describes the steps required to configure host and AS/400database servers to

Strany 145

Many details of these steps have changed with the introduction of DB2Universal Database for OS/390 Version 5.1. Most of these steps apply toSNA users,

Strany 146 - 134 Quick Beginnings

Sample Network Element Names (VTAM)Figure 9 shows the sample VTAM definitions used to configure a hostdatabase server.Sample VTAM APPL Definition for OS/

Strany 147

Note: Continuations must begin in column 16, with continuation marks incolumn 72.Sample VTAM PU and LU Definitions for DB2 ConnectIf your security poli

Strany 148 - 136 Quick Beginnings

Sample VTAM Log Mode Definition for DB2Figure 12 on page 44 shows the sample VTAM logon mode table definition forthe IBMRDB and SNASVCMG modes. Note tha

Strany 149 - Interactive Input Mode

You must define the SNASVCMG logon mode when using APPC.Configuring DB2 Universal Database for OS/390Before you can use DB2 Connect, your DB2 Universal

Strany 150 - 138 Quick Beginnings

The sections that follow contain examples of commands to update these tablesfor DB2 Universal Database for OS/390. Work with your DB2 Administratorto

Strany 151

The sections that follow contain examples of commands to update thesetables. Work with your DB2 Administrator to determine the options requiredfor you

Strany 152 - 140 Quick Beginnings

where:v NYX1 represents the PU name of server involvedv IBMRDB represents the name of VTAM logon modev 150 represents the maximum number of conversati

Strany 153 - Windows NT and Windows 95

Step 2. Update the APPC Profiles on theDB2 Connect Workstation ... 70Configuring IBM eNetworkCommunications Server for Windows NT 70Configuring IBM e

Strany 154 - 142 Quick Beginnings

Collecting InformationBefore you can use DB2 Connect over a TCP/IP connection, you must collectinformation about both the host database server and the

Strany 155

Example Worksheet:Table 3. Example Worksheet for Planning TCP/IP Connections to DB2 UniversalDatabase for OS/390Ref. Description Sample Value Your Val

Strany 156 - 144 Quick Beginnings

Configuring the TCP/IP ConnectionUse the manual steps in this section to complete the configuration and makethe connection.Complete the Worksheet: Compl

Strany 157

v 1ST_CONN, the first database that a connection is established to will beused as the Transaction Manager database for transactions. If this option isu

Strany 158 - 146 Quick Beginnings

CONNECT and BIND: Finally, connect to the target host server and bind theutilities and applications to the server using commands similar to thefollowi

Strany 159

Display Relational Database Directory EntriesPosition to ...Type options, press Enter.5=Display details 6=Print detailsRelational RemoteOption Data

Strany 161

Part 4. Configuring DB2 Connect to Communicate withHost and AS/400 Databases© Copyright IBM Corp. 1993, 1999 55

Strany 163

Chapter 6. Configuring DB2 Connect to Host or AS/400Communications Using the CCAThis section describes how to use the Client Configuration Assistant (CC

Strany 164 - 152 Quick Beginnings

Code Page and Language Support ...159Conversion of Character Data ...160Bidirectional CCSID Support ...162Bidirectional-specific CCSIDs...163Ap

Strany 165 - Viewing Online Information

v Change your server password.The CCA provides three methods to set up a database connection to a server:v Using a profile.v Searching the network for

Strany 166 - 154 Quick Beginnings

Adding a Database Using a ProfileA profile contains information about instances and databases on a system, anddatabases within each instance. For inform

Strany 167 - Setting Up a Document Server

c. If you would like to create an ODBC data source file to sharedatabase access, select the Create a file data source check boxand enter the path and fil

Strany 168 - 156 Quick Beginnings

The Client Configuration Assistant may be unable to detect a remotesystem if:v The Administration Server is not running on the remote system.v The Disc

Strany 169 - Ordering the Printed Books

Step 8. Register this database as an ODBC data source.If you are not planning to use ODBC, click on the Done push buttonand go to the next step.a. Ens

Strany 170 - 158 Quick Beginnings

Step 1. Select the Manually configure a connection to a DB2 database radiobutton and click on the Next push button.If you are not using Lightweight Dir

Strany 171

v If you would like all users on your system to have access tothis data source, select the As a system data source radiobutton.v If you would like onl

Strany 172 - 160 Quick Beginnings

Step 3. Select the database that you want to bind the utilities and packagesagainst.Step 4. Click on the Bind push button.Step 5. Select the type of b

Strany 173

66 Quick Beginnings

Strany 174 - 162 Quick Beginnings

Chapter 7. Configuring APPC Communications on the DB2Connect WorkstationThis section describes how to configure a DB2 Connect workstation tocommunicate

Strany 176 - 164 Quick Beginnings

Note: The worksheet and configuration instructions supply suggested orsample values for required configuration parameters. For otherparameters, use the

Strany 177 - Appendix F. Naming Rules

Table 5. Worksheet for Planning Host and AS/400 Server Connections (continued)Ref.Name at the DB2ConnectWorkstationNetwork or VTAMName Sample Value Yo

Strany 178 - 166 Quick Beginnings

4. For database name (5), determine the name of the host database. This isthe LOCATION NAME for OS/390 or MVS, the RDB_NAME for VM orVSE, or a relat

Strany 179 - Appendix F. Naming Rules 167

__ 1. It is Version 5.0 or higher if you are planning to update multipledatabases within the same transaction; if you are planning to use2-phase commi

Strany 180 - 168 Quick Beginnings

window.To configure IBM eNetwork Personal Server for APPC communications,complete the perform the following steps:Step 1. Configure Nodea. In the Configu

Strany 181

f. Click on OK.Step 2. Configure Devicesa. In the Configuration options field, select Configure devices.b. Ensure that in the DLCs field, the appropriate D

Strany 182 - 170 Quick Beginnings

c. In the Partner LU alias field, type in the partner LU name (2)from the worksheet (NYM2DB2).d. If you are configuring Communications Server for SNA

Strany 183

v To specify a service TP, in the TP name field, type in the nameof the service TP, for example 076DB, and ensure that there is acheck mark in the Serv

Strany 184 - 172 Quick Beginnings

To automatically start Communications Server when the machine isbooted, you can register it as a Windows NT Service.To register Communications Server

Strany 185 - Appendix H. Notices

To configure the Windows NT SNA API client for APPC communications,complete the following steps:Step 1. Create a user account for the SNA API client on

Strany 186 - 174 Quick Beginnings

Welcome to DB2 Connect!The DB2 Connect Quick Beginningsbooks provide a focused introductionto the installation and configurationof DB2 Connect products

Strany 187 - Appendix H. Notices 175

SNA Client Configuration window opens.Step 3. Configure Global Dataa. In the Configuration options box, select the Configure GlobalData option and click o

Strany 188 - 176 Quick Beginnings

b. Type in the IP address of the server (for example,123.123.123.123).c. Click on OK.Step 5. Configure CPI-C Side Informationa. In the Configuration opt

Strany 189

similar to that of the Windows NT Explorer. The following illustration showsthe interface. There are two panes in the main window of the Server Manage

Strany 190 - 178 Quick Beginnings

a. Right-click on the SNA Service icon and select the Insert->LinkService option. The Insert Link Service window opens.b. Select DLC 802.2 Link Ser

Strany 191

a. Right-click on SNA Service and select the Insert->Connection->802.2 option. The Connection Properties window opens.b. Enter a connection name

Strany 192 - 180 Quick Beginnings

g. Select the Address tab.h. Fill in the Remote Network Address field (8). Accept thedefault numbers in the other fields.i. Select the System Identific

Strany 193 - Contacting IBM

window opens.b. Enter the following information:v The LU Alias (12).v The NETID (9).v The LU Name (11).c. Select the Advanced tab.d. Select the

Strany 194 - 182 Quick Beginnings

Step 7. Define a modea. Right-click on APPC Modes folder and select theInsert->APPC->Mode Definition option. The APPC ModeProperties window opens.

Strany 195

d. Enter appropriate numbers for the Parallel Session Limit andMinimum Contention Winner Limit fields. Your Host-Side orLAN administrator should be abl

Strany 196 - Part Number: CT6D9NA

d. Select the Partner Information tab.e. In Partner TP Name box, select the SNA Service TP (in hex)radio button and enter the Service TP name (17),

Komentáře k této Příručce

Žádné komentáře