[Info-vax] VMS databases

Arne Vajhøj arne at vajhoej.dk
Sun Nov 19 20:12:17 EST 2023


On 11/19/2023 11:50 AM, Arne Vajhøj wrote:
> On 11/19/2023 4:47 AM, Neil Rieck wrote:
>> On Saturday, November 18, 2023 at 6:47:22 PM UTC-5, Arne Vajhøj wrote:
>>> On 11/18/2023 9:22 AM, Arne Vajhøj wrote:
>>>> VMS Basic is as it is and the libmysql API is what it is and
>>>> any solution is constrained by that.
>>>>
>>>> I do not have any magic solution for the problem. I would
>>>> probably have made the API differently (but differently does
>>>> not necessarily mean better).
>>> I could not resist trying.
>>>
>>> This is first attempt. But I think it is a relative clean API.
> 
>> Could you post the included code: "b.bas"
> 
> B.BAS is not so interesting:

> B2C.C has the interesting stuff:

I just made bunch of changes (support more data types,
support CLASS S strings, some error handling in the form
of negative return values and a sub to get error message).

https://www.vajhoej.dk/arne/opensource/vms/vmsbmysql-src-v0_1.zip

Arne





More information about the Info-vax mailing list