We have noticed that the PML REHASH ALL command has stopped working unless you delete all the pml.index files first. Has any body else had this issue? It affects local as well as shared directories so I don't think its a permission thing.
So I wrote this
-------------------------------------------------------------------
--
-- Copyright 2018 to current year. NHWL Engineering Inc. All rights reserved in original code only.
--
-- File:
-- Author:
-- Created:
--
-- Description:
--
------------------------------------------------------------------------
define function !!pmlrehash()
var !pml evar pmllib
!spml = !pml.split(|;|)
do !p values !spml
!file = object FILE(!p & |pml.index|)
!file.deletefile()
enddo
pml rehash all
endfunction