HP 3000 Manuals

Download PC API from the Database Server [ HP PC API User's Guide for ALLBASE/SQL and IMAGE/SQL ] MPE/iX 5.0 Documentation


HP PC API User's Guide for ALLBASE/SQL and IMAGE/SQL

Download PC API from the Database Server 

PC API is contained in a self-extracting file archive called HPPCAPI.
Setting up PC API involves two steps:

   *   Downloading the PC API file to your PC client.
   *   Extracting the files on your PC client.

Downloading PC API 

There are three ways to download the file.  If your PC is connected to a
NetWare file server, the file can be moved from the SYS account to your
NetWare file server for installation.  Otherwise, you can use FTP or
DSCOPY to move the files to your PC for installation.

NetWare/iX.   

If NetWare/iX is installed on your server, do the following:

   1.  From your PC, attach to your file server and login as supervisor.
       The default drive for NetWare is F:

            F:\LOGIN> login supervisor 

   2.  Establish the directory for the PC API files:

            F:\SYSTEM> cd \ 
            F:\> mkdir HPPCAPI 

   3.  Logon to your server as MGR.NETWARE and execute the following
       commands, replacing Server with the name of your HP 3000 server,
       to copy the PC API self-extracting file into your NetWare file
       directory:

            nwcopy.support 
            login Server:supervisor 
            copy hppcapi.pub.sys;\hppcapi\hppcapi.exe 
            EXIT 

ARPA Services (FTP).   

From your PC, do the following:

   1.  Create a directory, for example, PCAPI.

   2.  CD to the PCAPI directory.

   3.  Copy the PC API self-extracting file to your PC with the following
       commands, replacing Server with the name of your HP 3000 server,
       and use MANAGER.SYS,PUB as the Username for the FTP prompt:

            ftp Server 
            binary 
            get hppcapi hppcapi.exe 
            quit 

NS Services (DSCOPY).   

From your PC, do the following:

   1.  Create a directory, for example, PCAPI.

   2.  CD to the PCAPI directory.

   3.  Copy the PC API self-extracting file to your PC with the following
       command, replacing Server with the name of your HP 3000 server:

             dscopy -r -F -B -L256 Server#manager.sys,pub#hppcapi hppcapi.exe

Extracting the PC API file 

From your PC, type the following to extract the PC API files from the
self-extracting file:

     C:\PCAPI> hppcapi 

After extracting the file, you will see two self-extracting files:
hpodbc.exe (for the ODBC interface) and hpgupta.exe (for the Gupta
interface).

If you are using the ODBC interface proceed to the next chapter, "Using
the ODBC Interface." If you are using the Gupta interface, proceed to the
chapter "Using the Gupta Interface."



MPE/iX 5.0 Documentation