This sample attempts to provide sample code to use the HTTP server in Adaptive Server Anywhere. It assumes that the HTTP sample files were extracted/untarred in such a way they are located in the /tmp/http folder.

To use this sample start the network server (dbsrv9) with the command line switches "-xs http{port=8080}". This will launch the database server with the integrated HTTP Server.

dbsrv9 -xs {port=8080} /tmp/asademo.db

Once you have started the database server, launch Interactive SQL from Finder and execute the following commmands:

If the sample prompts for authorization, enter "DBA" for the userid and "SQL" for the password.

Here are the Samples:

Show Table - Lists tables and their contents from the database.

Show Groups - Lists groups that you have created and the contents of the groups which contain test that you can create.

Test Calendar Sample - Lists the calendar year and provides forms to navigate through the calendar.

Test Image Sample - Displays the image found this folder.

Read Release notes in PDF file - Displays the Read Me PDF found this in ASA installation folder.

Read Release notes in txt file - Displays the Read Me txt found this in ASA installation folder.

Read electronichelp - Displays the electronic help installation folder if installed.