cpc
and cpclnk
must
be accessible through $PATH. They are located in <dep_path>\bin.
All the files required to run the examples are contained in the directory
$DEP/doc/FirstSteps/Precompiler
.
- Hello, SAP DB
- HelloSAPDB.cpc shows
- how to connect to the database
- how to execute SQL
- how to fetch results
- execute it as
make && ./HelloSAPDB <sqluser> <password> <dbname> <host>
The command line arguments are optional, the defaults will access the installed demo database