home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a063 / 6.img / SAMPLE / APTSQL / README < prev    next >
Encoding:
Text File  |  1990-10-02  |  2.1 KB  |  59 lines

  1.  
  2. This directory contains the source files for the 4GL APT-SQL version of
  3. the "sales" sample application.  After installing the APT-Execute software,
  4. build the APT-SQL sales sample application by following these steps:
  5.  
  6.     1. Change to the drive and directory containing the aptsql samples:
  7.             <drive>:
  8.             cd  <SYBASE home>\sample\aptsql
  9.      
  10.        Where <drive> is the destination drive you chose during
  11.        APT-Execute installation and <SYBASE home> is the destination
  12.        directory you chose during APT-Execute installation as the home
  13.        directory for the SYBASE directory tree.
  14.  
  15.     2. Enter:
  16.             aptcomp *.fpl 
  17.     
  18.        This generates APT-SQL object (.fpo) files.
  19.  
  20.  
  21. Before you run the APT-SQL sample application, make sure: 
  22.  
  23.     1. The Net-Library software necessary for APT-Execute has been
  24.        configured correctly and is loaded.
  25.  
  26.        Use the dbping utility program shipped with Net-Library
  27.        to verify that your network and Net-Library software is
  28.        able to connect your PC to SQL Server.
  29.  
  30.     2. You have a SQL Server login and the "pubs" database has 
  31.        been installed on SQL Server. 
  32.  
  33.        If you have a DB-Library product with the isql utility installed 
  34.        on your PC, you can verify this yourself.  Otherwise, your 
  35.        SQL Server system administrator can verify this for you. 
  36.  
  37.     3. Your SYBASE environment variable is set to the
  38.        drive and directory path for the SYBASE home directory.
  39.        Use the "set" command without arguments to display the 
  40.        current settings of all your environment variables:
  41.             set
  42.  
  43.        If the SYBASE environment variable is not set, set it
  44.        appropriately.  For example: 
  45.             set SYBASE=C:\sql
  46.  
  47.     4. Your SYBFORMLIST environment variable includes your
  48.        sample\aptforms directory.
  49.  
  50.        If the SYBFORMLIST environment variable is not set correctly, set
  51.        it appropriately.  For example: 
  52.             set SYBFORMLIST=<SYBASE>\sample\aptsql
  53.  
  54.        Where <SYBASE> is the value of your SYBASE environment variable.
  55.  
  56.  
  57. To run the "sales" application, enter:
  58.        aptexec sntr 3
  59.