After you install DB2 Spatial Extender, you can verify its installation by using the DB2 Spatial Extender sample program. Before you can run the sample program, you must create a SAMPLE database and make the sample program executable.
Note: | Be sure to use the compiler specified in the DB2 Spatial Extender makefile. |
To compile and run the sample program for Windows NT:
cd %DB2PATH%\samples\spatial
Note: | In order to perform step 3 and continue verifying the installation, you must own the default DB2 instance (DB2-DB2). |
To compile and run the sample program for AIX:
cd $DB2INSTANCE/sqllib/samples/spatial
Note: | In order to perform step 4 and continue verifying the installation, you must own the DB2 instance that you created or updated. |
For information about the sample programs, see Writing applications for DB2 Spatial Extender.