<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to Open Discussion</title><link>https://sourceforge.net/p/vbisam/discussion/330149/</link><description>Recent posts to Open Discussion</description><atom:link href="https://sourceforge.net/p/vbisam/discussion/330149/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 29 Nov 2022 20:01:59 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/vbisam/discussion/330149/feed.rss" rel="self" type="application/rss+xml"/><item><title>gnucobol 3.1.2 install with vbisam error</title><link>https://sourceforge.net/p/vbisam/discussion/330149/thread/9bc2b110d1/?limit=50#e6a7</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Guess: you don't have &lt;code&gt;/usr/local/lib&lt;/code&gt; in your default lookup paths, if you want to use it you either have to export LD_LIBRARY_PATH, &lt;strong&gt;adding&lt;/strong&gt; this directory, or tell the linker to embed an rpath entry so the system knows where to look.&lt;br/&gt;
For GnuCOBOL - I assume gcc or clang - this would mean using the following configure line:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;configure --with-vbisam CPPFLAGS="-I /usr/local/include" LDFLAGS="-L /usr/local/lib -Wl,-rpath=/usr/local/lib"&lt;/code&gt;  (the first is a note for the linker where to find the link library, the second is an entry in the executable where to find the shared object).&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Simon Sobisch</dc:creator><pubDate>Tue, 29 Nov 2022 20:01:59 -0000</pubDate><guid>https://sourceforge.net7c42786b8af1baa0e8db520e135b7b38a1842b2e</guid></item><item><title>gnucobol 3.1.2 install with vbisam error</title><link>https://sourceforge.net/p/vbisam/discussion/330149/thread/9bc2b110d1/?limit=25#9a4a</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I got vbisam installed using the version on gnucobol. On install of gnucobol I get error in make.&lt;br/&gt;
error while loading shared libraries.&lt;br/&gt;
libvbisam.so.4 cannot open shared object file. No such file or directory.&lt;br/&gt;
IN /usr/local/lib there is a link for libvbisam.so.4 to libvbisam.so.4.0.0 and file libvbisam.so.4.0.0 is present in /usr/local/lib.&lt;br/&gt;
What options are there to get around this error? drop link and copy libvbisam.so.4.00 to libvbisam.so.4 OR?????&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Frederick</dc:creator><pubDate>Tue, 29 Nov 2022 19:34:00 -0000</pubDate><guid>https://sourceforge.netfcaa4f4a3fbb67c719f08a5e165d89ee047efbde</guid></item><item><title>vbisam 2.0 make errors  ubuntu 20.04</title><link>https://sourceforge.net/p/vbisam/discussion/330149/thread/e922e7a193/?limit=50#7a4d/1b84</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;either change the functions off_t  -&amp;gt;  vbisam_off_t or use the updated and renamed one; a preview of what is to come to this site: &lt;a href="http://inglenet.ca/Products/GnuCOBOL/vbisam-2.2.tar.Z" rel="nofollow"&gt;http://inglenet.ca/Products/GnuCOBOL/vbisam-2.2.tar.Z&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Simon Sobisch</dc:creator><pubDate>Thu, 24 Nov 2022 21:48:26 -0000</pubDate><guid>https://sourceforge.net78ae41f15ceffe9ad3f9076e672e72d8d818ec02</guid></item><item><title>vbisam 2.0 make errors  ubuntu 20.04</title><link>https://sourceforge.net/p/vbisam/discussion/330149/thread/e922e7a193/?limit=25#7a4d</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;get the following error messages -- help!!!!!&lt;/p&gt;
&lt;p&gt;ishelper.c:147:1: error: conflicting types for 'isrelrec'&lt;br/&gt;
  147 | isrelrec (const int ihandle, const off_t trownumber)&lt;br/&gt;
      | ^~~~~~~~&lt;br/&gt;
In file included from isinternal.h:123,&lt;br/&gt;
                 from ishelper.c:20:&lt;br/&gt;
../vbisam.h:221:12: note: previous declaration of 'isrelrec' was here&lt;br/&gt;
  221 | extern int isrelrec (const int ihandle, const vbisam_off_t trownumber);&lt;br/&gt;
      |            ^~~~~~~~&lt;br/&gt;
ishelper.c:195:1: error: conflicting types for 'issetunique'&lt;br/&gt;
  195 | issetunique (const int ihandle, const off_t tuniqueid)&lt;br/&gt;
      | ^~~~~~~~~~~&lt;br/&gt;
In file included from isinternal.h:123,&lt;br/&gt;
                 from ishelper.c:20:&lt;br/&gt;
../vbisam.h:229:12: note: previous declaration of 'issetunique' was here&lt;br/&gt;
  229 | extern int issetunique (const int ihandle, const vbisam_off_t tuniqueid);&lt;br/&gt;
      |            ^~~~~~~~~~~&lt;br/&gt;
ishelper.c:226:1: error: conflicting types for 'isuniqueid'&lt;br/&gt;
  226 | isuniqueid (const int ihandle, off_t &lt;em&gt;ptuniqueid)&lt;br/&gt;
      | ^~~~~~~~~~&lt;br/&gt;
In file included from isinternal.h:123,&lt;br/&gt;
                 from ishelper.c:20:&lt;br/&gt;
../vbisam.h:232:12: note: previous declaration of 'isuniqueid' was here&lt;br/&gt;
  232 | extern int isuniqueid (const int ihandle, vbisam_off_t &lt;/em&gt;ptuniqueid);&lt;br/&gt;
      |            ^~~~~~~~~~&lt;br/&gt;
make&lt;span&gt;[2]&lt;/span&gt;: &lt;strong&gt;&lt;em&gt; &lt;span&gt;&lt;span&gt;[Makefile:310: libvbisam_la-ishelper.lo]&lt;/span&gt;&lt;/span&gt; Error 1&lt;br/&gt;
make&lt;span&gt;&lt;span&gt;[2]&lt;/span&gt;&lt;/span&gt;: Leaving directory '/home/michael/Downloads/vbisam-2.0/libvbisam'&lt;br/&gt;
make&lt;span&gt;&lt;span&gt;[1]&lt;/span&gt;&lt;/span&gt;: &lt;/em&gt;&lt;/strong&gt; &lt;span&gt;[Makefile:279: all-recursive]&lt;/span&gt; Error 1&lt;br/&gt;
make&lt;span&gt;[1]&lt;/span&gt;: Leaving directory '/home/michael/Downloads/vbisam-2.0'&lt;br/&gt;
make: *** &lt;span&gt;[Makefile:191: all]&lt;/span&gt; Error 2&lt;br/&gt;
mic&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Frederick</dc:creator><pubDate>Thu, 24 Nov 2022 19:55:22 -0000</pubDate><guid>https://sourceforge.net4e1d612d3e6d7abcda62e885ea9dcc4c27b96e43</guid></item><item><title>vbisam 2.0 compilation errors</title><link>https://sourceforge.net/p/vbisam/discussion/330149/thread/44f462b31d/?limit=50#9e9e</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;You may want to retry with the patched version made available by Ron Norman in the &lt;a class="" href="https://sourceforge.net/p/open-cobol/discussion/help/thread/8910169768/?limit=25#423a"&gt;GnuCOBOL discussion boards&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Note: I plan to finish the conversion from CVS to SVN including Roger While's changes for 2.0 and many bugfixes added by others in 2019 (unlikely to happen before April), then update it here (if Trevor shows up) or (in case he doesn't show up) "fork" this project on GitLab and upload it there.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Simon Sobisch</dc:creator><pubDate>Sun, 30 Dec 2018 16:29:24 -0000</pubDate><guid>https://sourceforge.net7c8ff75f054fd4157388980fe35013ce3661c6c4</guid></item><item><title>vbisam 2.0 compilation errors</title><link>https://sourceforge.net/p/vbisam/discussion/330149/thread/44f462b31d/?limit=25#67d3</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I try to compile vbisam 2.0 on opensuse linux 13.2 64 bit&lt;br/&gt;
and i get the following error after i configure with&lt;br/&gt;
--compat-cisam. Ihope someone can help&lt;/p&gt;
&lt;p&gt;ishelper.c:147:1: error: conflicting types for 'isrelrec'&lt;br/&gt;
 isrelrec (const int ihandle, const off_t trownumber)&lt;br/&gt;
 ^&lt;br/&gt;
In file included from isinternal.h:123:0,&lt;br/&gt;
                 from ishelper.c:20:&lt;br/&gt;
../vbisam.h:221:12: note: previous declaration of 'isrelrec' was here&lt;br/&gt;
 extern int isrelrec (const int ihandle, const vbisam_off_t trownumber);&lt;br/&gt;
            ^**&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christos Michail</dc:creator><pubDate>Sun, 30 Dec 2018 15:29:22 -0000</pubDate><guid>https://sourceforge.net90f0fd5778b4144175b46195c04398baa06daab8</guid></item><item><title>VBISAM open/close/open sam file may cause isread crash if not in transaction</title><link>https://sourceforge.net/p/vbisam/discussion/330149/thread/481cf2aa/?limit=25#cb7d</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Oops ! The right fix in isclose is :&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;        if (ivbintrans == VBNOTRANS || ! (psvbptr-&amp;gt;iopenmode &amp;amp; 3)) {
                if (ivbclose2 (ihandle)) { 
                        return -1;
                }
                ivbclose3 (ihandle);
        } else if (!(ivbintrans == VBBEGIN || ivbintrans == VBNEEDFLUSH || ivbintrans == VBRECOVER)) {
                if (ivbclose2 (ihandle)) {
                        return -1;
                }
        }
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;along with this fix in iscleanup function :&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;if (psvbfile[iloop]-&amp;gt;iisopen == 1) {
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;becomes :&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;if (psvbfile[iloop] &amp;amp;&amp;amp; psvbfile[iloop]-&amp;gt;iisopen == 1) {
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Now everything works fine, with or without transaction logging.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jean-Michel Dubois</dc:creator><pubDate>Tue, 02 May 2017 20:45:15 -0000</pubDate><guid>https://sourceforge.net125b1e1c61bbb1bcd75b24e2c1c56c61addf2d95</guid></item><item><title>New maintainance for VBISAM</title><link>https://sourceforge.net/p/vbisam/discussion/330149/thread/c2662763/?limit=25#f21b</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I am currenttly working in a large project using VBISAM. I am interested in helping to merge sources and change the function names.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jean-Michel Dubois</dc:creator><pubDate>Tue, 02 May 2017 17:48:48 -0000</pubDate><guid>https://sourceforge.net57ee825f88e25ed45e5aeeeac3e7ee466cde965d</guid></item><item><title>VBISAM open/close/open sam file may cause isread crash if not in transaction</title><link>https://sourceforge.net/p/vbisam/discussion/330149/thread/481cf2aa/?limit=25#f84b</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I fixed this problem by modifyng isclose function in isopen.c :&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;        if (!(ivbintrans == VBBEGIN || ivbintrans == VBNEEDFLUSH || ivbintrans == VBRECOVER)) {
                if (ivbclose2 (ihandle)) {
                        return -1;
                }
        }
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;becomes :&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;        if (!(ivbintrans == VBBEGIN || ivbintrans == VBNEEDFLUSH || ivbintrans == VBRECOVER)) {
                if (ivbclose2 (ihandle)) {
                        return -1;
                }
        } else if (ivbintrans == VBNOTRANS) {
                if (ivbclose2 (ihandle)) { 
                        return -1;
                }
                ivbclose3 (ihandle);
        }
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Crash occurs after a lot of isread / isdelete.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jean-Michel Dubois</dc:creator><pubDate>Tue, 02 May 2017 14:58:31 -0000</pubDate><guid>https://sourceforge.net95ebba420802aa960e1e1f4d2ca50be191a92626</guid></item><item><title>VBISAM 2.0 inserting records in a file opened twice corrupts the index</title><link>https://sourceforge.net/p/vbisam/discussion/330149/thread/6489ad7e/?limit=25#5a67</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;By the way how can i paste in here ???&lt;br/&gt;
Christos&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Christos Michail</dc:creator><pubDate>Sun, 29 Jan 2017 22:16:19 -0000</pubDate><guid>https://sourceforge.net7f1461313216a3397d51daae25367414fe6b8802</guid></item></channel></rss>