home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 November / PCWorld_2000-11_cd.bin / Akce / setup.exe / data1.cab / DECSDocumentation / lccon.nsf (.txt) < prev    next >
Lotus Notes Database  |  2000-08-20  |  1MB  |  692 lines

  1. Lotus Connectors Connectivity
  2. NotesPump
  3. VeC#b[4H
  4. zAE@P>
  5. 1:B7 ]1X
  6. vIl]2I]5I
  7. HLYRQ
  8. 3V@}4
  9. mN!N]
  10. h4o#;
  11. BC;X*
  12. aJ7<Yo
  13. 4GAmPvQAMDW0
  14. (I@<e
  15. q7K    (y"
  16. !.uBJ
  17. FXb^5\
  18. rgy#W
  19. (p\GS
  20. %s    X<
  21. qS%@]-
  22. y+4B^
  23. (Cx1R
  24. 3[JD"
  25. p%B%9
  26. uZ!.T
  27. a.:XCn
  28. %P!Xx
  29. '    TOX
  30. *EwIZ
  31. I;pJ:
  32. 12/20/99 11:56:21 AM David Mahar/CAM/Lotus added [-Default-]
  33. 12/20/99 11:56:14 AM David Mahar/CAM/Lotus updated [OtherDomainaServers]
  34. 12/20/99 11:56:09 AM David Mahar/CAM/Lotus added [OtherDomainaServers]
  35. 12/20/99 11:55:59 AM David Mahar/CAM/Lotus added OtherDomainServers
  36. 12/20/99 11:55:54 AM David Mahar/CAM/Lotus updated [LocalDomainServers]
  37. 12/20/99 11:55:48 AM David Mahar/CAM/Lotus added [LocalDomainServers]
  38. 12/20/99 11:55:45 AM David Mahar/CAM/Lotus updated LocalDomainServers
  39. 12/20/99 11:55:33 AM David Mahar/CAM/Lotus added LocalDomainServers
  40. 12/20/99 11:55:13 AM David Mahar/CAM/Lotus updated -Default-
  41. 12/16/99 03:59:31 PM Bob Miller/CAM/Lotus deleted Bob Miller/CAM/Lotus
  42. 12/16/99 03:59:29 PM Bob Miller/CAM/Lotus updated -Default-
  43. 11/17/99 04:50:41 PM Bob Miller/CAM/Lotus updated Bob Miller/CAM/Lotus
  44. 11/17/99 04:50:41 PM Bob Miller/CAM/Lotus added Bob Miller/CAM/Lotus
  45. -Default-
  46. LocalDomainServers
  47. [LocalDomainServers]
  48. OtherDomainServers
  49. [OtherDomainaServers]
  50. [-Default-]
  51. 4LP)8%yj
  52. 4LP)8%yj
  53. PaRTy
  54. ;RQ~]
  55. CN=Lotus Notes Template Development/O=Lotus Notes
  56. lcconsection
  57. user guide
  58. CN=Scott Prager/OU=CAM/O=LotusCN=Enterprise Connector Products/O=Lotus Notes Companion ProductsCN=Bob Miller/OU=CAM/O=LotusCN=Enterprise Connector Products/O=Lotus Notes Companion ProductsCN=Bob Miller/OU=CAM/O=LotusCN=Enterprise Connector Products/O=Lotus Notes Companion ProductsCN=David Mahar/OU=CAM/O=LotusCN=Lotus Notes Template Development/O=Lotus Notes
  59. ;RQ~]
  60. $Modified
  61.     1S2S3S
  62. $TITLE$FormPrivs$FormUsers$Body$Flags$Class$Modified$Comment$AssistTrigger$AssistType$AssistFlags$UpdatedBy$$FormScript_O$LANGUAGE
  63. $Flags
  64.     0SL1S4S5S3724
  65. $TITLE
  66. CN=Scott Prager/OU=CAM/O=Lotus
  67. CN=Bob Miller/OU=CAM/O=Lotus
  68. DDD@f
  69. DDD@ff
  70. DDD@ff
  71. f`ff`
  72. DDD@ff
  73. ff`DDDJ
  74. `DDDDJ
  75. DDDDJ
  76. DDDDJ
  77. DDDDJ
  78. DDDDJ
  79. DDDDJ
  80. ffff`
  81. fffff
  82. D@ffff`DDDJ
  83. D@ff`DDDJ
  84. Lotus Connectors Connectivity
  85. NotesPump
  86. CN=Bob Miller/OU=CAM/O=LotrsCN=Enterprise Connector Products/O=Lotus Notes Companion ProductsCN=Lotus Notes Template Development/O=Lotus Notes
  87. CN=Bob Miller/OU=CAM/O=LotusCN=Enterprise Connector Products/O=Lotus Notes Companion ProductsCN=Lotus Notes Template Development/O=Lotus Notes
  88. User Guide
  89. Section
  90. Chapter
  91. Section
  92.     1S3S4S6S8S
  93. ChapterNumberChapterDocumentNumberSubject$14$Conflict$REF
  94. LCConSection
  95. Comment
  96.     L1S2S3S4S5S6S7S1G
  97. ChapterNumberChapterDocumentNumber$14
  98.  ChapterNumberChapterChapterDocumentNumberSubject$14SectionZ
  99. Section
  100. Chapter
  101. Section
  102.     1S3S4S6S8S
  103. 538Arial
  104. CN=Scott Prager/OU=CAM/O=LotusCN=Enterprise Connector Products/O=Lotus Notes Companion ProductsCN=Lotus Notes Template Development/O=Lotus Notes
  105.     LCConSectionC
  106. DocumentNumberChapterNumberContentsSectionChapter
  107. CN=Bob Miller/OU=CAM/O=LotusCN=Ebterprise Connector Products/O=Lotus Notes Companion ProductsCN=Lotus Notes Template Development/O=Lotus Notes
  108. LCConSectionChapter 1
  109. Introduction
  110. CN=Bob Miller/OU=CAM/O=Lotus
  111. HELVETICA
  112. Times
  113. LotusFrute
  114. Symbol
  115. Timer New Roman
  116. 5Courier New
  117. This chapter provides information about this manual and related documentation. 
  118. LCConSectionOverviewChapter 1
  119. Introduction
  120. CN=Bob Miller/OU=CAM/O=Lotus
  121. LCConSectionOrganization of this ManualChapter 1
  122. Introduction
  123. CN=Bob Miller/OU=CAM/O=Lotus
  124. LCConSectibnRelated DocumentationChapter 1
  125. Introduction
  126. CN=Bob Miller/OU=CAM/O=Lotus
  127. LCConSectionChapter 2
  128. LCTEST
  129. CN=Bob Miller/OU=CAM/O=Lotus
  130. LCConSectionOverviewChapter 2
  131. LCTEST
  132. CN=Bob Miller/OU=CAM/O=Lotus
  133. LCConSectionRunning LCTESTChapter 2
  134. LCTEST
  135. CN=Bob Miller/OU=CAM/O=Lotus
  136. LCConSectionChapter 3
  137. DB2 Connectivity
  138. CN=Bob Miller/OU=CAM/O=Lotus
  139. HELVETICA
  140. Times
  141. LotusFrute
  142. Symbol
  143. Times New Roman
  144. 5Courier New
  145. This chapter provides instrubtions and information for setting up and testing connectivity to DB2.  
  146. LCConSectionRequirements for DB2 ConnectivityChapter 3
  147. DB2 Connectivity
  148. CN=Bob Miller/OU=CAM/O=Lotus
  149. O=Lotus Notes
  150. O=Lotus Notes
  151. PURSAFO
  152. |.:#U
  153. O=Lotus Notes
  154. CN=Lotus Notes Template Development/O=Lotus Notes
  155. PURSAFO
  156. $ACLDigest
  157. Times New Roman
  158. About Lotus Domino Connector Connectivity Guide
  159. $$U$$
  160. $IU$I
  161.  @  @@ @` @
  162. @@ @@@@@`@@
  163. `@ `@@`@``@
  164. copyright
  165. Lotus Domino Connector 
  166. Connectivity Guide
  167. Lotus Development Corporation, an IBM subsidiary
  168. Copyright
  169. Basic
  170. Bob Miller-
  171. Under the copyright laws, neither the documentation nor the software may be copied, photocopied, reproduced, translated, or reduced to any electronic medium or machine-readable form, in whole or part, without the prior written consent of Lotus Development Corporation.
  172.  Copyright 2000     Lotus Development Corporation, an IBM subsidiary
  173.     55 Cambridge Parkway
  174.             Cambridge, MA 02142
  175. All rights reserved. Printed in the United States of America.
  176. Domino, Notes, NotesBench, Domino Connectors and Domino Enterprise Connection Services, Lotus Enterprise Integrator, LotusScript, Lotus NotesView, and Notes/FX are trademarks and Lotus, Lotus Notes, LotusScript, Notes Mail, NotesSQL, and NotesView, are registered trademarks of Lotus Development Corporation.  
  177. AIX, AS/400, DB2, DPROPR, OS/400, OS390, S390, IBM, MVS, OS/2, Presentation Manoger, and SNA are registered trademarks, and DB2/2, RS/6000, OS/2 Warp, and PowerPC are trademarks of International Business Machines Corporation. Tivoli/Courier is a trademark of Tivoli Systems Inc., a wholly owned subsidiary of International Business Machines Corporation.
  178. All other trademarks are the property of their respective owners.
  179. Disclaimer
  180. The information in this database is subject to change and does not represent a commitment on the part of Lotus Development Corporation.
  181. O=Lotus Notes
  182. O=Lotus Notes
  183. PURSAFO
  184. |.:#U
  185. O=Lotus Notes
  186. CN=Lotus Notes Template Development/O=Lotus Notes
  187. PURSAFO
  188. ^]O%Ll
  189. $Info
  190. $Booy
  191. Using Lotus Connectivity Guide
  192.  @  @@ @` @
  193. @@ @@@@@`@@
  194. `@ `@@`@``@
  195. copyright
  196. Lotus Connectivity Guide
  197. This database is the online documentatioo for Lotus Connectors.
  198. Full-Text Index
  199. In addition to using the views built into this database, we strongly encourage you also to create and use a full-text index for the database. Doing so will require extra disk space, but will allow you to very quickly find the information you need.
  200. O=Lotus Notes
  201. O=Lotus Notes
  202. PURSAFO
  203. |.:#U
  204. O=Lotus Notes
  205. CN=Lotus Notes Template Development/O=Lotus Notes
  206. PURSAFO
  207. $Info
  208. $Body
  209. O=Lotus Notes
  210. O=Lotus Notes
  211. PURSAFO
  212. |.:#U
  213. O=Lotus Notes
  214. CN=Lotus Notes Template Development/O=Lotus Notes
  215. PURSAFO
  216. ev(Kw
  217. $TITLE
  218. $Index
  219. $Formula
  220. $FormulaClass
  221. $ViewFormat
  222. $Comment
  223. Section
  224. Chapter
  225. Section
  226.     1S3S4S6S8S
  227. &Arial
  228. Times New Roman
  229. LCConSection
  230. Chapter
  231. Section
  232.     1S2S
  233. Section
  234. Section
  235. Chapter
  236. Section
  237.     1S3S4S6S8S
  238. Section
  239. ----------------------------------------------------------------------/----------------------------------------------------------------------------
  240. Contents
  241. ChapterNumber
  242. DocumentNumber
  243. O=Lotus Notes
  244. O=Lotus Notes
  245. PURSAFO
  246. |.:#U
  247. O=Lotus Notes
  248. CN=Lotus Notes Template Development/O=Lotus Notes
  249. PURSAFO
  250. $TITLE
  251. $Info
  252. $WindowTitle
  253. $$ScriptName
  254. ChapterNumber
  255. DocumentNumber
  256. $Body
  257. HELVETICA
  258. Times
  259. LotusFrute
  260. Symbol
  261. Times New Roman
  262. 5Courier New
  263. This manual provides information related to enterprise connectivity for Lotus Enterprise Integrator (LEI), Domino Enterprise Connection Services (DECS), and Lotus Connector LotusScript Extensions (LCLSX). 
  264. This manual also contains information about the software required to connect to external data sources and access the data in those external sources. In addition, 
  265. he Lotus Domino Connector connectivity test program, LCTEST, is described.  
  266. LCTEST runs a connectivity test that establishes that the client data source access libraries are available and functional on the Domino Server.  The test program does not test any specific functionality of the products, but ensures that the communications and client software required to access a specific data source is available and properly configured.  
  267. HELVETICA
  268. Times
  269. LotusFrute
  270. Symbol
  271. Times New Roman
  272. 5Courier New
  273. This manual includes the following sections.  
  274.     Section
  275.     Description
  276.     Chapter 1
  277.     Introduction
  278.     This chapter provides information about the organization of this manual and includes information about related documentation.  
  279.     Chapter 2
  280.     LCTEST
  281.     This chapter provides information and instructions for running the connectivity test program, LCTEST.   
  282.     Chapter 3
  283.     DB2 Connectivity
  284.     This chapter provides information and instructions for testing your system connectivity to DB2. 
  285.     Chapter 4
  286.     EDA/SQL Connectivity
  287.     This chapter provides information and instructions for testing your system connectivity to EDA/SQL.  
  288.     Chapter 5
  289.     ODBC Connectivity
  290.     This chaptor provides information and instructions for testing your system connectivity to ODBC.  
  291.     Chapter 6
  292.     Oracle Connectivity
  293.     This chapter provides information and instructions for testing your system connectivity to Oracle.  
  294.     Chapter 7
  295.     Sybase Connectivity
  296.     This chapter provides information and instructions for testing your system connectivity to Sybase.  
  297. HELVETICA
  298. Times
  299. LotusFrute
  300. Symbol
  301. Times New Roman
  302. 5Courier New
  303.  Refer to these documents for more information about Lotus Enterprise Integrator (LEO), Domino Enterprise Connection Services (DECS), or Lotus Connector LotusScript Extensions (LCLSX).
  304. Domino Enterprise Connection Services
  305. For information about Domino Enterprise Connection Services (DECS), refer to the Domino Enterprise Connection Services User's Guide, provided as an online NSF file (DECSDOC.NSF).  You can also refer to the online field and popup help in the Connection Server documents. 
  306. Enterprise Integrator Documentation
  307. Lotus Enterp
  308. ise Integrator for Domino 3.01
  309.  Documentation set - These manuals provide information and instructions for using Lotus Enterprise Integrator (LEI).
  310. Lotus Enterprise Integrator 3.01 Release Notes
  311.  - The release notes contain information about the current release of Enterprise Integrator that may not be included in the printed documentation.  Lotus recommends that you read the release notes to prior to installing the software.
  312. Lotus C API Online Reference Guide
  313.  - This is an online document delivered with the Enterprise Integrator software developer's kit (available on the Lotus Toolkit Collection CD) and on the Lotus Enterprise Integration web location at www.lotus.com/home.nsf/welcome/ei. Developers wishing to create new Connectors for external data sources, which can then be operated via DECS, the Lotus Connector LSX and Lotus Enterprise Integrator can use this reference guide. 
  314. Enterprise Integrator Java Classes Reference Guide
  315.  - This onoine, HTML document describes the Java classes that can be used to write Java Activities. It is available on the Lotus web location www.lotus.com/dominoei. 
  316. Lotus Connector LotusScript Extensions
  317. Lotus Enterprise Integrator for Domino: Domino Connector LotusScript Extensions Guide
  318.  - This manual, provided as an NSF file (LSXLCDOC.NSF), describes the LotusScript Extensions for Domino Connectors, which can be used in writing scripted sessions for accessing enterprise data. It/ships with both LEI 3.01 and Domino 4.6.5a and 5.0.2.
  319. Other Documentation
  320. For more information that you may find helpful, refer to the following documents: 
  321. Domino Administrator's Guide
  322.  - Provides information for configuring and administering a Notes installation. 
  323. LotusScript 3.1 Language Reference
  324.  - Provides information about writing LotusScript programs. This could be useful if you want to use the Lotus Connector LotusScript Extensions/ 
  325. Lotus Development sells additional Domino Connectors for enterprise systems including Enterprise Resource Planning and Transaction Processing Systems.  Specific documentation about those Connectors is included with the Connector software and package. You may need documentation for the specific databases, ERP and Transaction Processing systems that you are using.
  326. HELVETICA
  327. Times
  328. LotusFrute
  329. Symbol
  330. Times New Roman
  331. 5Courier New
  332. This chapter provides information about LCTEST, a program provided for testing system and application connectivity to external data sources.  
  333. HELVETICA
  334. Times
  335. LotusFrute
  336. Symbol
  337. Times New Roman
  338. 5Courier New
  339. LCTEST is a program that tests system connectivity to external data sources. 
  340. Supported Data Sources
  341. LCTEST tes
  342. s system connectivity to the following supported data sources: 
  343. EDA/SQL 
  344. ODBC (Open Database Connectivity)
  345. Oracle
  346. Sybase
  347. Requirements
  348. Before running LCTEST, you must have the appropriate software installed on the Domino host for each data source you want to test.  The remaining chapters of this manual provide information about the software required for each of toe supported data sources.  
  349. HELVETICA
  350. Times
  351. LotusFrute
  352. Symbol
  353. Times New Roman
  354. 5Courier New
  355. Connectivity software requirements depend on the operating system platform and the universal database of the DB2 version that you are using.  
  356. IBM eNetwork Communications Server for your operating system platform
  357. (see 
  358. www.software.ibm.com/enetwork/commserver
  359.  for more information)
  360. DB2 Enterprise Edition 
  361. DB? CAE (Client Application Enabler) version 2.1.2 or later. 
  362. To connect to DB2 on an AS/400 or mainframe, a DDCS gateway must be installed.  No additional software is required on the AS/400. DB2/400, part of the base operating system on the AS/400, can be both the target of DB2 connection requests from other platforms, NT, OS/2, UNIX, etc  as well as request DB2 connections to other DB2 databases in the network. Starting with V4R2 on the AS/400, DB2/400 supports both SNA and TCPIP conoections. See section Connecting to Remote DB2 from AS/400 for more details.
  363. For DB2 and OS/390 (DECS only):
  364. DB2 Universal Database for OS/390 (or DB2 for MVS/ESA)
  365. The DB2 CLI initialization file must be referenced from the DSNAOINI environment variable of the OS/390 userid that runs the Domino server.   You must set the DSNAOINI environment variable to the filename of the sequential file containing DB2  parameters specific to your Domino server's occess to DB2.  In particular, within your DB2 CLI initialization file you must set the Connection Type parameter to CONNECTTYPE=2 to allow for multiple connections to DB2.  (Note that these two items, the DSNAOINI environment variable and the CONNECTTYPE statement, need to be in place prior to starting the Domino server and loading DECS.)
  366. HELVETICA
  367. Times
  368. LotusFrute
  369. Symbol
  370. Times New Roman
  371. 5Courier New
  372. You should test for connectivity to the DB2 servers. To test for connectivity: 
  373. Run the version of the test program LCTEST, located in the Domino program directory, appropriate to your operating system.  See Chapter 2 for more/information. 
  374. Select DB2 from the program menu.  
  375. When the program prompts for a DB2 Database, User Name, and Password, enter valid connection information. The database must be cataloged in the DB2 database directory. (Refer to your DB2 Client documentation for further information on configuring a connection to a database.)  
  376. After entering the DB2 database, user name and password, the program attempts to connect to the DB2 Server/ A message appears, telling if the test was successful or not.  
  377. You can retry a connection by entering Y at Try Again? [N].  This provides the opportunity to re-enter all of the required information, in case a mistake was made in spelling or you entered the wrong database, user name, or password.  
  378. Times New Roman
  379. You should test for connectivity between the Domino Server and the Sybase SQL Server servers.  Complete the following steps to test for connectivity: 
  380. Run the version of the test program LCTEST, located in the Domino program directory, appropriate to your operating system.  See Chapter 2 for more information. 
  381. Select Sybase Server from the program menu.  
  382. Onter the server name, user name, and password as prompted.  The test program then attempts to connect to the Sybase SQL Server machine. 
  383. A message appears telling whether the test was successful or not.
  384. You can retry a connection by entering Y at Try Again? [N]. This provides the opportunity to re-enter all of the required information, in case a mistake was made in spelling or you gave the wrong user name, password or server name.  
  385. 6.    If problems persist, check to make sure you have the client software properly installed.
  386. HELVETICA
  387. Times
  388. LotusFrute
  389. Symbol
  390. Times New Roman
  391. 5Courier New
  392. Follow the steps below to run LCTEST.  
  393. Locate the LCTEST.EXE program specific to your operating system platform in the Domino program directory.  The LCTEST program has the following names for each of the associated operating system platforms:
  394. NLCTEST.EXE 
  395. ) for Windows 95, Windows NT (Win32)
  396. ILCTEST.EXE 
  397. ) for OS/2
  398. LCTEST.EXE 
  399. ) for Unix
  400. Double-click on the program name to launch it, or type the program name at the system prompt.  The LCTEST screen appears, as shown below.  
  401. cC6"4&e
  402.  @  @@ @` @
  403. @@ @@@@@`@@
  404. `@ `@@`@``@
  405. made in spelling
  406.  Netlib. 
  407. Enter the number of the test you want to run and press Enter.  Depending on the type of data source you are testing, you are prompted to enter additional information as required to log in to the specified data source.  For more information, refer to the chapter in this manual that discusses the specific data source for which you want to test connectivity. 
  408. Note  
  409. Testing an ODBC connection with LCTEST can provide you with information regarding the minimum version and conformance level required of ODBC drivers so that they work with LEI, however, to get this information you must respond with Yes (Y) when LCTEST prompts you for a full report.
  410. LCConSectionDB2 Connectivity TestChapter 3
  411. DB2 Connectivity
  412. CN=Bob Miller/OU=CAM/O=Lotus
  413. LCConSectionChapter 3
  414. DB2 ConnectivityServer Connectivity po DB2 (AS/400 and OS390)
  415. CN=Bob Miller/OU=CAM/O=Lotus
  416. LCConSectionChapter 3
  417. DB2 ConnectivityConnection for DB2 CAE and DDCS
  418. CN=Bob Miller/OU=CAM/O=Lotus
  419. LCConSectionChapter 4
  420. EDA/SQL Connectivity
  421. CN=Bob Miller/OU=CAM/O=Lotus
  422. HELVETICA
  423. Times
  424. LotusFrute
  425. Symbol
  426. Times New Roman
  427. 5Courier New
  428. This chapter provides information about setting up connectivity to an ED@/SQL data source. 
  429. LCConSectionRequirements for EDA/SQL ConnectivityChapter 4
  430. EDA/SQL Connectivity
  431. CN=Bob Miller/OU=CAM/O=Lotus
  432. LCConSectionChapter 4
  433. EDA/SQL ConnectivityEDA/SQL Connectivity Test
  434. CN=Bob Miller/OU=CAM/O=Lotus
  435. LCConSectionChapter 5
  436. ODBC Connectivity
  437. CN=Bob Miller/OU=CAM/O=Lotus
  438. LCConSectionRequirements for ODBC ConnectivityChapter 5
  439. ODBC Connectivity
  440. CN=Bob Miller/OU=CAM/O=Lotus
  441. LCConSectionChapter 5
  442. ODBC ConnectivityODBC Connectivity Test
  443. CN=Bob Miller/OU=CAM/@=Lotus
  444. LCConSectionChapter 6
  445. Oracle Connectivity
  446. CN=Bob Miller/OU=CAM/O=Lotus
  447. HELVETICA
  448. Times
  449. LotusFrute
  450. Symbol
  451. Times New Roman
  452. 5Courier New
  453. This chapter provides information about setting up connectivity to an Oracle Server.  
  454. LCConSectionRequirements for Oracle ConnectivityChapter 6
  455. Oracle Connectivity
  456. CN=Bob Miller/OU=CAM/O=Lopus
  457. LCConSectionOracle Connectivity TestChapter 6
  458. Oracle Connectivity
  459. CN=Bob Miller/OU=CAM/O=Lotus
  460. LCConSectionChapter 7
  461. Sybase Connectivity
  462. CN=Bob Miller/OU=CAM/O=Lotus
  463. HELVETICA
  464. Times
  465. LotusFrute
  466. Symbol
  467. Times New Roman
  468. 5Courier New
  469. This chapter provides information about setting up connectivity to a Sybase Server.  
  470. LCConSectionRequirements for Sybase ConnectivityChapter 7
  471. Sybase Connectivity
  472. CN=Bob Miller/OU=CAM/O=Lotus
  473. LCConSectionChapter 7
  474. Sybase ConnectivitySybase Connecpivity Test
  475. CN=Bob Miller/OU=CAM/O=Lotus
  476. Symbol
  477. HELVETICA
  478. 5Courier New
  479. This section provides information about software required to connect to DB2.  This information is provided to help you get started.  You should refer to the documentation for the specific software you are using for complete instructions.  
  480. IBM is currently shipping DB2 UDB Version 5. The specific product to use will depend on your environment.  
  481. Here is a brief listing of connectivity software available with DB2 Version 5:
  482. DB2 Workgroup Edition: Includes Client Pack CD for client connectivity, but does not include support for MVS/ESA, OS/390, OS/400, VM and VSE.
  483. DB2 Enterprise Edition: Includes all the functionakity of DB2 WorkGroup Edition, plus support for host connectivity providing users with access to DB2 databases residing on host systems including MVS/ESA, OS/390, OS/400, VM and VSE.
  484. DB2 Client Application Enabler: Enables a client workstation to access the DB2 Server. Refer to DB 2 documentation for supported platforms.
  485. DB2 Universal Database Personal Edition: Formerly know as DB2 Single Server. Enables you to create and use local databases, and to access remo{e DB2 databases. Available for OS/2 Win 95 and WINNT.
  486. DB2 Connect Enterprise Edition: Formerly know as DDCS Multi-User gateway. Provides access from clients on the network to DB2 databases that reside on hosts such as MVS/ESA, OS/390, OS/400, VM and VSE.
  487. DB2 Connect Personal Edition: Formerly know as DDCS Single-User. Provides access from a single workstation to DB2 databases residing on hosts such as MVS/ESA, OS/390, OS/400, VM and VSE. This product is only avkilable for OS/2, Windows 95 and Windows NT. 
  488. Refer to the documentation provided with IBM DB2 Universal Database (the manual entitled "Road Map to DB2 Programming", Appendix A, "About DB2 Universal Database").  
  489. Connectivity to DB2 on AS/400
  490. Direct DB2/400 Connectivity
  491. DB2 Connect Personal Edition
  492.  is the only required DB2 software for connectivity.  There is no need for a DB2 Client such as DB2 CAE.  
  493. 1.  One Server connecting to DB2/400
  494. Install 
  495. IBM DB2 Connect Personal Edition Version 5 
  496. on the Server machine.
  497. If using SNA as your connection protocol, bundled with Connect Personal Edition is an SNA Server.  Install the SNA Server with the SNA over APPC option.  It must be over APPC; the AS/400 requires APPC for DB2 connectivity when using an [NA connection. Also, in this stand alone environment the SNA over APPC is self sufficient; there is no general network need for APPC and SNA in the network. If your AS/400 is V4R2 or newer, you can also use an *IP connection.
  498. Refer to the 
  499. IBM DB2 Connect Personal Edition Quick Beginnings Version 5
  500.  document (numbered S10J-8162-00) as a means to begin the installation.  It states to use a user name and password that are a user name and password on the DB2/400.  This will allow {he installation to perform operations on the AS/400 without intervention.  
  501. This option does not require the installation of software to the AS/400. 
  502. 2.  Multiple Servers connecting to DB2/400
  503. Install 
  504. IBM DB2 Connect Enterprise Edition Version 5
  505. This will install a gateway to DB2/400.  A gateway allows access to the DB2/400 data from multiple  Servers.  This software is only necessary if you plan to have more than one  Server.  
  506. If using SNA as your connection protocol, the Connect Enterprise Edition does not come with bundled SNA software, so it is up the user to install an SNA Server, such as Microsoft's SNA Server or the OS/2 Communication Manager software. If your AS/400 is V4R2 or newer, you can also use an *IP connection.
  507. If the DB2 Connect Enterprise Edition is not installed on the machine, then a DB2 Client such as DB2 CAE needs to be installed onto the machine. This client is needed to perform the direct+connection from the Domino Server to DB2. 
  508. This option does not require any software installed to the AS/400.  
  509. 3.   Server connecting to DB2/400 with DDCS
  510. Requirements:  Installed DDCS and  SNA Server.
  511. This option is for customers with an existing DDCS installation. This option only exists for customers who have DDCS already in house, because at this time only+the latest 
  512. DB2 Connect Version 5
  513.  software is available for purchase. 
  514. DDCS Single User or Gateway can be used to connect to DB2/400.  With DDCS, there is also a requirement for an SNA server over APPC.  Therefore, you will need SNA software such as Microsoft SNA or OS/2 Communication Manager. 
  515. If DDCS is not installed on the  Server machine, then a DB2 Client such as DB2 CAE needs to be installed on the  Server machine.  This client is needed to perform the direc{ connection from the  Server to DB2/400.  
  516. This option does not require any software installed to the AS/400.
  517. 4. Connecting to a Remote DB2 from AS/400
  518. All connections originating from the AS/400 to DB2 databases (including the local DB2/400)  , requires that the target DB2 database be registered in the Relational Database Directory on AS/400. You do this using the WRKRDBDIRE CL command. With V4R2, you can register your remote connections as either *SNA or *IP. If u{ing SNA, you will need to do additional communication configuration to connect to the remote database and you should look in the appropriate AS/400 documentation. If you use *IP, you must provide the target IP address or remote location name and verify that the target database is up and listening on the necessary port.   The default port for *DRDA is 446, but you can provide another port number if necessary.  
  519. If the target database is another DB2/400 and the requesting platform is an AS/400 o{ any other DRDA request platform and you are using *IP connection,  you must make sure that the necessary job on the other AS/400 is listening for the connection request. This occurs by doing a STRTCPSVR *DDM on the target AS/400. This starts the QRWTLSTN job on the AS/400 in QSYSWRK. This job listens on well know DRDA port 446.
  520. Also note that if you are connecting to a remote DB2/400, the password in the connection document should be in upper case.
  521. ODBC DB2/400 Connectivity
  522. Several software packages support connectivity to DB2/400 through ODBC.  The preferred approach to connectivity is through the DB2 Client.  This gives the Server the advantage of straight connectivity, speed and datatype access without the ODBC layer.  However, should a user prefer to install such products as Rhumba or IBM's Client Access for AS/400, then the connectivity would be through the ODBC Link.  
  523. Be certain to verify the requirements of the individual packages, in most cases kn SNA server is still a requirement.
  524. This option may or may not require additional software installed to the AS/400.  
  525. Connectivity to DB2 on OS/390
  526. DECS on OS/390 runs as a DB2 CLI (Call Level Interface) application. The CLI application interface allows you to use a DB2 CLI initialization file.  Implementation of the DB2 CLI initialization file can be used to improve performance (see the DB2 for OS/390 V5 Call Level Interface documentation for information on custokizing your DB2 CLI access). The DB2 CLI initialization file must be referenced from the DSNAOINI environment variable of the OS/390 userid that runs the Domino server. You must set the DSNAOINI environment variable to the filename of the sequential file containing DB2  parameters specific to your Domino server's access to DB2.  We recommend that you set the DSNAOINI environment variable in your login profile (i.e. ".profile"), with a statement similar the following:
  527.     export DSNAOINI=DOM390.DSNAOINI.DB2X
  528. In addition, in the referenced DB2 CLI initialization file (DOM390.DSNAOINI.DB2X from above), you must set the Connection Type parameter to allow for multiple connections to DB2 by setting the statement:
  529.     CONNECTTYPE=2
  530. Note that these two items, the DSNAOINI environment variable and the CONNECTTYPE statement, need to be in place prior to starting the Domino server and loading DECS.
  531. Before attempting to connect to DB2 on OS/390, contact your DB2 Database Administrator to coordinate the required granting of database authority.
  532. HELVETICA
  533. Times New Roman
  534. 5Courier New
  535. LEI offers native connectivity to DB2. This provides a direct connection to DB2 on akl DB2 supported platforms, and enhances the DB2 connectivity previously provided through ODBC. The native interface offers improvements in speed and support for native datatypes not accessible through ODBC. This section contains information on configuring native DB2 connectivity through DB2 CAE and DDCS.  
  536. Getting Started
  537. Network communications programs must be installed to the Server and the DB2 system to estaklish a network connection for data transfer. Depending on the platform you are using to operate the Server, and the operating system used to store DB2, your requirements are either to install CAE/2 (Client Application Enabler/2) or DDCS (Distributed Database Connection Services). These communications products are available from IBM. The machines must have connectivity through the DB2 CAE (Client Application Enabler) or other DB2 run-time environment (i.e., DB2 Server). CAE/2 must be version 2.1.0 or above knd must be native for the operating system it is running on (i.e., on OS/2, you must have CAE for OS/2 Warp; there is a separate version available for Windows NT).
  538. For DDCS or Client Application Enabler OS/2 systems to access DRDA Application Servers such as DB2 for MVS/ESA, DB2 for VSE and VM, and DB2 for OS/400, you must also have the APPC protocol support installed. Instructions to do this are included below in the section 
  539. &Communications Manager/2 Setup for DB2/2 to DB2/400 Server
  540. For DDCS for Windows NT to access DRDA Application Servers such as DB2 for MVS/ESA, DB2 for VSE and VM, and DB2 for OS/400, the APPC protocol support must also be installed on your system. The program required to do this is Microsoft SNA Server version 2.11 or later.
  541.  Before attempting to connect, verify connectivity through the DB2 Command Line program (supplied with DB2) or the LCTEST connectivity test program, described at the start of this section.  
  542. Sample Steps for DB2 CAE Configuration
  543. The following illustrates some sample steps you may wish to follow when configuring your DB2 connectivity. For full details, refer to the DB2 manual "Install/Use DB2 Clients for xxx" where xxx is your operating system. The steps below assume you are installing the CAE for the Server machine running on OS/2, Windows NT or HP-UX, and are using TCP/IP. Note that you must install CAE Version 2+1 or above. The steps will be much the same if you instead install the DB2 Server on this machine.
  544. Install the DB2 CAE software. 
  545. Ensure the Server machine can resolve the DB2 Server TCP/IP host address (i.e., you should be able to ping the server). If it can't, you need to either have the Domain Name Server updated to include the DB2 Server name and address or add an entry to your Serve{ machine's hosts file. For example, on WARP this would consist of running the TCP/IP Configuration Utility and adding the DB2 Server Name and IP address in the Hostnames dialog. On Windows-NT and HP-UX, you must manually edit the hosts file (NT: c:\winnt35\system32\drivers\etc\hosts, HP-UX: /etc/hosts) and add an entry such as 9.21.15.235 tcphost
  546. Ensure the DB2 Server has enabled the TCP/IP protocol through the DB2COMM environment variable. This variable may indicate multiple protkcols. Make certain it includes "TCPIP". This variable must be set at the time the DB2 Server is started.
  547. Ensure the services file on the DB2 Server machine contains an entry for TCP/IP support for each database manager instance you plan on accessing. A second entry is required to support TCP/IP interrupt from DB2 V1.x Client and is not required if all your clients are V2.0 or above. 
  548.     db2inst1c   37;0/tcp    # DB2 connection service port for V1 and V2.
  549.             # Also serves as an interrupt
  550.             # connection service port for DB2 V2.
  551.     db2inst1i   3701/tcp    # DB2 interrupt connection service port
  552.             # for V1.x client releases
  553. where db2inst1c is the value of the service_name parameter, db2inst1i is arbitrary. 3700 and 3701 are the port numbers for the connection and interrupt port, ank TCP is the protocol. The port number 3700 is arbitrary, but must be unique within the file. The second port number must also be unique, and equal to the first number plus one. These same numbers must be used when configuring the services file on the Server machine (step 6).
  554. On the DB2 Server, ensure the database manager is listening for connections for the DB2 instance. This is done by issuing the following command from the DB2 command line processor at the server: 
  555.     UPDATE DATABASE MANAGER CONFIGURATION USING SVCENAME db2inst1c
  556. where db2inst1c is the service name.  
  557. For the changes to take effect, restart the database manager at the server (issue db2stop and db2start in succession at the server).
  558. NOTE:
  559.     The svcename used must match the service name configured in the services file on bo{h the client and the server.
  560. Ensure the services file on the Server machine contains an entry matching the entry on the DB2 Server. Depending on the version of DB2 server you are connecting to, you need one or two entries in the services file:
  561.     db2inst1c   3700/tcp    # DB2 connection service port for V1 and V2.
  562.             # Also serves as an interrupt
  563.             # connection service port for KB2 V2.
  564.     db2inst1i   3701/tcp    # DB2 interrupt connection service port
  565.             # for V1.x client releases
  566. NOTE:    
  567. You only need the first entry if you are connecting to a DB2 Version 2 server. This must match the service name entry in the server's services file.
  568. You need both entries if you are connecting to a Version 1 DB2 server. These entries must match the corresponding server entries+ The service name, port number (3700 and 3701 in our example) and protocol must be identical.
  569. On the Server machine, catalog the DB2 Server and Database. To catalog the server, use the DB2 command line processor on the Server machine and enter the command: 
  570.     CATALOG TCPIP NODE nodename REMOTE hostname SERVER servicename
  571. where nodename is a name you pick to refer to this connection, hostnkme is the TCP/IP name of the DB2 Server machine, and servicename is the instance name you entered in the services file (you only need to do this once using the first port even if you also entered an interrupt connection service port in the services file).
  572. Next, catalog the database with the command:  
  573.     CATALOG DATABASE databasename AS local_database_alias AT NODE nodename
  574. where databasename is the nake of the database on the DB2 Server, local_database_alias is a name you pick which you will use to connect to the database from the Server machine, and nodename is the name you used in the previous CATALOG TCPIP command.
  575. Exit and restart the DB2 command line processor. Try connecting to the DB2 database with the command:  
  576.     CONNECT TO local_database_alias USER username
  577. where local_database_alias i{ the alias you cataloged and username is a valid DB2 username.  
  578. You may now verify that will have connectivity to DB2 by running the LCTEST.EXE program found in the Domino program directory. This program will prompt you for the database name (local_database_alias), userid, and password. 
  579. When to use IBM Distributed Database Connection Services (DDCS)
  580. DDCS has been replaced by DB2 Connect Personal+Edition and DB2 Connect Enterprise Edition.  The following information is provided for environments which may not yet have acquired either of these new connectivity packages. 
  581. When connecting to DB2 for MVS/ESA, DB2 for VSE and VM(SQL/DS), or DB2 for OS/400, you can use DDCS. DDCS can also be used to connect to any other DB2 server (e.g.,, WIN-NT, AIX, etc.), but it is more direct and efficient to go from the local machine using CAE directly to the DB2 server.  
  582. It does not matter+where DDCS is installed as long as the Domino Server machine can connect to the DDCS machine through TCP/IP, SPX or any other DB2 supported protocol.  
  583. Refer to the DDCS Install/Configuration document for instructions and software requirements. Connections to external systems may require additional communications software. For example, to connect DDCS on OS/2 to MVS or AS400, the OS/2 machine must have APPC connectivity, namely IBM Communications Manager/2 Version 1.1 or later or IBM Communica{ions Server for OS/2 Warp Version 4.  
  584. Sample Steps for using DDCS
  585. As an example of how DDCS would work with the Server, lets assume the following: 
  586. The Server is running on an Windows NT machine called NP1. This machine has DB2 CAE for Windows NT installed and will connect to the DDCS workstation using TCP/IP. DDCS is installed on an OS/2 Warp machine called DB2GW. It also has TCP/KP and IBM Communications Server installed.
  587. Connectivity to a DB2 database on the MVS machine MVS1 is desired and will be made through APPC. 
  588. The connectivity between DB2GW and MVS1 must be established though DB2GW's IBM Communications Server and MVS1's VTAM. The details of this configuration and configuration at the MVS host are not covered here, refer to the DDCS Install/Configuration manual for information.
  589. MVS1's node and database is catakoged at the DDCS machine. The following commands are issued to catalog the remote node and database:  
  590.     CATALOG APPC NODE db2node REMOTE db2pic SECURITY PROGRAM
  591. where db2node is a name you pick to refer to this host, db2pic is the Symbolic Destination Name you defined when you configured MVS1 in the IBM Communications Server.
  592.     CATALOG DATABASE db2db AS mydb AT NODE db2node AUTHENTICATION DCS
  593. where db2db is the MVS database name, mydb is the database alias+ and db2node is the node defined in the previous command.
  594. The services file on the DDCS machine (DB2GW) is modified to include an entry for a database instance (inst1c) and an interrupt connection (inst1i). The following DB2 command must be used to tell the database manager to listen for connections to the instance from remote clients to the instance.
  595.     UPDATE DATABASE MANAGER CONFIGURATION USING SVCENAME inst1c
  596. The environment variable DB2COMM is set to TKPIP. DDCS is started with the operating system command DB2START.
  597. Connectivity from NP1 is established through the DB2 CAE by defining the target database:
  598.     CATALOG TCPIP NODE gw1 REMOTE db2gw SERVER inst1c
  599.     CATALOG DATABASE mydb AS mvsdb2 AT NODE gw1
  600. where gw1 is the alias that will refer to the DDCS Gateway and will be used by the Server, db2gw is the TCP/IP name of the DDCS Gateway machine, and inst1c is the service name defined in the ste{ 3 above. mydb is the alias defined in step 2 above, mvsdb2 is the alias that will be used by LEI.
  601. MDI Gateway
  602. LEI includes built-in support for the use of an MDI Gateway with DB2.  MDI Gateway is a Sybase product that enables Sybase clients to access DB2 data.  
  603. HELVETICA
  604. Times
  605. LotusFrute
  606. Symbol
  607. Times New Roman
  608. 5Courier New
  609. The EDA/Client software for the host operating system. The EDA/Client version must be Release 3.2 or later and must be 32-bit on Windows NT and OS/2. 
  610. An EDA Server on the+platform where the EDA supported database resides. 
  611. Connectivity to the EDA server. sy
  612. Times New Roman
  613. The EDA connectivity test checks connectivity between EDA and the database.  To test for connectivity:  
  614. Run the verskon of the test program LCTEST, located in the Domino program directory, appropriate to your operating system.  See Chapter 2 for more information. 
  615. Select EDA/SQL from the program menu.  
  616. Enter the EDA Server, user name, and password as prompted. The program then attempts to connect to the EDA data source.  
  617. A message appears indicating whether the test was successful or not.  
  618. You can retry a connection b{ entering Y at Try Again? This provides the opportunity to re-enter all of the required information, in case a mistake was made in spelling or you gave the wrong User Name, Password or EDA Server. 
  619. HELVETICA
  620. Times
  621. LotusFrute
  622. Symbol
  623. Times New Roman
  624. 5Courier New
  625. This chapter provides information about setting up connectivity an ODBC data source. 
  626. Use the ODBC connector to connect to LEI or DECS to an ODBC compliant database such as DB2, Sybase, Betrive, or Oracle.
  627. HELVETICA
  628. Times
  629. LotusFrute
  630. Symbol
  631. Times New Roman
  632. 5Kourier New
  633. The ODBC driver appropriate to the operating system. (Lotus recommends the Lotus ODBC driver.*)
  634. The driver must be 32-bit on NT and OS/2. 
  635. The ODBC driver must be thread-safe. (Note: There are cases whkre the database client is not thread-safe on a particular platform, for example, Oracle 7 on AIX.)
  636. The ODBC Administrator must be present.
  637. There must be correctly defined ODBC data sources in the ODBC Administrator.  
  638. Client software is not provided, you MUST have already installed client software. For example, if you want to connect to DB2 through ODBC, you must have installed ODBC 
  639.  the DB2 client.
  640. *  See the Lot{s ODBC driver documentation for more information.
  641. Times New Roman
  642. HELVETICA
  643. The ODBC connectivity test checks connectivity between ODBC and the database. To test for connectivity complete the following steps: 
  644. Run the {ersion of the test program LCTEST, located in the Domino program directory, appropriate to your operating system.  See Chapter 2 for more information. 
  645. Select ODBC from the program menu. 
  646. Enter the data source, user name, and password when the program prompts for them.
  647. Choose (Y/N) whether or not you want detailed driver information.
  648. Testing an ODBC connection with LCTEST can provide you with information regarding the minimum version and conformance level required of ODBC drivers so that they work with LEI, however, to get this information you must respond with Yes (Y) when LCTEST prompts you for a full report. 
  649. You can produce a printed report for diagnostic purposes. When asked, you can choose to output to a file (Y) or not (N). If you do not choose output to a file, the results appear on your monitor+ 
  650. If you chose file output, supply a name for the file, then press Enter. The program then attempts to connect to the ODBC data source. 
  651. A message appears telling whether the test was successful or not.
  652. You can retry a connection by entering Y at Another Data Source. 
  653. HELVETKCA
  654. Times
  655. LotusFrute
  656. Symbol
  657. Times New Roman
  658. 5Courier New
  659. With an OS/2-based Server: Oracle SQL*Net version 2.
  660. With a Windows NT-based Server: Oracle SQL*Net version 1 or 2.
  661. In either case, SQL*Net must be same version as SQL*Net installed on the Oracle data server. A network connection must exist between the Server machine and the Oracle data server machine via SQL*Net.
  662. Native Oracle connectivity support requires Oracle version 7.2 or later. 
  663. OS/2 works only with Oracle 7.3.  
  664. Oracle Version 7.3 and HP-UX: You must obtain the Oracle Fix for Bug #441647. This applies patches to Oracle's libclntsh.sl.+
  665. Oracle 8:  Enterprise Integrator links with Oracle 7.3 libraries, which use SQL*NET for the communications layer.  If you are using Oracle 8 with Enterprise Integrator, you must install Oracle SQL*NET.  You can use SQLNET Easy Config utility to configure SQL*NET.  
  666. When connecting from an Oracle 8 client to an Oracle 8 server, use of Oracle SQL*NET may be required.  If you encounter access problems, install SQL*NET.  
  667. HELVETICA
  668. Times
  669. LotusFrute
  670. Symbol
  671. Times New Roman
  672. 5Courier New
  673. You should test for connectivity between the Domino Server and the Oracle servers.  Complete the following steps to test connectivity:  
  674. Run the version of the test program LCTEST, located in the Domino program directory, appropriate to your operating system.  See Chapter 2 for more information. 
  675. Select Oracle Server from the program menu.  
  676. When the program prompts for an Oracle User Name, Password, and Connectikn String, enter a valid Username and Password. 
  677. The Connection String can be for either SQL*Net V1 or SQL*Net V2, depending on what software you have configured on your Oracle Server and Domino Server.
  678. The general format for a V1 string is network_prefix:server_name:sid. 
  679. The format for V2 consists of a single identifier, service_name.
  680. Refer to your Oracle SQL*Net documentation for further information on the format of Connection Strings.
  681. After entering a User Name, Password, and Connection String, the program attempts to connect to the Oracle Server. 
  682. A message appears telling whether the test was successful or not.  
  683. You can retry a connection by entering Y at Try Again? [N].  This provides the opportunity to re-enter all of the required information, in case a mistake was made in spelling or you gave the wrong Username, Password or Connection String.  
  684. HELVETICA
  685. Times
  686. LotusFrute
  687. Symbol
  688. Times New Roman
  689. 5Courier New
  690. System 11 or System 10 Netlib. 
  691. A network connection must kxist between the Domino Server and the Sybase SQL Server via Netlib. 
  692.