Show only results for:











PDSAdminTool Erweiterung Modell kopieren

Kopieren von PDS-Modellen von einem alten in ein neues PDS-Projekt

Schemafile wird übergeben

2 Projekte wählen (cmb) – pd_projname

Test ob in altem und neuem Projekt Version gleich ist, ungleich exit

SELECT pdtable_103.product_version_no FROM pdtable_103;

In Treeview aus altem Projekt alle Files (model) aus pdtable_113 auflisten.

Gliederung nach Disziplin (_111) und Area (_112)

Treeview anhacken durch Textfile (Files sind untereinander aufgelistet)

Schleife über alle Files die angehackt sind

Altes Projekt:

select * from pdtable_113 where model_no=‘filename’;

Mit Model_index_no und Patition_no testen ob diese in neuem Projekt existiert:

Wenn ja – Eintrag in LogFile und nächsten File.

Wenn nein – Weitermachen

Testen ob Disziplin (_111) in neuem Projekt existiert, ansonsten anlegen (Zeile aus altem Schema kopieren).

Testen ob Area (_112) in neuem Projekt existiert, ansonsten anlegen (Zeile aus altem Schema kopieren).

Zeile aus pdtable_113 von altem in neues Projekt kopieren.

Node und Pfade ändern mit Wert aus pdtable_115 von neuem Projekt.

SELECT pdtable_115.default_node, pdtable_115.default_path_name FROM pdtable_115 WHERE (((pdtable_115.discipline_indx_no)=1));

If discipline_no=3 then

Pfad nicht aus _115 sondern aus _116 mit
sub_project_ndx_no aus _117

End if

If discipline_no=1 then

Unload pdtable_12_patitionNo aus dd_projnameALT

risunlod -mw -o c:\temp\xx.txt -s pd_schwedt table with data pdtable_12_partNo index pdtable_12_partNo grant pdtable_12_partNo view pdtable_12_partNo

Unload pdtable_34_patitionNo aus dd_projnameALT

Unload pdtable_50_patitionNo aus dd_projnameALT

Unload pdtable_67_patitionNo aus dd_projnameALT

Unload pdtable_80_patitionNo aus dd_projnameALT

Laden der 5 Tabellen nach dd_projnameNEU

rislod -m w -i c:\temp\xx.txt -s dd_projname clear table with data all view all index all grant all

End if

If discipline_no=2 then

Unload pdtable_21_partitionNo aus dd_projnameALT

Unload pdtable_22_partitionNo aus dd_projnameALT

Unload pdtable_23_partitionNo aus dd_projnameALT

Unload pdtable_24_partitionNo aus dd_projnameALT

Unload pdtable_25_partitionNo aus dd_projnameALT

Unload pdtable_26_partitionNo aus dd_projnameALT

Unload pdtable_27_partitionNo aus dd_projnameALT

Unload pdtable_28_partitionNo aus dd_projnameALT

Laden der 8 Tabellen nach dd_projnameNEU

rislod -m w -i c:\temp\xx.txt -s dd_projname clear table with data all view all index all grant all

End if

Kopieren des Modells von Pfad aus 113_alt nach Neues Projekt in Pfad aus 113_neu