README - Pervasive DTI Samples for C

If you compile and run these programs as a user other than 'psql', 
the following environment variables need to be set:
	Linux:
		export LD_LIBRARY_PATH=/usr/local/actianzen/lib/
		export LD_LIBRARY_PATH=/usr/local/actianzen/lib64/  (64-bit OS only)
		export ACTIANZEN_ROOT=/usr/local/actianzen
	MacOSX:
		export DYLD_LIBRARY_PATH=/usr/local/actianzen/lib/:/usr/local/actianzen/lib64/:$DYLD_LIBRARY_PATH
		export ACTIANZEN_ROOT=/usr/local/actianzen

I. Compile the application(s).

Run "make all" to compile all applications.

For additional make options, type "make".

II. Run the application(s).

To run type
 "./dtitest" 
 "./dbinfo" 
 "./mkdeinfo" 
 "./license" 

Here is sample output from the executable:

**************** dtitest ****************

./dtitest barbarossa

ServerName: barbarossa
UserName: 
Password: 
PvConnectServer OK.
PvGetServerName OK.  ServerName: LOCAL
PvGetCreateDatabase OK.
PvGetCreateDSN OK.
PvDeleteDSN OK.
PvDropDatabase OK.
PvStop OK.



**************** mkdeinfo ****************

./mkdeinfo barbarossa
PvConnectServer OK.
PvGetServerName OK.  ServerName: LOCAL


MicroKernel Usage Information
-----------------------------

Current licenses       = 0
Peak licenses          = 1
Max licenses           = 200

Current files          = 0
Peak files             = 6
Max files              = 1024

Current handles        = 0
Peak handles           = 8
Max handles            = 200

Current transactions   = 0
Peak transactions      = 1
Max transactions       = 0

Current clients        = 0
Peak clients           = 3
Max clients            = 1024

Current threads        = 0
Peak threads           = 2
Max threads            = 1024

Current locks          = 0
Peak locks             = 0




**************** dbinfo ****************

./dbinfo myserver

ServerName: myserver
UserName: 
Password: 
PvConnectServer OK.
PvGetServerName OK.  ServerName: LOCAL

DB Names on myserver

DEFAULTDB
DEMODATA
PVIDEODB
TEST123
TEST5
TEST6


**************** license ****************

./license myserver add

PvConnectServer OK.
PvGetServerName OK.  ServerName: LOCAL

Test License key (zero users) added.
Key = ERXVD3U4ZS9KR94QPDHV5BN2.
Use 'clilcadm -i' command to verify.



./license myserver del
PvConnectServer OK.
PvGetServerName OK.  ServerName: LOCAL

Test License key (zero users) removed.
Key = ERXVD3U4ZS9KR94QPDHV5BN2.
Use 'clilcadm -i' command to verify.



