
[INIT]
  EXECUTE MACRO ProjectUpdate, Module_ProjectUpdate, ProjectUpdate
  DELETE "dgn\*.lve"

[PRE]
  EXECUTE MACRO ProjectUpdate, Module_ProjectUpdate, ProjectUpdate

[OPEN]
  EXECUTE MACRO ProjectUpdate, Module_ProjectUpdate, ProjectUpdate

[POST]
  EXECUTE MACRO ProjectUpdate, Module_ProjectUpdate, ProjectUpdate
  DELETE "=== PrjData ===\data\rulefiles\K_Kat*.csv"
  DELETE "=== PrjData ===\data\rulefiles\O_Kat*.csv"
  DELETE "=== PrjData ===\data\rulefiles\O_WMS*.csv"
  DELETE "=== PrjData ===\data\rulefiles\O_Dráž*.csv"
  DELETE "=== PrjData ===\data\*.drawlist.xml"
  REWRITE "=== PrjData ===\data\Úplný DM dle SŽDC.drawlist.xml"
  REWRITE "=== PrjData ===\cfg\pntmgr.xml"
  REWRITE "=== PrjData ===\cfg\lastview.xml"
  REWRITE "=== PrjData ===\cfg\Export výkresù dle SŽDC.drwexport.xml"
  DELETE "=== PrjData ===\cfg\*.pntmgrimport.xml"
  DELETE "=== PrjData ===\cfg\*.pntmgrexport.xml"
  REWRITE "=== PrjData ===\cfg\Vstup SŽDC M20 MP005 - s kódy.pntmgrimport.xml"
  REWRITE "=== PrjData ===\cfg\Vstup SŽDC M20 MP005 - bez kódù.pntmgrimport.xml"
  REWRITE "=== PrjData ===\cfg\Výstup SŽDC M20 MP005 - s kódy.pntmgrexport.xml"
  REWRITE "=== PrjData ===\cfg\Výstup SŽDC M20 MP005 - bez kódù.pntmgrexport"

[FINAL]
  EXECUTE MACRO ProjectUpdate, Module_ProjectUpdate, ProjectUpdate
  EXECUTE SQL UPDATE NavestidB SET pres=null where pres='nzz'
  EXECUTE SQL UPDATE JZM_B SET jzm_var1=null WHERE jzm_var1 IN(41,56)
  EXECUTE SQL UPDATE JZM_B SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE JZM_L SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE JZM_P SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE Kolej_B SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE Kolej_L SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE Kolej_P SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE Tech_B SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE Tech_L SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE Tech_P SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE NavestidB SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE NavestidL SET jev='0' || jev WHERE length(jev)=2
  EXECUTE SQL UPDATE Rychlostniky SET jev='0' || jev WHERE length(jev)=2
