[Info-vax] libvbisam for VMS

Arne Vajhøj arne at vajhoej.dk
Mon Mar 13 09:36:52 EDT 2023


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





More information about the Info-vax mailing list