ReadMe: 
Sav ZBase 8.2 2006/11 
Copyright (c) 1998-2006 Technopoles-M 
Built on the Sav Processor 8.2 (c) 1997-2006 Technopoles-M 
Includes Sav Zigzag 8.2 (c) 1998-2006 Technopoles-M 
--------------------------------------------------------------------------
TOOLS 

Sav ZBase desktop Win32 environment for Zigzag developers of database. 
It consists of: 
- Interpreter, allows editing and debugging Zigzag scripts, helps to develop 
  database in interactive regime.
- Navigator, displays table view of relations in database, allows to construct
  OR/AND Zigzag queries by means of selecting attribute names and values.
- Importer, exports tabular data from database.
- Exporter, imports tabular data to database.
- Sav Zigzag interface (class library) with database for Java programmers.

REQUIREMENTS 

Win32
Java 2: See http://java.sun.com/j2se/
the XML lib (jaxp.jar, crimson.jar) is needed for Java 1.3 or earlier
RAM: 32MB

FILES 

lib/  Library: ZBase (savb.jar), Zigzag (savz.jar)
doc/  Documentation in html format
demo/ ZBase demo data: Z scripts (*.z), Z databases (*.ass), 
      Z table data (*.tab), command files (*.bat)
examples/ Java/Zigzag examples

INSTALLING 

Unpack savzb##.zip and copy savzbase-#.# directory. If need, change 
batches (*.bat files for win95).

STARTING 

ZBase Interpreter (demo\interpret.bat) 
java -classpath ../lib/savb.jar;../lib/savz.jar;%CLASSPATH% sav.base.Interpreter 

ZBase Navigator (demo\navigate.bat) 
java -classpath ../lib/savb.jar;../lib/savz.jar;%CLASSPATH% sav.base.Navigator 

ZBase Exporter (demo\export.bat) 
java -classpath ../lib/savb.jar;../lib/savz.jar;%CLASSPATH% sav.base.Exporter 
<db_path> <file_path> [<request> [<key_column_name> [<column_name> ...]]] 
Where: 
<file_path> ::= <directory> | <.tab file> 
<request> ::= <Z expression, for example R:r> 
<key_column_name> ::= <class name, for example R> 
<column_name> ::= <Z expression, perhaps many of names, for example (R)~A1> 
Example: 
java sav.base.Exporter Common.ass Common 
or 
java sav.base.Exporter Common.ass Common/DS.tab "database system:*" 

ZBase Importer (demo\import.bat) 
java -classpath ../lib/savb.jar;../lib/savz.jar;%CLASSPATH% sav.base.Importer 
[<options>] <db_path> <file_path> [<key_column_number> [<column_number> ...]] 
Where: 
<options> ::= -r[ead] | -a[nalyse] 
<file_path> ::= <directory> | <.tab file> 
Example: 
java sav.base.Importer Common.ass Common 
or 
java sav.base.Importer Common.ass Common/DS.tab 

Zigzag API (examples\javaz\s.bat) 
See Java source examples in javaz directory, test (s.bat) and adapt their

INTERNATIONALIZATION 

If need to change default char set of JVM, 
1. correct font.properties, 
2. start java with parameter -Dfile.encoding. 
Example for Russian fonts: 
cd %JAVA_HOME%\lib 
copy font.properties.ru font.properties 
cd C:\savzbase
java -classpath ... -Dfile.encoding=Cp1251 sav.base.Navigator
-------------------------------------------------------------------------------
Technopoles-M 
http://savtechno.com 