home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / makeview.zip / README.TXT < prev    next >
Text File  |  1995-07-10  |  3KB  |  69 lines

  1. ---------------------------------------------------------------------
  2.  
  3.                          Notes on using MAKEVIEW
  4.                                                             01 Jul 95
  5. ---------------------------------------------------------------------
  6.  
  7. What is it?
  8.     MAKEVIEW creates DB2/2 compatible views of system tables for
  9.     SQL/DS databases.
  10.     
  11.     
  12. Who needs it (and why)?
  13.     If you are using the VX-REXX Client/Server Edition and you want
  14.     to connect to a SQL/DS database, you need to run MAKEVIEW.
  15.     
  16.     If you connect to a SQL/DS system using the VX-REXX database objects, 
  17.     the ListColumns and ListTables methods will not function correctly.
  18.     Also, the VX-REXX SQL Editor will not list the tables or columns in 
  19.     your database. The reason for this is that the VX-REXX database 
  20.     controls assume the SQL/DS system tables are identical to those for 
  21.     DB2/2, which is not the case.  The MAKEVIEW program creates a number 
  22.     of database views that simulate the required system tables. After 
  23.     running MAKEVIEW, the VX-REXX SQL Editor and the individual methods 
  24.     listed above will function correctly.
  25.     
  26.     
  27. What MAKEVIEW does NOT do:
  28.     -- MAKEVIEW does NOT create new system tables. It creates _views_.
  29.     -- The ListForeignKeys method will still not work because the
  30.        database does not support it.
  31.     -- The ListIndexes method will not work.
  32.  
  33.  
  34. How to run MAKEVIEW
  35.     1. Open an OS/2 command window
  36.     
  37.     2. Change to the drive/directory that contains MAKEVIEW.CMD and 
  38.        the TABLES.DAT file.
  39.        
  40.     3. Run MAKEVIEW. The command line arguments are:
  41.     
  42.         MAKEVIEW -dDatabase [-oViewOwner] [-sSystemOwner] [-q] [-r]
  43.         
  44.        Where:
  45.             Database       the name of a database
  46.             ViewOwner      qualifier of the created views
  47.             SystemOwner    qualifier of the current system tables
  48.             -q             operate quietly
  49.             -r             drop views
  50.  
  51.         By default, ViewOwner is SYSIBM and SystemOwner is SYSTEM.
  52.         
  53.     For example, to create views in an SQL/DS database named SAMPLE,
  54.     use the following command:
  55.     
  56.     MAKEVIEW -dSAMPLE
  57.  
  58.  
  59. Disclaimer:
  60.     Watcom (Watcom International and all of its subsidiaries) makes no
  61.     representation or warranty with respect to the adequacy of this
  62.     documentation or the programs which it describes for any particular
  63.     purpose or with respect to its adequacy to produce any particular
  64.     result. In no event shall Watcom, its employees, or the authors of
  65.     this documenation be liable for special, direct, indirect, or 
  66.     consequential damages, losses, costs, claims, demands or claims for
  67.     lost profits, fees, or expenses of any nature or kind.
  68.  
  69.