[Info-vax] DCL Integer Overflow
David Froble
davef at tsoft-inc.com
Mon Jul 3 12:37:33 EDT 2017
Jan-Erik Soderholm wrote:
> Den 2017-07-03 kl. 15:50, skrev David Froble:
>> Robert A. Brooks wrote:
>>> On 7/2/2017 10:14 PM, David Froble wrote:
>>>
>>> > I guess my question is "why is anyone using integers of such
>>> magnitude
>>> > in DCL?"
>>>
>>> When we support larger than 2TB disks, there will be issues with
>>>
>>> write sys$output f$getdvi( "big disk", "maxblock" )
>>>
>>> There is no good way to fix this (and problems like this one), other
>>> than defining a new item code that returns a string.
>>>
>>
>> Well, Ok, but, when I want to see anything about the disks, I've got a
>> symbol "SYD" that is "SHOW DEVICE D", and I'm guessing that invokes a
>> non-DCL program, which could support larger than 32-bit integers.
>>
>> I guess it is because I see "DCL" as "Digital COMMAND Language", not
>> "Digital PROGRAMMING Language".
>
>
> What if you do not want to see the "maxblock", but to use it?
>
>
Yeah, I just knew someone would mention that.
While I don't see ever using that information, I've always maintained that there
are people using VMS in ways that others never imagine.
Simple Dave answer, perhaps not everyone's answer, use it in a language that
will support the magnitude of the number. Like Basic.
:-)
More information about the Info-vax
mailing list