Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Nuclear war would really set back cable." -- Ted Turner


computers / comp.os.vms / Re: libvbisam for VMS

SubjectAuthor
* libvbisam for VMSArne Vajhøj
`* Re: libvbisam for VMSJOUKJ
 `* Re: libvbisam for VMSArne Vajhøj
  +* Re: libvbisam for VMSJOUKJ
  |`* Re: libvbisam for VMSArne Vajhøj
  | `* Re: libvbisam for VMSJOUKJ
  |  `* Re: libvbisam for VMSArne Vajhøj
  |   `- Re: libvbisam for VMSJOUKJ
  `- Re: libvbisam for VMSArne Vajhøj

1
libvbisam for VMS

<ttthao$mplj$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27069&group=comp.os.vms#27069

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: libvbisam for VMS
Date: Fri, 3 Mar 2023 14:20:52 -0500
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <ttthao$mplj$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 3 Mar 2023 19:20:56 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="f6e2eddf4a16a3fa5d2818989ddb9c13";
logging-data="747187"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Fhyh7a/F/j4rh52Et0R0Kn6kvPSfSjog="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:wUEOXKqnUxA/kIu73epzHl5ZrvM=
Content-Language: en-US
 by: Arne Vajhøj - Fri, 3 Mar 2023 19:20 UTC

https://www.vajhoej.dk/arne/vmsstuff/vbisam/

vbisam-2_0.tar-gz : original VBISAM 2.0 kit
vbisam-2_0-av.zip : my changes to make VBISAM 2.0 build and work work
(*) VMS

vbisam-2_0_1.tar-gz : original VBISAM 2.0.1 kit
vbisam-2_0_1-av.zip : my changes to make VBISAM 2.0.1 build and work (*)
on VMS

vbisam-2_1_1.zip : original VBISAM 2.1.1 kit
vbisam-2_1_1-av.zip : my changes to make VBISAM 2.1.1 build and work (*)
on VMS

*) Hacks:
- no locking in library only what RMS provides
- no check for if same file is opened twice with different name

vbi.zip : VBISAM extras
- VMS API callable from Cobol/Fortran/Pascal/Basic
- standalone utility to create simple VBISAM files
- JNI implementation for my Java ISAM library

Arne

Re: libvbisam for VMS

<tun17p$270k$1@news.cyber23.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27134&group=comp.os.vms#27134

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.cyber23.de!.POSTED!not-for-mail
From: jou...@hrem.nano.tudelft.nl (JOUKJ)
Newsgroups: comp.os.vms
Subject: Re: libvbisam for VMS
Date: Mon, 13 Mar 2023 12:25:45 +0100
Organization: Cyber23 news
Message-ID: <tun17p$270k$1@news.cyber23.de>
References: <ttthao$mplj$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Mar 2023 11:25:45 -0000 (UTC)
Injection-Info: news.cyber23.de;
logging-data="72724"; mail-complaints-to="abuse@cyber23.de"
User-Agent: Mozilla/5.0 (X11; U; OpenVMS COMPAQ_Professional_Workstation; en-US; rv:1.8.1.17) Gecko/20081029 SeaMonkey/1.1.12
In-Reply-To: <ttthao$mplj$1@dont-email.me>
 by: JOUKJ - Mon, 13 Mar 2023 11:25 UTC

Arne Vajhøj wrote:
> https://www.vajhoej.dk/arne/vmsstuff/vbisam/
>
> vbisam-2_0.tar-gz : original VBISAM 2.0 kit
> vbisam-2_0-av.zip : my changes to make VBISAM 2.0 build and work work
> (*) VMS
>
> vbisam-2_0_1.tar-gz : original VBISAM 2.0.1 kit
> vbisam-2_0_1-av.zip : my changes to make VBISAM 2.0.1 build and work (*)
> on VMS
>
> vbisam-2_1_1.zip : original VBISAM 2.1.1 kit
> vbisam-2_1_1-av.zip : my changes to make VBISAM 2.1.1 build and work (*)
> on VMS
>
> *) Hacks:
> - no locking in library only what RMS provides
> - no check for if same file is opened twice with different name
>
> vbi.zip : VBISAM extras
> - VMS API callable from Cobol/Fortran/Pascal/Basic
> - standalone utility to create simple VBISAM files
> - JNI implementation for my Java ISAM library
>
> Arne
>

Thanks for sharing this with us.

When compiling this stuff I got (apart from your specific directories) 2
problems

1) in isam.com scan_globals_for_option.com is calledbut missing in the
distribution. However I can guess what happens here.

2) when running @vms_vbisam.com I get:
spawn-tango-jj) @vms_vbisam.com

*buflen = isreclen;
...............^
%CC-E-UNDECLARED, In this statement, "isreclen" is not declared.
at line number 78 in file
$DISK16:[JOUKJ.public.vbisam.vbisam-2^.1^.1]vms_vbisam
..c;1

*buflen = isreclen;
...............^
%CC-E-UNDECLARED, In this statement, "isreclen" is not declared.
at line number 94 in file
$DISK16:[JOUKJ.public.vbisam.vbisam-2^.1^.1]vms_vbisam
..c;1

*buflen = isreclen;
...............^
%CC-E-UNDECLARED, In this statement, "isreclen" is not declared.
at line number 100 in file
$DISK16:[JOUKJ.public.vbisam.vbisam-2^.1^.1]vms_vbisa
m.c;1

isreclen is a member of a structure but not a global variable. No idea
what is meant here.

Regards
Jouk

Re: libvbisam for VMS

<tun557$3or6m$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27135&group=comp.os.vms#27135

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: libvbisam for VMS
Date: Mon, 13 Mar 2023 08:32:39 -0400
Organization: A noiseless patient Spider
Lines: 80
Message-ID: <tun557$3or6m$1@dont-email.me>
References: <ttthao$mplj$1@dont-email.me> <tun17p$270k$1@news.cyber23.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Mar 2023 12:32:39 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="81c647d75ed90290f385d22ac5f2bdfc";
logging-data="3960022"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18SLYC6fzzbt1wXlqypk3tTGbsmePnYuW8="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:3erBf3IgBDWyW4BvZh8VBnae6r4=
In-Reply-To: <tun17p$270k$1@news.cyber23.de>
Content-Language: en-US
 by: Arne Vajhøj - Mon, 13 Mar 2023 12:32 UTC

On 3/13/2023 7:25 AM, JOUKJ wrote:
> Arne Vajhøj wrote:
>> https://www.vajhoej.dk/arne/vmsstuff/vbisam/
>>
>> vbisam-2_0.tar-gz   : original VBISAM 2.0 kit
>> vbisam-2_0-av.zip   : my changes to make VBISAM 2.0 build and work
>> work (*) VMS
>>
>> vbisam-2_0_1.tar-gz : original VBISAM 2.0.1 kit
>> vbisam-2_0_1-av.zip : my changes to make VBISAM 2.0.1 build and work
>> (*) on VMS
>>
>> vbisam-2_1_1.zip    : original VBISAM 2.1.1 kit
>> vbisam-2_1_1-av.zip : my changes to make VBISAM 2.1.1 build and work
>> (*) on VMS
>>
>> *) Hacks:
>> - no locking in library only what RMS provides
>> - no check for if same file is opened twice with different name
>>
>> vbi.zip             : VBISAM extras
>>                         - VMS API callable from
>> Cobol/Fortran/Pascal/Basic
>>                         - standalone utility to create simple VBISAM
>> files
>>                         - JNI implementation for my Java ISAM library

> When compiling this stuff I got (apart from your specific directories) 2
> problems
>
>  1) in isam.com scan_globals_for_option.com is calledbut missing in the
> distribution. However I can guess what happens here.

SCAN_GLOBALS_FOR_OPTION.COM and JAVA$BUILD_OPTION.EXE comes
with VMS Java.

I suppose I could leave the generated OPT file in the dist.

>  2) when running @vms_vbisam.com I get:
> spawn-tango-jj) @vms_vbisam.com
>
>     *buflen = isreclen;
> ..............^
> %CC-E-UNDECLARED, In this statement, "isreclen" is not declared.
> at line number 78 in file
> $DISK16:[JOUKJ.public.vbisam.vbisam-2^.1^.1]vms_vbisam
> .c;1
>
>     *buflen = isreclen;
> ..............^
> %CC-E-UNDECLARED, In this statement, "isreclen" is not declared.
> at line number 94 in file
> $DISK16:[JOUKJ.public.vbisam.vbisam-2^.1^.1]vms_vbisam
> .c;1
>
>     *buflen = isreclen;
> ..............^
> %CC-E-UNDECLARED, In this statement, "isreclen" is not declared.
> at line number 100 in file
> $DISK16:[JOUKJ.public.vbisam.vbisam-2^.1^.1]vms_vbisa
> m.c;1
>
> isreclen is a member of a structure but not a global variable. No idea
> what is meant here.

VMS_VBISAM is intended to be build against 2.0 or 2.0.1 - to build
against 2.1.1 then one need to replace isreclen with
vb_get_rtd()->isreclen.

I should probably create 2 COM files or make something conditional.

It is a bad breaking change, but apperently someone did not like
the idea of exposing data directly from a shareable image
(DLL on Windows).

Thanks for the error report. I will update.

Arne

Re: libvbisam for VMS

<tun6gi$28un$1@news.cyber23.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27137&group=comp.os.vms#27137

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.cyber23.de!.POSTED!not-for-mail
From: jou...@hrem.nano.tudelft.nl (JOUKJ)
Newsgroups: comp.os.vms
Subject: Re: libvbisam for VMS
Date: Mon, 13 Mar 2023 13:55:45 +0100
Organization: Cyber23 news
Message-ID: <tun6gi$28un$1@news.cyber23.de>
References: <ttthao$mplj$1@dont-email.me> <tun17p$270k$1@news.cyber23.de> <tun557$3or6m$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Mar 2023 12:55:46 -0000 (UTC)
Injection-Info: news.cyber23.de;
logging-data="74711"; mail-complaints-to="abuse@cyber23.de"
User-Agent: Mozilla/5.0 (X11; U; OpenVMS COMPAQ_Professional_Workstation; en-US; rv:1.8.1.17) Gecko/20081029 SeaMonkey/1.1.12
In-Reply-To: <tun557$3or6m$1@dont-email.me>
 by: JOUKJ - Mon, 13 Mar 2023 12:55 UTC

Arne Vajhøj wrote:
> On 3/13/2023 7:25 AM, JOUKJ wrote:
>> Arne Vajhøj wrote:
>>> https://www.vajhoej.dk/arne/vmsstuff/vbisam/
>>>
>>> vbisam-2_0.tar-gz : original VBISAM 2.0 kit
>>> vbisam-2_0-av.zip : my changes to make VBISAM 2.0 build and work
>>> work (*) VMS
>>>
>>> vbisam-2_0_1.tar-gz : original VBISAM 2.0.1 kit
>>> vbisam-2_0_1-av.zip : my changes to make VBISAM 2.0.1 build and work
>>> (*) on VMS
>>>
>>> vbisam-2_1_1.zip : original VBISAM 2.1.1 kit
>>> vbisam-2_1_1-av.zip : my changes to make VBISAM 2.1.1 build and work
>>> (*) on VMS
>>>
>>> *) Hacks:
>>> - no locking in library only what RMS provides
>>> - no check for if same file is opened twice with different name
>>>
>>> vbi.zip : VBISAM extras
>>> - VMS API callable from
>>> Cobol/Fortran/Pascal/Basic
>>> - standalone utility to create simple VBISAM
>>> files
>>> - JNI implementation for my Java ISAM library
>
>> When compiling this stuff I got (apart from your specific directories)
>> 2 problems
>>
>> 1) in isam.com scan_globals_for_option.com is calledbut missing in
>> the distribution. However I can guess what happens here.
>
> SCAN_GLOBALS_FOR_OPTION.COM and JAVA$BUILD_OPTION.EXE comes
> with VMS Java.
>
> I suppose I could leave the generated OPT file in the dist.
>
I can find the JAVA$BUILD_OPTION.EXE in my java directories, but not
SCAN_GLOBALS_FOR_OPTION.COM

Jouk

Re: libvbisam for VMS

<tun7g6$3p86d$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27139&group=comp.os.vms#27139

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: libvbisam for VMS
Date: Mon, 13 Mar 2023 09:12:39 -0400
Organization: A noiseless patient Spider
Lines: 57
Message-ID: <tun7g6$3p86d$1@dont-email.me>
References: <ttthao$mplj$1@dont-email.me> <tun17p$270k$1@news.cyber23.de>
<tun557$3or6m$1@dont-email.me> <tun6gi$28un$1@news.cyber23.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Mar 2023 13:12:38 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="81c647d75ed90290f385d22ac5f2bdfc";
logging-data="3973325"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19YxRvipyBo7kP6slGSqgAHSYjx0H4+ANU="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:1QNVBKvuvCLZ93IRKTtxOSmTT3M=
Content-Language: en-US
In-Reply-To: <tun6gi$28un$1@news.cyber23.de>
 by: Arne Vajhøj - Mon, 13 Mar 2023 13:12 UTC

On 3/13/2023 8:55 AM, JOUKJ wrote:
> Arne Vajhøj wrote:
>> On 3/13/2023 7:25 AM, JOUKJ wrote:
>>>   1) in isam.com scan_globals_for_option.com is calledbut missing in
>>> the distribution. However I can guess what happens here.
>>
>> SCAN_GLOBALS_FOR_OPTION.COM and JAVA$BUILD_OPTION.EXE comes
>> with VMS Java.
>>
>> I suppose I could leave the generated OPT file in the dist.
>>
> I can find the JAVA$BUILD_OPTION.EXE in my java directories, but not
> SCAN_GLOBALS_FOR_OPTION.COM

On Alpha I have:

$ back/list
disk0:[vms$common.java$150.vms_demo]invoke_java_from_c_example.sav/sav
Listing of save set(s)

....

[JDK150_8_KIT.INVOKE_JAVA_FROM_C_EXAMPLE]JAVA$BUILD_OPTION.EXE;1
14
5-MAY-1999 11:11

....

[JDK150_8_KIT.INVOKE_JAVA_FROM_C_EXAMPLE]SCAN_GLOBALS_FOR_OPTION.COM;1
5
11-JAN-2001 10:57

Are you testing on Itanium?

I seem to recall that I could not find it on Itanium either
so I ended up just copying it from Alpha.

It is just a very simple wrapper around JAVA$BUILD_OPTION.EXE
to be able to handle wildcards in p1.

And JAVA$BUILD_OPTION.EXE just generate the OPT file with
the mangled names.

In this case:

!disk2:[arne.vbi]dk_vajhoej_vbisam_nativeapi.obj;1
case_sensitive=YES
SYMBOL_VECTOR=(Java_dk_vajhoej_vbisam_1427cj2$=PROCEDURE,-
Java_dk_vajhoej_vbisam_3eo58b6$=PROCEDURE,-
Java_dk_vajhoej_vbisam_1dree97$=PROCEDURE,-
Java_dk_vajhoej_vbisam_1q08s51$=PROCEDURE,-
Java_dk_vajhoej_vbisam_2rrbsmp$=PROCEDURE,-
Java_dk_vajhoej_vbisam_2pugmnt$=PROCEDURE)
case_sensitive=NO

Arne

Re: libvbisam for VMS

<tun8ss$2a06$1@news.cyber23.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27143&group=comp.os.vms#27143

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.cyber23.de!.POSTED!not-for-mail
From: jou...@hrem.nano.tudelft.nl (JOUKJ)
Newsgroups: comp.os.vms
Subject: Re: libvbisam for VMS
Date: Mon, 13 Mar 2023 14:36:27 +0100
Organization: Cyber23 news
Message-ID: <tun8ss$2a06$1@news.cyber23.de>
References: <ttthao$mplj$1@dont-email.me> <tun17p$270k$1@news.cyber23.de> <tun557$3or6m$1@dont-email.me> <tun6gi$28un$1@news.cyber23.de> <tun7g6$3p86d$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Mar 2023 13:36:28 -0000 (UTC)
Injection-Info: news.cyber23.de;
logging-data="75782"; mail-complaints-to="abuse@cyber23.de"
User-Agent: Mozilla/5.0 (X11; U; OpenVMS COMPAQ_Professional_Workstation; en-US; rv:1.8.1.17) Gecko/20081029 SeaMonkey/1.1.12
In-Reply-To: <tun7g6$3p86d$1@dont-email.me>
 by: JOUKJ - Mon, 13 Mar 2023 13:36 UTC

Arne Vajhøj wrote:
> On Alpha I have:
>
> $ back/list
> disk0:[vms$common.java$150.vms_demo]invoke_java_from_c_example.sav/sav
> Listing of save set(s)
>
> ...
>
> [JDK150_8_KIT.INVOKE_JAVA_FROM_C_EXAMPLE]JAVA$BUILD_OPTION.EXE;1
> 14 5-MAY-1999
> 11:11
>
> ...
>
> [JDK150_8_KIT.INVOKE_JAVA_FROM_C_EXAMPLE]SCAN_GLOBALS_FOR_OPTION.COM;1
> 5
> 11-JAN-2001 10:57
>
> Are you testing on Itanium?
>

I did the test on Itanium

However on Alpha I have neither of the files. You seem to have another
version of java. The foleder on my Alpha is called JAVA$150

> I seem to recall that I could not find it on Itanium either
> so I ended up just copying it from Alpha.
>
> It is just a very simple wrapper around JAVA$BUILD_OPTION.EXE
> to be able to handle wildcards in p1.
>
> And JAVA$BUILD_OPTION.EXE just generate the OPT file with
> the mangled names.
>
> In this case:
>
> !disk2:[arne.vbi]dk_vajhoej_vbisam_nativeapi.obj;1
> case_sensitive=YES
> SYMBOL_VECTOR=(Java_dk_vajhoej_vbisam_1427cj2$=PROCEDURE,-
> Java_dk_vajhoej_vbisam_3eo58b6$=PROCEDURE,-
> Java_dk_vajhoej_vbisam_1dree97$=PROCEDURE,-
> Java_dk_vajhoej_vbisam_1q08s51$=PROCEDURE,-
> Java_dk_vajhoej_vbisam_2rrbsmp$=PROCEDURE,-
> Java_dk_vajhoej_vbisam_2pugmnt$=PROCEDURE)
> case_sensitive=NO
>

I can reproduce this on my Itanium just with JAVA$BUILD_OPTION.EXE

Jouk

Re: libvbisam for VMS

<tun8ti$3pcuj$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27144&group=comp.os.vms#27144

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: libvbisam for VMS
Date: Mon, 13 Mar 2023 09:36:52 -0400
Organization: A noiseless patient Spider
Lines: 52
Message-ID: <tun8ti$3pcuj$1@dont-email.me>
References: <ttthao$mplj$1@dont-email.me> <tun17p$270k$1@news.cyber23.de>
<tun557$3or6m$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Mar 2023 13:36:50 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="81c647d75ed90290f385d22ac5f2bdfc";
logging-data="3978195"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19XKgNsFPw9qaklkz97r+snS6K5w3hY98g="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:oKseJ9nga7cULobFy8Z7hismRLE=
In-Reply-To: <tun557$3or6m$1@dont-email.me>
Content-Language: en-US
 by: Arne Vajhøj - Mon, 13 Mar 2023 13:36 UTC

On 3/13/2023 8:32 AM, Arne Vajhøj wrote:
> On 3/13/2023 7:25 AM, JOUKJ wrote:
>>   1) in isam.com scan_globals_for_option.com is calledbut missing in
>> the distribution. However I can guess what happens here.
>
> SCAN_GLOBALS_FOR_OPTION.COM and JAVA$BUILD_OPTION.EXE comes
> with VMS Java.
>
> I suppose I could leave the generated OPT file in the dist.
>
>>   2) when running @vms_vbisam.com I get:
>> spawn-tango-jj) @vms_vbisam.com
>>
>>      *buflen = isreclen;
>> ..............^
>> %CC-E-UNDECLARED, In this statement, "isreclen" is not declared.
>> at line number 78 in file
>> $DISK16:[JOUKJ.public.vbisam.vbisam-2^.1^.1]vms_vbisam
>> .c;1

>> isreclen is a member of a structure but not a global variable. No idea
>> what is meant here.
>
> VMS_VBISAM is intended to be build against 2.0 or 2.0.1 - to build
> against 2.1.1 then one need to replace isreclen with
> vb_get_rtd()->isreclen.
>
> I should probably create 2 COM files or make something conditional.
>
> It is a bad breaking change, but apperently someone did not like
> the idea of exposing data directly from a shareable image
> (DLL on Windows).
>
> Thanks for the error report. I will update.

I have uploaded a new VBI.ZIP with some changes that intend
to solve issues.

Not elegant but hopefully sufficient for people to be able to figure
it out.

Example:

$ type vms_vbisam.com

$ cc/float=ieee/incl=disk1:[net.vbisam-2_0_1] vms_vbisam
$! cc/float=ieee/incl=disk1:[net.vbisam-2_1_1]/define="API21" vms_vbisam
$ exit

Arne

Re: libvbisam for VMS

<tun92q$3pcuj$2@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27145&group=comp.os.vms#27145

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: libvbisam for VMS
Date: Mon, 13 Mar 2023 09:39:40 -0400
Organization: A noiseless patient Spider
Lines: 60
Message-ID: <tun92q$3pcuj$2@dont-email.me>
References: <ttthao$mplj$1@dont-email.me> <tun17p$270k$1@news.cyber23.de>
<tun557$3or6m$1@dont-email.me> <tun6gi$28un$1@news.cyber23.de>
<tun7g6$3p86d$1@dont-email.me> <tun8ss$2a06$1@news.cyber23.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Mar 2023 13:39:38 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="81c647d75ed90290f385d22ac5f2bdfc";
logging-data="3978195"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/dnvur3iVdXeW0ZeebQ0ZpxE1hdH3rVIo="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:r7KPoSjJsuHmIMEQ0Tj51tTrgtQ=
Content-Language: en-US
In-Reply-To: <tun8ss$2a06$1@news.cyber23.de>
 by: Arne Vajhøj - Mon, 13 Mar 2023 13:39 UTC

On 3/13/2023 9:36 AM, JOUKJ wrote:
> Arne Vajhøj wrote:
>> On Alpha I have:
>>
>> $ back/list
>> disk0:[vms$common.java$150.vms_demo]invoke_java_from_c_example.sav/sav
>> Listing of save set(s)
>>
>> ...
>>
>> [JDK150_8_KIT.INVOKE_JAVA_FROM_C_EXAMPLE]JAVA$BUILD_OPTION.EXE;1
>>                                                            14
>> 5-MAY-1999 11:11
>>
>> ...
>>
>> [JDK150_8_KIT.INVOKE_JAVA_FROM_C_EXAMPLE]SCAN_GLOBALS_FOR_OPTION.COM;1
>>                                                             5
>> 11-JAN-2001 10:57
>>
>> Are you testing on Itanium?
>
> I did the test on Itanium

> However on Alpha I have neither of the files. You seem to have another
> version of java. The foleder on my Alpha is called JAVA$150

Yes.

You do not have a
disk0:[vms$common.java$150.vms_demo]invoke_java_from_c_example.sav ?

>> I seem to recall that I could not find it on Itanium either
>> so I ended up just copying it from Alpha.
>>
>> It is just a very simple wrapper around JAVA$BUILD_OPTION.EXE
>> to be able to handle wildcards in p1.
>>
>> And JAVA$BUILD_OPTION.EXE just generate the OPT file with
>> the mangled names.
>>
>> In this case:
>>
>> !disk2:[arne.vbi]dk_vajhoej_vbisam_nativeapi.obj;1
>> case_sensitive=YES
>> SYMBOL_VECTOR=(Java_dk_vajhoej_vbisam_1427cj2$=PROCEDURE,-
>>      Java_dk_vajhoej_vbisam_3eo58b6$=PROCEDURE,-
>>      Java_dk_vajhoej_vbisam_1dree97$=PROCEDURE,-
>>      Java_dk_vajhoej_vbisam_1q08s51$=PROCEDURE,-
>>      Java_dk_vajhoej_vbisam_2rrbsmp$=PROCEDURE,-
>>      Java_dk_vajhoej_vbisam_2pugmnt$=PROCEDURE)
>> case_sensitive=NO
>
> I can reproduce this on my Itanium just with JAVA$BUILD_OPTION.EXE

Yes.

Arne

Re: libvbisam for VMS

<tupa2f$305i$1@news.cyber23.de>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=27172&group=comp.os.vms#27172

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.cyber23.de!.POSTED!not-for-mail
From: jou...@hrem.nano.tudelft.nl (JOUKJ)
Newsgroups: comp.os.vms
Subject: Re: libvbisam for VMS
Date: Tue, 14 Mar 2023 09:08:47 +0100
Organization: Cyber23 news
Message-ID: <tupa2f$305i$1@news.cyber23.de>
References: <ttthao$mplj$1@dont-email.me> <tun17p$270k$1@news.cyber23.de> <tun557$3or6m$1@dont-email.me> <tun6gi$28un$1@news.cyber23.de> <tun7g6$3p86d$1@dont-email.me> <tun8ss$2a06$1@news.cyber23.de> <tun92q$3pcuj$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 14 Mar 2023 08:08:47 -0000 (UTC)
Injection-Info: news.cyber23.de;
logging-data="98482"; mail-complaints-to="abuse@cyber23.de"
User-Agent: Mozilla/5.0 (X11; U; OpenVMS COMPAQ_Professional_Workstation; en-US; rv:1.8.1.17) Gecko/20081029 SeaMonkey/1.1.12
In-Reply-To: <tun92q$3pcuj$2@dont-email.me>
 by: JOUKJ - Tue, 14 Mar 2023 08:08 UTC

Arne Vajhøj wrote:
> On 3/13/2023 9:36 AM, JOUKJ wrote:
>> Arne Vajhøj wrote:
>>> On Alpha I have:
>>>
>>> $ back/list
>>> disk0:[vms$common.java$150.vms_demo]invoke_java_from_c_example.sav/sav
>>> Listing of save set(s)
>>>
>>> ...
>>>
>>> [JDK150_8_KIT.INVOKE_JAVA_FROM_C_EXAMPLE]JAVA$BUILD_OPTION.EXE;1
>>> 14
>>> 5-MAY-1999 11:11
>>>
>>> ...
>>>
>>> [JDK150_8_KIT.INVOKE_JAVA_FROM_C_EXAMPLE]SCAN_GLOBALS_FOR_OPTION.COM;1
>>> 5
>>> 11-JAN-2001 10:57
>>>
>>> Are you testing on Itanium?
>>
>> I did the test on Itanium
>
>> However on Alpha I have neither of the files. You seem to have another
>> version of java. The foleder on my Alpha is called JAVA$150
>
> Yes.
>
> You do not have a
> disk0:[vms$common.java$150.vms_demo]invoke_java_from_c_example.sav ?
>
It is in java$150 on Alpha & Itanium and in java$60 on Itanium, but not
in java$80 and Openjdk.

It is a saveset, so that is why my directory search did not find it.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor