home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv7.zip / VACPP / IBMCPP / smarts / DAX / READ.ME
Text File  |  1995-06-02  |  3KB  |  63 lines

  1.  
  2. Project Smarts - Data Access Builder Application README
  3. -------------------------------------------------------
  4.  
  5. Two kinds of Data Access Builder applications can be generated
  6. using Project Smarts:  A C++ application, and a SOM application.
  7.  
  8. A source file that contains client code to access data in a DB2/2 
  9. table is generated with the project.  You provide your own database 
  10. table, and the Data Access Builder tool generates files that contain
  11. the access methods for the table.
  12.  
  13. Building the Project
  14. --------------------
  15.  
  16.   ┌───────────────────────────────────────────────────────────────┐
  17.   │ NOTE: You cannot build this project until you perform the     │
  18.   │       following steps. You also need to have DB2/2 installed. │
  19.   └───────────────────────────────────────────────────────────────┘
  20.  
  21. First, ensure that you are logged on to the database system and
  22. that the DBM (Database Manager) is started.
  23.  
  24. Next, use the Data Access Builder tool to generate the files 
  25. that contain the access methods for your table.  Invoke the
  26. Data Access Builder by selecting "Database" under the "Project" menu.  
  27.  
  28. In the Data Access Builder tool, select the following values:
  29.  
  30. ─────────────────────────────────────────────────────────┬────────────────── 
  31. Database name selected for creating classes:             │ %DATASTORE_NAME%
  32. ─────────────────────────────────────────────────────────┴──────────────────
  33. Class Name used in the Names page of the class notebook: │ %DAX_CLASS%
  34. ─────────────────────────────────────────────────────────┴──────────────────
  35. File stem used in the Names page of the class notebook:  │ %DAX_FILE%
  36. ─────────────────────────────────────────────────────────┴──────────────────
  37. The generate option should be:                           │ %GENTYPE%
  38. ─────────────────────────────────────────────────────────┴──────────────────
  39.  
  40. Now, proceed to generate the data access source files (%GENTYPE%).  
  41. After the files have been generated, exit the Data Access Builder 
  42. tool. You are now ready to modify the source for any 
  43. application-specific processing.
  44. %IDLNote%
  45. Build the project by selecting "Build" under the "Project" menu.
  46.  
  47.  
  48. Note on the SOM Compile action
  49. ------------------------------
  50.   A hand-coded make file is provided with the SOM Data Access Builder
  51.   application.  This is because no special actions support is available
  52.   for the SOM Compiler, so an incomplete list of dependencies are 
  53.   provided to the MakeMake utility for the SOM Compile action.
  54.  
  55.   You can either edit the provided make file to suit your own needs, or
  56.   you can use MakeMake to create a make file for only the Compile and
  57.   Link steps, and perform the SOM Compile action manually (select
  58.   "Compile" from the pop-up menu of the IDL file).
  59.  
  60.  
  61.  
  62.  
  63.