home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Product / Product.zip / visquein.zip / FTB87A.INF (.txt) < prev    next >
OS/2 Help File  |  1994-07-12  |  156KB  |  4,122 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Notices ΓòÉΓòÉΓòÉ
  3.  
  4. References in this publication to IBM products, programs, or services do not 
  5. imply that IBM intends to make these available in all countries in which IBM 
  6. operates. Any reference to an IBM product, program, or service is not intended 
  7. to state or imply that only IBM's product, program, or service may be used. Any 
  8. functionally equivalent product, program, or service that does not infringe any 
  9. of IBM's intellectual property rights may be used instead of the IBM product, 
  10. program, or service. Evaluation and verification of operation in conjunction 
  11. with other products, except those expressly designated by IBM, is the user's 
  12. responsibility. 
  13.  
  14. IBM may have patents or pending patent applications covering subject matter in 
  15. this document. The furnishing of this document does not give you any license to 
  16. these patents. You can send license inquiries, in writing, to: 
  17.  
  18. IBM Corporation
  19. IBM Director of Licensing
  20. 208 Harbor Drive
  21. Stamford, Connecticut 06904-2501
  22. U.S.A.
  23.  
  24.  
  25. ΓòÉΓòÉΓòÉ 2. Examples ΓòÉΓòÉΓòÉ
  26.  
  27. This publication contains examples of data and windows used in daily business 
  28. operations. They are intended only to be illustrative of the types of functions 
  29. available in IBM Visualizer Query for OS/2 and may contain the names of 
  30. individuals, companies, brands, and products. All of these names are 
  31. fictitious, and any similarity to the names and addresses used by an actual 
  32. business enterprise is entirely coincidental. Windows shown in this publication 
  33. are intended to be examples and may not be exact representations of actual 
  34. windows. 
  35.  
  36. This publication contains sample programs. Permission is hereby granted to copy 
  37. and store the sample programs into a data processing machine and to use the 
  38. stored copies for internal study and instruction only. No permission is granted 
  39. to use the sample programs for any other purpose. 
  40.  
  41.  
  42. ΓòÉΓòÉΓòÉ 2.1. Trademarks ΓòÉΓòÉΓòÉ
  43.  
  44. The following terms, denoted by an asterisk (*), used in this publication, are 
  45. trademarks or service marks of IBM Corporation in the United States of America 
  46. or other countries: 
  47.  
  48. AIX                                     IBM 
  49. Application System/400                  Operating System/2 
  50. AS/400                                  OS/2 
  51. DATABASE 2                              OS/400 
  52. DB2                                     QMF 
  53. DB2/2                                   SQL/400 
  54. DB2/400                                 SQL/DS 
  55. DB2/6000                                Ultimedia 
  56. DB2/VM & VSE                            VSE/ESA 
  57. FFST/2                                  VTAM 
  58. First Failure Support Technology/2      XGA 
  59.  
  60. The following terms, denoted by a double asterisk (**), used in this 
  61. publication, are trademarks of other companies: 
  62.  
  63. 80386          Intel 
  64. 80486          Intel 
  65. CompuServe     CompuServe Incoporated 
  66. dBASE IV       Borland International Inc 
  67. Lotus          Lotus Development Corporation 
  68. 1-2-3          Lotus Development Corporation 
  69.  
  70.  
  71. ΓòÉΓòÉΓòÉ 3. About this book ΓòÉΓòÉΓòÉ
  72.  
  73. This book is for people who need to carry out any of the following tasks: 
  74.  
  75. o Install IBM Visualizer Query for OS/2 (referred to throughout this book as 
  76.   Visualizer) and any of the Visualizer optional products 
  77.  
  78. o Use Visualizer to access SQL databases 
  79.  
  80. o Install corrective service to Visualizer products 
  81.  
  82. o Report a problem to IBM 
  83.  
  84.  
  85. ΓòÉΓòÉΓòÉ 3.1. How this book is organized ΓòÉΓòÉΓòÉ
  86.  
  87. This book is divided into: 
  88.  
  89. o Part 1, Installing Visualizer, which describes how to install Visualizer, and 
  90.   the optional Visualizer components. 
  91.  
  92. o Part 2, Data connections, which describes how to connect to SQL databases and 
  93.   other data sources. 
  94.  
  95. o Part 3, Supporting Visualizer, which describes how to get information on 
  96.   Visualizer, how to resolve Visualizer problems, and how to report Visualizer 
  97.   defects. 
  98.  
  99. o Part 4, Appendixes, provides supplementary information, including: 
  100.  
  101.    - Datatype conversions 
  102.    - Tips for optimizing the performance of Visualizer products 
  103.    - TalkLink and CompuServe contact information 
  104.  
  105.  
  106. ΓòÉΓòÉΓòÉ 3.2. Visualizer components ΓòÉΓòÉΓòÉ
  107.  
  108. The components in the Visualizer package are: 
  109.  
  110. o This book 
  111. o IBM Visualizer Query for OS/2: Quick Install Card 
  112. o IBM Visualizer Query for OS/2: Using, SH45-5089 
  113. o Seven installation diskettes 
  114. o One sample database diskette 
  115. o One Personal Application System/2 registration diskette 
  116.  
  117.  
  118. ΓòÉΓòÉΓòÉ 4. Preparing to install Visualizer products ΓòÉΓòÉΓòÉ
  119.  
  120. This chapter describes the installation requirements for Visualizer and 
  121. provides a brief overview of the different types of installations that are 
  122. available. 
  123.  
  124.  
  125. ΓòÉΓòÉΓòÉ 4.1. Installation requirements ΓòÉΓòÉΓòÉ
  126.  
  127. The following hardware and software products are required to run Query for 
  128. OS/2. Visualizer optional products have the same requirements unless otherwise 
  129. noted in the manual supplied with the optional product. 
  130.  
  131. Hardware requirements 
  132.  
  133. The minimum hardware configuration for Visualizer is: 
  134.  
  135. o Personal computer with an 80386** processor 
  136. o VGA display and graphics adapter 
  137. o 16MB memory 
  138. o A mouse or pointing device 
  139.  
  140. The recommended hardware configuration for Visualizer is: 
  141.  
  142. o Personal computer with an 80486** processor 
  143. o XGA* or SVGA display and graphics adapter 
  144. o 16MB memory 
  145. o A mouse or pointing device 
  146.  
  147. Disk space requirements 
  148.  
  149. The minimum disk space requirements for the U.S. English version of Query for 
  150. OS/2 are: 
  151.  
  152. o 15MB for each standalone workstation or LAN server 
  153. o 0.5MB for each LAN requester 
  154. o 60KB on the boot drive of the workstation used to install Visualizer 
  155. o 20MB on the drive on which the SWAPPER.DAT file is located 
  156.  
  157. The amount of disk space required to use Visualizer increases in proportion to 
  158. the amount of data stored. Although the installation procedure checks whether 
  159. you have sufficient space to install Visualizer, you should ensure that there 
  160. is enough disk space for future expansion. 
  161.  
  162. Software requirements 
  163.  
  164. To run Visualizer, you must have IBM Operating System Version 2.1 (Program 
  165. Number 5621-077) or the equivalent DBCS version installed. 
  166.  
  167. The installation of IBM DATABASE 2* OS/2* (Program Number 5622-044), or IBM 
  168. OS/2 DATABASE 2 Client Application Enabler/2 (Program Number 5622-129) is also 
  169. required if you intend to use any of the following Visualizer components: 
  170.  
  171. o SQL Database 
  172. o SQL Table 
  173. o SQL View 
  174.  
  175. Visualizer supports DB2/2 Versions 1.0, 1.0.1, and 1.2. It also supports CAE/2 
  176. Versions 1.1 and 1.2. 
  177.  
  178. If you install DB2/2 service level WR07015 on DB2/2 1.0, you must also install 
  179. service level WR07025. 
  180.  
  181. If you are using DB2/2 1.0.1, service level WR07025 must be installed. 
  182.  
  183. Other requirements 
  184.  
  185. When you install the standalone or LAN requester version of a Visualizer 
  186. product, the directory in which the product is to be installed must be in the 
  187. LIBPATH environment variable of the CONFIG.SYS file. If the directory is not in 
  188. the LIBPATH when you start an installation, the installer will add the 
  189. directory to the LIBPATH and then ask you to shut down and restart the 
  190. workstation before continuing. To avoid having to shut down and restart your 
  191. workstation during the installation, before you start the process: 
  192.  
  193.  1. Edit the CONFIG.SYS file and add the directory to the LIBPATH statement. 
  194.  
  195.  2. Shut down and restart the workstation. 
  196.  
  197.  
  198. ΓòÉΓòÉΓòÉ 4.2. National languages ΓòÉΓòÉΓòÉ
  199.  
  200. Query for OS/2 is available for the following national languages: 
  201.  
  202. Language                 Primary code page 
  203. Dutch                    850 
  204. French                   850 
  205. German                   850 
  206. Italian                  850 
  207. Japanese                 932 and 942 
  208. Korean                   949 
  209. Spanish                  850 
  210. Traditional Chinese      950 
  211. U.S. English             850 
  212.  
  213. In addition: 
  214.  
  215. o Bi-directional language support is available when you use Visualizer products 
  216.   with code pages 862 and 864. 
  217.  
  218. o Traditional Chinese character support is available for the U.S. English 
  219.   version of Visualizer with code pages 948 and 950. 
  220.  
  221.  
  222. ΓòÉΓòÉΓòÉ 4.2.1. Installing more than one language ΓòÉΓòÉΓòÉ
  223.  
  224. You can install more than one language version of a Visualizer product and then 
  225. select the language you want to use. If you do so, all the different language 
  226. versions of one product must be installed in one location. 
  227.  
  228. Each additional language is installed using the standard install procedures 
  229. detailed in Installing Visualizer on standalone workstations, through 
  230. Automating Visualizer installation, 
  231.  
  232. To change the language you are working in: 
  233.  
  234.  1. Open the Visualizer profile notebook. 
  235.  
  236.  2. Select the Visualizer tab. 
  237.  
  238.  3. Select the language you want to use from the Language list. 
  239.  
  240. Query for OS/2 and the Visualizer optional products do not have to be installed 
  241. in the same language. 
  242.  
  243. Note:   The language used by the Visualizer templates does not change when you 
  244.         switch languages. The templates always use the language that they were 
  245.         first installed in. 
  246.  
  247.  
  248. ΓòÉΓòÉΓòÉ 4.2.2. DBCS fonts ΓòÉΓòÉΓòÉ
  249.  
  250. DBCS versions of Visualizer products normally use Mincho 10 point font on VGA 
  251. displays and Mincho Proportional 12 point font on other displays. However, with 
  252. DBCS versions of Charts for OS/2 and Reports for OS/2 you can use: 
  253.  
  254. o Mincho and Gothic fonts (which can be installed as an optional product) 
  255.  
  256. o Mincho Medium and Gothic Medium fonts (which are packaged with DBCS versions 
  257.   of OS/2). 
  258.  
  259.  
  260. ΓòÉΓòÉΓòÉ 4.3. The Visualizer environment ΓòÉΓòÉΓòÉ
  261.  
  262. Visualizer can be installed: 
  263.  
  264. o On a standalone workstation. 
  265.  
  266.   If you install Visualizer on a standalone workstation, it will run on that 
  267.   workstation only. For more information, see Installing Visualizer on 
  268.   standalone workstations, 
  269.  
  270. o On a local area network (LAN) 
  271.  
  272.   A LAN installation of Visualizer has two components: the LAN server and the 
  273.   LAN requester. Both components must be installed to run Visualizer from a LAN 
  274.   server. 
  275.  
  276.   When you install Visualizer as a LAN server, it can be run remotely from any 
  277.   requester workstation that can access the Visualizer directories on the LAN 
  278.   server. It cannot be run directly from the LAN server. However, the LAN 
  279.   requester version of Visualizer can be installed and run on the Visualizer 
  280.   LAN server. 
  281.  
  282.   Because the whole of Visualizer is installed only on the LAN server, less 
  283.   hard disk space is used on each LAN requester. However, the performance of 
  284.   Visualizer may be reduced by this type of installation. 
  285.  
  286.   For more information, see Installing Visualizer products on a LAN server and 
  287.   Installing Visualizer products on a LAN requester. 
  288.  
  289. You can also create a distribution copy of Query for OS/2 or an optional 
  290. product. A distribution copy is an exact copy of the installation diskettes 
  291. stored on the hard disk of a workstation. It can then be used to install the 
  292. product onto standalone workstations, LAN servers, or LAN requesters in the 
  293. same way as from the product diskettes. For more information, see Making a 
  294. distribution copy of Visualizer products. 
  295.  
  296.  
  297. ΓòÉΓòÉΓòÉ 4.3.1. Visualizer and DB2/2 ΓòÉΓòÉΓòÉ
  298.  
  299. Although Visualizer is primarily designed for use with DB2/2, it can be used on 
  300. workstations that do not have DB2/2 or CAE/2 installed. If you do not have 
  301. access to DB2/2 when you install Visualizer, the database objects that cannot 
  302. be used (SQL Database,  SQL Table, and SQL View) are not placed in the OS/2 
  303. Templates or Visualizer Shadows of templates folders. 
  304.  
  305. If DB2/2 is installed after Visualizer, the SQL Database,  SQL Table, and SQL 
  306. View objects are automatically placed in the OS/2 Templates folder. You can 
  307. then create shadows of the objects in the Visualizer Shadows of templates 
  308. folder manually. 
  309.  
  310.  
  311. ΓòÉΓòÉΓòÉ 4.3.2. Sample DB2/2 database ΓòÉΓòÉΓòÉ
  312.  
  313. A sample DB2/2 database called CELDIAL is supplied with Query for OS/2. This 
  314. database is provided in addition to the object samples you can select during 
  315. installation. 
  316.  
  317. The CELDIAL database must be installed separately from Query for OS/2, using 
  318. the diskette labelled Sample Database. You must have OS/2 REXX support 
  319. installed before you can install the sample database. Further information about 
  320. how to install this database, and about using all the samples provided, can be 
  321. found by double-clicking on the Using Query for OS/2 Samples online manual in 
  322. the Samples folder. 
  323.  
  324.  
  325. ΓòÉΓòÉΓòÉ 4.3.3. Visualizer optional products ΓòÉΓòÉΓòÉ
  326.  
  327. A number of Visualizer optional products are separately available. These 
  328. include: 
  329.  
  330. o IBM Visualizer Charts for OS/2 
  331. o IBM Visualizer Development for OS/2 
  332. o IBM Visualizer Ultimedia* Query for OS/2 
  333. o IBM Visualizer Plans for OS/2 
  334. o IBM Visualizer Procedures for OS/2 
  335. o IBM Visualizer Statistics for OS/2 
  336.  
  337. The optional products are installed, updated, and deleted using the same 
  338. procedures as for Query for OS/2 unless otherwise noted in the manual supplied 
  339. with the optional product. 
  340.  
  341.  
  342. ΓòÉΓòÉΓòÉ 4.3.4. REXX in Visualizer ΓòÉΓòÉΓòÉ
  343.  
  344. Several items in Visualizer use REXX. Because REXX is an optional part of the 
  345. OS/2 installation, make sure that REXX is installed on your workstation if you 
  346. plan to use: 
  347.  
  348. o Autologon for applications that access data 
  349.  
  350. o The sample installation programs used for DDCS support of DB2/2, DB2/VM & VSE 
  351.   (SQL/DS)*, and OS/400* 
  352.  
  353.  
  354. ΓòÉΓòÉΓòÉ 4.3.5. Using Visualizer with Personal Application System/2 ΓòÉΓòÉΓòÉ
  355.  
  356. Personal Application System/2 Version 3 products are compatible with 
  357. Visualizer. If you want to use Visualizer and Personal Application System/2 
  358. together on the same workstation, follow these steps before installing 
  359. Visualizer. 
  360.  
  361.  1. Insert the Visualizer Personal AS Version 3 registration diskette into your 
  362.     diskette drive. 
  363.  
  364.  2. At an OS/2 command prompt, type: 
  365.  
  366.         a:pasv3reg deregister
  367.  
  368.     Then press Enter. 
  369.  
  370.  3. Shut down and restart the workstation. 
  371.  
  372.  4. Install Visualizer. 
  373.  
  374.  
  375. ΓòÉΓòÉΓòÉ 4.3.5.1. Running Personal Application System/2 with Visualizer ΓòÉΓòÉΓòÉ
  376.  
  377. By default, Visualizer is used to open both Personal Application System/2 and 
  378. Visualizer objects. If you want to open an object using Personal Application 
  379. System/2 instead of Visualizer: 
  380.  
  381.  1. Open the object's pop-up menu. 
  382.  
  383.  2. Select the arrow to the right of Open. 
  384.  
  385.  3. Select Personal AS from the cascade menu. 
  386.  
  387.  
  388. ΓòÉΓòÉΓòÉ 4.3.5.2. Deleting Personal Application System/2 ΓòÉΓòÉΓòÉ
  389.  
  390. If you have Visualizer and Personal Application System/2 installed on the same 
  391. workstation and want to delete Personal Application System/2: 
  392.  
  393.  1. Delete Personal Application System/2 using the method described in Personal 
  394.     Application System/2: Installing and Supporting, SH45-5501. 
  395.  
  396.  2. Shut down and restart the workstation. 
  397.  
  398.  3. Insert the Personal AS Version 3 registration diskette into your diskette 
  399.     drive. 
  400.  
  401.  4. To reinstate the Visualizer objects, at an OS/2 command prompt, type: 
  402.  
  403.         a:\FTBADDIN
  404.  
  405.     Then press Enter. 
  406.  
  407.  
  408. ΓòÉΓòÉΓòÉ 4.3.5.3. Deleting Visualizer ΓòÉΓòÉΓòÉ
  409.  
  410. If you have Visualizer and Personal Application System/2 installed on the same 
  411. workstation and want to delete Visualizer: 
  412.  
  413.  1. Delete Visualizer. 
  414.  
  415.  2. Shut down and restart the workstation. 
  416.  
  417.  3. Insert the Personal AS Version 3 registration diskette into your diskette 
  418.     drive. 
  419.  
  420.  4. At an OS/2 command prompt, type: 
  421.  
  422.         a:pasv3reg register
  423.  
  424.     Then press Enter. 
  425.  
  426.  5. Shut down and restart the workstation. 
  427.  
  428.  
  429. ΓòÉΓòÉΓòÉ 4.4. Management of temporary files ΓòÉΓòÉΓòÉ
  430.  
  431. Visualizer creates temporary files while it is running. To place the temporary 
  432. files in a specific directory, add the SET FTB1TEMP= statement to your 
  433. CONFIG.SYS file. For example, SET FTB1TEMP=C:\TMP directs all temporary files 
  434. to C:\TMP. 
  435.  
  436. If you do not add this statement to your CONFIG.SYS file, these files are held 
  437. in the directory identified by the SET FTB1DIR= statement. The temporary files 
  438. all begin with FTB. 
  439.  
  440. The FTB1DIR directory also contains other files that are used by Visualizer. Do 
  441. not delete any of the above files if they are present. Do not delete temporary 
  442. files if any Visualizer object is open, as the object may be using them. 
  443.  
  444.  
  445. ΓòÉΓòÉΓòÉ 5. Installing Visualizer on standalone workstations ΓòÉΓòÉΓòÉ
  446.  
  447. This chapter describes how to install Visualizer products on a standalone 
  448. workstation. You can install either from the product diskettes, or from a 
  449. directory with a distribution copy of the product. See Making a distribution 
  450. copy of Visualizer products, for more information about making a distribution 
  451. copy. 
  452.  
  453. When you install Query for OS/2, your original CONFIG.SYS file is copied to the 
  454. FTB1DIR directory as CONFIG.ORG. 
  455.  
  456. The standalone versions of Visualizer products cannot be installed on a 
  457. workstation where the LAN requester version of Visualizer is already installed. 
  458.  
  459. Note:   You are advised that a license is required for each workstation on 
  460. which Visualizer is being used. 
  461.  
  462.  
  463. ΓòÉΓòÉΓòÉ 5.1. Overview of the standalone installation process ΓòÉΓòÉΓòÉ
  464.  
  465. The Visualizer installation process performs the following tasks for a 
  466. standalone installation: 
  467.  
  468. o Transfers the product files to the installation directory 
  469.  
  470. o Creates the Visualizer folder on the workplace and registers the Visualizer 
  471.   objects 
  472.  
  473. o Updates the CONFIG.SYS file if necessary 
  474.  
  475. o Creates a Database folder in the Visualizer folder if you chose to install 
  476.   the Query for OS/2 database folder creation component. A folder is created 
  477.   for each database that you can access. 
  478.  
  479. o Copies the sample files and creates the Samples folder inside the Visualizer 
  480.   folder, 
  481.  
  482. o Copies the manuals and creates the Manuals folder inside the Visualizer 
  483.   folder, if you chose to install the Visualizer manuals. 
  484.  
  485. o Copies the tutorials and creates the Tutorials folder inside the Visualizer 
  486.   folder, if you chose to install the Visualizer tutorials. 
  487.  
  488.  
  489. ΓòÉΓòÉΓòÉ 5.2. Installing Visualizer ΓòÉΓòÉΓòÉ
  490.  
  491. To install a Visualizer product on a standalone workstation: 
  492.  
  493.  1. If you are installing from diskette, insert Diskette 1 into the diskette 
  494.     drive and, at a command prompt, enter: 
  495.  
  496.         a:\install
  497.  
  498.     where a is the name of the diskette drive. 
  499.  
  500.     If you are installing from a distribution copy on a LAN server, at a 
  501.     command prompt, enter: x:\install 
  502.  
  503.     where x is the name of the drive on which the distribution copy is stored. 
  504.  
  505.     The Product Information window is displayed. 
  506.  
  507.  2. In the Product Information window, select the OK push button. 
  508.  
  509.     The Instructions for Installation window is displayed. 
  510.  
  511.  3. After you have read the installation instructions, select the Continue push 
  512.     button. 
  513.  
  514.     The Installation and Maintenance window is displayed. This window contains 
  515.     a list of all the Visualizer products that can be installed. 
  516.  
  517.  4. From the list of products, select the standalone product you want to 
  518.     install. For example, when installing Query for OS/2, select Query for OS/2 
  519.     (Standalone). 
  520.  
  521.  5. From the Action menu, select the Install choice. 
  522.  
  523.     The Install window is displayed. 
  524.  
  525.  6. There are two check boxes in the Install window: 
  526.  
  527.    o Update CONFIG.SYS 
  528.    o Overwrite files 
  529.  
  530.     By default, the Update CONFIG.SYS check box is selected. This enables the 
  531.     installation process to automatically update the CONFIG.SYS file with the 
  532.     settings required to run Visualizer. Deselect this check box if you want 
  533.     the installation process to store the required changes in the CONFIG.ADD 
  534.     file on the boot drive and not update CONFIG.SYS. However, Visualizer 
  535.     cannot run and other Visualizer objects cannot be installed until these 
  536.     changes have been added to the CONFIG.SYS file. 
  537.  
  538.     By default, the Overwrite files check box is not selected. This means that 
  539.     the installation will prompt you if it encounters any Visualizer files in 
  540.     the installation location. Select this check box if you want to overwrite 
  541.     Visualizer files without being prompted. 
  542.  
  543.  7. Select the OK push button. 
  544.  
  545.     The Install Directories window is displayed. This window contains a list of 
  546.     all the components that are available for installation. To display a 
  547.     description of a component, select it from the Select the components that 
  548.     you want to install list, then select the Descriptions push button. 
  549.  
  550.  8. Select the components you want to install from the list. When you select a 
  551.     component or the Select all push button, the number of bytes needed for 
  552.     installation is shown. 
  553.  
  554.  9. To check that there is sufficient space to install the Visualizer product, 
  555.     select the Disk space push button. 
  556.  
  557.     The Disk Space window is displayed. This window shows how much space is 
  558.     available on all drives to which you have access, including read-only 
  559.     access. Visualizer cannot be installed on read-only drives. 
  560.  
  561. 10. Select a drive from the list on the Disk Space window. This displays the 
  562.     amount of space available and whether installation of the component is 
  563.     possible on that drive. 
  564.  
  565.     After you select a drive from the Bytes available on drive list, you can 
  566.     specify that Visualizer will be installed on the drive by selecting the 
  567.     Change directories to selected drive check box. 
  568.  
  569. 11. Select the OK push button to close the Disk Space window. 
  570.  
  571. 12. By default, Visualizer products are installed in the C:\FTW directory. If 
  572.     you want to install the product in another directory, or on another drive, 
  573.     overtype the information in the File Directory field in the Install 
  574.     Directories window. 
  575.  
  576. 13. Select the Install push button to install the components you selected. 
  577.  
  578.     On starting, the installation program checks that your workstation fulfills 
  579.     the Visualizer software requirements (see Installation requirements for 
  580.     more details). If any requirement is not met, the installation program 
  581.     displays an explanatory message and stops. 
  582.  
  583.     The Install Progress window is displayed. Also, while the product is being 
  584.     installed, details of other Visualizer products are displayed in the 
  585.     Welcome to Visualizer window. 
  586.  
  587.     If you are installing from diskette, you are prompted to insert a new 
  588.     diskette when necessary. 
  589.  
  590.     If you need to stop the installation at any point, select the Stop push 
  591.     button. You are then given the option of removing any files already copied 
  592.     during installation. 
  593.  
  594.     If the Update CONFIG.SYS check box is selected, CONFIG.BAC, a backup copy 
  595.     of your CONFIG.SYS file, is saved in the root directory of your boot drive. 
  596.     In addition, if you are installing Query for OS/2, a backup copy of your 
  597.     CONFIG.SYS file is saved in the Visualizer work directory as CONFIG.ORG. 
  598.  
  599.     When the installation is complete, a message is displayed. It informs you 
  600.     whether you need to shut down and restart the workstation before using the 
  601.     product. It also informs you whether you need to shut down and restart the 
  602.     workstation before installing another Visualizer product. 
  603.  
  604. 14. Close the installation program. 
  605.  
  606. 15. If necessary, shut down and restart the workstation. 
  607.  
  608. To start Visualizer, open the Visualizer folder and open the Visualizer object 
  609. you want to work with. 
  610.  
  611. After you install a Visualizer product, do not move files from their installed 
  612. locations. Only files in their original installed locations are updated when 
  613. you apply program temporary fixes. 
  614.  
  615.  
  616. ΓòÉΓòÉΓòÉ 6. Installing Visualizer products on a LAN server ΓòÉΓòÉΓòÉ
  617.  
  618. If your workstation is connected to a LAN, you can save disk space by running 
  619. Visualizer from a LAN server. With this type of installation, some files are 
  620. stored on your workstation, but most of Visualizer is stored on a LAN server. 
  621.  
  622. This chapter describes how to install Visualizer products onto a LAN server so 
  623. that they can be used from workstations on the LAN. Installing Visualizer 
  624. products on a LAN requester, describes how to install and run Visualizer 
  625. products from LAN requesters. 
  626.  
  627. You can install Visualizer products directly onto the LAN server, or from a 
  628. workstation that is connected to it. You cannot run Visualizer from a LAN 
  629. server directly. Instead, you must install the LAN requester version of the 
  630. Visualizer product on the server workstation and use Visualizer from there. 
  631.  
  632. LAN server versions of the Visualizer optional products do not have to be 
  633. installed on the same server as the Query for OS/2 LAN server. 
  634.  
  635. Note:   You are advised that a license is required for each workstation on 
  636. which Visualizer is being used. 
  637.  
  638.  
  639. ΓòÉΓòÉΓòÉ 6.1. Overview of the LAN server installation process ΓòÉΓòÉΓòÉ
  640.  
  641. The Visualizer installation process performs the following tasks for a LAN 
  642. server installation: 
  643.  
  644. o Transfers product files 
  645.  
  646. o Creates a Visualizer Installing and Supporting folder on the workstation that 
  647.   is used to install Visualizer onto the LAN server. This folder contains the 
  648.   installation and maintenance utility. 
  649.  
  650. Because the LAN server installation makes no changes to the CONFIG.SYS file, 
  651. there is no need to shut down and restart your workstation. 
  652.  
  653.  
  654. ΓòÉΓòÉΓòÉ 6.2. Preparing for LAN server installation ΓòÉΓòÉΓòÉ
  655.  
  656. Before you install a Visualizer product onto a LAN server, choose: 
  657.  
  658. o The LAN server to be used 
  659.  
  660. o The Visualizer installation directory (the default is C:\FTW.) 
  661.  
  662. o A network alias for the chosen location 
  663.  
  664. o The requester IDs that will have access to the network alias 
  665.  
  666. After you install a Visualizer product onto the server: 
  667.  
  668. o Give the network alias and server ID for each installed language version of 
  669.   the Visualizer product to each requester that will use the Visualizer Network 
  670.   Resource. 
  671.  
  672. o Provide each requester ID with read and execute access to the directories in 
  673.   which the Visualizer product was installed. 
  674.  
  675. o Provide a logon assignment for each user so that they are automatically 
  676.   linked to the Visualizer directories when they log on to the LAN. 
  677.  
  678.  
  679. ΓòÉΓòÉΓòÉ 6.3. Installing Visualizer on a LAN server ΓòÉΓòÉΓòÉ
  680.  
  681. To install a Visualizer product onto a LAN server: 
  682.  
  683.  1. If you are installing from diskette, insert Diskette 1 into the diskette 
  684.     drive and, at a command prompt, enter: 
  685.  
  686.         a:\install
  687.  
  688.     where a is the name of the diskette drive. 
  689.  
  690.     If you are installing from a distribution copy on a LAN server, at a 
  691.     command prompt, enter: 
  692.  
  693.         x:\install
  694.  
  695.     where x is the name of the drive on which the distribution copy of the 
  696.     Visualizer product is stored. 
  697.  
  698.     The Product Information window is displayed. 
  699.  
  700.  2. In the Product Information window, select the OK push button. 
  701.  
  702.     The Instructions for Installation window is displayed. 
  703.  
  704.  3. After you have read the installation instructions, select the Continue push 
  705.     button. 
  706.  
  707.     The Installation and Maintenance window is displayed. This window contains 
  708.     a list of all the Visualizer products that can be installed. 
  709.  
  710.  4. From the list of products, select the LAN server product. For example, when 
  711.     installing Query for OS/2, select Query for OS/2 (Server). 
  712.  
  713.  5. From the Action menu, select the Install choice. 
  714.  
  715.     The Install window is displayed. 
  716.  
  717.  6. There are two check boxes in the Install window: 
  718.  
  719.    o Update CONFIG.SYS 
  720.    o Overwrite files 
  721.  
  722.     By default, the Overwrite files check box is not selected. This means that 
  723.     the installation will prompt you if it encounters any Visualizer files in 
  724.     the installation location. Select this check box if you want to overwrite 
  725.     Visualizer files without being prompted. 
  726.  
  727.     No changes are made to the CONFIG.SYS file when Visualizer products are 
  728.     installed on a LAN server. 
  729.  
  730.  7. Select the OK push button. 
  731.  
  732.     The Install Directories window is displayed. This window contains a list of 
  733.     all the components that are available for installation. To display a 
  734.     description of a component, select it from the Select the components that 
  735.     you want to install list, then select the Descriptions push button 
  736.  
  737.  8. Select the components you want to install from the list. When you select a 
  738.     component or the Select all push button, the number of bytes needed for 
  739.     installation is shown. 
  740.  
  741.     If any of the Visualizer optional components are to be used from the LAN 
  742.     requesters, ensure they are installed on the LAN server. 
  743.  
  744.  9. To check that there is sufficient space to install the Visualizer product, 
  745.     select the Disk space push button. 
  746.  
  747.     The Disk Space window is displayed. This window shows how much space is 
  748.     available on all drives to which you have access. Visualizer cannot be 
  749.     installed on read-only drives. 
  750.  
  751. 10. Select a drive from the list on the Disk Space window. This displays the 
  752.     amount of space available, and whether installation of the component is 
  753.     possible on that drive. 
  754.  
  755.     After you select a drive from the Bytes available on drive list, you can 
  756.     specify that Visualizer will be installed on the drive by selecting the 
  757.     Change directories to selected drive check box. 
  758.  
  759. 11. Select the OK push button to close the Disk Space window. 
  760.  
  761. 12. By default, Visualizer products are installed in the C:\FTW. directory. If 
  762.     you want to install the Visualizer product in another directory, or on 
  763.     another drive, overtype the information in the File Directory field in the 
  764.     Install Directories window. 
  765.  
  766. 13. Select the Install push button to start the installation. 
  767.  
  768.     On starting, the installation program checks that your workstation fulfills 
  769.     the Visualizer software requirements (see Installation requirements for 
  770.     more details). If any requirement is not met, the installation program 
  771.     displays an explanatory message and stops. 
  772.  
  773.     The Install Progress window is displayed. Also, while the product is being 
  774.     installed, details of other Visualizer products are displayed in the 
  775.     Welcome to Visualizer window. 
  776.  
  777.     If you are installing from diskette, you are prompted to insert a new 
  778.     diskette when necessary. 
  779.  
  780.     If you need to stop the installation at any point, select the Stop push 
  781.     button. You are then given the option of removing any files already copied 
  782.     during installation. 
  783.  
  784.     When installation is complete, a message is displayed, informing you that 
  785.     the process is complete. You do not need to restart your workstation. 
  786.  
  787. 14. Close the installation program. 
  788.  
  789. You must now install the Visualizer product onto a workstation that can access 
  790. the LAN server. The next chapter describes how to install Visualizer products 
  791. on a LAN requester. 
  792.  
  793. After you install a Visualizer product, do not move files from their installed 
  794. locations. Only files in their original installed locations are updated when 
  795. you apply program temporary fixes. 
  796.  
  797.  
  798. ΓòÉΓòÉΓòÉ 7. Installing Visualizer products on a LAN requester ΓòÉΓòÉΓòÉ
  799.  
  800. This chapter describes how to install Visualizer products on a workstation so 
  801. that they can be run from a LAN server. To run Visualizer on a LAN requester, 
  802. the workstation must be attached to a LAN server on which the LAN server 
  803. component of the Visualizer product is installed. For more information about 
  804. LAN server installation, see Installing Visualizer products on a LAN server. 
  805.  
  806. A LAN requester version of a Visualizer product cannot be installed on a 
  807. workstation where the standalone version is already installed. It can be 
  808. installed and run on a workstation on which the LAN server version of 
  809. Visualizer is installed. 
  810.  
  811. Note:   You are advised that a license is required for each workstation on 
  812. which Visualizer is being used. 
  813.  
  814.  
  815. ΓòÉΓòÉΓòÉ 7.1. Overview of the LAN requester installation process ΓòÉΓòÉΓòÉ
  816.  
  817. The Visualizer installation process performs the following tasks for a LAN 
  818. requester installation: 
  819.  
  820. o Transfers the product files to the installation directory 
  821.  
  822. o Creates the Visualizer folder on the workplace and registers the Visualizer 
  823.   objects 
  824.  
  825. o Updates the CONFIG.SYS file if necessary 
  826.  
  827. o Creates a Database folder in the Visualizer folder if you chose to install 
  828.   the Query for OS/2 database folder creation component. A folder is created 
  829.   for each database that you can access. 
  830.  
  831. o Copies the sample files and creates the Samples folder inside the Visualizer 
  832.   folder, if you chose to install the Visualizer samples. 
  833.  
  834. o Copies the manuals and creates the Manuals folder inside the Visualizer 
  835.   folder, if you chose to install the Visualizer manuals. 
  836.  
  837. o Copies the tutorials and creates the Tutorials folder inside the Visualizer 
  838.   folder, if you chose to install the Visualizer tutorials. 
  839.  
  840.  
  841. ΓòÉΓòÉΓòÉ 7.2. Preparing for LAN requester installation ΓòÉΓòÉΓòÉ
  842.  
  843. Before installing a Visualizer product on a LAN requester, ensure that: 
  844.  
  845. o You have the server ID and the network alias for the location of Visualizer 
  846.  
  847. o Your requester is linked to the LAN resource where Visualizer is installed 
  848.   and that you have read and execute access to it 
  849.  
  850.  
  851. ΓòÉΓòÉΓòÉ 7.3. Installing Visualizer products onto a LAN requester ΓòÉΓòÉΓòÉ
  852.  
  853. To install Visualizer onto a LAN requester: 
  854.  
  855.  1. If you are installing from diskette, insert Diskette 1 into the diskette 
  856.     drive and, at a command prompt, enter: 
  857.  
  858.         a:\install
  859.  
  860.     where a is the name of the diskette drive. 
  861.  
  862.     If you are installing from a distribution copy on a LAN server, at a 
  863.     command prompt, enter: 
  864.  
  865.         x:\install
  866.  
  867.     where x is the name of the drive on which the distribution copy of 
  868.     Visualizer is stored. 
  869.  
  870.     The Product Information window is displayed. 
  871.  
  872.  2. In the Product Information window, select the OK push button. 
  873.  
  874.     The Instructions for Installation window is displayed. 
  875.  
  876.  3. After you have read the installation instructions, select the Continue push 
  877.     button. 
  878.  
  879.     The Installation and Maintenance window is displayed. This window contains 
  880.     a list of all the Visualizer products that can be installed. 
  881.  
  882.  4. From the list of products, select the LAN requester product. For example, 
  883.     when installing Query for OS/2, select Query for OS/2 (Requester). 
  884.  
  885.  5. From the Action menu, select the Install choice. 
  886.  
  887.     The Install window is displayed. Do not make any changes in this window. 
  888.  
  889.  6. Select the OK push button. 
  890.  
  891.     The Install Directories window is displayed. This window contains a list of 
  892.     all the components that are available for installation. To display a 
  893.     description of a component, select it from the Select the components that 
  894.     you want to install list, then select the Descriptions push button 
  895.  
  896.  7. Select the components you want to install from the list. When you select a 
  897.     component or the Select all push button, the number of bytes needed for 
  898.     installation is shown. 
  899.  
  900.  8. To check that there is sufficient space to install the Visualizer product, 
  901.     select the Disk space push button. 
  902.  
  903.     The Disk Space window is displayed. This window shows how much space is 
  904.     available on all drives to which you have access. Visualizer cannot be 
  905.     installed on read-only drives. 
  906.  
  907.  9. Select a drive from the list on the Disk Space window. This displays the 
  908.     amount of space available and whether installation of the component is 
  909.     possible on that drive. 
  910.  
  911.     After you select a drive from the Bytes available on drive list, you can 
  912.     specify that the Visualizer product will be installed on the drive by 
  913.     selecting the Change directories to selected drive check box. 
  914.  
  915. 10. Select the OK push button to close the Disk Space window. 
  916.  
  917. 11. By default, Visualizer products are installed in the C:\FTW directory. 
  918.     Change this to the drive and path of the LAN requester that you will be 
  919.     using. 
  920.  
  921. 12. By default, the directory of the LAN server installation of Visualizer 
  922.     products is set to a default of S:\. Change this to the drive and path of 
  923.     the LAN server installation of the product that you will be using. 
  924.  
  925. 13. Select the Install push button to start the installation. 
  926.  
  927.     On starting, the installation program checks that your workstation fulfills 
  928.     the Visualizer software requirements (see Installation requirements for 
  929.     more details). If any requirement is not met, the installation program 
  930.     displays an explanatory message and stops. 
  931.  
  932.     The Install Progress window is displayed. Also, while the product is being 
  933.     installed, details of other Visualizer products are displayed in the 
  934.     Welcome to Visualizer window. 
  935.  
  936.     If you are installing from diskette, you are prompted to insert a new 
  937.     diskette when necessary. 
  938.  
  939.     If you need to stop the installation at any point, select the Stop push 
  940.     button. You are then given the option of removing any files already copied 
  941.     during installation. 
  942.  
  943.     A backup copy of your CONFIG.SYS file is saved in the root directory of 
  944.     your boot drive. 
  945.  
  946.     When the installation is complete, a message is displayed. It informs you 
  947.     whether you need to shut down and restart the workstation before using the 
  948.     product. It also informs you whether you need to shut down and restart the 
  949.     workstation before installing another Visualizer product. 
  950.  
  951. 14. Close the installation program. 
  952.  
  953. 15. If necessary, shut down and restart the workstation. 
  954.  
  955. You can now run Visualizer from the LAN server. To start it, open the 
  956. Visualizer folder and open the Visualizer objects you want to work with. 
  957.  
  958. After installing Visualizer, do not move files from their installed locations. 
  959. Only files in their original installed locations are updated when you apply 
  960. program temporary fixes. 
  961.  
  962.  
  963. ΓòÉΓòÉΓòÉ 8. Making a distribution copy of Visualizer products ΓòÉΓòÉΓòÉ
  964.  
  965. A distribution copy is an alternative to installing Visualizer from diskettes. 
  966. It enables you to install the Visualizer product from a central location such 
  967. as a LAN server. This chapter explains how to make a distribution copy of a 
  968. Visualizer product. 
  969.  
  970. When you make a distribution copy of a Visualizer product, all the files from 
  971. the installation diskettes (or another distribution copy) are copied onto the 
  972. target workstation. 
  973.  
  974. You can create a distribution copy for each set of Visualizer diskettes. Each 
  975. distribution copy contains the installation information for one Visualizer 
  976. product in one language only. Therefore, you should put distribution copies of 
  977. each different Visualizer product in different locations. 
  978.  
  979. Note:   You are advised that a license is required for each workstation on 
  980. which Visualizer is being used. 
  981.  
  982.  
  983. ΓòÉΓòÉΓòÉ 8.1. Making a Visualizer distribution copy ΓòÉΓòÉΓòÉ
  984.  
  985. To make a distribution copy of a Visualizer product: 
  986.  
  987.  1. If you are creating the distribution copy from diskette, insert Diskette 1 
  988.     into the diskette drive and, at a command prompt, enter: 
  989.  
  990.         a:\install
  991.  
  992.     where a is the name of the diskette drive. 
  993.  
  994.     If you are creating the distribution copy from another distribution copy on 
  995.     a LAN server, at a command prompt, enter: 
  996.  
  997.         x:\install
  998.  
  999.     where x is the name of the drive on which the distribution copy is stored. 
  1000.  
  1001.     The Product Information window is displayed. 
  1002.  
  1003.  2. In the Product Information window, select the OK push button. 
  1004.  
  1005.     The Instructions for Installation window is displayed. 
  1006.  
  1007.  3. After you have read the installation instructions, select the Continue push 
  1008.     button. 
  1009.  
  1010.     The Installing and Maintenance window is displayed. This window contains a 
  1011.     list of all Visualizer products that can be installed. 
  1012.  
  1013.  4. From the list of products, select the distribution copy product. For 
  1014.     example, when installing Query for OS/2, select Query for OS/2 
  1015.     (Distribution Copy). 
  1016.  
  1017.  5. From the Action menu, select the Install choice. 
  1018.  
  1019.     The Install window is displayed. 
  1020.  
  1021.  6. There are two check boxes in the Install window: 
  1022.  
  1023.    o Update CONFIG.SYS 
  1024.    o Overwrite files 
  1025.  
  1026.     By default, the Overwrite files check box is not selected. This means that 
  1027.     the installation will prompt you if it encounters any Visualizer files in 
  1028.     the installation location. Select this check box if you want to overwrite 
  1029.     Visualizer files without being prompted. 
  1030.  
  1031.     No changes are made to the CONFIG.SYS file when making a distribution copy. 
  1032.  
  1033.  7. Select the OK push button. 
  1034.  
  1035.     The Install Directories window is displayed. 
  1036.  
  1037.  8. Select the Visualizer Distribution Copy component from the list. The number 
  1038.     of bytes needed for the copy is displayed. 
  1039.  
  1040.  9. To check that there is sufficient space to install the distribution copy, 
  1041.     select the Disk space push button. 
  1042.  
  1043.     The Disk Space window is displayed. This window shows how much space is 
  1044.     available on all drives to which you have access. The distribution copy 
  1045.     cannot be installed on read-only drives. 
  1046.  
  1047. 10. Select a drive on the Disk Space window. This displays the amount of space 
  1048.     available, and whether the distribution copy can be installed on that 
  1049.     drive. 
  1050.  
  1051.     After you select a drive from the Bytes available on drive list, you can 
  1052.     specify that the distribution copy will be installed on the drive by 
  1053.     selecting the Change directories to selected drive check box. 
  1054.  
  1055. 11. Select the OK push button to close the Disk Space window. 
  1056.  
  1057. 12. By default, the distribution copy is stored in the C:\FTB1\DIST directory. 
  1058.     If you want to install the distribution copy in another directory, or on 
  1059.     another drive, overtype the information in the File Directory field in the 
  1060.     Install Directories window. 
  1061.  
  1062. 13. Select the Install push button to create and install the directory copy. 
  1063.  
  1064.     The Install Progress window is displayed. 
  1065.  
  1066.     If you are creating the distribution copy from diskette, you are prompted 
  1067.     to insert a new diskette when necessary. 
  1068.  
  1069.     If you need to stop the installation at any point, select the Stop push 
  1070.     button. You are then given the option of removing any files that have 
  1071.     already been copied. 
  1072.  
  1073.     When the process is complete, a message is displayed informing you that the 
  1074.     distribution copy has been created. 
  1075.  
  1076.     No changes are made to the CONFIG.SYS file, so there is no need to shut 
  1077.     down and restart your workstation. 
  1078.  
  1079. 14. Close the installation program. 
  1080.  
  1081. You can use the distribution copy to install the Visualizer product onto a 
  1082. standalone workstation, a LAN server, or a LAN requester, by entering INSTALL 
  1083. from the location on which the distribution copy is stored. 
  1084.  
  1085.  
  1086. ΓòÉΓòÉΓòÉ 9. Automating Visualizer installation ΓòÉΓòÉΓòÉ
  1087.  
  1088. The installation of Visualizer products can be automated using the 
  1089. Configuration, Installation and Distribution (CID) method. This chapter 
  1090. describes how to create response files and command line parameters to install, 
  1091. update, and delete Visualizer non-interactively. 
  1092.  
  1093. A Visualizer product can be installed as a LAN requester only when a Visualizer 
  1094. LAN server version of the product is already installed on the network. 
  1095.  
  1096. Note:   You are advised that a license is required for each workstation on 
  1097. which Visualizer is being used. 
  1098.  
  1099.  
  1100. ΓòÉΓòÉΓòÉ 9.1. Installing Visualizer automatically ΓòÉΓòÉΓòÉ
  1101.  
  1102. To automate the installation, update, or deletion procedure of a Visualizer 
  1103. product: 
  1104.  
  1105.  1. Create a distribution copy of the Visualizer product on a LAN server. See 
  1106.     Making a distribution copy of Visualizer products for more information. 
  1107.  
  1108.  2. Check that the directory in which the Visualizer product is to be installed 
  1109.     is in the LIBPATH environment variable of the CONFIG.SYS file. If the 
  1110.     target directory is not in the LIBPATH: 
  1111.  
  1112.     a) Edit the CONFIG.SYS file and add the Visualizer installation directory 
  1113.        to the LIBPATH environment variable. 
  1114.  
  1115.     b) Shut down and restart the workstation. 
  1116.  
  1117.  3. Using an editor, create a response file. When creating a response file: 
  1118.  
  1119.    o Start each parameter on a new line 
  1120.  
  1121.    o Do not omit any parameter 
  1122.  
  1123.    o Save the response file in a directory to which the target workstation has 
  1124.      read and write access 
  1125.  
  1126.    o Do not save the response files in the target or source directory 
  1127.  
  1128.     The following table lists the response file parameters required for each 
  1129.     non-interactive operation. 
  1130.  
  1131.    Installing       FILE 
  1132.                     AUX1 
  1133.                     COMP 
  1134.                     CFGUPDATE 
  1135.                     OVERWRITE 
  1136.  
  1137.    Updating         CFGUPDATE 
  1138.                     SAVEBACKUP 
  1139.  
  1140.    Deleting         COMP 
  1141.                     DELETEBACKUP 
  1142.  
  1143.     where: 
  1144.  
  1145.    FILE 
  1146.              Specifies the target directory in which the product will be 
  1147.              installed. 
  1148.  
  1149.    AUX1 
  1150.              Specifies the directory in which the LAN server component of the 
  1151.              Visualizer product is already installed. This parameter is 
  1152.              required only for a LAN requester installation. 
  1153.  
  1154.    COMP 
  1155.              Specifies the names of the components to be installed. For the 
  1156.              U.S. English version of Query for OS/2 these are: 
  1157.  
  1158.               Query for OS/2 (English) 
  1159.               Query for OS/2 Database Folder Creation 
  1160.               Query for OS/2 Samples (English) 
  1161.               Query for OS/2 Manuals (English) 
  1162.               Query for OS/2 Tutorials (English) 
  1163.  
  1164.    Refer to Optional product install parameters for details of the component 
  1165.    names of the optional Visualizer products. 
  1166.  
  1167.    For example, to install the Query for OS/2 code, enter: 
  1168.  
  1169.       COMP=Query for OS/2 (English)
  1170.  
  1171.    Component names depend on the language you are installing and are 
  1172.    case-sensitive. When specifying the names, include all necessary blank 
  1173.    spaces, and do not enclose them in quotes. 
  1174.  
  1175.    CFGUPDATE 
  1176.              Specify CFGUPDATE=AUTO to update your CONFIG.SYS file 
  1177.              automatically. 
  1178.  
  1179.              Specify CFGUPDATE=MANUAL to place the necessary updates in a file 
  1180.              called CONFIG.ADD in the root directory of your boot drive. These 
  1181.              updates must be added to your CONFIG.SYS file before running 
  1182.              Visualizer. 
  1183.  
  1184.    OVERWRITE 
  1185.              Specify OVERWRITE=YES to overwrite files if they already exist in 
  1186.              the install directory. 
  1187.  
  1188.              Specify OVERWRITE=NO to keep the original files. 
  1189.  
  1190.    SAVEBACKUP 
  1191.              Specify SAVEBACKUP=NO to update files without a backup. 
  1192.  
  1193.              Specify SAVEBACKUP=YES to keep a backup of any files that are 
  1194.              updated. If you choose to keep a backup, you can restore the 
  1195.              updated Visualizer product back to the level it was before the 
  1196.              program temporary fix was applied. 
  1197.  
  1198.    DELETEBACKUP 
  1199.              Specify DELETEBACKUP=NO to delete the product itself. 
  1200.  
  1201.              Specify DELETEBACKUP=YES to only delete backups of any program 
  1202.              temporary fixes that have been applied. 
  1203.  
  1204.  4. Start the process from the target workstation, but not from the source or 
  1205.     target directories. Ensure that you prefix the command with the full path 
  1206.     of the distribution copy for an install operation, or the installed 
  1207.     directory for an update or delete operation. 
  1208.  
  1209.    o To install a Visualizer product, at an OS/2 command prompt enter: 
  1210.  
  1211.           INSTALL /A:I /L1:error_log /L2:history_log /O:DRIVE /R:response_file
  1212.             /S:source /C:catalog_file /P:product_name /X
  1213.  
  1214.    o To update a Visualizer product, at an OS/2 command prompt enter: 
  1215.  
  1216.           FTBWINS /A:U /L1:error_log /L2:history_log /O:DRIVE /R:response_file
  1217.             /S:source /C:catalog_file /P:product_name /X
  1218.  
  1219.    o To delete a Visualizer product, at an OS/2 command prompt enter: 
  1220.  
  1221.           FTBWINS /A:D /L1:error_log /L2:history_log /O:DRIVE /R:response_file
  1222.             /C:catalog_file /P:product_name /X
  1223.  
  1224.     where: 
  1225.  
  1226.    /A Specifies the type of operation: 
  1227.  
  1228.       I  For an install operation 
  1229.       U  For an update operation 
  1230.       D  For a delete operation 
  1231.  
  1232.    error_log Specifies the fully qualified name of the file to be used to store 
  1233.       any errors encountered during the operation. 
  1234.  
  1235.    history_log Specifies the fully qualified name of the file to be used to 
  1236.       store any messages sent by the operation. 
  1237.  
  1238.    DRIVE Specifies that the product is being installed from an OS/2 
  1239.       environment. 
  1240.  
  1241.    response_file Specifies the fully qualified name of the response file 
  1242.  
  1243.    source Specifies the fully qualified location of the distribution copy of 
  1244.       the Visualizer product. For an update operation, specify the directory of 
  1245.       the program temporary fixes or an updated distribution copy. 
  1246.  
  1247.    catalog_file Specifies the fully qualified filename of the product's catalog 
  1248.       file. The following table lists the catalog file associated with each 
  1249.       Visualizer product. 
  1250.  
  1251.       Product                       Catalog file 
  1252.       Charts for OS/2               FTCICAT.ICF 
  1253.       Development for OS/2          FTDICAT.ICF 
  1254.       Procedures for OS/2           FTPICAT.ICF 
  1255.       Plans for OS/2                FTWICAT.ICF 
  1256.       Query for OS/2                FTBICAT.ICF 
  1257.       Statistics for OS/2           FTSICAT.ICF 
  1258.       Ultimedia Query for OS/2      FTVICAT.ICF 
  1259.  
  1260.       For install, the file is located in the same directory as your 
  1261.       distribution copy. 
  1262.  
  1263.       For update, the file is located in the same directory as the program 
  1264.       temporary fix. 
  1265.  
  1266.       For delete, the file is located in the directory in which the Visualizer 
  1267.       product was installed. 
  1268.  
  1269.    product_name Specifies the product to be installed: 
  1270.  
  1271.       Query for OS/2 (Standalone) 
  1272.       Query for OS/2 (Server) 
  1273.       Query for OS/2 (Requester) 
  1274.       Query for OS/2 (English Distribution Copy) 
  1275.  
  1276.    The name must be entered exactly as it appears in the catalog file. Refer to 
  1277.    Optional product install parameters for details of the product names of the 
  1278.    optional Visualizer products. 
  1279.  
  1280.    /X Specifies a non-interactive operation. This must be the last parameter 
  1281.       specified. 
  1282.  
  1283. After the process completes, check the error log to ensure that the operation 
  1284. was successful and to find out if you need to shut down and restart the 
  1285. workstation. 
  1286.  
  1287. The following is an example of a response file that can be used to install a 
  1288. Requester copy of the English version of Query for OS/2 and the Query for OS/2 
  1289. English samples to the D:\FTW directory: 
  1290.  
  1291. FILE=D:\FTW
  1292. AUX1=X:\FTW
  1293. COMP=Query for OS/2 (English)
  1294. COMP=Query for OS/2 Samples (English)
  1295. CFGUPDATE=AUTO
  1296. OVERWRITE=NO
  1297. CREATESHADOWS=NO
  1298.  
  1299. To start this install, at an OS/2 command prompt, enter: 
  1300.  
  1301. INSTALL /A:I /L1:c:\error_log /L2:c:\history_log /O:DRIVE
  1302.   /R:x:\cid\install.rsp /S:x:\distcopy /C:x:\distcopy\ftbicat.icf
  1303.   /P:IBM Visualizer Query for OS/2 (Requester) /X
  1304.  
  1305. In this example, the distribution copy is installed on a LAN resource 
  1306. identified as X, in a subdirectory called DISTCOPY. The LAN server component is 
  1307. installed on the same resource, in a subdirectory called FTW. The response file 
  1308. has been stored on the same resource, in the CID subdirectory. 
  1309.  
  1310.  
  1311. ΓòÉΓòÉΓòÉ 10. Deleting Visualizer products ΓòÉΓòÉΓòÉ
  1312.  
  1313. This chapter describes how to delete Visualizer products from a workstation. 
  1314. You must delete all optional Visualizer products before deleting Query for 
  1315. OS/2. Preparing to delete Visualizer 
  1316.  
  1317. Although the object icons of a Visualizer product are removed when you delete 
  1318. the product, the corresponding object files are not deleted from the OS/2 file 
  1319. system. Therefore, the Visualizer folder can still contain files even when no 
  1320. icons are shown. 
  1321.  
  1322. To ensure that all objects are removed from the Visualizer folder so that it 
  1323. can be deleted, move any folders and objects that you have created within the 
  1324. folder to another location before you delete a Visualizer product from your 
  1325. workstation, 
  1326.  
  1327.  
  1328. ΓòÉΓòÉΓòÉ 10.1. Deleting Visualizer from a workstation ΓòÉΓòÉΓòÉ
  1329.  
  1330. To delete Visualizer products: 
  1331.  
  1332.  1. In the Visualizer folder, open the Utilities folder. 
  1333.  
  1334.  2. Open the Visualizer Installing and Supporting utility. 
  1335.  
  1336.  3. From the View menu, select Installed products. 
  1337.  
  1338.  4. Select the name of the Visualizer product you want to delete. 
  1339.  
  1340.  5. From the Action menu, select Delete. 
  1341.  
  1342.  6. Select the components that you want to delete. 
  1343.  
  1344.  7. Select the Delete push button to delete the components. 
  1345.  
  1346.     The Progress Indicator window is displayed. 
  1347.  
  1348.  8. When the delete process finishes, shut down and restart your workstation 
  1349.     before deleting any other Visualizer product. 
  1350.  
  1351. Some files remain in the installation location when you remove Visualizer 
  1352. products from a LAN server. After you deleted all the Visualizer products on a 
  1353. LAN server, delete the following files: 
  1354.  
  1355.    FTBINSTS.EXE 
  1356.    FTBIPRCS.EXE 
  1357.    FTBIPII.DLL 
  1358.    FTBIEXTS.DLL 
  1359.    FTBIHPLB.HLP 
  1360.    FTBIICIS.ICO 
  1361.    FTBIMSG.MSG 
  1362.  
  1363. Deleting DB2/2 
  1364.  
  1365. If you delete DB2/2, shadows of DB2/2 objects will behave unpredictably. To 
  1366. avoid this problem, always delete any shadows of SQL Table, SQL View, and SQL 
  1367. Database objects when you delete DB2/2. 
  1368.  
  1369. Re-installing Visualizer 
  1370.  
  1371. If you re-install Query for OS/2, any Query for OS/2 objects that are still 
  1372. stored on the workstation will be shown on the desktop, or in the appropriate 
  1373. folder when that location is refreshed. Objects created using an optional 
  1374. Visualizer product, are shown only if that optional product is also 
  1375. re-installed. For example, to access charts created using Charts for OS/2 you 
  1376. must re-install both Query for OS/2 and Charts for OS/2. 
  1377.  
  1378.  
  1379. ΓòÉΓòÉΓòÉ 11. Overview of data sources ΓòÉΓòÉΓòÉ
  1380.  
  1381. This chapter describes the data sources you can access with IBM Visualizer 
  1382. Query for OS/2 and the minimum levels of software required for that access. 
  1383. Visualizer objects can access and use data from many sources: 
  1384.  
  1385. o SQL data 
  1386.  
  1387.   Visualizer accesses local and remote databases in DB2/2*, DB2/6000*, DB2, 
  1388.   DB2/VM & VSE (SQL/DS), and AS/400* database. 
  1389.  
  1390.   When IBM Visualizer Query for OS/2 is installed on your workstation, you can 
  1391.   access SQL data stored in a DB2/2 database and present it in a report, or use 
  1392.   it with other Visualizer objects. Through a local area network (LAN), you can 
  1393.   use Visualizer to access data from remote sources-the data can be stored in 
  1394.   database servers on host mainframes or shared LAN resources. 
  1395.  
  1396. o Visualizer tables 
  1397.  
  1398.   Visualizer tables store your data in a non-relational format in the 
  1399.   Visualizer internal file system. 
  1400.  
  1401. o Other applications 
  1402.  
  1403.   You can exchange data with any other application that supports DDE or the 
  1404.   OS/2 clipboard. 
  1405.  
  1406. o OS/2 File System data 
  1407.  
  1408.   You can exchange data with PC products that use the following file formats: 
  1409.  
  1410.    - DBF (including dBASE IV** and Lotus** 1-2-3**) 
  1411.    - DIF 
  1412.    - Flat (FLT) 
  1413.    - List (also known as Comma Separated Variable (CSV) and Delimited ASCII 
  1414.      (DEL) ) 
  1415.    - IXF 
  1416.    - PCIXF 
  1417.    - WSF 
  1418.  
  1419. o Other AS/400 data 
  1420.  
  1421.   Instead of using DB2/2 to access AS/400 databases, you can use IBM PC 
  1422.   Support/400 Version 2.2. Additionally, PC Support/400 also provides access to 
  1423.   AS/400 physical and logical files. 
  1424.  
  1425. o Other host data 
  1426.  
  1427.   You can link to Application System on the host and access data: 
  1428.  
  1429.    - from host AS tables 
  1430.    - from tables in DB2 and DB2/VM & VSE (SQL/DS) using AS 
  1431.    - through an AS Customized Data Interface (CDI) 
  1432.    - from VSAM files using AS 
  1433.    - from ISPF files using AS 
  1434.    - from APL files using AS 
  1435.    - from QMF* queries using AS 
  1436.  
  1437. For information about using these data sources, see IBM Visualizer Query for 
  1438. OS/2: Using. 
  1439.  
  1440.  
  1441. ΓòÉΓòÉΓòÉ 11.1. Software requirements for accessing data ΓòÉΓòÉΓòÉ
  1442.  
  1443. The following diagram shows the relationship of various data sources with the 
  1444. software required to connect to them is shown in the following diagram: 
  1445.  
  1446. Depending on the software you have installed, you can access: 
  1447.  
  1448. o Visualizer tables and OS/2 data 
  1449.  
  1450.   With only Visualizer installed on your workstation, you can use Visualizer 
  1451.   tables and OS/2 file system data. 
  1452.  
  1453. o Local databases 
  1454.  
  1455.   If you have DB2/2 with the Standalone option installed on your workstation, 
  1456.   you can create and maintain local databases. 
  1457.  
  1458. o Remote workstation database 
  1459.  
  1460.   Remote DB2/2 and DB2/6000 data is available if you have either the DB2/2 
  1461.   Client or CAE/2 installed on your workstation. 
  1462.  
  1463. o Host databases 
  1464.  
  1465.   With either DDCS/2 on your LAN, or by connecting to an AIX* system that has 
  1466.   DDCS/6000, you can connect to host systems to access DB2, DB2/VM & VSE 
  1467.   (SQL/DS), and AS/400 databases. 
  1468.  
  1469. o OS/400 data 
  1470.  
  1471.   With PC Support/400 on both your workstation and the target OS/400 system, 
  1472.   you can access OS/400* databases as well as OS/400 physical and logical 
  1473.   files. 
  1474.  
  1475. o Other host data 
  1476.  
  1477.   A variety of host data formats are available by connecting to host 
  1478.   Application System using either Advanced Program-to-Program Communication 
  1479.   (APPC) or Server-Requester Programming Interface (SRPI). 
  1480.  
  1481. The minimum levels of software you need to connect to these data sources are as 
  1482. follows: 
  1483.  
  1484. On your workstation 
  1485.  
  1486. To access local OS/2 data: 
  1487.  
  1488. o IBM DATABASE 2* OS/2 (DB2/2) Version 1.0 or 1.2 
  1489.  
  1490. To access data on remote OS/2 or AIX6000 workstations, one of the following: 
  1491.  
  1492. o IBM DATABASE 2 OS/2 (DB2/2) Version 1.0 or 1.2 
  1493. o IBM DATABASE 2 Client Application Enabler/2 Version 1.1 or 1.2 
  1494.  
  1495. On your LAN 
  1496.  
  1497. To access remote data on host systems, at least one of the following: 
  1498.  
  1499. o IBM SAA* Distributed Database Connection Services/2 (DDCS/2) 
  1500.   Version 2.0 
  1501.  
  1502. o IBM SAA Distributed Database Connection Services/6000 (DDCS/6000) Version 1.1 
  1503.  
  1504. o PC Support/400 Version 2.3 
  1505.  
  1506. On the target workstation 
  1507.  
  1508. To access remote DB2 workstation data, at least one of the following: 
  1509.  
  1510. o IBM DATABASE 2 OS/2 (DB2/2) Version 1.0 or 1.2 
  1511. o IBM DATABASE 2 AIX (DB2/6000) Version 1.1 
  1512.  
  1513. On the target host system 
  1514.  
  1515. To access remote data on host systems, at least one of the following: 
  1516.  
  1517. o On an MVS system: IBM DATABASE 2 (DB2) Version 2.3 
  1518.  
  1519. o On a VM system: Structured Query Language/Data System (SQL/DS*) Version 3.3 
  1520.  
  1521. o On a VSE/ESA* system: Structured Query Language/Data System (SQL/DS) Version 
  1522.   3.4 
  1523.  
  1524. o On an AS/400 system: IBM Operating System/400* (OS/400) Version 2.3 and IBM 
  1525.   PC Support/400 Version 2.3. 
  1526.  
  1527. Using host Application System 
  1528.  
  1529. To connect to host AS using APPC: 
  1530.  
  1531. o Application System Version 3 Release 2 
  1532.  
  1533. o Network and host system hardware and software, including one of the 
  1534.   following: 
  1535.  
  1536.    - OS/2 Version 2.1 with Communications Manager/2 
  1537.  
  1538.    - OS/2 Version 2.1 with VM Programmable Workstation Communication Services 
  1539.      (VM PWSCS) 
  1540.  
  1541. To connect to host AS using SRPI: 
  1542.  
  1543. o One of the following: 
  1544.  
  1545.    - Application System Version 3 Release 2 
  1546.  
  1547.    - Application System Version 3 Release 1, plus program temporary fixes 
  1548.      (PTFs) 
  1549.  
  1550.    - Application System Version 2 Release 2, plus PTFs 
  1551.  
  1552. o Network and host system hardware and software, including OS/2 Version 2.1 
  1553.   with Communications Manager/2 
  1554.  
  1555.  
  1556. ΓòÉΓòÉΓòÉ 12. Accessing DB2/2, DB2/6000, DB2, and DB2/VM & VSE (SQL/DS) databases ΓòÉΓòÉΓòÉ
  1557.  
  1558. This chapter describes how Visualizer can access local and remote databases 
  1559. that are stored in the following database managers: 
  1560.  
  1561. o DB2/2 
  1562. o DB2 
  1563. o DB2/VM & VSE* (SQL/DS) 
  1564. o DB2/6000* 
  1565.  
  1566. There are two steps for giving Visualizer access to databases: 
  1567.  
  1568.  1. Catalog the database in the database directory of DB2/2 or CAE/2. Refer to 
  1569.     your DB2/2, or CAE/2 documentation for more information. 
  1570.  
  1571.  2. Bind Visualizer to the database. This creates packages in the database that 
  1572.     contain information that Visualizer uses to access the database. You must 
  1573.     be authorized to bind the databases, as described in Authorization for 
  1574.     binding. See Binding databases automatically for instructions for binding 
  1575.     the databases. 
  1576.  
  1577. Note:   To allow controlled access to AS/400 databases, first follow the 
  1578.         instructions in Accessing AS/400 databases. That chapter describes how 
  1579.         to create and give Visualizer access to the two physical files 
  1580.         FTBADM/TABLES and FTBADM/COLUMNS. You can use FTBCRTTABS, a 
  1581.         semi-automated sample REXX/400 procedure provided with Visualizer, to 
  1582.         create the files in the database. After creating the files, you start 
  1583.         the binding process, which creates an access package in each database. 
  1584.         Then return here and follow the instructions in this chapter to 
  1585.         complete the bind process. 
  1586.  
  1587.  
  1588. ΓòÉΓòÉΓòÉ 12.1. Authorization for binding ΓòÉΓòÉΓòÉ
  1589.  
  1590. After you catalog databases in the DB2/2 or CAE/2 database directory, you must 
  1591. bind Visualizer packages to the databases. You must be authorized to do this. 
  1592. This section describes the authorizations you need depending on the database 
  1593. manager you are accessing. 
  1594.  
  1595. To use individual tables and views within a database, you must obtain access 
  1596. from their owners or the database administrator. You can grant access to your 
  1597. tables and views to other users on your system. See IBM Visualizer Query for 
  1598. OS/2: Using for more information. 
  1599.  
  1600. When users who have these authorizations start using Visualizer objects, the 
  1601. bind process is performed automatically. If they do not have the authorization, 
  1602. then someone who has authorization must perform the bind for them as described 
  1603. in this chapter. For DB2/2 and DB2/6000 
  1604.  
  1605. Your OS/2 user ID must have the SYSADM or DBADM authority. Local administrators 
  1606. automatically have SYSADM authority on any local databases. To obtain authority 
  1607. to access remote databases, contact the appropriate database administrator. 
  1608.  
  1609. Note:   When you install OS/2, a default local administrator ID is created. It 
  1610. has a user ID of USERID and a password of PASSWORD. To change the administrator 
  1611. ID or create new user IDs, use the User Profile Management facilities provided 
  1612. by OS/2. For DB2 
  1613.  
  1614. The user ID (userid) that connects to DB2 to bind the Visualizer packages needs 
  1615. to have SYSADM authority. DB2/VM & VSE (SQL/DS) 
  1616.  
  1617. The user ID (userid) that connects to DB2/VM & VSE (SQL/DS) to bind the 
  1618. packages needs, as a minimum, the authority granted by the following SQL 
  1619. statements: 
  1620.  
  1621. GRANT DBA TO userid IDENTIFIED BY password
  1622. GRANT SELECT ON SYSTEM.SYSCATALOG TO FTBADM WITH GRANT OPTION
  1623. GRANT SELECT ON SYSTEM.SYSTABAUTH TO FTBADM WITH GRANT OPTION
  1624. GRANT SELECT ON SYSTEM.SYSUSERAUTH TO FTBADM WITH GRANT OPTION
  1625. GRANT SELECT ON SYSTEM.SYSCOLUMNS TO FTBADM WITH GRANT OPTION
  1626. GRANT SELECT ON SYSTEM.SYSVIEWS TO FTBADM WITH GRANT OPTION
  1627. GRANT SELECT ON SYSTEM.SYSINDEXES TO FTBADM WITH GRANT OPTION
  1628. GRANT SELECT ON SYSTEM.SYSKEYCOLS TO FTBADM WITH GRANT OPTION
  1629. GRANT SELECT ON SYSTEM.SYSKEYS TO FTBADM WITH GRANT OPTION
  1630.  
  1631.  
  1632. ΓòÉΓòÉΓòÉ 12.2. Binding databases automatically ΓòÉΓòÉΓòÉ
  1633.  
  1634. This section describes how to bind databases using the Visualizer Database 
  1635. Binder tool. If your installation is accessing remote databases, it is 
  1636. recommended that you or someone else bind the databases for all your users. 
  1637. Databases that are shared by many users need to be bound by only one user. 
  1638.  
  1639. Note:   If you are binding AS/400 databases, first follow the instructions in 
  1640.         Bind Visualizer to the AS/400 database, then return here and follow the 
  1641.         instructions in this section. 
  1642.  
  1643. The Database Binder: 
  1644.  
  1645. o Creates views needed by the Visualizer objects. 
  1646.  
  1647. o Binds Visualizer packages to the databases. 
  1648.  
  1649. o Grants users PUBLIC authorization. If you do not want to grant PUBLIC 
  1650.   authorization to all the users on your system, you can revoke the authorities 
  1651.   and manually grant selective authorizations. For more information, refer to 
  1652.   The Database Binder object. 
  1653.  
  1654. The Database Binder uses the bind files stored in the directory specified by 
  1655. the FTB1PATH environment variable in your CONFIG.SYS file. The output message 
  1656. files are written into the directory specified by the FTB1DIR environment 
  1657. variable. For each database, the name of the message file is the same as the 
  1658. cataloged database name followed by the extension .MSG. 
  1659.  
  1660. To bind databases automatically: 
  1661.  
  1662.  1. Open the Visualizer folder. 
  1663.  
  1664.  2. Open the Utilities folder. 
  1665.  
  1666.  3. Open the Database Binder object. 
  1667.  
  1668.  4. In the Database Binder window, select the Select All button if you want to 
  1669.     bind all the databases in the Cataloged Databases list. If you don't want 
  1670.     all the databases in the list, you can select individual ones for binding. 
  1671.  
  1672.     Deselect All removes highlighting from all the databases in the list. 
  1673.  
  1674.  5. Select OK. 
  1675.  
  1676. If you later catalog or create additional databases, you must bind them too. 
  1677.  
  1678.  
  1679. ΓòÉΓòÉΓòÉ 12.2.1. Database folder contents ΓòÉΓòÉΓòÉ
  1680.  
  1681. The Visualizer Database folder only displays those tables and views to which 
  1682. the user has been given explicit access. Visualizer is not aware of any access 
  1683. privileges that are implicitly granted by operating system dependant security 
  1684. facilities such as RACF (MVS or VM), User Profile Management (OS/2), or group 
  1685. membership (AIX). Therefore, to ensure that all required tables and views are 
  1686. displayed in the Visualizer Database folder, you must use the SQL GRANT 
  1687. statement to give database access privileges to users, even if this duplicates 
  1688. privileges granted elsewhere. 
  1689.  
  1690.  
  1691. ΓòÉΓòÉΓòÉ 12.3. Configuring DB2/2 to support Visualizer ΓòÉΓòÉΓòÉ
  1692.  
  1693. The DB2/2 configuration parameter numrc controls the maximum number of 
  1694. concurrent connections to remote databases. You can adjust this parameter using 
  1695. the Update Database Manager Configuration DB2/2 command. 
  1696.  
  1697. If you change this value, remember that each Visualizer object requires a 
  1698. separate connection to use a remote database. 
  1699.  
  1700.  
  1701. ΓòÉΓòÉΓòÉ 13. Accessing AS/400 databases ΓòÉΓòÉΓòÉ
  1702.  
  1703. This chapter describes how to enable Visualizer to access AS/400* database 
  1704. (DB2/400*) data. You must create two AS/400 physical files, FTBADM/TABLES and 
  1705. FTBADM/COLUMNS. The names of these files start with the Visualizer file prefix 
  1706. FTB. You use the REXX EXEC FTBCRTTABS to populate them with the information 
  1707. required by Visualizer. You must also have Execute authority on the access 
  1708. package for this release and SELECT authority on FTBADM/TABLES and 
  1709. FTBADM/COLUMNS for each database. Contact your database administrator for help. 
  1710.  
  1711. For each AS/400 database to be accessed from Visualizer, follow this procedure. 
  1712. The steps are detailed later in this chapter. 
  1713.  
  1714.  1. Set the coded character set identifier (CCSID) code page. 
  1715.  
  1716.  2. Create the FTBADM library on the AS/400 system. 
  1717.  
  1718.  3. Create journal files in the FTBADM library. 
  1719.  
  1720.  4. In the FTBADM library, create AS/400 physical files that will contain the 
  1721.     file definitions for FTBADM/TABLES, and FTBADM/COLUMNS. 
  1722.  
  1723.  5. Create AS/400 physical files in the FTBADM library to temporarily contain 
  1724.     the REXX EXECs FTBCRTTABS, READFILE, and WRITEFILE. 
  1725.  
  1726.  6. Start journaling for the physical files. This enables DB2/2 to insert data 
  1727.     into the files. 
  1728.  
  1729.  7. Insert the definition information for FTBADM/TABLES and FTBADM/COLUMNS from 
  1730.     DB2/2 into the AS/400 definition files. 
  1731.  
  1732.  8. Insert the REXX EXECs FTBCRTTABS, READFILE, and WRITEFILE, into the 
  1733.     temporary physical files. 
  1734.  
  1735.  9. Create the source physical file, FTBADM/QREXSRC, and copy the REXX EXECs 
  1736.     from the temporary files to members FTBCRTTABS, READFILE, and WRITEFILE. 
  1737.  
  1738. 10. Delete the temporary files and stop journaling. 
  1739.  
  1740. 11. Create FTBADM/TABLES and FTBADM/COLUMNS, using the data definition files. 
  1741.  
  1742. 12. Run FTBCRTTABS to populate FTBADM/TABLES and FTBADM/COLUMNS. 
  1743.  
  1744. 13. Bind Visualizer to the AS/400 database. 
  1745.  
  1746.  
  1747. ΓòÉΓòÉΓòÉ 13.1. Preparation ΓòÉΓòÉΓòÉ
  1748.  
  1749. Before you register Visualizer with an AS/400 database, check that: 
  1750.  
  1751. o You can establish a connection to the AS/400 database from a DB2 command 
  1752.   prompt. 
  1753.  
  1754. o You have access to an AS/400 terminal session. 
  1755.  
  1756. o Your AS/400 user ID has *SECOFR privileges or *ALLOBJ authority. 
  1757.  
  1758.  
  1759. ΓòÉΓòÉΓòÉ 13.2. Set the CCSID code page ΓòÉΓòÉΓòÉ
  1760.  
  1761. Check that the CCSID code page is set to a valid value other than 65535. 
  1762.  
  1763. If you need to change the CCSID, use the CHGSYSVAL command to change the CCSID 
  1764. setting. For example, to set the CCSID to U.S. English, at an AS/400 command 
  1765. prompt, type: 
  1766.  
  1767. chgsysval sysval(qccsid) value(037)
  1768.  
  1769. Then press Enter. 
  1770.  
  1771. For more information on CCSID code page settings, see Application System/400 
  1772. National Language Support Guide. 
  1773.  
  1774. Visualizer cannot access data that was created using CCSID 65535 (*HEX FFFF). 
  1775. However, you can change the code page of existing AS/400 files using the CHGPF 
  1776. command. For example, to set the CCSID of an existing file, type: 
  1777.  
  1778. chgpf file(library/filename) ccsid(37)
  1779.  
  1780. Then press Enter. 
  1781.  
  1782. where: 
  1783.  
  1784. library   Specifies the name of the library in which the file is stored. 
  1785. filename  Specifies the name of the physical file. 
  1786.  
  1787.  
  1788. ΓòÉΓòÉΓòÉ 13.3. Create the FTBADM library ΓòÉΓòÉΓòÉ
  1789.  
  1790. To create the FTBADM library: 
  1791.  
  1792.  1. Log on to the AS/400. 
  1793.  
  1794.  2. At an AS/400 command prompt, type: 
  1795.  
  1796.         crtlib ftbadm
  1797.  
  1798.     Then press Enter. 
  1799.  
  1800.  
  1801. ΓòÉΓòÉΓòÉ 13.4. Create journal files in the FTBADM library ΓòÉΓòÉΓòÉ
  1802.  
  1803. Use the files you create in this section to journal the temporary files, and 
  1804. then to journal the FTBADM/TABLES and FTBADM/COLUMNS files. 
  1805.  
  1806. To create the journal files, at an AS/400 command prompt, enter the following 
  1807. commands: 
  1808.  
  1809. crtjrnrcv jrnrcv(ftbadm/ftbjrnrcv)
  1810.  
  1811. crtjrn jrn(ftbadm/ftbjrn) jrnrcv(ftbadm/ftbjrnrcv)
  1812.  
  1813.  
  1814. ΓòÉΓòÉΓòÉ 13.5. Create empty data definition files ΓòÉΓòÉΓòÉ
  1815.  
  1816. Create the temporary physical files into which you later copy the data 
  1817. definition files and REXX EXECs. To create temporary physical files to contain 
  1818. the data definition for FTBADM/TABLES: 
  1819.  
  1820.  1. Create the physical files. At an AS/400 command prompt, type: 
  1821.  
  1822.         crtsrcpf file(ftbadm/ftbtab) mbr(*FILE)
  1823.  
  1824.     Then press Enter. 
  1825.  
  1826.  2. Change the physical files' attributes. At an AS/400 command prompt, type: 
  1827.  
  1828.         chgpfm file(ftbadm/ftbtab) mbr(ftbtab) srctype(pf)
  1829.  
  1830.     Then press Enter. 
  1831.  
  1832.  3. Create another file and empty member for the data definition of 
  1833.     FTBADM/COLUMNS. At an AS/400 command prompt, type: 
  1834.  
  1835.         cpyf fromfile(ftbadm/ftbtab) frommbr(ftbtab)
  1836.             tofile(ftbadm/ftbcol) tombr(ftbcol) crtfile(*YES)
  1837.  
  1838.     Then press Enter. 
  1839.  
  1840.  
  1841. ΓòÉΓòÉΓòÉ 13.6. Create temporary files for the REXX EXECs ΓòÉΓòÉΓòÉ
  1842.  
  1843. You create the REXX EXECs FTBCRTTABS, READFILE, and WRITEFILE as temporary 
  1844. files, because only the first member of a file can be accessed through DDCS/2. 
  1845. In the EXECs are stored as three members of one physical file. 
  1846.  
  1847.  1. Create the three physical source files to be used as temporary files that 
  1848.     are to receive the three REXX EXECs: 
  1849.  
  1850.     a) Create the first empty file. At an AS/400 command prompt, type: 
  1851.  
  1852.               crtsrcpf file(ftbadm/temp1) mbr(*FILE)
  1853.  
  1854.        Then press Enter. 
  1855.  
  1856.     b) Set the file's attributes. At an AS/400 command prompt, type: 
  1857.  
  1858.               chgpfm file(ftbadm/temp1) mbr(temp1) srctype(rexx)
  1859.  
  1860.        Then press Enter. 
  1861.  
  1862.  2. Copy the empty file to create two more empty files. At an AS/400 command 
  1863.     prompt, enter the following commands: 
  1864.  
  1865.         cpyf fromfile(ftbadm/temp1) frommbr(temp1)
  1866.             tofile(ftbadm/temp2) tombr(temp2) crtfile(*YES)
  1867.  
  1868.         cpyf fromfile(ftbadm/temp1) frommbr(temp1)
  1869.             tofile(ftbadm/temp3) tombr(temp3) crtfile(*YES)
  1870.  
  1871.  
  1872. ΓòÉΓòÉΓòÉ 13.7. Journal the physical files ΓòÉΓòÉΓòÉ
  1873.  
  1874. You must journal the physical files so that data can be inserted from DB2/2. To 
  1875. start journaling, at an AS/400 command prompt, enter the following commands: 
  1876.  
  1877. strjrnpf file(ftbadm/ftbtab) jrn(ftbadm/ftbjrn)
  1878.  
  1879. strjrnpf file(ftbadm/ftbcol) jrn(ftbadm/ftbjrn)
  1880.  
  1881. strjrnpf file(ftbadm/temp1)  jrn(ftbadm/ftbjrn)
  1882.  
  1883. strjrnpf file(ftbadm/temp2)  jrn(ftbadm/ftbjrn)
  1884.  
  1885. strjrnpf file(ftbadm/temp3)  jrn(ftbadm/ftbjrn)
  1886.  
  1887.  
  1888. ΓòÉΓòÉΓòÉ 13.8. Insert definitions and REXX EXECs ΓòÉΓòÉΓòÉ
  1889.  
  1890. Insert the data definition information and REXX EXECs into the AS/400 physical 
  1891. files you just created: 
  1892.  
  1893.  1. Ensure that your AS/400 is configured and cataloged to DDCS/2. 
  1894.  
  1895.  2. Log on at a workstation on which Visualizer is installed. 
  1896.  
  1897.  3. Change to the directory in which IBM Visualizer Query for OS/2 is 
  1898.     installed. This directory contains the bind and SQL files that enable 
  1899.     database access. 
  1900.  
  1901.  4. Connect to the AS/400 database to be enabled. If you are using CAE/2, at an 
  1902.     OS/2 command prompt, enter: 
  1903.  
  1904.         db2 connect to database_name [user user_id using password]
  1905.  
  1906.     If you are using DB2/2, at an OS/2 command prompt, enter: 
  1907.  
  1908.         dbm connect to database_name
  1909.  
  1910.     where: 
  1911.  
  1912.    database_name    Specifies the name of the database you want to connect to. 
  1913.    user_id          Specifies the user ID you used in step 2. 
  1914.    password         Specifies the password you used in step 2. 
  1915.  
  1916.     The user ID and password parameters are required for remote databases that 
  1917.     are defined with an authentication of DCS. 
  1918.  
  1919.     Your AS/400 user ID must be authorized to insert data into tables in the 
  1920.     FTBADM library. Contact your database administrator. 
  1921.  
  1922.  5. If you are using CAE/2, at an OS/2 command prompt, enter: 
  1923.  
  1924.         db2 -v -f ftbsqli4 > filename
  1925.  
  1926.     If you are using DB2/2, at an OS/2 command prompt, enter: 
  1927.  
  1928.         ftbsqli4 database_name > filename
  1929.  
  1930.     where: 
  1931.  
  1932.    database_name    Specifies the name of the database you want to connect to. 
  1933.    filename         Specifies the name of a file used to store the command 
  1934.                     output. 
  1935.  
  1936.     This command may take a few minutes to run. 
  1937.  
  1938.     When the command finishes, check that all steps completed successfully by 
  1939.     reviewing the contents of filename with an editor. The command may be rerun 
  1940.     if any part of the operation does not complete successfully. 
  1941.  
  1942.  
  1943. ΓòÉΓòÉΓòÉ 13.9. Copy the REXX EXECs to FTBADM/QREXSRC ΓòÉΓòÉΓòÉ
  1944.  
  1945. Copy the temporary files that hold the REXX EXECs FTBCRTTABS, READFILE, and 
  1946. WRITEFILE to separate members of the physical source file, FTBADM/QREXSRC. 
  1947.  
  1948. At an AS/400 command prompt, enter the following commands: 
  1949.  
  1950. cpyf fromfile(ftbadm/temp1) frommbr(temp1) tofile(ftbadm/qrexsrc)
  1951.     tombr(ftbcrttabs) crtfile(*YES)
  1952.  
  1953. cpyf fromfile(ftbadm/temp2) frommbr(temp2) tofile(ftbadm/qrexsrc)
  1954.     tombr(readfile) mbropt(*ADD)
  1955.  
  1956. cpyf fromfile(ftbadm/temp3) frommbr(temp3) tofile(ftbadm/qrexsrc)
  1957.     tombr(writefile) mbropt(*ADD)
  1958.  
  1959.  
  1960. ΓòÉΓòÉΓòÉ 13.10. Delete the temporary files and stop journaling ΓòÉΓòÉΓòÉ
  1961.  
  1962. Delete the temporary files. At an AS/400 command prompt, enter the following 
  1963. commands: 
  1964.  
  1965. dltf file(ftbadm/temp1)
  1966.  
  1967. dltf file(ftbadm/temp2)
  1968.  
  1969. dltf file(ftbadm/temp3)
  1970.  
  1971. Stop journaling on the files that contain the data definitions. At an AS/400 
  1972. command prompt, enter the following commands: 
  1973.  
  1974. endjrnpf file(ftbadm/ftbtab)
  1975.  
  1976. endjrnpf file(ftbadm/ftbcol)
  1977.  
  1978.  
  1979. ΓòÉΓòÉΓòÉ 13.11. Create FTBADM/TABLES and FTBADM/COLUMNS ΓòÉΓòÉΓòÉ
  1980.  
  1981. Create the FTBADM/TABLES and FTBADM/COLUMNS files and start journaling them: 
  1982.  
  1983.  1. Create the FTBADM/TABLES and FTBADM/COLUMNS. At an AS/400 prompt, enter the 
  1984.     following commands: 
  1985.  
  1986.         crtpf file(ftbadm/tables) srcfile(ftbadm/ftbtab) srcmbr(ftbtab)
  1987.  
  1988.         crtpf file(ftbadm/columns) srcfile(ftbadm/ftbcol) srcmbr(ftbcol)
  1989.  
  1990.  2. Start journaling the files to the journal file created in Create journal 
  1991.     files in the FTBADM library. At an AS/400 prompt, enter the following 
  1992.     commands: 
  1993.  
  1994.         strjrnpf file(ftbadm/tables) jrn(ftbadm/ftbjrn)
  1995.  
  1996.         strjrnpf file(ftbadm/columns) jrn(ftbadm/ftbjrn)
  1997.  
  1998.  
  1999. ΓòÉΓòÉΓòÉ 13.12. Run FTBCRTTABS to populate FTBADM/TABLES and FTBADM/COLUMNS ΓòÉΓòÉΓòÉ
  2000.  
  2001. Run the FTBCRTTABS EXEC to populate FTBADM/TABLES and FTBADM/COLUMNS with the 
  2002. information required by Visualizer. Before running FTBCRTTABS, make sure that 
  2003. the REXX source code of FTBCRTTABS is already in FTBADM/QREXSRC as members 
  2004. FTBCRTTABS, READFILE, and WRITEFILE. 
  2005.  
  2006. To avoid file contention and shorten the run time, run this program outside 
  2007. periods of peak activity on the AS/400. You must have *SECOFR privileges or 
  2008. have *ALLOBJ authority to run FTBCRTTABS because read authority to 
  2009. QSYS/QADBXREF cannot be granted to other AS/400 users. 
  2010.  
  2011. To run FTBCRTTABS directly, at an AS/400 command prompt, enter the strrexprc 
  2012. command in the following format: 
  2013.  
  2014. strrexprc srcfile(ftbadm/qrexsrc) srcmbr(ftbcrttabs) parm('parms')
  2015.  
  2016. where parms are the user-supplied parameters. 
  2017.  
  2018. To speed up run time, FTBCRTTABS can also be run as a batch command. To submit 
  2019. FTBCRTTABS as a command to batch, at an AS/400 command prompt, enter the 
  2020. strrexprc command in the following format: 
  2021.  
  2022. sbmjob cmd(strrexprc srcfile(ftbadm/qrexsrc)
  2023.     srcmbr(ftbcrttabs) parm('parms'))
  2024.  
  2025. where parms are the user-supplied parameters. 
  2026.  
  2027. The format of the user-supplied FTBCRTTABS parameters is as follows: 
  2028.  
  2029. ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇΓö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼Γö¼ΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓöÇΓö¼ΓöÇ
  2030.    Γöé          ΓöîΓöÇΓöÇΓöÇΓöÇ,ΓöÇΓöÇΓöÇΓöÇΓöÉ   Γöé ΓööΓöÇDATADICTΓöÇΓöÿΓööΓöÇSQLCATALOGΓöÇΓöÿ
  2031.    Γöé                   Γöé   Γöé
  2032.    Γö£INCLUDEΓöÇ(ΓöÇΓöÇΓöÇlibraryΓöÇΓö┤ΓöÇ)ΓöÇΓöñ
  2033.    Γöé          ΓöîΓöÇΓöÇΓöÇΓöÇ,ΓöÇΓöÇΓöÇΓöÇΓöÉ   Γöé
  2034.    Γöé                   Γöé   Γöé
  2035.    ΓööEXCLUDEΓöÇ(ΓöÇΓöÇΓöÇlibraryΓöÇΓö┤ΓöÇ)ΓöÇΓöÿ
  2036.  
  2037. INCLUDE 
  2038.             Restricts the views to a particular set of libraries. 
  2039.  
  2040. EXCLUDE 
  2041.             Specifies all libraries except a library set. 
  2042.  
  2043.             INCLUDE and EXCLUDE are mutually exclusive. An error message is 
  2044.             displayed if both are specified. To save run time, you can specify 
  2045.             these choices for a limited number of libraries. 
  2046.  
  2047. library 
  2048.             Provides simple masking by using the * suffix. For example, 
  2049.             INCLUDE(FTB*,LIB2,LIB4) selects all libraries beginning with FTB, 
  2050.             plus the libraries LIB2 and LIB4. The EXCLUDE parameter can be used 
  2051.             in the same manner. 
  2052.  
  2053. DATADICT 
  2054.             Specifies whether the data dictionary files are to be added to the 
  2055.             tables. If DATADICT is not specified, these files are ignored. This 
  2056.             refers only to files that begin with QIDCT. Ignoring these files 
  2057.             reduces run time. 
  2058.  
  2059. SQLCATALOG 
  2060.             Specifies whether the SQL catalog files are to be added to the 
  2061.             tables. If SQLCATALOG is not specified, the SQL catalog files are 
  2062.             ignored. This refers to only the files created when an SQL/400* 
  2063.             CREATE COLLECTION command is run, such as QSQCOLUMNS, QSQTABLES, 
  2064.             and SYSINDEXES and others. Ignoring these files reduces run time. 
  2065.  
  2066. The following command is an example of user-supplied parameters that generate 
  2067. FTBADM/TABLES and FTBADM/COLUMNS for all tables in the FTBTESTLIB library: 
  2068.  
  2069. strrexprc srcfile(ftbadm/qrexsrc) srcmbr(ftbcrttabs)
  2070.     parm('include(ftbtestlib) datadict')
  2071.  
  2072.  
  2073. ΓòÉΓòÉΓòÉ 13.12.1. Considerations when running FTBCRTTABS ΓòÉΓòÉΓòÉ
  2074.  
  2075. o FTBCRTTABS checks that FTBADM/TABLES and FTBADM/COLUMNS are created in the 
  2076.   correct format. If they are not created correctly, FTBCRTTABS stops and 
  2077.   displays the following messages: 
  2078.  
  2079.    - table object in error with CHKOBJ return code code 
  2080.  
  2081.    - FTBADM/TABLES and FTBADM/COLUMNS must be created before this program is 
  2082.      run. Refer to installation guide 
  2083.  
  2084. o If the parameters are incorrect, the program ends, and one of the following 
  2085.   messages is displayed: 
  2086.  
  2087.    - Invalid expression ignored in parms field expression 
  2088.  
  2089.    - INCLUDE must be followed by a bracketed list of libraries 
  2090.  
  2091.    - EXCLUDE must be followed by a bracketed list of libraries 
  2092.  
  2093.    - INCLUDE and EXCLUDE can not be specified together 
  2094.  
  2095.    - Right parenthesis missing on INCLUDE 
  2096.  
  2097.    - Right parenthesis missing on EXCLUDE 
  2098.  
  2099.    - Invalid entry in parameter list with entries library list. Each entry must 
  2100.      be a word separated by a comma (,), without any embedded spaces. 
  2101.  
  2102. o FTBCRTTABS processes QSYS/QADBXREF, and places information about each 
  2103.   database file in FTBADM/TABLES and FTBADM/COLUMNS. Visualizer can access 
  2104.   files that are not in the FTBADM/TABLES file. However, such files are not 
  2105.   displayed when you list the contents of the AS/400 database. 
  2106.  
  2107.   Messages are displayed if the program encounters error conditions, such as 
  2108.   when a file has no field information, or when FTBADM/TABLE or FTBADM/COLUMNS 
  2109.   are already in use. These messages have the following format: 
  2110.  
  2111.    - Error obtaining field information about object code 
  2112.  
  2113.      where: 
  2114.  
  2115.       object    Is a valid file for which data is to be included in the files 
  2116.                 FTBADM/TABLES and FTBADM/COLUMNS. 
  2117.       code      Represents the code returned from the DSPFFD command used to 
  2118.                 acquire this information. 
  2119.  
  2120.    - Error occurred writing to file. Make sure the file is not being used 
  2121.      elsewhere and try again 
  2122.  
  2123.      where: 
  2124.  
  2125.       file      Is either FTBADM/TABLES or FTBADM/COLUMNS. 
  2126.  
  2127. FTBCRTTABS might request too much memory to store the information about the 
  2128. appropriate files. The job may fail if resources are exhausted. Therefore, 
  2129. include only libraries that are needed. Specify DATADICT and SQLCATALOG choices 
  2130. only when those resources are needed. This also helps to minimize the run time. 
  2131.  
  2132. The administrator should maintain the list of required libraries that are 
  2133. supplied as input to FTBCRTTABS. When a file is required within a library, the 
  2134. whole library is searched for valid files. 
  2135.  
  2136.  
  2137. ΓòÉΓòÉΓòÉ 13.13. Bind Visualizer to the AS/400 database ΓòÉΓòÉΓòÉ
  2138.  
  2139. Use the Visualizer Database Binder object to complete the database binding by 
  2140. following the instructions in Binding databases automatically. 
  2141.  
  2142.  
  2143. ΓòÉΓòÉΓòÉ 14. Accessing AS/400 data using PC Support/400 ΓòÉΓòÉΓòÉ
  2144.  
  2145. This chapter describes how to use Visualizer with PC Support/400 to: 
  2146.  
  2147. o Access data from AS/400 files (physical and logical) 
  2148. o Access data from SQL tables and views on the AS/400 
  2149. o Store data into AS/400 files 
  2150. o Store data into SQL tables on the AS/400 
  2151.  
  2152. For example, you can create a Visualizer report from data you hold on the 
  2153. AS/400 and save the report into a shared folder on the AS/400 using an OS/2 
  2154. file format. You can then include the report either in a document on the AS/400 
  2155. or in a word processor document on your workstation. 
  2156.  
  2157. To access AS/400 databases from Visualizer using IBM SAA* Distributed Database 
  2158. Connection Services/2, see Accessing AS/400 databases. 
  2159.  
  2160. If you have PC Support/400 installed, you can access AS/400 data directly from 
  2161. Query, Report, and Visualizer table objects. In Visualizer table, the Type list 
  2162. is in the Import window, which is available from the Table menu. 
  2163.  
  2164. For example, if you want to create a report and all the data you need is 
  2165. already present in one AS/400 physical file, logical file, SQL table, or SQL 
  2166. view, you can access the data directly from the Visualizer table, Query, and 
  2167. Report objects. If you want to combine data held on the AS/400 with data held 
  2168. in Visualizer tables, first copy the AS/400 data into a Visualizer table. Then 
  2169. use Visualizer Query to combine the Visualizer tables. 
  2170.  
  2171.  
  2172. ΓòÉΓòÉΓòÉ 14.1. Preparing to use the AS/400 ΓòÉΓòÉΓòÉ
  2173.  
  2174. Before accessing AS/400 data from Visualizer for the first time, you need to: 
  2175.  
  2176.  1. Ensure that PC Support/400 is installed on your workstation. See AS/400 PC 
  2177.     Support/400 OS/2 Installation and Administration Guide. 
  2178.  
  2179.  2. Ensure that Communications Manager/2 is configured correctly for PC 
  2180.     Support/400. 
  2181.  
  2182.  3. Make a note of your AS/400 system name, also known as the partner logical 
  2183.     unit (PLU) alias, as defined in Communications Manager/2. You need it to 
  2184.     reply to a Visualizer prompt. If you do not know your PLU alias, contact 
  2185.     your system administrator. 
  2186.  
  2187.  
  2188. ΓòÉΓòÉΓòÉ 14.2. Example of accessing AS/400 data ΓòÉΓòÉΓòÉ
  2189.  
  2190. This is an example of how to access data from the AS/400 within a Visualizer 
  2191. report. Use similar steps to access data within the Query and Visualizer table 
  2192. objects. 
  2193.  
  2194.  1. Start your PC Support/400 session, if you have not already done so. 
  2195.  
  2196.  2. Create a new report: 
  2197.  
  2198.     a) Open the Visualizer folder. 
  2199.  
  2200.     b) Open the Shadows of Templates folder. 
  2201.  
  2202.     c) Drag the Reports for OS/2 template to a folder or the desktop. 
  2203.  
  2204.        An unnamed report window is displayed. 
  2205.  
  2206.  3. Select  from the tool bar. 
  2207.  
  2208.     The Select a Table or Query window is displayed. 
  2209.  
  2210.  4. Select AS/400 from the Type list. 
  2211.  
  2212.     The AS/400 System Name window is displayed. 
  2213.  
  2214.  5. In AS/400 System Name, type the AS/400 system name (PLU alias). 
  2215.  
  2216.  6. Select OK. The AS/400 libraries you can access are displayed in the 
  2217.     Locations list. The information in the list is taken from the Visualizer 
  2218.     Profile object. 
  2219.  
  2220.     Visualizer needs to have the AS/400 system name defined so that it can 
  2221.     communicate with the AS/400 using PC Support/400. If you have not started 
  2222.     PC Support/400, Visualizer issues a message asking you to do so. 
  2223.  
  2224.  7. Do one of the following: 
  2225.  
  2226.    o From the Locations list, select the AS/400 library that contains the file 
  2227.      you want to use. 
  2228.  
  2229.    o Type \library in the Location field following the AS/400 name. 
  2230.  
  2231.     The files are then displayed in the Locations list. 
  2232.  
  2233.  8. Select the AS/400 file you want from Locations. The AS/400 file members are 
  2234.     now shown in the Names list. 
  2235.  
  2236.  9. From Names, select the AS/400 file member that provides the data for the 
  2237.     report you want to create. 
  2238.  
  2239. 10. Select OK. 
  2240.  
  2241.     The Select Columns window of Visualizer Report is displayed. 
  2242.  
  2243. 11. Complete and save the report. See IBM Visualizer Query for OS/2: Using for 
  2244.     more information about creating reports. 
  2245.  
  2246. There are differences in the way data is stored in Visualizer, SQL databases, 
  2247. and the AS/400 system. The differences are described in Data conversions. 
  2248.  
  2249.  
  2250. ΓòÉΓòÉΓòÉ 15. Accessing host data using Application System ΓòÉΓòÉΓòÉ
  2251.  
  2252. You can use IBM Visualizer Query for OS/2 to access a variety of host data 
  2253. sources by connecting to Application System (AS) on MVS or VM systems. This 
  2254. chapter describes three different ways to connect to AS:  APPC, VM PWSCS, and 
  2255. SRPI connections. 
  2256.  
  2257. You can define the connection to the AS server in the Profile field on page 3 
  2258. of the Visualizer section of the Profile notebook. The profile name describes 
  2259. the type of connection to AS. Details of this profile are normally specified in 
  2260. the DASPWAPI.INI file. Your default server type can also be set in 
  2261. DASPWAPI.INI. If DASPWAPI.INI does not exist, SRPI connections using a profile 
  2262. name of DASSERV are used by default. 
  2263.  
  2264. Before connecting to AS: 
  2265.  
  2266. o Communications Manager/2 must be installed, unless you are using VM PWSCS. 
  2267.  
  2268. o For SRPI connections, ensure the following: 
  2269.  
  2270.    - The SRPI feature of your Communications Manager system is installed and 
  2271.      activated. 
  2272.  
  2273.    - You can use AS in the 3270 terminal emulation session you will use for 
  2274.      Visualizer data transfer. 
  2275.  
  2276.    - You have an SRPI profile available for you to use; see Creating SRPI 
  2277.      profiles for OS/2. 
  2278.  
  2279.    - If you are using AS on VM, ensure that you have access to the AS program 
  2280.      code (including the DASSERV MODULE). For more information, see Application 
  2281.      System: Supporting and Customizing (VM). 
  2282.  
  2283.    - If you are using AS on MVS, ensure the following: 
  2284.  
  2285.       -- The MVSSERV parameter list, ddname CHSPARM, includes an item 
  2286.          specifying DASSERV (in columns 1 to 7). 
  2287.  
  2288.       -- Appropriate definitions are in place to enable you to access the AS 
  2289.          program code. 
  2290.  
  2291. o For APPC connections, ensure that you have set up the appropriate Side 
  2292.   Information or DASPWAPI.INI entry as described in Using APPC connections. 
  2293.  
  2294. o For VM PWSCS connections, ensure that you have set up VM PWSCS definitions or 
  2295.   DASPWAPI.INI entry as described in Using VM PWSCS connections. 
  2296.  
  2297. o For APPC or VM PWSCS connections, ensure the following: 
  2298.  
  2299.    - Your support group has set up the required connections, and that the 
  2300.      required host definitions (MVS, VM, VTAM*, and so on) are in place. 
  2301.  
  2302.    - On MVS or VM, you must set up a suitable Transaction Program (TP) profile. 
  2303.      You need to know the name of this profile. The user ID that is used for 
  2304.      the connection must have access to the Transaction Program and the 
  2305.      required security authority to run the profile. 
  2306.  
  2307. o To access host data from Visualizer, you must first establish the host 
  2308.   environment that allows AS to access that host data. 
  2309.  
  2310. Your AS administrator should install any PTFs that are required to permit the 
  2311. transfer of Visualizer data and specifications. 
  2312.  
  2313. You need to know the number of the host code page that provides the correct 
  2314. character translation when data is transferred. 
  2315.  
  2316. See Application System: Client Connections, for more details. 
  2317.  
  2318.  
  2319. ΓòÉΓòÉΓòÉ 15.1. Using SRPI connections ΓòÉΓòÉΓòÉ
  2320.  
  2321. When your application requests an SRPI connection to the SRPI AS server 
  2322. program, the software on your workstation requires the following information: 
  2323.  
  2324. o SRPI server name-always DASSERV for the SRPI AS server program 
  2325. o 3270 emulation session ID on which the communication operates 
  2326.  
  2327. Communications Manager/2 keeps this information in SRPI profiles. Each profile 
  2328. has a name, called a SRPI alias. 
  2329.  
  2330. If you are running an application using an SRPI connection between AS and 
  2331. Visualizer, the communication profile used must specify a type of SRPI and the 
  2332. correct SRPI alias as the servername. 
  2333.  
  2334.  
  2335. ΓòÉΓòÉΓòÉ 15.1.1. Creating SRPI profiles for OS/2 ΓòÉΓòÉΓòÉ
  2336.  
  2337. A default SRPI profile may already have been defined. Contact your OS/2 
  2338. workstation coordinator to confirm whether you need to set up your own SRPI 
  2339. profile. If you need to, follow these instructions to create or change an SRPI 
  2340. profile: 
  2341.  
  2342.  1. Open the Communications Manager/2 folder. 
  2343.  
  2344.  2. Select Communications Manager Setup. 
  2345.  
  2346.     The Communications Manager Setup window is displayed. 
  2347.  
  2348.  3. Select Setup. 
  2349.  
  2350.     The Open Configuration window is displayed. 
  2351.  
  2352.  4. Select or type in the name of your Communications Manager/2 configuration 
  2353.     file. Ask your installation's OS/2 workstation coordinator if you do not 
  2354.     know this name. 
  2355.  
  2356.  5. Select OK. 
  2357.  
  2358.     The Communication Manager Configuration Definition window is displayed. 
  2359.  
  2360.  6. Select the correct connection type on the Workstation Connection Type list. 
  2361.  
  2362.  7. Select 3270 emulation on the Feature or Application list. 
  2363.  
  2364.  8. Select Configure. 
  2365.  
  2366.     The 3270 Emulation through connection_type window is displayed. 
  2367.  
  2368.  9. Select Advanced. 
  2369.  
  2370.     The Communications Manager Profile List Sheet window is displayed. 
  2371.  
  2372. 10. Select 3270 SRPI. 
  2373.  
  2374. 11. Select Configure. 
  2375.  
  2376.     The Server Requester Programming Interface window is displayed. 
  2377.  
  2378. 12. If you want to update an existing profile or the associated 3270 session 
  2379.     information: 
  2380.  
  2381.    o To update an existing profile: 
  2382.  
  2383.        a) Select the required profile from the list. 
  2384.  
  2385.           The Server Alias window for that profile is displayed. 
  2386.  
  2387.        b) Change the comment, if appropriate. 
  2388.  
  2389.        c) Type in the server name.  This must be DASSERV for AS. 
  2390.  
  2391.        d) Select Save to save this information. 
  2392.  
  2393.    o To change the 3270 session for an existing profile: 
  2394.  
  2395.        a) Select the required 3270 Long Session name from the list. 
  2396.  
  2397.        b) Select the arrow next to that 3270 Long Session name. 
  2398.  
  2399.        c) Select the required 3270 session from the list. 
  2400.  
  2401.     If you want to create a new profile or the associated 3270 session 
  2402.     information: 
  2403.  
  2404.    o Creating a new profile: 
  2405.  
  2406.        a) Select File. 
  2407.  
  2408.        b) Select New. 
  2409.  
  2410.           The Server Alias window is displayed. 
  2411.  
  2412.        c) Add a comment, if necessary. 
  2413.  
  2414.        d) Type in the server name. This must be DASSERV for AS. 
  2415.  
  2416.        e) Select Save as. 
  2417.  
  2418.        f) Type in the new profile name. 
  2419.  
  2420.        g) Select OK. 
  2421.  
  2422.    o Adding the 3270 session information: 
  2423.  
  2424.        a) Select the new profile from the list. 
  2425.  
  2426.        b) Select the arrow next to the 3270 Long Session name field to display 
  2427.           the list. 
  2428.  
  2429.        c) Select the appropriate 3270 session. 
  2430.  
  2431. 13. Close the Server Requester Programming Interface window. 
  2432.  
  2433.     The Communications Manager Profile List Sheet window is displayed. 
  2434.  
  2435. 14. Select Close. 
  2436.  
  2437.     The Communications Manager Configuration Definition window is displayed. 
  2438.  
  2439. If you need to, follow these instructions to configure the Communications 
  2440. Manager/2 workstation information: 
  2441.  
  2442.  1. Select Options from the menu bar. 
  2443.  
  2444.  2. Select Change workstation information from the list. 
  2445.  
  2446.     The Workstation Information window is displayed. 
  2447.  
  2448.  3. If SRPI is not already selected, select SRPI. 
  2449.  
  2450.  4. Select OK. 
  2451.  
  2452.     The Communications Manager Configuration Definition window is displayed. 
  2453.  
  2454.  5. Select Close. 
  2455.  
  2456.     A window containing message ACS2121 is displayed: 
  2457.  
  2458.         Would you like to dynamically update your SNA resources?
  2459.  
  2460.  6. Select Yes or No, as appropriate, depending on whether you want the update 
  2461.     to be performed. 
  2462.  
  2463.  7. When the Communications Manager Setup window is displayed, select Close. 
  2464.     This returns you to the Communications Manager/2 folder. 
  2465.  
  2466. If you want to use more than one 3270 session ID for data transfer, you should 
  2467. create another SRPI profile with a different server alias. Specify the new 
  2468. server alias in the Visualizer Host AS Settings window. The default values can 
  2469. be set using the Visualizer Profile notebook. The Host AS Settings window can 
  2470. also be accessed from the Import and Export menu choices of Visualizer objects. 
  2471.  
  2472.  
  2473. ΓòÉΓòÉΓòÉ 15.1.2. Starting SRPI on MVS ΓòÉΓòÉΓòÉ
  2474.  
  2475. The communication runs in your normal TSO/E address space (user ID). On the 
  2476. workstation, switch to the 3270 emulation session and log on to TSO/E as 
  2477. normal. 
  2478.  
  2479. To establish SRPI communications mode, enter MVSSERV. The MVSSERV logo is 
  2480. displayed and communication is enabled. You can switch back to the workstation 
  2481. program and use the SRPI communication facilities. 
  2482.  
  2483. Although you can switch back to the 3270 emulation session while the 
  2484. communication facilities are in use, do not terminate MVSSERV until they have 
  2485. finished. If you terminate MVSSERV while communications facilities are still 
  2486. running, AS terminates and the workstation program may report error conditions. 
  2487.  
  2488.  
  2489. ΓòÉΓòÉΓòÉ 15.1.3. Starting SRPI on VM ΓòÉΓòÉΓòÉ
  2490.  
  2491. SRPI communication runs in your normal VM (CMS) virtual machine (user ID). On 
  2492. the workstation, you must switch to the 3270 emulation session and log on to VM 
  2493. (CMS) as normal. 
  2494.  
  2495. Ensure you have your AS minidisk or SFS directory accessed. If not, enter the 
  2496. necessary LINK or ACCESS commands or follow the procedures defined by your 
  2497. installation. 
  2498.  
  2499. To establish SRPI communications mode, enter CMSSERV. The CMSSERV logo is 
  2500. displayed, and communication is enabled. You can switch back to the workstation 
  2501. program and use the AS communication facilities. 
  2502.  
  2503. Although you can switch back to the 3270 emulation session while communication 
  2504. facilities are in use, do not terminate CMSSERV until the facilities have 
  2505. finished. If you terminate CMSSERV while communications facilities are still 
  2506. running, AS terminates and the workstation program may report error conditions. 
  2507.  
  2508. Do not use a single AS session for both communication and normal end-user 
  2509. support, such as a VMAS terminal session or the command interface. Commands 
  2510. that invoke AS should not be issued from the CMSSERV command prompt. 
  2511.  
  2512.  
  2513. ΓòÉΓòÉΓòÉ 15.1.3.1. Unsolicited messages ΓòÉΓòÉΓòÉ
  2514.  
  2515. You can avoid receiving unsolicited messages by issuing the CP command SET MSG 
  2516. OFF before starting CMSSERV. When an unsolicited screen update occurs, the 
  2517. CMSSERV logo is replaced by other data. This temporarily blocks the SRPI data 
  2518. flow. To restore the data flow, switch to the 3270 emulation session and 
  2519. restore the logo (for example, by clearing the screen). 
  2520.  
  2521.  
  2522. ΓòÉΓòÉΓòÉ 15.1.4. Logging on automatically with SRPI ΓòÉΓòÉΓòÉ
  2523.  
  2524. Many Visualizer objects can use REXX commands to start the connection to AS (if 
  2525. the connection is not already started). Specify the logon command in the Host 
  2526. AS Settings window. The default logon command is FTBLNMV for MVS and FTBLNVM 
  2527. for VM. The following sample files are provided for you to customize: 
  2528.  
  2529. FTBLNMV.CMD for TSO/E logon 
  2530. FTBLNVM.CMD for VM logon 
  2531.  
  2532. To customize a sample command file for use on your own system: 
  2533.  
  2534.  1. First copy the appropriate sample file to your own file. In the following 
  2535.     example, the file, LOGON.CMD, is used to create an autologon script for a 
  2536.     VM system: 
  2537.  
  2538.         copy ftblnvm.cmd logon.cmd
  2539.  
  2540.  2. Edit the command file to suit your installation. Customize the file between 
  2541.     the following two comment lines: 
  2542.  
  2543.         /* Start your specific logon process here          */
  2544.         ...
  2545.         /* Specific logon process ends here                */
  2546.  
  2547.     Command files are processed in a large loop. The file searches for strings 
  2548.     on the host screen and provides appropriate replies. For example: 
  2549.  
  2550.              When Findit('HOLDING') Then
  2551.                Zx = ENF(Comm_Name,'SEND','@C')
  2552.  
  2553.     looks for the word HOLDING on the host screen and sends a Clear command 
  2554.     when it is found. The definitions for the keyboard mnemonics can be found 
  2555.     in OS/2 EHLLAPI Programming Reference. 
  2556.  
  2557.  3. After you have edited your command script, use a utility such as PMREXX to 
  2558.     check for errors. PMREXX runs outside of the Visualizer environment. 
  2559.  
  2560.     For example, change the Trace 'o' to Trace 'a' in the file. This enables 
  2561.     the lines of the REXX file to be traced. Execute the logon script from an 
  2562.     OS/2 full-screen session by typing: 
  2563.  
  2564.         pmrexx command_file_name UserID NodeID Session
  2565.  
  2566.     PMREXX shows each command in the file as it is executed, together with any 
  2567.     errors that occur. 
  2568.  
  2569. After you have created a suitable command script for your environment, specify 
  2570. its name and parameters in the Host AS Settings window. 
  2571.  
  2572.  
  2573. ΓòÉΓòÉΓòÉ 15.2. Using APPC connections ΓòÉΓòÉΓòÉ
  2574.  
  2575. When your application requests an APPC (or VM PWSCS) connection to the APPC AS 
  2576. server program, the APPC software on your workstation requires the following 
  2577. information. For more details, see Application System: Client Connections. 
  2578.  
  2579. Partner LU Network address of the target computer. This is the network LU name 
  2580.    of the APPC/MVS scheduler (for MVS systems) or the AVS gateway (for VM 
  2581.    systems). Your installation's network support specialist can provide this 
  2582.    information. You can use defined alias names as well as the full network 
  2583.    name in OS/2 Communications Manager. 
  2584.  
  2585.    If you are using a VM PWSCS direct connection to your VM system (that is, 
  2586.    without using the SNA network), see VM Programmable Workstation 
  2587.    Communication Services Operating Guide and Programming Reference Version 1 
  2588.    Release 2, SC24-5645. 
  2589.  
  2590. Partner TP APPC AS server program TP name.  This is the name of the program 
  2591.    that handles APPC connections to AS. Your installation's AS product 
  2592.    coordinator should provide this information. For MVS systems, it is the name 
  2593.    of a TP profile entry. For VM systems, it is either a nickname (specified in 
  2594.    the $SERVER$ NAMES file) or the actual name of the program. 
  2595.  
  2596.    APPC AS server program TP type.  Define this as a "normal" TP, not a 
  2597.    "Service" TP. 
  2598.  
  2599. Security type Conversation security type: Same, None, or Program. Normally for 
  2600.    AS the choice is Same or Program. Follow any guidelines or standards set by 
  2601.    your installation when making your choice. For more information, see 
  2602.    Application System: Client Connections. 
  2603.  
  2604. Mode name Connection mode name-this defines some characteristics of the 
  2605.    connection. Your installation's network support specialist can tell you 
  2606.    this. A suitable mode for AS connections is #INTER, a standard mode that 
  2607.    most APPC software components support. 
  2608.  
  2609. User ID/Password If conversation security type is Program: 
  2610.  
  2611.    User ID   Conversation security user ID: your MVS (TSO/E) or VM (CMS) user 
  2612.              ID 
  2613.  
  2614.    Password  Conversation security password: the current valid password of your 
  2615.              MVS (TSO/E) or VM (CMS) user ID 
  2616.  
  2617. For more information about VM PWSCS, see Using VM PWSCS connections. 
  2618.  
  2619.  
  2620. ΓòÉΓòÉΓòÉ 15.2.1. Creating or changing Side Information on OS/2 ΓòÉΓòÉΓòÉ
  2621.  
  2622. Visualizer uses the CPI Communications interface to the APPC connection 
  2623. services. The CPI Communications architecture name for the table or file 
  2624. containing sets of this information is Side Information. The name for a single 
  2625. entry is symbolic destination name. 
  2626.  
  2627. Although conversation security type, conversation security user ID, and 
  2628. conversation security password do not form part of the symbolic destination 
  2629. name, the OS/2 implementation of CPI Communications includes them in the Side 
  2630. Information entries. You can override Side Information parameters by using the 
  2631. server profile entry, see Application System: Client Connections, for more 
  2632. information. 
  2633.  
  2634. To create or change a Side Information entry, using Communications Manager/2: 
  2635.  
  2636.  1. Open the Communications Manager/2 folder. 
  2637.  
  2638.  2. Select Communications Manager Setup. 
  2639.  
  2640.     The Communications Manager Setup window is displayed. 
  2641.  
  2642.  3. Select Setup. 
  2643.  
  2644.     The Open Configuration window is displayed. 
  2645.  
  2646.  4. Select or enter the name of your Communications Manager/2 configuration 
  2647.     file. Ask your OS/2 workstation coordinator if you do not know this name. 
  2648.  
  2649.  5. Select OK. 
  2650.  
  2651.     The Communication Manager Configuration Definition window is displayed. 
  2652.  
  2653.  6. Select the correct connection type on the Workstation Connection Type list. 
  2654.  
  2655.  7. Select CPI Communications on the Feature or Application list. 
  2656.  
  2657.  8. Select Configure. 
  2658.  
  2659.     The Communications Manager Profile List Sheet window is displayed. 
  2660.  
  2661.  9. Select SNA Features. 
  2662.  
  2663. 10. Select Configure. 
  2664.  
  2665.     The SNA Features List window is displayed. 
  2666.  
  2667. 11. If you want to add a new Side Information entry: 
  2668.  
  2669.     a) Select CPI Communications Side Info on the features list. 
  2670.  
  2671.     b) Select Create. 
  2672.  
  2673.     If you want to alter an existing Side Information entry: 
  2674.  
  2675.     a) Select CPI Communications Side Info on the features list. 
  2676.  
  2677.     b) Select the entry you wish to alter. 
  2678.  
  2679.     c) Select Change. 
  2680.  
  2681. 12. Follow the instructions on the screen to create or change the Side 
  2682.     Information entry as you require. For details of what you need to change, 
  2683.     see Using APPC connections. 
  2684.  
  2685. 13. Select Close. 
  2686.  
  2687.     The Communications Manager Profile List Sheet window is displayed. 
  2688.  
  2689. 14. Select Close. 
  2690.  
  2691.     The Communications Manager Configuration Definition window is displayed. 
  2692.  
  2693. 15. Select Close. 
  2694.  
  2695.     A window containing the message ACS2121 is displayed: 
  2696.  
  2697.         Would you like to dynamically update your SNA resources?
  2698.  
  2699.     Select Yes or No depending on whether you want the update to be performed. 
  2700.  
  2701. 16. When the Communications Manager Setup window is displayed, select Close. 
  2702.     This returns you to the Communications Manager/2 folder. 
  2703.  
  2704.  
  2705. ΓòÉΓòÉΓòÉ 15.2.2. Using the APPC AS server program on MVS systems ΓòÉΓòÉΓòÉ
  2706.  
  2707. The APPC AS server program runs in an APPC/MVS address space, not in your TSO/E 
  2708. user address space. This means that you can perform other tasks in your TSO/E 
  2709. user address space, and in MVS batch address spaces, while running an 
  2710. application that communicates with AS using an APPC or VM PWSCS connection. 
  2711. However, if another task is running AS, each address space must use a different 
  2712. AS application code. 
  2713.  
  2714. You cannot log on to an APPC/MVS address space. 
  2715.  
  2716.  
  2717. ΓòÉΓòÉΓòÉ 15.2.3. Using the APPC AS server program on VM systems ΓòÉΓòÉΓòÉ
  2718.  
  2719. The APPC AS server program runs in your own CMS virtual machine. This means 
  2720. that you cannot use your CMS virtual machine to perform other work (including 
  2721. running AS) while running an application that communicates with AS using an 
  2722. APPC connection. To enable your virtual machine to run the APPC AS server 
  2723. program, you (or your installation's VM systems administrator) must arrange for 
  2724. certain conditions to be set up. See Application System: Client Connections, 
  2725. for more details. 
  2726.  
  2727. APPC/VM queues the connection if the connection request from your application 
  2728. arrives when your virtual machine is busy (your virtual machine is not at the 
  2729. CMS Ready; prompt). When you exit from the program you are running, the APPC AS 
  2730. server program starts automatically. 
  2731.  
  2732. If your virtual machine is not logged on when the connection request from your 
  2733. application arrives, VM automatically logs your virtual machine on (in 
  2734. disconnected mode). Your PROFILE EXEC, and anything that it calls, must 
  2735. complete in disconnected mode without any intervention. For example, do not 
  2736. call facilities like RDRLIST. Upon completion of the PROFILE EXEC, your virtual 
  2737. machine must have the CMS minidisk or SFS directory containing the APPC AS 
  2738. server program accessed. 
  2739.  
  2740.  
  2741. ΓòÉΓòÉΓòÉ 15.3. Using VM PWSCS connections ΓòÉΓòÉΓòÉ
  2742.  
  2743. When your application requests a VM PWSCS connection to the APPC AS server 
  2744. program, you should do the following: 
  2745.  
  2746. o Configure the system configuration files (optional). 
  2747. o Configure the communications directory. 
  2748.  
  2749.  
  2750. ΓòÉΓòÉΓòÉ 15.3.1. Configuration files ΓòÉΓòÉΓòÉ
  2751.  
  2752. To set up VM PWSCS for use, the client workstation must be configured so that 
  2753. VM PWSCS can be run in the workstation's environment. STARTUP.CMD and 
  2754. CONFIG.SYS are updated automatically during the installation of VM PWSCS. The 
  2755. installation process also prompts for the local domain controller name and the 
  2756. user's user ID and password. Your LAN administrator should update the user 
  2757. directory file for the domain controller with this user ID and password. 
  2758.  
  2759. When VM PWSCS is installed in the client workstation, the correct statements 
  2760. are added to CONFIG.SYS. 
  2761.  
  2762. Complete descriptions of these statements are found in the OS/2 Command 
  2763. Reference. 
  2764.  
  2765. To start VM PWSCS when the client workstation is switched on, the ACPKSTRT 
  2766. command must be added to STARTUP.CMD. For example, you can specify the 
  2767. following ACPKSTRT command in STARTUP.CMD or add a program reference to the 
  2768. OS/2 Startup folder (in the OS/2 System folder). 
  2769.  
  2770. call c:\pwscs\acpkstrt c \pwscs user acpi.ini
  2771.  
  2772. For more information on configuring the system configuration files, see the VM 
  2773. PWSCS Operating Guide and Programming Reference Version 1.2. 
  2774.  
  2775.  
  2776. ΓòÉΓòÉΓòÉ 15.3.2. Communications directory file ΓòÉΓòÉΓòÉ
  2777.  
  2778. A user program must identify the following: 
  2779.  
  2780. o Location and name of the APPC AS server program 
  2781. o Conversation security type 
  2782. o Connection mode name 
  2783.  
  2784. If the conversation security type is Program (PGM), access security user ID and 
  2785. password information is also needed. This information is known as Side 
  2786. Information and is associated with a symbolic destination name. The 
  2787. communications directory file contains sets of information; each set comprises 
  2788. a symbolic destination name and its associated Side Information. 
  2789.  
  2790. The default file identifier for the communications directory is ACPI.DIR. To 
  2791. create or change an entry in the communications directory, use the VM PWSCS 
  2792. CSCMD command. This displays a window from which you can select the VM PWSCS 
  2793. CONFIGURE function and update the communications directory file. The 
  2794. communications directory information is defined as follows: 
  2795.  
  2796. Symbolic destination name The 1- to 8-character name as specified in the user 
  2797.   program. 
  2798.  
  2799. Partner LU name An LU name qualifier plus a target LU name. It is written as: 
  2800.  
  2801.     luname_qualifier.target_lu
  2802.  
  2803.   The LU name qualifier is an 8-byte name that specifies whether the APPC AS 
  2804.   server program is in an adjacent TSAF collection (in which case it is the 
  2805.   name of the VM system that is common to both the CS and the TSAF collection), 
  2806.   or it is in the SNA network (in which case it is the name of the AVS or OS/2 
  2807.   gateway). 
  2808.  
  2809.   The target LU name is an 8-byte name that specifies one of the following: 
  2810.  
  2811.    o User ID where the APPC AS server program resides (if the APPC AS server 
  2812.      program is in an adjacent TSAF collection) 
  2813.  
  2814.    o AVS gateway name through which the APPC AS server program is accessed (if 
  2815.      the APPC AS server program resides on a VM system) 
  2816.  
  2817.    o Remote LU name where the APPC AS server program is located 
  2818.  
  2819. Transaction Program name The 1- to 64-character APPC AS server program name as 
  2820.   defined at the target LU. 
  2821.  
  2822.    o If the APPC AS server program is located in a VM system, this may be the 
  2823.      nickname specified in the $SERVER$ NAMES file (on the user ID to which the 
  2824.      connection is to be directed), or the actual program name. 
  2825.  
  2826.    o If the APPC AS server program is located in an MVS system, this is the 
  2827.      name of a TP profile specified in the TP profile data set associated with 
  2828.      the target LU. 
  2829.  
  2830. Mode name The 1- to 8-byte field that defines some characteristics of the 
  2831.   connection. A suitable mode is #INTER. 
  2832.  
  2833. Security Specifies the security level of the conversation. It is either NONE, 
  2834.   SAME, or PGM. 
  2835.  
  2836. Security user ID The 1- to 8-character user ID of the requester on the target 
  2837.   LU. It is used only if conversation security is SECURITY(PGM). 
  2838.  
  2839. Security password The 1- to 8-character password of the target LU user ID. It 
  2840.   is used only if conversation security is SECURITY(PGM). 
  2841.  
  2842. For more information about VM PWSCS, see Application System: Client 
  2843. Connections. 
  2844.  
  2845.  
  2846. ΓòÉΓòÉΓòÉ 16. Diagnosing Visualizer problems ΓòÉΓòÉΓòÉ
  2847.  
  2848. This chapter provides information to help you resolve problems that may occur 
  2849. while using Visualizer. 
  2850.  
  2851. During normal operation, Visualizer displays information, warning, and error 
  2852. messages. For example, a message might inform you that an event has occurred or 
  2853. prompt you when an action is required. However, Visualizer may also display 
  2854. messages that indicate it has encountered an unexpected error condition. This 
  2855. chapter describes what to do if you encounter a Visualizer problem and explains 
  2856. how to use the Visualizer diagnostic aids. 
  2857.  
  2858.  
  2859. ΓòÉΓòÉΓòÉ 16.1. Error messages ΓòÉΓòÉΓòÉ
  2860.  
  2861. In Visualizer, messages are displayed when the cause of a problem is unclear 
  2862. and there is no preprogrammed solution. These are called unexpected errors. 
  2863.  
  2864. If a message identifies an unexpected error, make a note of the message number 
  2865. and the circumstances under which the error occurred. For example, try to 
  2866. record the following: 
  2867.  
  2868. o What you were doing immediately before the error occurred 
  2869.  
  2870. o What happened after the error occurred 
  2871.  
  2872. o Details of any other software that was running at the time 
  2873.  
  2874. o Details of any recent changes made to settings, row, or column selections 
  2875.  
  2876. o Whether you were using new data, or data that you had successfully used 
  2877.   before 
  2878.  
  2879. o Whether the data was held on your workstation or was imported from somewhere 
  2880.   else 
  2881. In addition, if the problem occurred while an object was accessing a database, 
  2882. check whether the problem was caused by the database by referring to the 
  2883. appropriate database manual. 
  2884.  
  2885. Try to reproduce the error. This is important, because it helps you to 
  2886. determine the cause of the problem and also helps the Visualizer support staff 
  2887. if you need to submit a defect report. 
  2888.  
  2889.  
  2890. ΓòÉΓòÉΓòÉ 16.1.1. Messages FTB4421, FTB4600, and FTB4801 ΓòÉΓòÉΓòÉ
  2891.  
  2892. Visualizer may issue one of these messages if your workstation has insufficient 
  2893. free hard disk space. Check that free space is available so that the 
  2894. SWAPPER.DAT file can expand. 
  2895.  
  2896. If there is insufficient free space on the drive on which the SWAPPER.DAT file 
  2897. is located, move it to another drive or move other files to free some space. 
  2898. Try to make sure that the SWAPPER.DAT file is not located on the same disk as 
  2899. the print spool file or the Visualizer temporary files. 
  2900.  
  2901. If there is sufficient free disk space on the SWAPPER.DAT drive, the problem 
  2902. you have encountered is likely to be within Visualizer itself. In this case, 
  2903. you or your local service personnel should report the problem to IBM using the 
  2904. procedure detailed in Reporting defects to IBM. 
  2905.  
  2906.  
  2907. ΓòÉΓòÉΓòÉ 16.2. The Visualizer runtime log files ΓòÉΓòÉΓòÉ
  2908.  
  2909. Visualizer can produce several log files that may be used as diagnostic aids 
  2910. for problems that are encountered when running Visualizer. Some logs are 
  2911. created automatically, other logs are created only when specified. This section 
  2912. describes the logs and explains how to produce them. 
  2913.  
  2914. The logs are stored in the Work folder in the Visualizer folder. 
  2915.  
  2916.  
  2917. ΓòÉΓòÉΓòÉ 16.2.1. The Visualizer install logs ΓòÉΓòÉΓòÉ
  2918.  
  2919. During installation, any messages that are displayed are also saved in the 
  2920. FTBERROR.LOG file. This file is located on the boot drive of the workstation 
  2921. you are installing from. 
  2922.  
  2923. During an install or delete operation, the installer cleans up any SQL 
  2924. Database, SQL Table, and SQL View objects found on the workstation. The 
  2925. FTBDIN.LOG file records this information. 
  2926.  
  2927.  
  2928. ΓòÉΓòÉΓòÉ 16.2.2. The Visualizer message log ΓòÉΓòÉΓòÉ
  2929.  
  2930. While it is running, Visualizer automatically logs any messages in the FTBLOG 
  2931. file. The log is a useful source of information when you are trying to find the 
  2932. cause of a problem. However, because the oldest information in the log is lost 
  2933. when the log exceeds 16KB, save a copy of it as soon as possible after a 
  2934. problem has occurred. 
  2935.  
  2936. Finding the message log 
  2937.  
  2938. FTBLOG is located in the directory identified by the SET FTB1DIR statement in 
  2939. the CONFIG.SYS file. To identify the FTB1DIR directory name, either type SET at 
  2940. an OS/2 command prompt, or look in the CONFIG.SYS file. 
  2941.  
  2942. Accessing the message log 
  2943.  
  2944. A Visualizer object continues to generate messages until it is closed. 
  2945. Therefore, to ensure that the message log is complete, close all your 
  2946. Visualizer objects, then copy the log files using the OS/2 COPY command. 
  2947.  
  2948. Browsing the message log 
  2949.  
  2950. Each log entry starts with a time-stamp record that indicates when an event 
  2951. occurred. The time stamp is followed by such information as printer parameters, 
  2952. values of internal variables, and message numbers. 
  2953.  
  2954. The log can also contain additional error messages that were not displayed. 
  2955. This is because Visualizer reduces the number of messages shown by not 
  2956. displaying all its system-level messages. 
  2957.  
  2958. Normally, each message contains a reference to the name and class of the 
  2959. failing object. The object classes include: 
  2960.  
  2961. IBMAPPLICATN        Used by development applications 
  2962.  
  2963. IBMCHART            Used by charts 
  2964.  
  2965. IBMPLAN             Used by plans 
  2966.  
  2967. IBMREPORT           Used by reports 
  2968.  
  2969. IBMQUERY            Used by queries 
  2970.  
  2971. IBMSQLSTATEMENT     Used by SQL statements 
  2972.  
  2973. IBMSTATS            Used by statistics 
  2974.  
  2975. IBMSQLTABLE         Used by SQL objects 
  2976.  
  2977. IBMTABLE            Used by product tables 
  2978.  
  2979.  
  2980. ΓòÉΓòÉΓòÉ 16.2.3. The SQL database log ΓòÉΓòÉΓòÉ
  2981.  
  2982. Whenever an SQL database, SQL table, or SQL view object is used, Visualizer 
  2983. updates the FTBTRACE.LOG file. It records significant system events, unusual or 
  2984. abnormal conditions and system errors. The file is created automatically and 
  2985. continues to grow until deleted. It can be deleted at any time. 
  2986.  
  2987. Object tracing 
  2988.  
  2989. FTBTRACE.LOG can also be used to trace activity of Visualizer components. 
  2990. However, because this facility is intended to help IBM identify the source of 
  2991. defects within Visualizer, only use FTBTRACE.LOG in this way when asked to do 
  2992. so by an IBM Support representative. 
  2993.  
  2994. To activate an object trace, follow these steps: 
  2995.  
  2996.  1. At an OS/2 command prompt, type: 
  2997.  
  2998.         ftbtrflg
  2999.  
  3000.     Then press Enter. 
  3001.  
  3002.     The current FTBTRACE.LOG trace settings are displayed. 
  3003.  
  3004.  2. At the command prompt, type the letter that identifies the component to be 
  3005.     traced, then press Enter. 
  3006.  
  3007.     The type of tracing information is displayed. 
  3008.  
  3009.     There are two types of trace entry: 
  3010.  
  3011.    Entry/Exit    Is used to trace the flow of control into and out of 
  3012.                  procedures and methods 
  3013.  
  3014.    Other         Is used as a progress indicator through a procedure or method 
  3015.  
  3016.     Use the Both choice to specify both Entry/Exit and Other tracing. 
  3017.  
  3018.  3. At the command prompt, type the number that identifies the tracing required 
  3019.     for that component, then press Enter. 
  3020.  
  3021.  4. Repeat steps 2 through 3 for each component you want to trace. 
  3022.  
  3023.  5. When you have specified all the components to be traced, type: 
  3024.  
  3025.         E
  3026.  
  3027.     Then press Enter. 
  3028.  
  3029.  
  3030. ΓòÉΓòÉΓòÉ 16.2.4. Other diagnostic aids ΓòÉΓòÉΓòÉ
  3031.  
  3032. Visualizer also contains other specialized diagnostic aids. When necessary, you 
  3033. may be asked to use them to collect more detailed information about a problem. 
  3034.  
  3035. A set of tracing options can be specified when starting an object from the OS/2 
  3036. command prompt. Each diagnostic applies to a different part of Visualizer. If 
  3037. necessary, IBM will identify what trace information is required and give 
  3038. instructions on how to send the information to IBM for analysis. 
  3039.  
  3040. To open a Visualizer object with a trace option switched on, at an OS/2 command 
  3041. prompt, enter: 
  3042.  
  3043. FTBAS3 /Cclass /Nname trace
  3044.  
  3045. where: 
  3046.  
  3047. class  Specifies the class of the object that is failing 
  3048.  
  3049. name   Specifies the location and name of the object that is failing 
  3050.  
  3051. trace  Specifies the type of trace required: 
  3052.  
  3053.    DATATRACE     Creates the FTBSQL and FTBAS400 files 
  3054.  
  3055.    DDETRACE      Creates the FTBDDE file 
  3056.  
  3057.    DRGTRACE      Creates the FTBDRG file 
  3058.  
  3059.    HOSTTRACE     Creates the DASTRACE file in the FTB1DIR directory and log 
  3060.                  files on the host system 
  3061.  
  3062. For example, to create the DDETRACE file for a report called MYREPORT.REP, at a 
  3063. command prompt, type: 
  3064.  
  3065. FTBAS3 /CIBMREPORT /NC:\DESKTOP\MYREPORT.REP DDETRACE
  3066.  
  3067. Then press Enter. 
  3068.  
  3069.  
  3070. ΓòÉΓòÉΓòÉ 16.3. SYS3xxx errors ΓòÉΓòÉΓòÉ
  3071.  
  3072. If a SYS3xxx error occurs while you are running a user-written application, the 
  3073. system error may originate with that application. In this case, report the 
  3074. error to the developer of the application. 
  3075.  
  3076. If a SYS3xxx error occurs when you are using a Visualizer object, report the 
  3077. error to IBM as the problem probably lies within Visualizer or an OS/2 service 
  3078. used by Visualizer. 
  3079.  
  3080. If you get a SYS3xxx error, always record the system error information, because 
  3081. it may help to determine the cause of the problem. To obtain the system error 
  3082. information: 
  3083.  
  3084.  1. Select Display register information in the System Error window 
  3085.  
  3086.  2. Select OK. 
  3087.  
  3088.     The register information is displayed in a window. 
  3089.  
  3090.  3. As a minimum, record the following information: 
  3091.  
  3092.    o The window title 
  3093.    o The message number and text of the message 
  3094.    o The keyword and characters following each of: 
  3095.  
  3096.       CS:EIP= 
  3097.       SSLIM= 
  3098.       CSLIM= 
  3099.  
  3100.  
  3101. ΓòÉΓòÉΓòÉ 16.4. Database problems ΓòÉΓòÉΓòÉ
  3102.  
  3103. For problems related to: 
  3104.  
  3105. o SQL databases 
  3106. o AS connections 
  3107. o OS/400 data using PC Support/400, or 
  3108. o Other data types 
  3109.  
  3110. read the appropriate sections of Overview of data sources. through Accessing 
  3111. AS/400 databases. 
  3112.  
  3113.  
  3114. ΓòÉΓòÉΓòÉ 16.5. Problems with metafiles, picture viewer, and printing ΓòÉΓòÉΓòÉ
  3115.  
  3116. Some versions of First Failure Support Technology/2* (FFST/2*) may cause 
  3117. problems if: 
  3118.  
  3119. o You use Visualizer graphics in OS/2 metafile format with the OS/2 Picture 
  3120.   Viewer 
  3121.  
  3122. o You save or print metafiles from Visualizer 
  3123.  
  3124. To overcome problems of empty or invalid files metafiles being created: 
  3125.  
  3126.  1. Edit the CONFIG.SYS file and comment out the RUN=...\EPW.EXE statement. 
  3127.  
  3128.     For example, change RUN=D:\OS2\EPW.EXE to REM RUN=D:\OS2\EPW.EXE. 
  3129.  
  3130.  2. Edit the STARTUP.CMD file and add the statement: 
  3131.  
  3132.         DETACH EPW.EXE
  3133.  
  3134.     As the first line in STARTUP.CMD. 
  3135.  
  3136.  3. Shut down and restart the workstation. 
  3137.  
  3138.  
  3139. ΓòÉΓòÉΓòÉ 16.6. Text missing from a printed report ΓòÉΓòÉΓòÉ
  3140.  
  3141. Some printer drivers have font settings that must be deselected when printing 
  3142. objects, such as Reports for OS/2, that use graphics. If reports that are 
  3143. displayed correctly on screen are printed with missing rows of text, open the 
  3144. Printer Properties window of the printer used to print the report and check 
  3145. whether the selected printer settings support graphic output. 
  3146.  
  3147. For more information on the settings, refer to the help on the Printer 
  3148. Properties window or the printer documentation. 
  3149.  
  3150.  
  3151. ΓòÉΓòÉΓòÉ 17. Reporting defects to IBM ΓòÉΓòÉΓòÉ
  3152.  
  3153. This chapter describes how to report a defect in Visualizer to IBM. 
  3154.  
  3155. Isolating problems 
  3156.  
  3157. When you find a problem in Visualizer, first check that your workstation has 
  3158. the latest level of corrective service. For information on how to check the 
  3159. Visualizer service level, see For information on how to check the OS/2 service 
  3160. level, see You can find news of PTFs on the VISUALIZ forum of Talklink and the 
  3161. Visualizer forum on CompuServe** (see or through your local IBM representative. 
  3162.  
  3163. See for more information about applying corrective service. 
  3164.  
  3165. If you have installed the latest corrective service and still have the problem, 
  3166. try to reproduce it using the samples that are provided with the product. By 
  3167. describing the defect in terms of these samples, you help eliminate any 
  3168. dependency on your own data. This simplifies the process of problem 
  3169. determination. Try to reproduce the problem without running other, unnecessary, 
  3170. applications. 
  3171.  
  3172. If co-workers use Visualizer, check whether they can reproduce the problem 
  3173. using the information that you have recorded. If they cannot reproduce it, try 
  3174. to provide additional information that enables them to do so. 
  3175.  
  3176.  
  3177. ΓòÉΓòÉΓòÉ 17.1. Reporting a defect ΓòÉΓòÉΓòÉ
  3178.  
  3179. If you cannot resolve a problem and believe that it is caused by a defect 
  3180. within Visualizer itself, complete the defect report form (see Defect report 
  3181. form) and then contact your IBM service organization. For details of the 
  3182. customer support available in your country, see the service document included 
  3183. in the Visualizer package, or contact your IBM representative. 
  3184.  
  3185. When you mail or fax details of the defect to IBM, include a copy of the 
  3186. appropriate log entries and the completed defect report form. 
  3187.  
  3188. When you report a defect, IBM service staff check whether that defect has 
  3189. already been identified. If a correction is being developed, or if a correction 
  3190. is already available, it can be sent to you. 
  3191.  
  3192. If the defect you are reporting has not been reported before, the IBM service 
  3193. staff attempt to reproduce it. To reproduce the defect, your software 
  3194. environment, and sometimes your hardware environment, may need to be 
  3195. duplicated. Therefore, when you report a problem, make sure that you provide 
  3196. enough information to enable the IBM staff to reproduce the problem. 
  3197.  
  3198. Always provide the Visualizer, DB2/2, and OS/2 product service levels. If the 
  3199. problem occurs during printing, include full details of the printer driver type 
  3200. and version, and any appropriate information about printer settings. 
  3201.  
  3202. If error messages were issued, provide the FTBLOG and FTBTRACE.LOG files. Also, 
  3203. if system messages were issued, provide the information detailed in this 
  3204. chapter. 
  3205.  
  3206.  
  3207. ΓòÉΓòÉΓòÉ 17.2. Determining Visualizer service levels ΓòÉΓòÉΓòÉ
  3208.  
  3209. Each time your Visualizer system is updated, the service level that you have 
  3210. applied is recorded on your system. There is a unique service level for each 
  3211. PTF. 
  3212.  
  3213. When you report a problem to IBM, always include details of the service levels 
  3214. of each Visualizer product installed at the time the problem occurred. 
  3215.  
  3216. To find the service level of an installed Visualizer product: 
  3217.  
  3218.  1. Open the Installation and Support program from the Utilities folder in the 
  3219.     Visualizer folder. 
  3220.  
  3221.  2. Select the View menu. 
  3222.  
  3223.  3. Select Installed Products. 
  3224.  
  3225.  4. Select the Product Description in the window. 
  3226.  
  3227.  5. Select the Details menu. 
  3228.  
  3229.  6. Select Product Status. 
  3230.  
  3231.  7. Select the appropriate component. 
  3232.  
  3233.  8. Select Service Level. 
  3234.  
  3235.     The install date, origin, and service level information is displayed. 
  3236.  
  3237. The service level is a 6-character string, for example, GBA48A. 
  3238.  
  3239. The format of the service level is as follows: 
  3240.  
  3241. Character 1    C    Corrective service 
  3242.  
  3243.                G    Packed shipment release code 
  3244.  
  3245.                T    Test level of corrective service 
  3246.  
  3247. Character 2    B    Query for OS/2 
  3248.  
  3249.                C    Charts for OS/2 
  3250.  
  3251.                D    Development for OS/2 
  3252.  
  3253.                W    Plans for OS/2 
  3254.  
  3255.                P    Procedures for OS/2 
  3256.  
  3257.                S    Statistics for OS/2 
  3258.  
  3259.                V    Ultimedia Query for OS/2 
  3260.  
  3261. Character 3    Modification level of the code. This character depends on the 
  3262.                version, release, and modification level of the Visualizer 
  3263.                product. 
  3264.  
  3265. Character 4    The year of the release of the code, for example: 1 (1991), 2 
  3266.                (1992). 
  3267.  
  3268. Character 5    The month of the planned release of the code (1 through 9 for 
  3269.                January through September and A for October, B for November, and 
  3270.                C for December). 
  3271.  
  3272. Character 6    The order of the diskette package or shipment within the month 
  3273.                if two or more are issued in the same month, for example, A, B, 
  3274.                C. 
  3275.  
  3276.  
  3277. ΓòÉΓòÉΓòÉ 17.3. Determining OS/2 service levels ΓòÉΓòÉΓòÉ
  3278.  
  3279. To determine the service level of your operating system, at any OS/2 command 
  3280. prompt, type: 
  3281.  
  3282. syslevel
  3283.  
  3284. Then press Enter. 
  3285.  
  3286. Check that your OS/2 system levels conform to those required by Visualizer (see 
  3287. Preparing to install Visualizer products for more information). 
  3288.  
  3289.  
  3290. ΓòÉΓòÉΓòÉ 17.4. Receiving program temporary fixes ΓòÉΓòÉΓòÉ
  3291.  
  3292. Program temporary fixes (PTFs) are used to update Visualizer. They are 
  3293. distributed on corrective service diskettes (CSDs). The READ.ME file, which is 
  3294. provided on the CSDs, includes details of the corrected problems and any 
  3295. enhancement features. Each corrective service for a product level includes all 
  3296. the fixes that were on previous CSDs for that release of the product. 
  3297.  
  3298. Corrective service for Visualizer products is available from IBM until their 
  3299. announced end of service date. Contact your local IBM representative for 
  3300. details of how to obtain corrective service in your country. 
  3301.  
  3302.  
  3303. ΓòÉΓòÉΓòÉ 18. Updating Visualizer products ΓòÉΓòÉΓòÉ
  3304.  
  3305. When you report a defect, IBM checks whether that defect has already been 
  3306. identified. If a correction is being developed, or if a correction is already 
  3307. available, it can be sent to you as a program temporary fix (PTF) on Corrective 
  3308. Service Diskettes (CSDs). 
  3309.  
  3310. This chapter explains how to update Visualizer with a PTF. 
  3311.  
  3312.  
  3313. ΓòÉΓòÉΓòÉ 18.1. Preparing to update Visualizer products ΓòÉΓòÉΓòÉ
  3314.  
  3315. Program temporary fixes contain modifications to Visualizer products. 
  3316.  
  3317. Before you install a PTF: 
  3318.  
  3319.  1. Read the instructions contained in the READ.ME file on diskette 1 of the 
  3320.     corrective service diskette. 
  3321.  
  3322.     PTFs are issued separately for each Visualizer product. However, it may be 
  3323.     necessary to apply corresponding PTFs to more than one product. For 
  3324.     example, before a PTF is applied to an optional product, you may also have 
  3325.     to apply a PTF to Query for OS/2. 
  3326.  
  3327.     If you have installed a Visualizer product in more than one language, PTFs 
  3328.     must be applied to each language version of the product. 
  3329.  
  3330.  2. Use the Visualizer Installing and Supporting utility to review the current 
  3331.     service level details of your installed Visualizer products. See 
  3332.     Determining Visualizer service levels, for more information. 
  3333.  
  3334.  3. Before you apply a PTF, make sure that Visualizer is not in use. 
  3335.  
  3336.     If you are applying a PTF to a LAN installation, instruct all requesters to 
  3337.     stop using Visualizer and its optional products, then remove their access 
  3338.     to the products on the LAN server. If you installed Visualizer onto a 
  3339.     server from a remote workstation, apply the PTF using the same remote 
  3340.     workstation. 
  3341.  
  3342.     Install the PTF on the LAN server and ensure any corresponding PTF level is 
  3343.     applied to the products on LAN requesters. 
  3344.  
  3345.  
  3346. ΓòÉΓòÉΓòÉ 18.2. Applying PTFs ΓòÉΓòÉΓòÉ
  3347.  
  3348. To apply PTFs to Visualizer or any of the optional Visualizer products: 
  3349.  
  3350.  1. Close all Visualizer objects. 
  3351.  
  3352.  2. Insert the first corrective service diskette into the diskette drive. 
  3353.  
  3354.  3. Open the Visualizer Installing and Supporting utility. On standalone and 
  3355.     LAN requester installations, the utility is in the Utilities folder in the 
  3356.     Visualizer folder. On a LAN server installation, the utility is in the 
  3357.     Installing and Supporting folder on the desktop. 
  3358.  
  3359.  4. From the File menu, select Catalog, then select Drive... from the cascade 
  3360.     menu. 
  3361.  
  3362.     The Open Drive Catalog window is displayed. 
  3363.  
  3364.  5. In the Drive field, type A. 
  3365.  
  3366.  6. In the Filename field, enter the name of the file that contains the PTF. 
  3367.     The following file naming convention is used for Visualizer PTFs: 
  3368.  
  3369.    Product                       PTF file 
  3370.    Charts for OS/2               FTBICAT.ICF 
  3371.    Development for OS/2          FTDICAT.ICF 
  3372.    Procedures for OS/2           FTPICAT.ICF 
  3373.    Plans for OS/2                FTWICAT.ICF 
  3374.    Query for OS/2                FTBICAT.ICF 
  3375.    Statistics for OS/2           FTSICAT.ICF 
  3376.    Ultimedia Query for OS/2      FTVICAT.ICF 
  3377.  
  3378.  7. Select the Open push button. 
  3379.  
  3380.     The Installation and Maintenance window is displayed. 
  3381.  
  3382.  8. From the View menu, select Current catalog. 
  3383.  
  3384.  9. Select the Visualizer product you want to update. 
  3385.  
  3386.     If more than one language version of the product is installed on the 
  3387.     workstation, all language versions of the product are updated. 
  3388.  
  3389. 10. From the Action menu, select Update. 
  3390.  
  3391.     If you chose to keep a backup version of the files replaced by the update, 
  3392.     ensure that you have sufficient disk space. 
  3393.  
  3394.     The Progress window is displayed while the files are being updated. 
  3395.  
  3396. 11. Close the installation program. 
  3397.  
  3398. 12. If you apply a PTF to a LAN server, restore LAN requester access to the 
  3399.     network resource. 
  3400.  
  3401. You may need to apply the PTF to all LAN requester installations that have 
  3402. access to a serviced LAN server installation. For confirmation, check the file 
  3403. containing details of the PTF. 
  3404.  
  3405.  
  3406. ΓòÉΓòÉΓòÉ 18.3. Removing PTFs ΓòÉΓòÉΓòÉ
  3407.  
  3408. If you keep a backup when you install a PTF, you can also remove it. 
  3409.  
  3410. To remove a PTF: 
  3411.  
  3412.  1. Open the Visualizer Installing and Supporting utility. For standalone and 
  3413.     LAN requester installations, the utility is kept in the Utilities folder in 
  3414.     the Visualizer folder. For a LAN server installation, the utility is in the 
  3415.     Installing and Supporting folder on the desktop. 
  3416.  
  3417.  2. From the View menu, select Updated products. 
  3418.  
  3419.     Products that have had service applied are listed. 
  3420.  
  3421.  3. Select the products you want to restore. 
  3422.  
  3423.  4. From the Actions menu, select Restore. 
  3424.  
  3425.     The Progress window is displayed while the files are being restored. 
  3426.  
  3427.     When the restore is complete, a message is displayed. 
  3428.  
  3429.  5. Close the installation program. 
  3430.  
  3431.  
  3432. ΓòÉΓòÉΓòÉ 19. Optional product install parameters ΓòÉΓòÉΓòÉ
  3433.  
  3434. This appendix lists the COMP and Product name install parameters for the 
  3435. Visualizer optional products. For more details on how to automate the 
  3436. installation of Visualizer products, see Automating Visualizer installation. 
  3437.  
  3438. Charts for OS/2 
  3439.  
  3440. COMP parameters 
  3441.  
  3442. o Charts for OS/2 (English) 
  3443. o Charts for OS/2 Samples (English) 
  3444. o Charts for OS/2 Manual (English) 
  3445. o Charts for OS/2 Tutorials (English) 
  3446.  
  3447. Product name parameters 
  3448.  
  3449. o Charts for OS/2 (Standalone) 
  3450. o Charts for OS/2 (Server) 
  3451. o Charts for OS/2 (Requester) 
  3452. o Charts for OS/2 (English Distribution Copy) 
  3453.  
  3454. Development for OS/2 
  3455.  
  3456. COMP parameters 
  3457.  
  3458. o Development for OS/2 (English) 
  3459. o Development for OS/2 Samples (English) 
  3460. o Development for OS/2 Manuals (English) 
  3461.  
  3462. Product name parameters 
  3463.  
  3464. o Development for OS/2 (Standalone) 
  3465. o Development for OS/2 (Server) 
  3466. o Development for OS/2 (Requester) 
  3467. o Development for OS/2 (English Distribution Copy) 
  3468.  
  3469. Plans for OS/2 
  3470.  
  3471. COMP parameters 
  3472.  
  3473. o Plans for OS/2 (English) 
  3474. o Plans for OS/2 Samples (English) 
  3475. o Plans for OS/2 Manual (English) 
  3476.  
  3477. Product name parameters 
  3478.  
  3479. o Plans for OS/2 (Standalone) 
  3480. o Plans for OS/2 (Server) 
  3481. o Plans for OS/2 (Requester) 
  3482. o Plans for OS/2 (English Distribution Copy) 
  3483.  
  3484. Procedures for OS/2 
  3485.  
  3486. COMP parameters 
  3487.  
  3488. o Procedures for OS/2 (English) 
  3489. o Procedures for OS/2 Samples (English) 
  3490. o Procedures for OS/2 Manual (English) 
  3491.  
  3492. Product name parameters 
  3493.  
  3494. o Procedures for OS/2 (Standalone) 
  3495. o Procedures for OS/2 (Server) 
  3496. o Procedures for OS/2 (Requester) 
  3497. o Procedures for OS/2 (English Distribution Copy) 
  3498.  
  3499. Statistics for OS/2 
  3500.  
  3501. COMP parameters 
  3502.  
  3503. o Statistics for OS/2 (English) 
  3504. o Statistics for OS/2 Samples (English) 
  3505. o Statistics for OS/2 Manual (English) 
  3506.  
  3507. Product name parameters 
  3508.  
  3509. o Statistics for OS/2 (Standalone) 
  3510. o Statistics for OS/2 (Server) 
  3511. o Statistics for OS/2 (Requester) 
  3512. o Statistics for OS/2 (English Distribution Copy) 
  3513.  
  3514. Ultimedia Query for OS/2 
  3515.  
  3516. COMP parameters 
  3517.  
  3518. o Ultimedia Query for OS/2 
  3519. o Ultimedia Query for OS/2 8-bit Scapes Catalog 
  3520. o Ultimedia Query for OS/2 8-bit Images for Scapes Catalog 
  3521. o Ultimedia Query for OS/2 24-bit Scapes4 Catalog 
  3522. o Ultimedia Query for OS/2 8-bit Images for Scapes4 Catalog 
  3523.  
  3524. Product name parameters 
  3525.  
  3526. o Ultimedia Query for OS/2 (Standalone) 
  3527. o Ultimedia Query for OS/2 (Server) 
  3528. o Ultimedia Query for OS/2 (Requester) 
  3529. o Ultimedia Query for OS/2 (English Distribution Copy) 
  3530.  
  3531.  
  3532. ΓòÉΓòÉΓòÉ 20. Optimizing Visualizer performance ΓòÉΓòÉΓòÉ
  3533.  
  3534. This appendix details changes you can make to your workstation to improve the 
  3535. performance of Visualizer products. Remember that changes to the CONFIG.SYS 
  3536. file only take effect after you have shut down and restarted your workstation. 
  3537.  
  3538. You are recommended to make a backup copy of your CONFIG.SYS file before making 
  3539. any of these changes. 
  3540.  
  3541.  
  3542. ΓòÉΓòÉΓòÉ 20.1. Setting the disk cache size ΓòÉΓòÉΓòÉ
  3543.  
  3544. The optimum disk cache size depends on the amount of memory fitted to your 
  3545. workstation. If the workstation has less than 16MB of memory, set the disk 
  3546. cache size to 10% of the total memory size. If the workstation has 16MB of 
  3547. memory or more, set the disk cache size to 2048KB. 
  3548.  
  3549.  
  3550. ΓòÉΓòÉΓòÉ 20.1.1. HPFS file systems ΓòÉΓòÉΓòÉ
  3551.  
  3552. On workstations that use the HPFS file system, the cache size is specified by 
  3553. the IFS statement. 
  3554.  
  3555. If your workstation has 16MB of memory or more, edit your CONFIG.SYS file and 
  3556. set the cache parameter of the IFS statement to 2048. For example: 
  3557.  
  3558. IFS=C:\OS2\HPFS.IFS /CACHE:2048 /CRECL:4...
  3559.  
  3560. If your workstation has less than 16MB of memory, edit your CONFIG.SYS file and 
  3561. remove the cache parameter from the IFS statement. For example: 
  3562.  
  3563. IFS=C:\OS2\HPFS.IFS /CRECL:4...
  3564.  
  3565. OS/2 automatically allocates 10% of memory to the disk cache if no cache 
  3566. parameter is specified. 
  3567.  
  3568.  
  3569. ΓòÉΓòÉΓòÉ 20.1.2. FAT file systems ΓòÉΓòÉΓòÉ
  3570.  
  3571. On workstations that use the FAT file system, the cache size is specified by 
  3572. the DISKCACHE statement. 
  3573.  
  3574. If your workstation has 16MB of memory or more, edit your CONFIG.SYS file and 
  3575. set the value immediately after the DISKCACHE statement to 2048. For example: 
  3576.  
  3577. DISKCACHE=2048,LW,128,AC:E
  3578.  
  3579. If your workstation has less than 16MB of memory, edit your CONFIG.SYS file and 
  3580. set the value immediately after the DISKCACHE statement to 10% (rounded to the 
  3581. nearest multiple of 64) of the workstation memory size. For example, if there 
  3582. is 4MB of memory on your workstation specify: 
  3583.  
  3584. DISKCACHE=440,LW,...
  3585.  
  3586.  
  3587. ΓòÉΓòÉΓòÉ 20.1.3. General improvements ΓòÉΓòÉΓòÉ
  3588.  
  3589. If your workstation uses only the HPFS file system, delete the DISKCACHE 
  3590. statement from your CONFIG.SYS file. 
  3591.  
  3592. If your workstation uses only the FAT file system, edit your CONFIG.SYS file 
  3593. and delete the IFS statement that refers to the boot drive. 
  3594.  
  3595. If your workstation uses both the HPFS file and FAT file systems, both the IFS 
  3596. and DISKCACHE statements are necessary. To ensure optimum performance, check 
  3597. that the combined cache sizes do not exceed 2048KB or 10% of workstation 
  3598. memory, as appropriate. 
  3599.  
  3600. If you change the IFS or DISKCACHE statements, change the BUFFERS statement to: 
  3601.  
  3602. BUFFERS=10
  3603.  
  3604. If your CONFIG.SYS file contains the following statement: 
  3605.  
  3606. BASEDEV=IBM2SCSI.ADD
  3607.  
  3608. change it to: 
  3609.  
  3610. BASEDEV=IBM2SCSI.ADD /GS:9
  3611.  
  3612. Similarly, if your CONFIG.SYS file contains the following statement: 
  3613.  
  3614. BASEDEV=IBM2SCSI.ADD /LED
  3615.  
  3616. change it to: 
  3617.  
  3618. BASEDEV=IBM2SCSI.ADD /LED /GS:9
  3619.  
  3620. Use the CHKDSK command to find out what type of file system is used on a disk. 
  3621.  
  3622.  
  3623. ΓòÉΓòÉΓòÉ 20.2. Optimizing the SWAPPER.DAT file ΓòÉΓòÉΓòÉ
  3624.  
  3625. By default, OS/2 places the SWAPPER.DAT file in the C:\OS/2\SYSTEM directory. 
  3626. Its optimal location is in the root directory of the most used partition of the 
  3627. least used hard disk drive. 
  3628.  
  3629. If your workstation has only one hard disk drive, make sure that the 
  3630. SWAPPER.DAT file is located in the same partition as Query for OS/2. If you 
  3631. have two hard disk drives, make sure that OS/2 and Query for OS/2 are on 
  3632. different hard disks and that the SWAPPER.DAT file is in the root directory of 
  3633. the OS/2 partition. 
  3634.  
  3635. Try to make sure that your SWAPPER.DAT file is sufficiently large to cope with 
  3636. your normal workload without having to expand. To specify the size of your 
  3637. SWAPPER.DAT: 
  3638.  
  3639.  1. Start all the applications that you use concurrently. 
  3640.  
  3641.  2. Use the DIR command to see how large the SWAPPER.DAT has become. 
  3642.  
  3643.  3. Edit your CONFIG.SYS file and modify the SWAPPATH statement. 
  3644.  
  3645.     For example, to specify that a warning is displayed when there is less than 
  3646.     4MB of memory available and that SWAPPER.DAT has a minimum size of 20MB, 
  3647.     change the SWAPPATH statement to: 
  3648.  
  3649.         SWAPPATH=x:\ 4096 20480
  3650.  
  3651.     where x is the disk drive where the SWAPPER.DAT is located. 
  3652.  
  3653. Specifying a minimum size of 20MB for your SWAPPER.DAT is a good starting point 
  3654. for workstations with up to 16MB of memory. However, check that there is 
  3655. sufficient free space available before doing this. 
  3656.  
  3657.  
  3658. ΓòÉΓòÉΓòÉ 20.3. Optimizing startup times ΓòÉΓòÉΓòÉ
  3659.  
  3660. When all Visualizer objects have been closed, the object startup component of 
  3661. Visualizer continues to run for 30 minutes. During this period, the time taken 
  3662. to open a Visualizer object is reduced. 
  3663.  
  3664. The length of time that the component remains active can be set by changing the 
  3665. FTB1PRELOAD environment variable in the CONFIG.SYS file. Therefore, if you open 
  3666. Visualizer objects infrequently, you can reduce the time taken to open them by 
  3667. setting FTB1PRELOAD to a large value. 
  3668.  
  3669. For example, to specify that the startup component will remain active for 45 
  3670. minutes after the last Visualizer object has been closed, edit your CONFIG.SYS 
  3671. file and change the FTB1PRELOAD variable to: 
  3672.  
  3673. SET FTB1PRELOAD=45
  3674.  
  3675. Alternatively, if you specify FTB1PRELOAD=0, the Visualizer startup component 
  3676. is unloaded from memory as soon as the last Visualizer object is closed. You 
  3677. may want to do this if your workstation is short of memory, or if you access 
  3678. the Visualizer code from a LAN Server and need to release the LAN Server drive 
  3679. containing the Visualizer code. 
  3680.  
  3681.  
  3682. ΓòÉΓòÉΓòÉ 21. Deleting Visualizer in case of unrecoverable installation errors ΓòÉΓòÉΓòÉ
  3683.  
  3684. This appendix describes what to do if you encounter an unrecoverable error 
  3685. while you are installing or deleting standalone or LAN requester versions of 
  3686. Visualizer products. 
  3687.  
  3688. To restore your system to the state it was in before you installed the 
  3689. Visualizer product: 
  3690.  
  3691.  1. Delete any files in the \INSTTEMP.FTB directory. 
  3692.  
  3693.     During installation, Visualizer creates a number of temporary files. If the 
  3694.     Visualizer installation process does not complete successfully, these files 
  3695.     may remain undeleted. 
  3696.  
  3697.  2. Insert the first Visualizer diskette into your diskette drive. 
  3698.  
  3699.  3. To delete all references to installed Visualizer products from the OS2.INI 
  3700.     and EPFIS.INI files, at an OS/2 command prompt, type: 
  3701.  
  3702.         a:\FTBSETUP
  3703.  
  3704.     When FTBSETUP finishes, a message is displayed informing you whether you 
  3705.     need to shutdown and restart the workstation. 
  3706.  
  3707.  4. If necessary, shutdown and restart the workstation. 
  3708.  
  3709. If you were installing a Visualizer product, you can now restart the 
  3710. installation procedure. 
  3711.  
  3712. To completely remove Visualizer from your workstation, continue with the 
  3713. following steps: 
  3714.  
  3715.  1. Replace the CONFIG.SYS file with the CONFIG.ORG backup file. (The install 
  3716.     program automatically creates CONFIG.ORG in the WORK subdirectory of the 
  3717.     installation directory). 
  3718.  
  3719.  2. If the workstation has a STARTUP.CMD file, the installer may have created a 
  3720.     backup copy of it. If there is a STARTUP.CMD file in the TMPDEFER 
  3721.     directory, replace the workstation's STARTUP.CMD file with this backup 
  3722.     file. 
  3723.  
  3724.  3. Delete all Visualizer templates from the OS/2 directory. 
  3725.  
  3726.  4. Delete all the files from the directory on which you installed Visualizer. 
  3727.  
  3728.  
  3729. ΓòÉΓòÉΓòÉ 22. Communicating with other Visualizer users ΓòÉΓòÉΓòÉ
  3730.  
  3731. This appendix explains how you can exchange ideas and information about 
  3732. Visualizer products. 
  3733.  
  3734. Talklink 
  3735.  
  3736. A VISUALIZ Bulletin Board is available on the IBM TalkLink service in the 
  3737. U.S.A. For details of TalkLink fees and access information, call 1-800-547-1283 
  3738. from within the U.S.A., or +1-817-961-6900 from outside the U.S.A. 
  3739. Alternatively, you can write to: 
  3740.  
  3741. Talklink
  3742. IBM Corporation
  3743. PO Box 2150
  3744. Atlanta
  3745. GA 30301-9949
  3746. U.S.A.
  3747.  
  3748. This bulletin board enables Visualizer users to exchange ideas about 
  3749. Visualizer. It is also available to IBM employees, including those from the 
  3750. Visualizer developers. 
  3751.  
  3752. In addition to normal IBM information channels, the bulletin board includes 
  3753. details of corrective service for available Visualizer products. 
  3754.  
  3755. CompuServe 
  3756.  
  3757. If you have access to CompuServe, you can write directly to the Visualizer 
  3758. section maintained by the Warwick Software Development Laboratory. 
  3759.  
  3760. To do this, connect to CompuServe, GO IBMDB2, and look for the Visualizer 
  3761. section. 
  3762.  
  3763.  
  3764. ΓòÉΓòÉΓòÉ 23. Requesting enhancements ΓòÉΓòÉΓòÉ
  3765.  
  3766. The Visualizer developers and support personnel want to learn how you believe 
  3767. the Visualizer products might be enhanced. 
  3768.  
  3769. You can submit an enhancement request by fax or mail, using a copy of the 
  3770. Visualizer Enhancement Request form on the next page. If you do so, the 
  3771. laboratory staff will respond to you. However, IBM cannot guarantee that any 
  3772. request submitted will be included in any future level of the product. 
  3773.  
  3774. Summarize the enhancement or the problem that you are trying to overcome in the 
  3775. Abstract section. Try to make the Abstract suitable for a keyword search. State 
  3776. the problem you want to overcome, rather than a particular solution. 
  3777.  
  3778.  
  3779. ΓòÉΓòÉΓòÉ 23.1. Visualizer enhancement request form ΓòÉΓòÉΓòÉ
  3780.  
  3781.  
  3782. Name       ____________________________________________________
  3783.  
  3784. Company    ____________________________________________________
  3785.  
  3786. Address    ____________________________________________________
  3787.  
  3788.            ____________________________________________________
  3789.  
  3790.            ____________________________________________________
  3791.  
  3792.            ____________________________________________________
  3793.  
  3794. Telephone  ____________________________________________________
  3795.  
  3796. Electronic Mail  ______________________________________________
  3797.  
  3798. Abstract   ____________________________________________________
  3799.  
  3800.            ____________________________________________________
  3801.  
  3802. Enhancement description  ______________________________________
  3803.  
  3804.            ____________________________________________________
  3805.  
  3806.            ____________________________________________________
  3807.  
  3808.            ____________________________________________________
  3809.  
  3810. What do you want to achieve with the enhancement?
  3811.  
  3812.            ____________________________________________________
  3813.  
  3814.            ____________________________________________________
  3815.  
  3816.            ____________________________________________________
  3817.  
  3818.            ____________________________________________________
  3819.  
  3820.            ____________________________________________________
  3821.  
  3822.  
  3823. ΓòÉΓòÉΓòÉ 24. Defect report form ΓòÉΓòÉΓòÉ
  3824.  
  3825. Always complete a defect report form before you contact IBM. Edit a copy of the 
  3826. Defect Report Form (FTB1FORM.TXT) The form is in the Work folder in the 
  3827. Visualizer folder. 
  3828.  
  3829. The form is designed to help you to record sufficient information for IBM to 
  3830. reproduce your problem. Here are some suggestions: 
  3831.  
  3832. o Give as much information as possible. 
  3833.  
  3834. o If you do not know or are unsure of the information, reply don't know. 
  3835.  
  3836. o If you have extra information or information not covered by the form, include 
  3837.   it on a separate sheet. 
  3838.  
  3839.  
  3840. ΓòÉΓòÉΓòÉ 25. Data conversions ΓòÉΓòÉΓòÉ
  3841.  
  3842. With Visualizer, you can access SQL data, AS/400 data, Visualizer tables, and 
  3843. other sources. When you convert data from one source to another, the data is 
  3844. stored differently, depending on the format of the source. This appendix 
  3845. describes what happens to data types, primary keys, and columns when you 
  3846. convert: 
  3847.  
  3848. o Visualizer tables to SQL data 
  3849. o SQL data to Visualizer tables 
  3850. o Visualizer tables to AS/400 data 
  3851. o AS/400 data to Visualizer tables 
  3852.  
  3853.  
  3854. ΓòÉΓòÉΓòÉ 25.1. Visualizer table and SQL table conversions ΓòÉΓòÉΓòÉ
  3855.  
  3856. SQL tables and Visualizer Visualizer tables store data differently. This 
  3857. section describes the differences in data types and how primary keys are used. 
  3858.  
  3859. SQL data type                      Visualizer table data type 
  3860. INTEGER                            Numeric 
  3861. SMALLINT                           Numeric 
  3862. FLOAT                              Numeric 
  3863. DECIMAL                            Numeric 
  3864. NUMERIC                            Numeric 
  3865. CHAR                               Character 
  3866. VARCHAR                            Character 
  3867. LONGVARCHAR                        Character 
  3868. TIMESTAMP                          Character 
  3869. DATE                               Date 
  3870. TIME                               Time 
  3871. GRAPHIC                            Graphic 
  3872. VARGRAPHIC                         Graphic 
  3873. LONGVARGRAPHIC                     Graphic 
  3874.  
  3875. Visualizer table data type    SQL data type 
  3876. Character                     VARCHAR 
  3877. Numeric                       FLOAT 
  3878. Date                          DATE 
  3879. Time                          TIME 
  3880. Graphic                       VARGRAPHIC 
  3881.  
  3882. Character columns in Visualizer tables can be up to 254 characters in length. 
  3883. Data from Character(Variable) columns longer than 254 characters is truncated 
  3884. and lost when it is transferred to Visualizer tables. 
  3885.  
  3886. When a new SQL table is created from a Visualizer table, Character(Variable) 
  3887. columns are created to hold the character data columns from the Visualizer 
  3888. table. 
  3889.  
  3890. Numbers within Visualizer tables are held in floating-point form with an 
  3891. accuracy of 15 digits. When a new SQL table is created from a Visualizer table, 
  3892. Scientific Notation columns are created to hold the numeric columns from the 
  3893. Visualizer table. Decimal column types are not created. 
  3894.  
  3895. Date and Time columns from Visualizer tables are transferred to equivalent 
  3896. column type and vice versa. The System date and time column type is not 
  3897. supported by Visualizer tables. 
  3898.  
  3899.  
  3900. ΓòÉΓòÉΓòÉ 25.1.1. Primary keys ΓòÉΓòÉΓòÉ
  3901.  
  3902. When an SQL table is imported into a Visualizer table, the columns in the SQL 
  3903. table's primary key become the new key columns for the Visualizer table. If the 
  3904. SQL table has no primary key, Visualizer creates an additional Key column in 
  3905. the Visualizer table to maintain the row order. Regardless of whether or not 
  3906. you change the data, if you export this Visualizer table back to the same SQL 
  3907. table, you must delete the Key column added by Visualizer and assign at least 
  3908. one of the original columns as the primary key that defines the row order. When 
  3909. a new SQL table is created by exporting a Visualizer table, no primary key is 
  3910. defined for the SQL table. 
  3911.  
  3912.  
  3913. ΓòÉΓòÉΓòÉ 25.2. Visualizer table and AS/400 conversions ΓòÉΓòÉΓòÉ
  3914.  
  3915. AS/400 data is stored differently from Visualizer tables. This section 
  3916. describes how the differences in data types and columns are handled. 
  3917.  
  3918.  
  3919. ΓòÉΓòÉΓòÉ 25.2.1. Data types ΓòÉΓòÉΓòÉ
  3920.  
  3921. AS/400 data type              Visualizer table type 
  3922. P    Packed decimal           Numeric 
  3923. S    Zoned decimal            Numeric 
  3924. B    Binary                   Numeric 
  3925. F    Floating-point           Not supported by PC Support/400 
  3926. A    Character                Character 
  3927. H    Hexadecimal              Character 
  3928. L    Date                     Character 
  3929. T    Time                     Character 
  3930. Z    Timestamp                Character 
  3931. J    DBCS-Only                Graphic 
  3932. E    DBCS-Either              Graphic 
  3933. O    DBCS-Open                Graphic 
  3934.  
  3935. Visualizer table type         AS/400 data type 
  3936. Character                     A    Character 
  3937. Numeric                       P    Packed decimal 
  3938. Date                          A    Character 
  3939. Time                          A    Character 
  3940. Graphic                       J    DBCS-Only 
  3941.  
  3942.  
  3943. ΓòÉΓòÉΓòÉ 25.2.2. Columns ΓòÉΓòÉΓòÉ
  3944.  
  3945. Character columns on AS/400 can be very wide. For Visualizer tables, the 
  3946. largest number of characters in any one column is 254. If the column of 
  3947. characters on the AS/400 is larger than the Visualizer maximum, only the first 
  3948. 254 characters of each column value will be transferred to the Visualizer 
  3949. table. 
  3950.  
  3951. Hexadecimal columns on the AS/400 are transferred to Character columns in 
  3952. Visualizer tables. The resulting column will not be formatted. 
  3953.  
  3954. Numbers within Visualizer tables are held in floating-point with an accuracy of 
  3955. 15 digits. When numbers of a higher accuracy are transferred from AS/400, the 
  3956. numbers are rounded. When numeric data is transferred to an existing table 
  3957. column on the AS/400, the data type of the AS/400 column is retained. 
  3958.  
  3959. If the AS/400 column data type is too small to hold the values from the column 
  3960. in the Visualizer table, the data is not transferred and a message is issued. 
  3961. When a new AS/400 table is created, the numeric columns are transferred to the 
  3962. AS/400 as packed decimals. However, if the numbers in the Visualizer table 
  3963. exceed 31 digits, a character column will be created on the AS/400 to hold the 
  3964. values. 
  3965.  
  3966.  
  3967. ΓòÉΓòÉΓòÉ 25.2.2.1. Column names ΓòÉΓòÉΓòÉ
  3968.  
  3969. Column names on the AS/400 can be up to 10 characters long. Column names in 
  3970. Visualizer tables can be up to 20 characters long. When data is transferred 
  3971. from AS/400 to a Visualizer table, all column names are transferred without 
  3972. changes. When data is transferred from Visualizer to the AS/400, any column 
  3973. names longer than 10 characters are truncated. If this creates duplicate column 
  3974. names, Visualizer adds a unique number to the end of each duplicate column 
  3975. name. 
  3976.  
  3977.  
  3978. ΓòÉΓòÉΓòÉ 25.2.2.2. Number of columns ΓòÉΓòÉΓòÉ
  3979.  
  3980. The PC Support/400 limit for the number of columns is 256 (for PC Support/400 
  3981. Release 2 and Release 3). This limit means that when you import data from the 
  3982. AS/400 using PC Support/400, an error occurs, and the data is not transferred 
  3983. to the Visualizer table. To avoid this problem, create a view of the AS/400 
  3984. data-a subset of the data with 256 or fewer columns. 
  3985.  
  3986.  
  3987. ΓòÉΓòÉΓòÉ 25.2.2.3. ASCII to EBCDIC sort orders ΓòÉΓòÉΓòÉ
  3988.  
  3989. You should note the differences in the sort sequences between ASCII and EBCDIC. 
  3990. Visualizer table data is held in the ASCII sort sequence, and AS/400 data is 
  3991. held in the EBCDIC sort sequence. As a result, data transfer between Visualizer 
  3992. tables and the AS/400 may give unexpected results. 
  3993.  
  3994.  
  3995. ΓòÉΓòÉΓòÉ 26. The Database Binder object ΓòÉΓòÉΓòÉ
  3996.  
  3997. When you use Visualizer to access a database that has not previously been 
  3998. bound, it attempts to bind to the database automatically. However, binding will 
  3999. be successful only when the user has administrator authority on that database. 
  4000.  
  4001. To enable all Visualizer users to access a shared database, the Database Binder 
  4002. object must be invoked manually from the Visualizer utilities folder by a user 
  4003. with database administrator authority. 
  4004.  
  4005. The Database Binder object performs the following actions: 
  4006.  
  4007.  1. Creates views on system catalog tables used by Visualizer objects. 
  4008.  
  4009.  2. Binds Visualizer bind files to create database packages. 
  4010.  
  4011.  3. Grants PUBLIC EXECUTE authority on database packages. 
  4012.  
  4013.  4. Grants PUBLIC SELECT authority on the views created. 
  4014.  
  4015.  
  4016. ΓòÉΓòÉΓòÉ 26.1. Database views created by Visualizer ΓòÉΓòÉΓòÉ
  4017.  
  4018. Views are created using the following definitions. 
  4019.  
  4020. The Database Binder object will not fail if it is unable to create these views. 
  4021. Therefore, if you want to limit the list of tables that are made available to 
  4022. Visualizer users, create views of the required definition before running the 
  4023. binder. When doing this, take care to ensure that the column structure of the 
  4024. views is the same as those listed below. 
  4025.  
  4026. For DB2/VM & VSE (SQL/DS) 
  4027.  
  4028. CREATE VIEW FTBADM.TABLES
  4029.           (NAME,CREATOR,TYPE,COLCOUNT,CARD,REMARKS) AS
  4030.           AS SELECT TNAME,CREATOR,''T'',NCOLS,ROWCOUNT,REMARKS FROM
  4031.           SYSTEM.SYSCATALOG
  4032.  
  4033. CREATE VIEW FTBADM.COLUMNS
  4034.          (TBCREATOR,TBNAME,NAME,COLTYPE,KEYSEQ,COLNO,REMARKS)
  4035.          AS SELECT CREATOR,TNAME,CNAME,COLTYPE,0,
  4036.          COLNO,REMARKS FROM SYSTEM.SYSCOLUMNS
  4037.  
  4038. For DB2/2, DB2/6000, or DB2 
  4039.  
  4040. CREATE VIEW FTBADM.TABLES
  4041.           (NAME,CREATOR,TYPE,COLCOUNT,CARD,REMARKS) AS
  4042.           SELECT NAME,CREATOR,TYPE,COLCOUNT,CARD,REMARKS FROM
  4043.           SYSIBM.SYSTABLES
  4044.  
  4045. CREATE VIEW FTBADM.COLUMNS
  4046.           (TBCREATOR,TBNAME,NAME,COLTYPE,KEYSEQ,COLNO,REMARKS)
  4047.           AS SELECT
  4048.           TBCREATOR,TBNAME,NAME,COLTYPE,KEYSEQ,COLNO,REMARKS
  4049.           FROM SYSIBM.SYSCOLUMNS
  4050.  
  4051.  
  4052. ΓòÉΓòÉΓòÉ 26.2. Visualizer Packages ΓòÉΓòÉΓòÉ
  4053.  
  4054. This section lists the bind files used and the packages created. For all 
  4055. databases 
  4056.  
  4057. Bind files 
  4058.  
  4059. o FTBSQUR.BND 
  4060. o FTBSQCS.BND 
  4061. o FTBSQRR.BND 
  4062. o FTBSQL1.BND 
  4063. o FTBQMOBJ.BND 
  4064.  
  4065. Packages 
  4066.  
  4067. o FTBADM.FTB101UR 
  4068. o FTBADM.FTB102CS 
  4069. o FTBADM.FTB103RR 
  4070. o FTBADM.FTB100L1 
  4071. o FTBADM.FTB100QM 
  4072.  
  4073. For DB2 
  4074.  
  4075. The bind files listed in FTBSDSN.LST are bound into the FTBADM collection. The 
  4076. package names are: 
  4077.  
  4078. o FTBADM.FTBDLTBL 
  4079. o FTBADM.FTBDLCOL 
  4080. o FTBADM.FTBDLPRI 
  4081. o FTBADM.FTBDGTBL 
  4082. o FTBADM.FTBDVIEW 
  4083. o FTBADM.FTBDLIND 
  4084. o FTBADM.FTBDLREL 
  4085. o FTBADM.FTBSEXEC 
  4086.  
  4087. For DB2/2 and DB2/6000 
  4088.  
  4089. The bind files listed in FTBSSQL.LST are bound into the FTBADM collection. The 
  4090. package names are: 
  4091.  
  4092. o FTBADM.FTBSLTBL 
  4093. o FTBADM.FTBSLCOL 
  4094. o FTBADM.FTBSLPRI 
  4095. o FTBADM.FTBSGTBL 
  4096. o FTBADM.FTBSVIEW 
  4097. o FTBADM.FTBSLIND 
  4098. o FTBADM.FTBSLREL 
  4099. o FTBADM.FTBSEXEC 
  4100.  
  4101. For DB2/VM & VSE (SQL/DS) 
  4102.  
  4103. The bind files listed in FTBSARI.LST are bound into the FTBADM collection. The 
  4104. package names are: 
  4105.  
  4106. o FTBADM.FTBALTBL 
  4107. o FTBADM.FTBALCOL 
  4108. o FTBADM.FTBALPRI 
  4109. o FTBADM.FTBAGTBL 
  4110. o FTBADM.FTBAVIEW 
  4111. o FTBADM.FTBALIND 
  4112. o FTBADM.FTBALREL 
  4113. o FTBADM.FTBSEXEC 
  4114.  
  4115. For AS/400 database 
  4116.  
  4117. The bind files listed in FTBSQSQ.LST are bound into the FTBADM collection. The 
  4118. package names are: 
  4119.  
  4120. o FTBADM.FTBQLTBL 
  4121. o FTBADM.FTBSEXEC 
  4122.