1753844 Members
7380 Online
108806 Solutions
New Discussion

Re: Bug in OPENVMS?

 
Garry Fruth
Trusted Contributor

Re: Bug in OPENVMS?

If I interpret the code fragment correctly, the rename command does not necessarily rename the zero block file. If COUNTC1 = 1, and there is a ;3 and a ;2 version of the file. The f$file lexicals would check on ;2 (i.e. "dwh$stats:ssub130c1.dat;-''countc1'" = "dwh$stats:ssub130c1.dat;-1"), but the rename command would affect ;3. I concur with Jan's suggestion.