Delete interDB Macro Records - Design Module - Modules - AVEVA Software Community
Delete interDB Macro Records - Design Module - Modules - AVEVA Software Community
Delete interDB Macro Records - Design Module - Modules - AVEVA Software Community
Offline
Marcel Prosch
over 15 years ago
Hi, i think we have made a mistake handling InterDb macros.
We where wondering why the global deamon wasn't propagating the macro's
When run, we deleted the file from disk (in the xxxMAC folder)
When i type LIST MACROS i see a lot of macro's that have been run a long time ago but are still in de
database.
When i try to delete them by type DELETE MACRO ### i get an error because the file is missing.
At my location i created some dummies for the missing files by hand, but at anothere location there are 300
files missing.
Offline
Archie Cone
over 15 years ago
No, I believe that is the only way.
Offline
MATTHEW BINNIE
over 15 years ago
Agreed, as far as I know anyway. You could create a bit of pml to do it for you, output the names of teh db
macros, create a file by copying an existing file (Using pml !Newfile.copyfile(!oldfile) = !Newfile and !OLdfile
being file objects) and then use a command that replicates the typed command.
!Array = macros
Offline
Helmut Kremsbrucker
over 15 years ago
Hi !
Offline
MATTHEW BINNIE
over 15 years ago
https://softwareforums.aveva.com//aveva-world/pdms-e3d-forum/modules-1490676865/f/design-module/64819/delete-interdb-macro-records 1/2
8/9/22, 7:32 PM delete interDB macro records - Design Module - Modules - AVEVA Software Community
[QUOTE=binford6000;11017]Hi !
Offline
Helmut Kremsbrucker
over 15 years ago
The devil takes the hindmost.
https://softwareforums.aveva.com//aveva-world/pdms-e3d-forum/modules-1490676865/f/design-module/64819/delete-interdb-macro-records 2/2