[Info-vax] VMS Software: New US Mailing Address
Richard Maher
maher_rjSPAMLESS at hotmail.com
Fri Oct 14 23:54:59 EDT 2022
On 15/10/2022 10:52 am, Richard Maher wrote:
> On 14/10/2022 7:21 pm, Jan-Erik Söderholm wrote:
>> That is right. If you have built your SQLMOD object files using the
>> "wrong" "language calling standard", you will need a few additional
>> things to get the calls working.
>>
>> But that is the same as calling between different languages
>> directly.
>>
>>
>
> No it is NOT. The VMS Procedure Calling standard prescribes that you
> must interrogate the descriptor class to be fully compatible.
>
> It was common sense for the language specifier to provide default
> passing mechanisms et al. Can't remember if your SQLMOD procedure can
> o/ride the default?
Just looked it up 4.2.8 says you can use BY DESCRIPTOR to override the
default passing mechanism. (Which for COBOL would be BY REFERENCE)
What it doesn't say is that, for COBOL, it doesn't allow for dynamic
string descriptors whereas for BASIC it does.
More information about the Info-vax
mailing list