DBMaker Starting Guides

The Starting Guides for Scripting Languages

This document will help you to quickly start to use scripting languages (Perl, PHP and Python) with DBMaker. You should follow these steps:

  1. Choose a directory and create a database.
    $ mkdir test
    $ cd test
    $ dmsqls
    
    dmSQL> create db test;
     USE db #1 connected to db:<test> by user:<SYSADM>
    
    dmSQL> create table t1 (c1 int, c2 char(10));
    
    dmSQL> insert into t1 values (?, ?);
    
    dmSQL/Val> 1, 'dbmaker';
    1 rows inserted
    
    dmSQL/Val> 2, 'database';
    1 rows inserted
    
    dmSQL/Val> end;
    
    dmSQL> commit;
    
    dmSQL> terminate db;
    USE db #1 terminated(CURRENT)
    
    dmSQL> q;
    $
    
  2. Start the database.
    $ dmserver -u SYSADM test
    DBMaker 3.5
    Copyright 1995-1999 CASEMaker Inc. All rights reserved.
    SQL Server bound to port 23000
    The database has started successfully.
    Database Server is running in the background mode.
    Process ID = 1073
    
  3. Install Drivers.
  4. Write your first program.
  5. Test your first program.

[ Back To Manuals Index ]

Copyright 2002 SYSCOM Computer Engineering Co. All rights reserved.