home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: Product / Product.zip / visquery.zip / FTBEXTRA.INF (.txt) < prev    next >
OS/2 Help File  |  1994-07-14  |  18KB  |  488 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Important information for Visualizer Query for OS/2 ΓòÉΓòÉΓòÉ
  3.  
  4. This document contains important information on changes that have been made to 
  5. Visualizer Query for OS/2 since the manuals went to press. Ensure that you are 
  6. familiar with the contents of this document before you install Visualizer Query 
  7. for OS/2. 
  8.  
  9.  
  10. ΓòÉΓòÉΓòÉ 2. Database Samples and Personal AS V3 registration ΓòÉΓòÉΓòÉ
  11.  
  12. When installing Visualizer Query for OS/2 on a system, note that the Database 
  13. Samples diskettes and the Personal AS V3 Registration diskette are not loaded 
  14. as part of the installation program. 
  15.  
  16.  
  17. ΓòÉΓòÉΓòÉ 3. Changes to the installation documentation ΓòÉΓòÉΓòÉ
  18.  
  19. The following section describes the changes and addenda to Visualizer Query for 
  20. OS/2: Installing and Supporting (SH45-5087-00) manual. 
  21.  
  22. Chapter 1      Installing more than one language 
  23.  
  24.                This is an addendum to the list, Changing the national language 
  25.                you are working in. 
  26.  
  27.                The SQL Database, SQL Table, and SQL View objects do not reflect 
  28.                national language changes made to the Visualizer profile object 
  29.                until OS/2 is shutdown and restarted. 
  30.  
  31. Chapter 6      Values for the product_name (/P) variable should contain an 
  32.                underscore (_). For example: 
  33.  
  34.                               Query for OS/2 (Requester) should be
  35.                               Query_for_OS/2_(Requester)
  36.  
  37.                The component names are as listed in the manual. 
  38.  
  39. Chapter 7      Deleting DB2/2 
  40.  
  41.                If you delete DB2/2 from a workstation where Visualizer Query 
  42.                for OS/2 is installed, shadows of SQL Database, SQL Table and 
  43.                SQL View objects can behave unpredictably. To avoid this 
  44.                problem, always delete any shadows of these objects before 
  45.                deleting DB2/2. 
  46.  
  47. Chapter 8      Software requirements for accessing data 
  48.  
  49.                This is an additional paragraph directly under the heading. 
  50.  
  51.                The software versions and releases listed for the required 
  52.                products are the earliest releases required. Subsequent releases 
  53.                will also work. 
  54.  
  55. Chapter 8      Software requirements for accessing data 
  56.  
  57.                The following replaces the text for the Local databases list 
  58.                item. 
  59.  
  60.                If you have DB2/2 with the standalone or the client with local 
  61.                databases options installed on your workstation, you can create 
  62.                and maintain local databases. 
  63.  
  64. Chapter 9      Binding databases automatically 
  65.  
  66.                The following replaces the text for the third item in the 
  67.                Database Binder list. The Database Binder grants EXECUTE 
  68.                privileges on the Visualizer packages to PUBLIC. If you do not 
  69.                want to have these privileges granted to PUBLIC, you can revoke 
  70.                them and then grant them selectively to appropriate users. 
  71.  
  72.                Replace the text in the To bind databases automatically list. 
  73.                with the following: 
  74.  
  75.                1. Open the Visualizer folder 
  76.                2. Open the Utilities folder 
  77.                3. Double-click on the Database Binder icon 
  78.                4. Select the appropriate databases from the displayed list 
  79.                5. Select Bind. 
  80.  
  81. Chapter 15     Applying PTFs 
  82.  
  83.                This is an addendum to list item 1. 
  84.  
  85.                To apply a PTF, all Visualizer objects must be closed, and any 
  86.                Visualizer SQL Database, Visualizer SQL Table, or Visualizer SQL 
  87.                View objects must be asleep. To put an SQL object to sleep: 
  88.  
  89.                1. Close the object. 
  90.                2. Move the object icon (and any shadows of the object) into a 
  91.                folder. 
  92.                3. Close the folder. 
  93.  
  94.                Approximately 90 seconds after the folder is closed, its objects 
  95.                will go to sleep. 
  96.  
  97.                Note:   The Visualizer folder often contains several of these 
  98.                objects, so the Visualizer folder must be closed before applying 
  99.                a PTF. 
  100.  
  101. Appendix H     Visualizer Packages 
  102.  
  103.                The Packages list should read: 
  104.  
  105.                FTBADM.FTB100UR 
  106.                FTBADM.FTB100CS 
  107.                FTBADM.FTB100RR 
  108.                FTBADM.FTB100L1 
  109.                FTBADM.FTBQM01 
  110.  
  111.                Ignore the phrase, into the FTBADM collection, in the sections 
  112.                referring to DB2/2, DB2/6000, DB2/VM, VSE, and AS/400. 
  113.                Collections only exist in DB2. 
  114.  
  115.  
  116. ΓòÉΓòÉΓòÉ 3.1. DB2/2 configuration parameters to support Visualizer ΓòÉΓòÉΓòÉ
  117.  
  118. In Chapter 9 of Visualizer Query for OS/2: Installing and Supporting, under the 
  119. heading Configuring DB/2 to support Visualizer, the following applies: 
  120.  
  121. In Visualizer, most DB2/2 configuration parameters do not require additional 
  122. user analysis. However, because Visualizer generates database connections 
  123. implicitly, this section has been included to help you calculate the value of 
  124. the numrc parameter for your workstation. 
  125.  
  126. To calculate the maximum number of connections generated between Visualizer 
  127. objects and remote databases, use the following rules: 
  128.  
  129. o Database object 
  130.  
  131.     1. The first database object with an opened icon or details view adds a 
  132.        connection to the database. 
  133.     2. Subsequent instances of database objects that use the same database do 
  134.        not add new connections. 
  135.     3. A connection to a database is not removed until all the database objects 
  136.        using that database have gone to sleep. 
  137.  
  138.        Sleep is defined as shutting down the workstation, the folder containing 
  139.        the object having been closed for more than 90 seconds, or deleting the 
  140.        object. Closing an object view does not put the object to sleep. 
  141.  
  142. o Enter SQL Window 
  143.  
  144.     1. Each opened SQL Window causes a connection to the database. 
  145.     2. The connection to the database is dropped when the SQL Window is closed. 
  146.  
  147. o Visualizer SQL Table Object 
  148.  
  149.     1. The first instance of a Visualizer SQL Table object with applied 
  150.        settings changes causes a connection to the database that contains the 
  151.        table. 
  152.     2. Subsequent instances of different SQL Table objects in the same database 
  153.        do not add new connections. 
  154.     3. When all SQL Table objects that have applied definitional changes to the 
  155.        database have gone to sleep, the connection to a database is removed. 
  156.  
  157. o Data Viewer 
  158.  
  159.     1. Each opened Contents view of an SQL Table or SQL View causes a database 
  160.        connection. 
  161.     2. When the contents view is closed, the database connection is dropped. 
  162.  
  163. o Query, Report, and SQL Statement 
  164.  
  165.     1. Each open Query or Report that contains data from an SQL Table or SQL 
  166.        View, causes a connection to the database. Each opened SQL Statement, 
  167.        also cause a connection to the database. 
  168.     2. When the object is closed, its connection to the database is dropped. 
  169.  
  170. When the number of database connections generated by Visualizer Query for OS/2 
  171. is known, base the numrc value on expected usage. 
  172.  
  173. For a general user, the recommended default values for numrc are: 
  174.  
  175. numrc - client 8, client with local databases 8
  176.  
  177. If you experience a problem with insufficient resources for connections when 
  178. using Visualizer (for example, SQL codes - 957, 30080), you can fix it by 
  179. closing Visualizer objects to release database connections, or by increasing 
  180. the value of the numrc parameter. 
  181.  
  182. If you have a large number of connections, you may run out of communications 
  183. protocol resources (for example, NetBIOS or APPC sessions) before the upper 
  184. limit of numrc is reached. For details of how to increase sessions resources, 
  185. refer to the configuration guide of your communications protocol product. 
  186.  
  187. Make sure that numrc does not exceed the value of the SQLNETB environment 
  188. variable set in the CONFIG.SYS file. This variable defines the maximum number 
  189. of sessions allowed for DB2/2. For more information on tuning DB2/2, refer to 
  190. the DB2/2 Guide. 
  191.  
  192. There are also configuration parameters to consider for each database. See the 
  193. DB2/2 Guide for recommended values, but note that the default values for a 
  194. typical database will work for Visualizer Query for OS/2. 
  195.  
  196.  
  197. ΓòÉΓòÉΓòÉ 4. Changes to the user documentation ΓòÉΓòÉΓòÉ
  198.  
  199. o The reference to the IBMSQLVIEW object in Appendix B of Visualizer Query for 
  200.   OS/2: Using (SH45-5089-00) is not correct. IBMSQLVIEW is not a valid object 
  201.   within this module, and it cannot be opened from the FTBAS3 module using the 
  202.   command line. Ignore further references to IBMSQLVIEW in the remainder of 
  203.   Appendix B. 
  204.  
  205. o Before opening and browsing an SQL Table or SQL View from the OS/2 command 
  206.   line, you must start Database Manager by issuing the command STARTDBM 
  207.  
  208.   Database Manager will start automatically when one of the following 
  209.   Visualizer objects accesses the database: 
  210.  
  211.   SQL Database 
  212.   Query 
  213.   Report 
  214.   SQL Statement 
  215.   Table 
  216.  
  217.  
  218. ΓòÉΓòÉΓòÉ 5. Deleting a Visualizer LAN requester component ΓòÉΓòÉΓòÉ
  219.  
  220. Before deleting a LAN requester component of Visualizer from a workstation, 
  221. ensure that the workstation has write access to the Visualizer directory on the 
  222. LAN server. 
  223.  
  224. If the workstation does not have write access to the Visualizer directory when 
  225. you delete the LAN requester component, the CONFIG.SYS file is deleted from the 
  226. workstation, and the following message is displayed: 
  227.  
  228. EPF1227: An error occured completing the deferred installation
  229.          preparation.
  230.  
  231. If this happens, copy the backup of the CONFIG.SYS file to the boot drive of 
  232. your workstation before shutting down and restarting. 
  233.  
  234. Note:   The backup version of the CONFIG.SYS file is stored in the TMPDEFER 
  235. sub-directory in the directory where the requester component of Visualizer is 
  236. installed. 
  237.  
  238.  
  239. ΓòÉΓòÉΓòÉ 6. OS/2 APAR information ΓòÉΓòÉΓòÉ
  240.  
  241. This section describes OS/2 APARs that currently affect Visualizer Query for 
  242. OS/2. 
  243.  
  244.  1. OS/2 APAR PJ09399 - OS/2 2.1 Default Decimal Separator 
  245.  
  246.     This APAR documents a problem with the decimal separator default value set 
  247.     in OS/2. If this problem is not corrected in OS/2 before the installation 
  248.     of Visualizer Query for OS/2, the Visualizer Profile object inherits the 
  249.     incorrect settings from OS/2. Reset the Visualizer Profile object manually 
  250.     if you encounter unexpected errors. 
  251.  
  252.     This problem is caused by a default of blank in the Decimal places setting 
  253.     of OS/2. To overcome the problem, change the setting to a numeric value, 
  254.     for example 2, in both OS/2 and Visualizer. 
  255.  
  256.     If you have already installed Visualizer Query for OS/2, correct the 
  257.     problem by opening the Visualizer Profile notebook and correct the Currency 
  258.     and Numbers settings. 
  259.  
  260.     To correct the OS/2 settings, open the Country icon in the System Setup 
  261.     folder and change the Time, Date and Numbers settings. 
  262.  
  263.  2. OS/2 APAR PJ14733 - Dropping shadows of SQL tables and SQL views on other 
  264.     Visualizer objects 
  265.  
  266.     Pending the resolution of this APAR, you cannot drop a shadow of an SQL 
  267.     Table or an SQL View onto a Visualizer object. 
  268.  
  269.  
  270. ΓòÉΓòÉΓòÉ 7. Binding to a remote database ΓòÉΓòÉΓòÉ
  271.  
  272. You cannot bind Visualizer packages directly to remote DB2/MVS, SQL/DS, AS/400, 
  273. and DB2/6000 databases from a non-OS/2 environment. It must be done from a 
  274. workstation that can access a remote database through DRDA. To do this, ensure 
  275. that your DB2 administrator has copies of the bind files listed in the 
  276. following files: 
  277.  
  278. FTBSDSN.LST         DB2 for MVS 
  279. FTBSARI.LST         SQL/DS 
  280. FTBSQSQ.LST         AS/400 
  281. FTBSSQL.LST         DB2/2 and DB2/6000 
  282. FTBWSQL.LST 
  283.  
  284. For example, when the files are on a workstation, and you are using a remote 
  285. DB2 database, the DB2 administrator should execute the following DB2/2 
  286. commands, or CAE/2 equivalents: 
  287.  
  288. SQLBIND @FTBSDSN.LST db2alias /k=all /g=public
  289. SQLBIND @FTBWSQL.LST db2alias /k=all /g=public
  290.  
  291. Following this, the SQL statement contained in the following files should be 
  292. executed: 
  293.  
  294. FTBDSNW.SQL         AS/400 
  295.  FTBARIW.SQL        SQL/DS 
  296.  FTBQSQW.SQL        DB2 for MVS 
  297.  FTBSQLW.SQL        DB2/2 and DB2/6000 
  298.  
  299. The view definitions may be tailored as required, as long as the columns are 
  300. not changed. 
  301.  
  302.  
  303. ΓòÉΓòÉΓòÉ 7.1. Binder object ΓòÉΓòÉΓòÉ
  304.  
  305. An additional bind file called FTBTAIX.BND and has been included in the list 
  306. files FTBWSQL.LST. 
  307.  
  308. The execute privileges on the package created from this bind file are available 
  309. to users. 
  310.  
  311.  
  312. ΓòÉΓòÉΓòÉ 8. VM and MVS Application System Version 3.2 ΓòÉΓòÉΓòÉ
  313.  
  314. Before using Visualizer Query for OS/2 to import reports from VM or MVS 
  315. Application System Version 3.2, ensure that a PTF for new function APAR PN59350 
  316. has been applied to the Host AS system. 
  317.  
  318.  
  319. ΓòÉΓòÉΓòÉ 9. Database Folder object ΓòÉΓòÉΓòÉ
  320.  
  321. o If you are not already logged on when a Visualizer database folder object is 
  322.   opened, a logon dialog is displayed. Population of the database folder will 
  323.   not continue until you have logged on. 
  324.  
  325.   The logon dialog will not be displayed if another Visualizer object, other 
  326.   than a database folder, already has a composed view open. This means that the 
  327.   database folder cannot be populated. 
  328.  
  329.   Therefore, if you are not logged on and a composed view of a Visualizer 
  330.   object is open, database folders cannot be opened successfully. If the 
  331.   composed views of all Visualizer objects are closed, then opening a database 
  332.   folder causes the logon dialog to appear, and the operation will work 
  333.   correctly. 
  334.  
  335.   The converse is also true. You cannot open the composed view of any 
  336.   Visualizer objects (other than database folders) while the logon window is 
  337.   displayed. However, once the user has logged on locally, the problem no 
  338.   longer exists because the logon dialog will not need to be displayed. 
  339.  
  340.   To avoid this problem either logon before using Visualizer objects, or open a 
  341.   Visualizer database folder first. 
  342.  
  343.   If you have not logged on, and database folders are failing to populate, 
  344.   close all the views of Visualizer objects and then open a Database folder 
  345.   again. This causes the logon dialog to appear and normal operation to be 
  346.   resumed. 
  347.  
  348.   Note:   Because of the above restriction, it is strongly recommended that 
  349.   Visualizer objects are not placed in the OS/2 Startup folder. 
  350.  
  351.   If you are working in an environment where you need to access databases on 
  352.   different servers (including DRDA access to host databases), you can avoid 
  353.   problems with multiple logons by using the same user IDs and passwords on all 
  354.   the systems. Then, logging on locally before starting Visualizer ensures that 
  355.   no further logons are required, irrespective of how many different database 
  356.   accesses are made. 
  357.  
  358.   Alternatively, you can avoid problems with multiple logons by using User 
  359.   Profile Management to create a user logon profile for the local userid. This 
  360.   ensures that you will be automatically logged on to all other systems when 
  361.   you log on locally. 
  362.  
  363. o If you are copying a Visualizer table to a database folder, and SQL error - 
  364.   805 occurs, bind the product again, as described in Chapter 9 of Visualizer 
  365.   Query for OS/2: Installing and Supporting. 
  366.  
  367. o Message 4072: The database is not responding. is displayed when the Data 
  368.   Viewer is attempting to fetch rows of data from a database, but does not 
  369.   receive a response from the database for about 30 seconds. This condition can 
  370.   occur when other applications have locks on the database, or when there are 
  371.   problems communicating with the database. No further data will be displayed 
  372.   by the Data Viewer. 
  373.  
  374.  
  375. ΓòÉΓòÉΓòÉ 10. Database locking ΓòÉΓòÉΓòÉ
  376.  
  377. If you use a Visualizer object to access a database table where locks are being 
  378. held by another user, in some circumstances, the Visualizer object will wait 
  379. for the locks to be released before resuming normal operation. 
  380.  
  381. When this occurs, the OS/2 cursor will show the busy icon. 
  382.  
  383. If you want to close the object before normal operation resumes, press 
  384. Ctrl+Break. 
  385.  
  386.  
  387. ΓòÉΓòÉΓòÉ 11. Opening settings for a DB2/6000 table or view ΓòÉΓòÉΓòÉ
  388.  
  389. Pending the resolution of the DB2/2 APAR JR00056, using DB2/2 with an APPC 
  390. connection to a DB2/6000 database causes system error: SYS3175 when you open 
  391. the settings notebook of a DB2/6000 table or view. However, you can open and 
  392. use tables and views in a DB2/6000 database without problems. 
  393.  
  394. If you encounter a SYS3175 error, you must shutdown and restart your 
  395. workstation before continuing, although you still will not be able to show the 
  396. settings for a DB2/6000 table or view using Visualizer. 
  397.  
  398. This problem does not occur when you use CAE/2 to connect to a DB2/6000 
  399. database. 
  400.  
  401.  
  402. ΓòÉΓòÉΓòÉ 12. Printing ΓòÉΓòÉΓòÉ
  403.  
  404. There are two ways to set portrait and landscape options on a printer. You can 
  405. use either the workplace shell Printer object settings notebook to set the 
  406. default options for the print queue represented by the printer object. 
  407. Alternatively, you can use the Options push button on the Copies window. The 
  408. Copies window is displayed when a print request is made from some Visualizer 
  409. objects, such as Report. This method only changes the properties for the 
  410. current print job and is not recommended because options set in this way may 
  411. not be reflected in the printed output. 
  412.  
  413. The recommendation therefore is to create one Workplace Shell Printer object 
  414. for each variation of printer options required. For example, you could create 
  415. one object for landscape printing, and another for portrait printing, both 
  416. represent queues that will print on the same printer. In this way, the required 
  417. printout can be achieved without having to modify any print options. 
  418.  
  419.  
  420. ΓòÉΓòÉΓòÉ 13. Drag-and-drop in Data Viewer ΓòÉΓòÉΓòÉ
  421.  
  422. o Dragging from the Data Viewer to another Visualizer object is only permitted 
  423.   when the data is in browse mode. 
  424.  
  425.   Note:   Links enabled in this way will not be active links. 
  426.  
  427. o Report may wait when requesting data that is being updated in Data Viewer. 
  428.   You can avoid this by using Save or Revert in the Data Viewer. 
  429.  
  430.  
  431. ΓòÉΓòÉΓòÉ 14. General ΓòÉΓòÉΓòÉ
  432.  
  433. o Visualizer Query for OS/2 does not support OS/2 Extended Services Database 
  434.   Manager. However, this will not be detected until an object attempts to 
  435.   connect to DBM, and the following message, Unable to load SQLA32, appears. 
  436.  
  437. o Visualizer Query for OS/2 optimizes database access by sending all requests 
  438.   directly to the database. This means that errors arising will result in 
  439.   messages from the database itself. 
  440.  
  441.   Not all messages are detectable by Visualizer. These messages are not 
  442.   supported by online help. In such circumstances, refer to the appropriate 
  443.   documentation for the database you are using. 
  444.  
  445. o On shutdown, the system may sometimes appear to hang. After two minutes, the 
  446.   shutdown completes successfully. In most cases, you can significantly reduce 
  447.   this delay by pressing Crtl+Esc. A window is displayed asking you to close 
  448.   the desktop, followed by another message informing you that shutdown is 
  449.   complete. The workstation can then be switched off. 
  450.  
  451.   Alternatively, this situation can be prevented by shutting down the LAN 
  452.   Requester before you shutdown the system. 
  453.  
  454. o A problem may occur when using DB2/2 1.0.1 (which was a refresh of DB2/2 
  455.   including service up to level 7015). If the Database Manager is not already 
  456.   started, attempts to start it automatically from within Visualizer may fail. 
  457.   Once this has happened the Database Manager cannot be started from an OS/2 
  458.   command line. 
  459.  
  460.   When corrective service is applied to bring DB2/2 to level 7025, this problem 
  461.   is removed. However, if you are at level 7015, start the Database Manager 
  462.   from an OS/2 command line before using Visualizer objects. You can put a DBM 
  463.   START DATABASE MANAGER command into the file, STARTUP.CMD. 
  464.  
  465. o If you try to Select Columns when building a Query, you cannot Rename 
  466.   Columns, Calculate Columns, or Select Rows and the icons on the tool bar and 
  467.   the choices on the Query menu are not available. 
  468.  
  469. o In a report, column headings can be split over multiple lines. The points at 
  470.   which these splits occur can be controlled in the following way: 
  471.  
  472.     1. Double-click on the column heading to open the Settings window. 
  473.  
  474.     2. Change the value of the Depth in lines field. Standard word-wrapping 
  475.        will be applied to the heading text. 
  476.  
  477.     3. If you want line breaks at specific points in the text, insert line feed 
  478.        characters at the point where you want the line to end. 
  479.  
  480.        To insert line feed characters into text: 
  481.  
  482.        a) Move the edit cursor to the required break-point in the text. 
  483.  
  484.        b) Press the Alt key, then type 1 followed by 0 on the numeric keypad. 
  485.  
  486.        c) Select Apply on the Settings window to display the text over multiple 
  487.           lines. 
  488.