[Info-vax] Example of random access by record number on an RMS fixed record size, relative organization file?
Arne Vajhøj
arne at vajhoej.dk
Wed Sep 20 07:15:55 EDT 2023
On 9/20/2023 12:02 AM, Dave Froble wrote:
> On 9/19/2023 8:50 PM, Arne Vajhøj wrote:
>> On 9/19/2023 8:44 PM, Arne Vajhøj wrote:
>>> On 9/16/2023 4:16 PM, Arne Vajhøj wrote:
>>>> I don't think I have ever used ORG=REL.
>>>
>>> But then I could start now!
>>
>> C / RMS:
>
> Is it just me, or, was my Basic example shorter and easier to read than
> your Cobol, Fortran, and C examples?
The Basic code was a bit shorter than the Fortran and Pascal code.
No so surprising VMS Basic is pretty good in expressing logic
in few lines.
The Basic code was a lot shorter than the C code, because
that was using RMS calls and not language specific statement -
working with RMS Calls and FAB & RAB blocks always require
way more code than language specific statements.
What is easier to read depends a lot on what language
people know.
:-)
Arne
More information about the Info-vax
mailing list