<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Other db alternatives: sqlite3? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175096#M43741</link>
    <description>The port of 3.3.4 mentioned above does not appear to be particularly interesting.  The 2,000-line os_vms.c is 99% the same as another file in the same distribution called os_unix.c.  Most of the changes consist of renaming all the functions so they have "VMS" rather than "UNIX" in the names.&lt;BR /&gt;&lt;BR /&gt;Rather than assuming a port is needed, why not just try building it?  If you download the "amalgamated" source code of the current release from here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.sqlite.org/sqlite-amalgamation-3_5_7.zip" target="_blank"&gt;http://www.sqlite.org/sqlite-amalgamation-3_5_7.zip&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Unzip it, and execute the following command:&lt;BR /&gt;&lt;BR /&gt;$ cc/names=(as_is,shortened) -&lt;BR /&gt;_$ /define=(NO_GETTOD,RTLD_GLOBAL=0 -&lt;BR /&gt;_$ ,_USE_STD_STAT,_XOPEN_SOURCE_EXTENDED) -&lt;BR /&gt;_$  sqlite3&lt;BR /&gt;&lt;BR /&gt;You will get a sqlite3.obj file and you might as well just try linking against it and seeing what happens.  You'll also get one QUESTCOMPARE informational diagnostic that does not seem to be all that dire, but if it bothers you it should be an easy fix. &lt;BR /&gt;&lt;BR /&gt;On the locking issue, it looks like sqlite uses the locking flags of fcntl().  The CRTL acquired these somewhat recently, so if you are on a recent enough version of VMS there shouldn't be any work at all in getting locking to work.  I'm afraid I don't know offhand what version that is.&lt;BR /&gt;&lt;BR /&gt;I also managed to build it by downloading the complete source here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.sqlite.org/sqlite-3.5.7.tar.gz" target="_blank"&gt;http://www.sqlite.org/sqlite-3.5.7.tar.gz&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;copying the Makefile.linux-gcc to Makefile, fiddling with some flags and macros, and then built it with GNV's make under GNV's bash.  I could post my Makefile if anyone is interested.  I don't see any advantage to building it this way unless you want to take another step and integrate TCL, which appears to be required to run the test suite.</description>
    <pubDate>Sun, 13 Apr 2008 21:05:57 GMT</pubDate>
    <dc:creator>Craig A Berry</dc:creator>
    <dc:date>2008-04-13T21:05:57Z</dc:date>
    <item>
      <title>Other db alternatives: sqlite3?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175088#M43733</link>
      <description>MySQL is only one of a number of possible databases we could use.  I think we'd be happy with sqlite3 if it worked.  Unfortunately, all I see out there is an old port of sqlite3 that does not support locking:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.bourles.fr/Portage.html" target="_blank"&gt;http://www.bourles.fr/Portage.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Sqlite: Cest une bibliothèque qui permet d'embarquer une base de données SQL dans une application. Le portage sur OpenVMS est pour l'instant incomplet car il n'y a pas de mise en oeuvre des verrous. Le portage n'est donc pas adapté à une application multi-processus ou multi-threads. Le portage complet est en cours de réalisation néanmoins les sources SQLITE-3_3_4-VMS.ZIP sont disponibles dans l'état actuel. L'utilitaire de gestion sqlite3.exe est compris dans l'archive ainsi que la bibliothèque d'objets sqlite3.olb.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.bourles.fr/kits_openvms/SQLITE-3_3_4-VMS.ZIP" target="_blank"&gt;http://www.bourles.fr/kits_openvms/SQLITE-3_3_4-VMS.ZIP&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I compared this with the latest upstream release, and in addition to including a .com to make the package, it also has an os_vms.c not present upstream.  I also checked upstream's revision control system logs and found the last  changelog mentioning VMS was back in 2003.  Not looking good.&lt;BR /&gt;&lt;BR /&gt;Is there a more recent port I'm missing?  How much work is involved here in fixing locking?&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Apr 2008 13:22:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175088#M43733</guid>
      <dc:creator>Ben Armstrong</dc:creator>
      <dc:date>2008-04-07T13:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Other db alternatives: sqlite3?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175089#M43734</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;May be you should drop him (Bourles) an email ?&lt;BR /&gt;&lt;BR /&gt;The best source of information about databases for Vms is &lt;BR /&gt;&lt;A href="http://dba.openvms.org/stories.php?page=4&amp;amp;topic=" target="_blank"&gt;http://dba.openvms.org/stories.php?page=4&amp;amp;topic=&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Have you tried Mimer (&lt;A href="http://www.mimer.com)," target="_blank"&gt;www.mimer.com),&lt;/A&gt; Ingres (which has gone open-source) ?&lt;BR /&gt;&lt;BR /&gt;If you have some free time, you could try to port Interbase/Firebird (&lt;A href="http://sourceforge.net/project/showfiles.php?group_id=9028)" target="_blank"&gt;http://sourceforge.net/project/showfiles.php?group_id=9028)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Apr 2008 14:11:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175089#M43734</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2008-04-07T14:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Other db alternatives: sqlite3?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175090#M43735</link>
      <description>The previous link should be&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://dba.openvms.org" target="_blank"&gt;http://dba.openvms.org&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(thanks for the plug :-) )</description>
      <pubDate>Mon, 07 Apr 2008 14:41:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175090#M43735</guid>
      <dc:creator>Ian Miller.</dc:creator>
      <dc:date>2008-04-07T14:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Other db alternatives: sqlite3?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175091#M43736</link>
      <description>Yeah, I've been to that site.  Couldn't find anything there on sqlite3, but if the community here doesn't know, perhaps I'll ask there.  I just started here because it was at least familiar to me.&lt;BR /&gt;&lt;BR /&gt;We don't want to pass the cost of proprietary licenses down to the clients, so that rules out Mimer.  Ingres has the same problem as MySQL, which is it will require an up-to-date Ruby and porting the Ruby bindings for it to VMS Ruby.  And no, we really aren't interested in 'owning' another port.&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Apr 2008 15:08:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175091#M43736</guid>
      <dc:creator>Ben Armstrong</dc:creator>
      <dc:date>2008-04-07T15:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Other db alternatives: sqlite3?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175092#M43737</link>
      <description>I've been looking into porting sqlite, but my Unix knwoledge is too little to get on with it at the moment (as there are more urgent things to do). I used the latest version, as far as I know (3.5.4, downloaded a few weeks ago).&lt;BR /&gt;I know that it is embedded in some packages, to it is possible (and works fine). What I learned from those that use it:&lt;BR /&gt;A number of files contain platform specific code: mutex*.c and os*.c. The best thing to do is create VMS-specific versions of these files and used these. Most important is locking (in os_unix.c) that needs a rework.&lt;BR /&gt;&lt;BR /&gt;Probably this os-vms.c is a good start.&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Apr 2008 16:32:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175092#M43737</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2008-04-07T16:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Other db alternatives: sqlite3?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175093#M43738</link>
      <description>It may be a good start, but is already ~2000 lines of code.  I am not sure it's going to be worth it to us unless it turns out to be mostly done already.&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Apr 2008 16:36:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175093#M43738</guid>
      <dc:creator>Ben Armstrong</dc:creator>
      <dc:date>2008-04-07T16:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: Other db alternatives: sqlite3?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175094#M43739</link>
      <description>If you have Rdb available to you, one of the programmers here has used the Rdb JDBC driver to connect to Rdb databases from JRuby running on VMS.&lt;BR /&gt;&lt;BR /&gt;Not using it for any applications, but it seems to work ok.&lt;BR /&gt;&lt;BR /&gt;cheers,&lt;BR /&gt;chris</description>
      <pubDate>Mon, 07 Apr 2008 23:51:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175094#M43739</guid>
      <dc:creator>Chris Barratt</dc:creator>
      <dc:date>2008-04-07T23:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Other db alternatives: sqlite3?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175095#M43740</link>
      <description>Well, we're looking for a cross-platform solution, so that rules out Rdb.  Also, depending on JRuby is not a big plus until the performance problems can be solved.&lt;BR /&gt;</description>
      <pubDate>Tue, 08 Apr 2008 10:13:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175095#M43740</guid>
      <dc:creator>Ben Armstrong</dc:creator>
      <dc:date>2008-04-08T10:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Other db alternatives: sqlite3?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175096#M43741</link>
      <description>The port of 3.3.4 mentioned above does not appear to be particularly interesting.  The 2,000-line os_vms.c is 99% the same as another file in the same distribution called os_unix.c.  Most of the changes consist of renaming all the functions so they have "VMS" rather than "UNIX" in the names.&lt;BR /&gt;&lt;BR /&gt;Rather than assuming a port is needed, why not just try building it?  If you download the "amalgamated" source code of the current release from here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.sqlite.org/sqlite-amalgamation-3_5_7.zip" target="_blank"&gt;http://www.sqlite.org/sqlite-amalgamation-3_5_7.zip&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Unzip it, and execute the following command:&lt;BR /&gt;&lt;BR /&gt;$ cc/names=(as_is,shortened) -&lt;BR /&gt;_$ /define=(NO_GETTOD,RTLD_GLOBAL=0 -&lt;BR /&gt;_$ ,_USE_STD_STAT,_XOPEN_SOURCE_EXTENDED) -&lt;BR /&gt;_$  sqlite3&lt;BR /&gt;&lt;BR /&gt;You will get a sqlite3.obj file and you might as well just try linking against it and seeing what happens.  You'll also get one QUESTCOMPARE informational diagnostic that does not seem to be all that dire, but if it bothers you it should be an easy fix. &lt;BR /&gt;&lt;BR /&gt;On the locking issue, it looks like sqlite uses the locking flags of fcntl().  The CRTL acquired these somewhat recently, so if you are on a recent enough version of VMS there shouldn't be any work at all in getting locking to work.  I'm afraid I don't know offhand what version that is.&lt;BR /&gt;&lt;BR /&gt;I also managed to build it by downloading the complete source here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.sqlite.org/sqlite-3.5.7.tar.gz" target="_blank"&gt;http://www.sqlite.org/sqlite-3.5.7.tar.gz&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;copying the Makefile.linux-gcc to Makefile, fiddling with some flags and macros, and then built it with GNV's make under GNV's bash.  I could post my Makefile if anyone is interested.  I don't see any advantage to building it this way unless you want to take another step and integrate TCL, which appears to be required to run the test suite.</description>
      <pubDate>Sun, 13 Apr 2008 21:05:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175096#M43741</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2008-04-13T21:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Other db alternatives: sqlite3?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175097#M43742</link>
      <description>Thanks, Craig.  Yeah, we noticed that's all that was in os_unix.c and independently concluded that we should just start fresh.  But I think OpenVMS/Alpha 7.3-2 and/or our compiler might be too old to get all of the posix goodies.  It builds but won't run.  I'll have to check with my associate here to get the exact errors if we're going to pursue further debugging on this system.  But first, we have an OpenVMS/Alpha 8.3 system and will see if we can at least replicate your results there.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Apr 2008 13:44:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175097#M43742</guid>
      <dc:creator>Ben Armstrong</dc:creator>
      <dc:date>2008-04-14T13:44:10Z</dc:date>
    </item>
    <item>
      <title>Re: Other db alternatives: sqlite3?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175098#M43743</link>
      <description>There is another database that is great, Postgresql. But it is a huge work to port it to Vms, as it was written for Linux.&lt;BR /&gt;(Yes, it has been ported to Windows.)&lt;BR /&gt;&lt;BR /&gt;I think the port of Sqlite3 is much much simpler.</description>
      <pubDate>Mon, 14 Apr 2008 14:52:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175098#M43743</guid>
      <dc:creator>labadie_1</dc:creator>
      <dc:date>2008-04-14T14:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Other db alternatives: sqlite3?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175099#M43744</link>
      <description>Our test of SQLite3 3.5.7 was partially successful when I switched to OpenVMS V8.3.  It now builds correctly but we have run-time problems.  An in-memory btree works, but we can't create a database file:&lt;BR /&gt;&lt;BR /&gt;Success (using in memory btree):&lt;BR /&gt; &lt;BR /&gt;$ sqlite&lt;BR /&gt;SQLite version 3.5.7&lt;BR /&gt;Enter ".help" for instructions&lt;BR /&gt;sqlite&amp;gt; create table foobar(a,b,c);&lt;BR /&gt;sqlite&amp;gt; select * from foobar;&lt;BR /&gt;sqlite&amp;gt; insert into foobar values ("Brad", "dv", 2002);&lt;BR /&gt;sqlite&amp;gt; select * from foobar;&lt;BR /&gt;Brad|dv|2002&lt;BR /&gt;sqlite&amp;gt; drop table foobar;&lt;BR /&gt;sqlite&amp;gt; .quit&lt;BR /&gt;$&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;We've included some DEBUG print statements to try to figure out what's going on, here.  We start by creating a database on another host and ftping it over because we have found we cannot write a db, but we can read one.  Also, relative filepaths don't work and neither do VMS filepaths, so we give an absolute filepath /tmp/foo.db (/tmp maps to sys$scratch:):&lt;BR /&gt;&lt;BR /&gt;$ sqlite=="$DSA0:[DYMAX.001029.sqlite]sqlite3.exe"&lt;BR /&gt;$ unzip foo.zip&lt;BR /&gt;Archive:  DSA0:[DYMAX]foo.zip;1&lt;BR /&gt;  inflating: foo.db&lt;BR /&gt;$ sqlite /tmp/foo.db&lt;BR /&gt;DEBUG: database name=/tmp/foo.db&lt;BR /&gt;DEBUG: attempt open of db(/tmp/foo.db)'s btree&lt;BR /&gt;SQLite version 3.5.7&lt;BR /&gt;Enter ".help" for instructions&lt;BR /&gt;sqlite&amp;gt; .databases&lt;BR /&gt;seq  name             file&lt;BR /&gt;---  ---------------  ----------------------------------------------------------&lt;BR /&gt;0    main             /tmp/foo.db&lt;BR /&gt;sqlite&amp;gt; .schema&lt;BR /&gt;CREATE TABLE foobar(a,b,c);&lt;BR /&gt;sqlite&amp;gt; select * from foobar;&lt;BR /&gt;Brad|dv|2002&lt;BR /&gt;sqlite&amp;gt; create table bar(a,b);&lt;BR /&gt;SQL error: unable to open database file&lt;BR /&gt;sqlite&amp;gt; .quit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Craig, would you please do these tests and see if you get similar results?  Which OS version / compiler version?&lt;BR /&gt;&lt;BR /&gt;We're using:&lt;BR /&gt;&lt;BR /&gt;Compaq C V6.5-001 on OpenVMS Alpha V8.3&lt;BR /&gt;&lt;BR /&gt;Ben&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Apr 2008 18:01:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175099#M43744</guid>
      <dc:creator>Ben Armstrong</dc:creator>
      <dc:date>2008-04-14T18:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Other db alternatives: sqlite3?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175100#M43745</link>
      <description>Ben,&lt;BR /&gt;&lt;BR /&gt;I have take a look, the offending routine is&lt;BR /&gt;openDirectory which try to open the directory using open and failed on VMS.&lt;BR /&gt;&lt;BR /&gt;JF</description>
      <pubDate>Mon, 14 Apr 2008 20:31:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175100#M43745</guid>
      <dc:creator>Jean-François Piéronne</dc:creator>
      <dc:date>2008-04-14T20:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: Other db alternatives: sqlite3?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175101#M43746</link>
      <description>I have a working version as a Python module, I will publish a patch tomorrow.&lt;BR /&gt;&lt;BR /&gt;I just remove the call of openDirectory on OpenVMS and fix another small problem.&lt;BR /&gt;&lt;BR /&gt;My first test:&lt;BR /&gt;$ dir&lt;BR /&gt;&lt;BR /&gt;Directory DISK$KITS:[tmp.test]&lt;BR /&gt;&lt;BR /&gt;bar.py;5&lt;BR /&gt;&lt;BR /&gt;Total of 1 file.&lt;BR /&gt;$ ty bar.py&lt;BR /&gt;import sqlite3&lt;BR /&gt;conn=sqlite3.connect('./example')&lt;BR /&gt;c=conn.cursor()&lt;BR /&gt;c.execute('''create table stocks&lt;BR /&gt; (date text, trans text, symbol text,&lt;BR /&gt;  qty real, price real)''')&lt;BR /&gt;c.execute("""insert into stocks&lt;BR /&gt;          values ('2006-01-05','BUY','RHAT',100,35.14)""")&lt;BR /&gt;conn.commit()&lt;BR /&gt;c.execute("select * from stocks order by price")&lt;BR /&gt;print c.fetchall()&lt;BR /&gt;c.close()&lt;BR /&gt;$ reca py&lt;BR /&gt;$ python bar.py&lt;BR /&gt;[(u'2006-01-05', u'BUY', u'RHAT', 100.0, 35.140000000000001)]&lt;BR /&gt;$ dir&lt;BR /&gt;&lt;BR /&gt;Directory DISK$KITS:[tmp.test]&lt;BR /&gt;&lt;BR /&gt;bar.py;5            example.;1&lt;BR /&gt;&lt;BR /&gt;Total of 2 files.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I will do more test later.&lt;BR /&gt;&lt;BR /&gt;JF&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Apr 2008 20:54:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175101#M43746</guid>
      <dc:creator>Jean-François Piéronne</dc:creator>
      <dc:date>2008-04-14T20:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: Other db alternatives: sqlite3?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175102#M43747</link>
      <description>Ben, I should have said I was using:&lt;BR /&gt;&lt;BR /&gt;$ cc/vers&lt;BR /&gt;HP C V7.1-015 on OpenVMS Alpha V8.3&lt;BR /&gt;&lt;BR /&gt;with&lt;BR /&gt;&lt;BR /&gt;$ prod show hist VMS83A_ACRTL&lt;BR /&gt;------------------------------------ ----------- ----------- --- -----------&lt;BR /&gt;PRODUCT                              KIT TYPE    OPERATION   VAL DATE&lt;BR /&gt;------------------------------------ ----------- ----------- --- -----------&lt;BR /&gt;DEC AXPVMS VMS83A_ACRTL V2.0         Patch       Install     Val 31-MAY-2007&lt;BR /&gt;------------------------------------ ----------- ----------- --- -----------&lt;BR /&gt;&lt;BR /&gt;1 item found&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The CRTL update may be more important than the compiler version, but I don't think either is the source of your problem.  I had already done the equivalent of your first test and had no trouble, but providing a file to sqlite3 as in your second test I got the same error you did.  It looks like JF is well on his way to solving that one.  &lt;BR /&gt;&lt;BR /&gt;It's rather curious that they apparently open a filehandle on the directory file that the database file is in so that they can flush the directory explicitly.  Kind of sounds like a poor man's RMS.&lt;BR /&gt;&lt;BR /&gt;It must be said that keeping VMS-specific build requirements at a minimum and providing optimal native performance and functionality are not necessarily the same thing.  My tendency would be to see how far I could get with a minimal build and resist the temptation to write a bunch of VMS-specific code unless there are specific deal-breakers that require workarounds.&lt;BR /&gt;&lt;BR /&gt;A side note on your C compiler version.  C 6.5 is neither current nor ancient, but there were several ECOs with important bug fixes in the 6.5 era.  I believe I remember an "049" release where yours has "001".  Which is just to say that even if you don't have upgrade rights or an upgrade budget, getting the latest patchlevel for your version should still have benefit.</description>
      <pubDate>Tue, 15 Apr 2008 01:44:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175102#M43747</guid>
      <dc:creator>Craig A Berry</dc:creator>
      <dc:date>2008-04-15T01:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: Other db alternatives: sqlite3?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175103#M43748</link>
      <description>I have attached the patch against the "amalgamated" source code.&lt;BR /&gt;&lt;BR /&gt;I seem to work correctly on my IA64 8.3 box.&lt;BR /&gt;&lt;BR /&gt;I will do more test (including using django).&lt;BR /&gt;&lt;BR /&gt;JF&lt;BR /&gt;ps&lt;BR /&gt;I have put in the python repository the source code and the building procedure (&lt;A href="http://hg.vmspython.dyndns.org/vmspython/)." target="_blank"&gt;http://hg.vmspython.dyndns.org/vmspython/).&lt;/A&gt;</description>
      <pubDate>Tue, 15 Apr 2008 06:14:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/other-db-alternatives-sqlite3/m-p/4175103#M43748</guid>
      <dc:creator>Jean-François Piéronne</dc:creator>
      <dc:date>2008-04-15T06:14:54Z</dc:date>
    </item>
  </channel>
</rss>

