[Info-vax] Programming languages on VMS
Jan-Erik Soderholm
jan-erik.soderholm at telia.com
Fri Feb 9 17:08:22 EST 2018
Den 2018-02-09 kl. 20:30, skrev Arne Vajhøj:
> On 2/9/2018 10:59 AM, Jan-Erik Soderholm wrote:
>> Just for fun I wrote a short DCL file that checks the number of
>> days between the ;0 and the ;-0 of each file on our dev system.
>> Now, I notice from the HELP that F$delta_time only supports a
>> 4-digit return value for the DDDD field, right? It still works,
>> but it will break in about a year with some files...
>>
>>
>> dev:[xx.yyy]aaaaaa.OPT;6 12-DEC-2012 12:39:00.94
>> dev:[xx.yyy]aaaaaa.OPT;2 6-MAR-1986 09:11:42.00
>>
>> Or a more recently change file:
>>
>> dev:[xx.yyy]bbbbbb.COB;9 2-NOV-2017 10:08:56.19
>> dev:[xx.yyy]bbbbbb.COB;7 24-SEP-1991 11:16:27.00
>>
>> OK, it is not that common that we actually need to look into
>> one of the files from the 80's or the 90's, but anyway...
>
> Have you removed PURGE from DCLTABLES on that system_
>
> If not then I think it is a very riusky setup.
>
> And I also believe this a good example of where file version
> numbers should not be used and source control should be used.
>
> Arne
>
No, *that* (that we have some old versions) are not particular risky
as such. They just are there. And as I wrote, it is not that common
that we need to look in files that are 10+ years old. It would not a
catastrophe if they would be gone either..
And anyway, *if* they are purged, we have 60 days to discover that
and restore them from backup, if we need to.
And no, PURGE has not been removed from DCLTABLES.
More information about the Info-vax
mailing list