84 changed files with 658909 additions and 12087 deletions
@ -1,10 +0,0 @@ |
|||||||
rohdaten/ETL_ENV |
|
||||||
rohdaten/*.properties |
|
||||||
preparation.sql |
|
||||||
finalize.sql |
|
||||||
rohdaten/*.err |
|
||||||
*.log |
|
||||||
*.err |
|
||||||
rohdaten/unl/* |
|
||||||
conf/customize.sql |
|
||||||
conf/*.log |
|
||||||
@ -1,3 +0,0 @@ |
|||||||
doku/sxc_modul/sxc.html |
|
||||||
WEB-INF/conf/edustore/db/bin/SQL_ENV_sxc.sam |
|
||||||
|
|
||||||
@ -1,601 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
<!--<!DOCTYPE module SYSTEM "../../../conf/superx-module.dtd"> --> |
|
||||||
<module name="sxc" version="0.1" sachgebiet_id="360" |
|
||||||
sachgebiet="SuperX-Connect" systeminfo_id="360" |
|
||||||
system="SuperX-Connect" thema="Hochschulvergleich" thema_parent="Abfragen"> |
|
||||||
<database name="superx" system="superx"> |
|
||||||
<sachgebiete> |
|
||||||
<sachgebiet id="361" name="SuperX-Connect Administr." |
|
||||||
rightname="CS_BIA_STANDARDREPORTS_ADMIN[SXC]" /> |
|
||||||
|
|
||||||
</sachgebiete> |
|
||||||
<table name="sxc_hochschulen"> |
|
||||||
<columns><column name="name" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="hs_nr" type ="CHAR" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="kapitel" type ="CHAR" size ="5" default ="" notnull ="false" /> |
|
||||||
<column name="art" type ="CHAR" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="traegerschaft" type ="CHAR" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="kurztext" type ="CHAR" size ="100" default ="" notnull ="false" /> |
|
||||||
<column name="ort" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="bland" type ="CHAR" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="hsk_laufnummer" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="hsk_art" type ="CHAR" size ="30" default ="" notnull ="false" /> |
|
||||||
<column name="hsk_traegerschaft" type ="CHAR" size ="30" default ="" notnull ="false" /> |
|
||||||
<column name="updated" type ="CHAR" size ="200" default ="" notnull ="false" /> |
|
||||||
<column name="hsk_bundesland" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
</columns> |
|
||||||
<indexes></indexes> |
|
||||||
<primaryKeys><rs> |
|
||||||
</rs></primaryKeys> |
|
||||||
<foreignKeys><rs> |
|
||||||
</rs></foreignKeys> |
|
||||||
<importedKeys><rs> |
|
||||||
</rs></importedKeys> |
|
||||||
<privileges><rs> |
|
||||||
</rs></privileges> |
|
||||||
</table> |
|
||||||
<table name="sxc_hochschulen_standorte"> |
|
||||||
<columns> |
|
||||||
<column name="hsk_laufnummer" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="kurzname" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="name" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="ort" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="standort_ort" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="hauptsitz" type ="CHAR" size ="1" default ="" notnull ="false" /> |
|
||||||
<column name="standort_laufnummer" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="standort_nr" type ="CHAR" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="hs_nr" type ="CHAR" size ="10" default ="" notnull ="false" /> |
|
||||||
</columns> |
|
||||||
<indexes></indexes> |
|
||||||
<primaryKeys><rs> |
|
||||||
</rs></primaryKeys> |
|
||||||
<foreignKeys><rs> |
|
||||||
</rs></foreignKeys> |
|
||||||
<importedKeys><rs> |
|
||||||
</rs></importedKeys> |
|
||||||
<privileges><rs> |
|
||||||
</rs></privileges> |
|
||||||
</table> |
|
||||||
<table name="sxc_hochschulen_hsk"> |
|
||||||
<columns><column name="hsnr" type ="INTEGER" size ="10" default ="" notnull ="true" /> |
|
||||||
<column name="hochschulkurzname" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="hochschulname" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="hochschultyp" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="traegerschaft" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="bundesland" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="anzahl_studierende" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="gruendungsjahr" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="promotionsrecht" type ="CHAR" size ="4" default ="" notnull ="false" /> |
|
||||||
<column name="habilitationsrecht" type ="CHAR" size ="4" default ="" notnull ="false" /> |
|
||||||
<column name="strasse" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="postleitzahl" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="hausanschrift_ort" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="hausanschrift_postfach" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="postleitzahl_postanschrift" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="ort_postanschrift" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="telefonvorwahl" type ="CHAR" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="telefon" type ="CHAR" size ="30" default ="" notnull ="false" /> |
|
||||||
<column name="fax" type ="CHAR" size ="30" default ="" notnull ="false" /> |
|
||||||
<column name="homepage" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="mitglied_hrk" type ="SMALLINT" size ="5" default ="" notnull ="false" /> |
|
||||||
</columns> |
|
||||||
<indexes></indexes> |
|
||||||
<primaryKeys> |
|
||||||
<rs> |
|
||||||
<row> |
|
||||||
<fld name='table_cat'>superx</fld> |
|
||||||
<fld name='table_schem'>superx</fld> |
|
||||||
<fld name='table_name'>sxc_hochschulen_hsk</fld> |
|
||||||
<fld name='column_name'>hsnr</fld> |
|
||||||
<fld name='key_seq'>1</fld> |
|
||||||
<fld name='pk_name'>pk_sxc_hochschulen_hsk</fld> |
|
||||||
</row> |
|
||||||
</rs></primaryKeys> |
|
||||||
<foreignKeys><rs> |
|
||||||
</rs></foreignKeys> |
|
||||||
<importedKeys><rs> |
|
||||||
</rs></importedKeys> |
|
||||||
<privileges><rs> |
|
||||||
</rs></privileges> |
|
||||||
</table> |
|
||||||
<table name="sxc_hsk_hochschulen_standorte"> |
|
||||||
<columns><column name="laufnummer" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="kurzname" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="typ" type ="SMALLINT" size ="5" default ="" notnull ="false" /> |
|
||||||
<column name="typ_str" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="name" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="traegertyp" type ="SMALLINT" size ="5" default ="" notnull ="false" /> |
|
||||||
<column name="bundesland" type ="SMALLINT" size ="5" default ="" notnull ="false" /> |
|
||||||
<column name="bundesland_str" type ="VARCHAR" size ="200" default ="" notnull ="false" /> |
|
||||||
<column name="traegertyp_str" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="ort" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="standort_name" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="standort_ort" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="hauptsitz" type ="CHAR" size ="1" default ="" notnull ="false" /> |
|
||||||
<column name="standort_laufnummer" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
</columns> |
|
||||||
<indexes></indexes> |
|
||||||
<primaryKeys><rs> |
|
||||||
</rs></primaryKeys> |
|
||||||
<foreignKeys><rs> |
|
||||||
</rs></foreignKeys> |
|
||||||
<importedKeys><rs> |
|
||||||
</rs></importedKeys> |
|
||||||
<privileges><rs> |
|
||||||
</rs></privileges> |
|
||||||
</table> |
|
||||||
<table name="sxc_hsk_hochschultypen"> |
|
||||||
<columns><column name="laufnummer" type ="SMALLINT" size ="5" default ="" notnull ="false" /> |
|
||||||
<column name="bezeichnung" type ="CHAR" size ="30" default ="" notnull ="false" /> |
|
||||||
</columns> |
|
||||||
<indexes></indexes> |
|
||||||
<primaryKeys> |
|
||||||
<rs> |
|
||||||
<row> |
|
||||||
<fld name='table_cat'>superx</fld> |
|
||||||
<fld name='table_schem'>superx</fld> |
|
||||||
<fld name='table_name'>sxc_hsk_hochschultypen</fld> |
|
||||||
<fld name='column_name'>laufnummer</fld> |
|
||||||
<fld name='key_seq'>1</fld> |
|
||||||
<fld name='pk_name'>pk_sxc_hsk_hochschultypen</fld> |
|
||||||
</row> |
|
||||||
</rs></primaryKeys> |
|
||||||
<foreignKeys><rs> |
|
||||||
</rs></foreignKeys> |
|
||||||
<importedKeys><rs> |
|
||||||
</rs></importedKeys> |
|
||||||
<privileges><rs> |
|
||||||
</rs></privileges> |
|
||||||
</table> |
|
||||||
<table name="sxc_hsk_traegerschaftstypen"> |
|
||||||
<columns><column name="laufnummer" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="bezeichnung" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="staatltraegersch" type ="BOOLEAN" size ="1" default ="" notnull ="false" /> |
|
||||||
</columns> |
|
||||||
<indexes></indexes> |
|
||||||
<primaryKeys><rs> |
|
||||||
</rs></primaryKeys> |
|
||||||
<foreignKeys></foreignKeys> |
|
||||||
<importedKeys></importedKeys> |
|
||||||
<privileges><rs> |
|
||||||
</rs></privileges> |
|
||||||
</table> |
|
||||||
|
|
||||||
<!--Datentabellen destatis:--> |
|
||||||
<table name="sxc_stud_sem_da_geschl_hs_neu" thema="SuperX-Connect" typ="Ladetabelle" |
|
||||||
releaseUnload="empty"> |
|
||||||
<columns><column name="statistik_code" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="statistik_label" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="zeit_code" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="zeit_label" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="zeit" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="merkmal_code_1" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="merkmal_label_1" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="auspraegung_code_1" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="auspraegung_label_1" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="merkmal_code_2" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="merkmal_label_2" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="auspraegung_code_2" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="auspraegung_label_2" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="merkmal_code_3" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="merkmal_label_3" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="auspraegung_code_3" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="auspraegung_label_3" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="merkmal_code_4" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="merkmal_label_4" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="auspraegung_code_4" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="auspraegung_label_4" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="bil002__studierende__anzahl" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="bil002__studierende__q" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
</columns> |
|
||||||
<indexes></indexes> |
|
||||||
<primaryKeys><rs> |
|
||||||
</rs></primaryKeys> |
|
||||||
<foreignKeys><rs> |
|
||||||
</rs></foreignKeys> |
|
||||||
<importedKeys><rs> |
|
||||||
</rs></importedKeys> |
|
||||||
<privileges><rs> |
|
||||||
</rs></privileges> |
|
||||||
</table> |
|
||||||
<table name="sxc_stud_sem_da_geschl_hs" thema="SuperX-Connect" typ="Datentabelle" |
|
||||||
releaseUnload="empty"> |
|
||||||
<columns><column name="statistik_code" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="statistik_label" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="zeit_code" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="zeit_label" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="zeit" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="semester" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="merkmal_code_1" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="merkmal_label_1" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="auspraegung_code_1" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="auspraegung_label_1" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="merkmal_code_2" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="merkmal_label_2" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="auspraegung_code_2" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="auspraegung_label_2" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="merkmal_code_3" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="merkmal_label_3" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="auspraegung_code_3" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="auspraegung_label_3" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="merkmal_code_4" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="merkmal_label_4" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="auspraegung_code_4" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="auspraegung_label_4" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="bil002__studierende__anzahl" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="bil002__studierende__q" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="standort_nr" type ="CHAR" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="hs_nr" type ="CHAR" size ="10" default ="" notnull ="false" /> |
|
||||||
</columns> |
|
||||||
<indexes></indexes> |
|
||||||
<primaryKeys><rs> |
|
||||||
</rs></primaryKeys> |
|
||||||
<foreignKeys><rs> |
|
||||||
</rs></foreignKeys> |
|
||||||
<importedKeys><rs> |
|
||||||
</rs></importedKeys> |
|
||||||
<privileges><rs> |
|
||||||
</rs></privileges> |
|
||||||
</table> |
|
||||||
<table name="sxc_itnrw_sfmk_neu" thema="SuperX-Connect" typ="Ladetabelle" |
|
||||||
releaseUnload="empty"> |
|
||||||
<columns><column name="hochschulnummer" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="hochschulstandort" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="gueltig_ab_jahr" type ="INTEGER" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="gueltig_ab_semester" type ="INTEGER" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="gueltig_bis_jahr" type ="INTEGER" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="gueltig_bis_semester" type ="INTEGER" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="studienfachschluessel_hsf" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="studienfach" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="abschlussschluessel" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="abschlusspruefung" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="art_des_studiums" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="vtd_schluessel" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="studientyp" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="regelstudienzeit" type ="INTEGER" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="lehreinheit" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="studienfach_hochschule" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
</columns> |
|
||||||
<indexes></indexes> |
|
||||||
<primaryKeys><rs> |
|
||||||
</rs></primaryKeys> |
|
||||||
<foreignKeys><rs> |
|
||||||
</rs></foreignKeys> |
|
||||||
<importedKeys><rs> |
|
||||||
</rs></importedKeys> |
|
||||||
<privileges><rs> |
|
||||||
</rs></privileges> |
|
||||||
</table> |
|
||||||
<table name="sxc_itnrw_sfmk" thema="SuperX-Connect" typ="Datentabelle" |
|
||||||
releaseUnload="empty"> |
|
||||||
<columns><column name="hs_nr" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="hochschulstandort" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="gueltig_ab_semester" type ="INTEGER" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="gueltig_bis_semester" type ="INTEGER" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="studienfach_land" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="studienfach_name" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="abschluss_land" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="stufrm" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="abschluss_name" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="stufrm_name" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="studientyp" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="studientyp_str" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="regelstudienzeit" type ="INTEGER" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="lehreinheit" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="studienfach_hochschule_name" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
<column name="standort_nr" type ="CHAR" size ="10" default ="" notnull ="false" /> |
|
||||||
</columns> |
|
||||||
<indexes></indexes> |
|
||||||
<primaryKeys><rs> |
|
||||||
</rs></primaryKeys> |
|
||||||
<foreignKeys><rs> |
|
||||||
</rs></foreignKeys> |
|
||||||
<importedKeys><rs> |
|
||||||
</rs></importedKeys> |
|
||||||
<privileges><rs> |
|
||||||
</rs></privileges> |
|
||||||
</table> |
|
||||||
<table name="sxc_trans_hs_nr" thema="SuperX-Connect" typ="Zuordnungstabelle" |
|
||||||
releaseUnload="empty"> |
|
||||||
<columns> |
|
||||||
<column name="hs_nr_kenn" type ="CHAR" size ="10" default ="" notnull ="true" /> |
|
||||||
<column name="hs_nr_sourcesystem" type ="CHAR" size ="10" default ="" notnull ="true" /> |
|
||||||
<column name="sourcesystem_id" type ="INTEGER" size ="10" default ="" notnull ="true" /> |
|
||||||
<column name="kommentar" type ="VARCHAR" size ="255" default ="" notnull ="false" /> |
|
||||||
</columns> |
|
||||||
<indexes></indexes> |
|
||||||
<primaryKeys><rs> |
|
||||||
</rs></primaryKeys> |
|
||||||
<foreignKeys><rs> |
|
||||||
</rs></foreignKeys> |
|
||||||
<importedKeys><rs> |
|
||||||
</rs></importedKeys> |
|
||||||
<privileges><rs> |
|
||||||
</rs></privileges> |
|
||||||
</table> |
|
||||||
|
|
||||||
<table name="sxc_zahl_wert" typ="Datentabelle" thema=""> |
|
||||||
<description>Kennzahlen aus manueller Schnittstelle</description> |
|
||||||
<columns> |
|
||||||
<column name="tid" type ="SERIAL" size ="4" default ="" notnull ="true" ><comment>Primaerschluessel</comment></column> |
|
||||||
<column name="hs_nr" type ="CHAR" size ="10" default ="" notnull ="false" description="Hochschulnummer" /> |
|
||||||
<column name="kenn_zahl" type ="CHAR" size ="100" default ="" notnull ="true" description="Name der Kennzahl"/> |
|
||||||
<column name="jahr" type ="SMALLINT" size ="4" default ="" notnull ="false" description="Bezugsjahr" /> |
|
||||||
<column name="sem" type ="SMALLINT" size ="4" default ="" notnull ="false" description="Bezugssemester" /> |
|
||||||
<column name="ch110_institut" type ="CHAR" size ="10" default ="" notnull ="false" description="Kostenstelle/Institut" /> |
|
||||||
<column name="bland" type ="INTEGER" size ="" default ="" notnull ="false" description="Bundesland" ><comment>0 heißt deutschlandweit</comment></column> |
|
||||||
<column name="sxc_bestand_id" type ="INTEGER" size ="" default ="" notnull ="false" description="ID des Bestandes" /> |
|
||||||
<column name="wert" type ="DECIMAL" size ="(30,20)" default ="" notnull ="false" description="Wert der Kennzahl" /> |
|
||||||
<column name="generic_dim1" type ="CHAR" size ="100" default ="" notnull ="false" description="Generische Definition 1" ><comment></comment></column> |
|
||||||
<column name="generic_dim2" type ="CHAR" size ="100" default ="" notnull ="false" description="Generische Definition 2" ><comment></comment></column> |
|
||||||
</columns> |
|
||||||
|
|
||||||
<indexes> |
|
||||||
<index name="i_sxc_zahl_wert" unique="false"> |
|
||||||
<index-column name="kenn_zahl"/> |
|
||||||
<index-column name="sem"/> |
|
||||||
</index> |
|
||||||
<index name="i_sxc_zahl_wert2" unique="false"> |
|
||||||
<index-column name="kenn_zahl"/> |
|
||||||
<index-column name="jahr"/> |
|
||||||
<index-column name="ch110_institut"/> |
|
||||||
</index> |
|
||||||
</indexes> |
|
||||||
<!-- |
|
||||||
<primaryKeys><rs> |
|
||||||
<row> |
|
||||||
<fld name='table_cat'></fld> |
|
||||||
<fld name='table_schem'>public</fld> |
|
||||||
<fld name='table_name'>sxc_zahl_wert</fld> |
|
||||||
<fld name='column_name'>tid</fld> |
|
||||||
<fld name='key_seq'>1</fld> |
|
||||||
<fld name='pk_name'>i_sxc_zahl_wert</fld> |
|
||||||
</row> |
|
||||||
</rs></primaryKeys> |
|
||||||
<foreignKeys></foreignKeys> |
|
||||||
<importedKeys></importedKeys> |
|
||||||
<privileges><rs> |
|
||||||
</rs></privileges>--> |
|
||||||
</table> |
|
||||||
|
|
||||||
<table name="sxc_bestand" typ="Schlüsseltabelle" thema=""> |
|
||||||
<description>Bestände und deren Quellen</description> |
|
||||||
<columns> |
|
||||||
<column name="tid" type ="SERIAL" size ="4" default ="" notnull ="true" ><comment>Primaerschluessel</comment></column> |
|
||||||
<column name="name" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Name des Bestandes" ><comment>bspw. MKW NRW Hochschulkennzahlen</comment></column> |
|
||||||
<column name="quelle" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Quelle des Bestandes" ><comment>bspw. MKW NRW</comment></column> |
|
||||||
<column name="bland" type ="INTEGER" size ="" default ="" notnull ="false" description="Bundesland" ><comment>0 heißt deutschlandweit</comment></column> |
|
||||||
</columns> |
|
||||||
</table> |
|
||||||
|
|
||||||
<table name="sxc_mapping_bestand" typ="Schlüsseltabelle" thema=""> |
|
||||||
<description>Bestände und deren Quellen</description> |
|
||||||
<columns> |
|
||||||
<column name="sxc_bestand_id" type ="INTEGER" size ="4" default ="" notnull ="true" ><comment>bspw. 1</comment></column> |
|
||||||
<column name="object_type" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Objekt-Typ" ><comment>bspw. Hochschule</comment></column> |
|
||||||
<column name="object_value" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Objekt-Wert" ><comment>bspw. Uni Leipzig</comment></column> |
|
||||||
<column name="target_table" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Zieltabelle" ><comment>bspw. sxc_zahl_wert</comment></column> |
|
||||||
<column name="target_table_bestand_id" type ="INTEGER" size ="255" default ="" notnull ="false" description="Bestand-ID in Zieltabelle" ><comment>bspw. 1</comment></column> |
|
||||||
<column name="target_column" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Zielspalte" ><comment>bspw. hs_nr</comment></column> |
|
||||||
<column name="target_value" type ="VARCHAR" size ="255" default ="" notnull ="false" description="Wert in Zielspalte" ><comment>bspw. 361</comment></column> |
|
||||||
</columns> |
|
||||||
</table> |
|
||||||
|
|
||||||
<views> |
|
||||||
<view name="sxc_hochschulen_art"> |
|
||||||
<columns><column name="druck" type ="CHAR" size ="2147483647" default ="" notnull ="false" /> |
|
||||||
<column name="apnr" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="parent" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="ebene" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
</columns> |
|
||||||
<sql dbsystem=""><![CDATA[ |
|
||||||
select 'Hochschulen', 0::char(10) as hs_nr, null::char(10) as parent, 0::smallint as ebene from xdummy |
|
||||||
union select bezeichnung, laufnummer::char(10), '0'::char(10) as parent, 1 as ebene from sxc_hsk_hochschultypen |
|
||||||
--Element kann sich nicht selbst als parent haben!! |
|
||||||
--die Einzelhochschulen |
|
||||||
union select name, hs_nr::char(10), (select laufnummer from sxc_hsk_hochschultypen H where H.bezeichnung=sxc_hochschulen.hsk_art)::char(10) as parent, |
|
||||||
2::smallint as ebene from sxc_hochschulen where |
|
||||||
hs_nr is not null; |
|
||||||
]]></sql> |
|
||||||
</view> |
|
||||||
<view name="sxc_hochschulen_bland"> |
|
||||||
<columns><column name="druck" type ="CHAR" size ="2147483647" default ="" notnull ="false" /> |
|
||||||
<column name="apnr" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="parent" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="ebene" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
</columns> |
|
||||||
<sql dbsystem=""><![CDATA[ |
|
||||||
select 'Hochschulen', 0::char(10) as hs_nr, null::char(10) as parent, 0::smallint as ebene from xdummy |
|
||||||
union select hsk_bundesland, substring(hsk_bundesland, 1,10), '0'::char(10) as parent, 1 as ebene from sxc_hochschulen |
|
||||||
union select name, hs_nr::char(10), substring(hsk_bundesland, 1,10) as parent, 2::smallint as ebene from sxc_hochschulen where |
|
||||||
hs_nr is not null ; |
|
||||||
]]></sql> |
|
||||||
</view> |
|
||||||
<view name="sxc_hochschulen_liste"> |
|
||||||
<columns><column name="druck" type ="CHAR" size ="2147483647" default ="" notnull ="false" /> |
|
||||||
<column name="apnr" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="parent" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="ebene" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
</columns> |
|
||||||
<sql dbsystem=""><![CDATA[ |
|
||||||
select 'Hochschulen', 0::char(10) as hs_nr, null::char(10) as parent, 0::smallint as ebene from xdummy |
|
||||||
union |
|
||||||
select name, hs_nr::char(10), '0'::char(10) as parent, 1::smallint as ebene from sxc_hochschulen where |
|
||||||
hs_nr is not null ; |
|
||||||
]]></sql> |
|
||||||
</view> |
|
||||||
<view name="sxc_hochschulen_nrw_art"> |
|
||||||
<columns><column name="druck" type ="CHAR" size ="2147483647" default ="" notnull ="false" /> |
|
||||||
<column name="apnr" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="parent" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="ebene" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
</columns> |
|
||||||
<sql dbsystem=""><![CDATA[ |
|
||||||
select 'Hochschulen in NRW', 0::char(10) as hs_nr, null::char(10) as parent, 0::smallint as ebene from xdummy |
|
||||||
union select bezeichnung, laufnummer::char(10), '0'::char(10) as parent, 1 as ebene from sxc_hsk_hochschultypen |
|
||||||
union select name, hs_nr::char(10), (select laufnummer from sxc_hsk_hochschultypen H where H.bezeichnung=sxc_hochschulen.hsk_art)::char(10) as parent, |
|
||||||
2::smallint as ebene from sxc_hochschulen where |
|
||||||
hs_nr is not null |
|
||||||
and hsk_bundesland='Nordrhein-Westfalen'; |
|
||||||
]]></sql> |
|
||||||
</view> |
|
||||||
<view name="sxc_hochschulen_nrw_liste"> |
|
||||||
<columns><column name="druck" type ="CHAR" size ="2147483647" default ="" notnull ="false" /> |
|
||||||
<column name="apnr" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="parent" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
<column name="ebene" type ="INTEGER" size ="10" default ="" notnull ="false" /> |
|
||||||
</columns> |
|
||||||
<sql dbsystem=""><![CDATA[ |
|
||||||
select 'Hochschulen', 0::char(10) as hs_nr, null::char(10) as parent, 0::smallint as ebene from xdummy |
|
||||||
union |
|
||||||
select name, hs_nr::char(10), '0'::char(10) as parent, 1::smallint as ebene from sxc_hochschulen where |
|
||||||
hs_nr is not null |
|
||||||
and hsk_bundesland='Nordrhein-Westfalen'; |
|
||||||
|
|
||||||
]]></sql> |
|
||||||
</view> |
|
||||||
</views> |
|
||||||
|
|
||||||
<functions> |
|
||||||
|
|
||||||
</functions> |
|
||||||
<themen> |
|
||||||
<thema name="Administration SuperX-Connect" |
|
||||||
parent="SuperX-Connect">Abfragen zur Administration von SuperX-Connect </thema> |
|
||||||
</themen> |
|
||||||
<masken> |
|
||||||
<maske tid="47000" name="Studierende nach Geschlecht und Nationalität" thema="Hochschulvergleich"> |
|
||||||
<description></description> |
|
||||||
<src> |
|
||||||
<path>$SXC_PFAD/masken</path> |
|
||||||
</src> |
|
||||||
</maske> |
|
||||||
<maske tid="47030" name="Kreuztabelle Studierende nach Geschlecht und Nationalität" thema="Hochschulvergleich"> |
|
||||||
<description></description> |
|
||||||
<src> |
|
||||||
<path>$SXC_PFAD/masken</path> |
|
||||||
</src> |
|
||||||
</maske> |
|
||||||
<maske tid="47060" name="Gesamtbericht Studierende nach Geschlecht und Nationalität" thema="Hochschulvergleich"> |
|
||||||
<description></description> |
|
||||||
<src> |
|
||||||
<path>$SXC_PFAD/masken</path> |
|
||||||
</src> |
|
||||||
</maske> |
|
||||||
<maske tid="47090" name="Studiengangskombinationen NRW" thema="Hochschulvergleich"> |
|
||||||
<description></description> |
|
||||||
<src> |
|
||||||
<path>$SXC_PFAD/masken</path> |
|
||||||
</src> |
|
||||||
</maske> |
|
||||||
<maske tid="47110" name="Stammdaten NRW" thema="Hochschulvergleich"> |
|
||||||
<description></description> |
|
||||||
<src> |
|
||||||
<path>$SXC_PFAD/masken</path> |
|
||||||
</src> |
|
||||||
</maske> |
|
||||||
</masken> |
|
||||||
|
|
||||||
<data-integrity> |
|
||||||
|
|
||||||
</data-integrity> |
|
||||||
|
|
||||||
</database> |
|
||||||
|
|
||||||
|
|
||||||
<!-- ********************* Liste der SXC-Prozesse ************************** --> |
|
||||||
|
|
||||||
<etl> |
|
||||||
<etl-step name="Transformation" type="trans"> |
|
||||||
<action> |
|
||||||
|
|
||||||
<nativeaction sql="update systeminfo set datum=today() where tid in (360)" scriptfile="" database=""/> |
|
||||||
</action> |
|
||||||
</etl-step> |
|
||||||
</etl> |
|
||||||
|
|
||||||
<install> |
|
||||||
<install-step name="Füllen der Modul-Tabellen"> |
|
||||||
<action error="stop"> |
|
||||||
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_hochschulen_hsk"> |
|
||||||
<file path="$SXC_PFAD/schluesseltabellen/sxc_hochschulen_hsk.unl"/></loadtable> |
|
||||||
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_hochschulen"> |
|
||||||
<file path="$SXC_PFAD/schluesseltabellen/sxc_hochschulen.unl"/></loadtable> |
|
||||||
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_hsk_hochschulen_standorte"> |
|
||||||
<file path="$SXC_PFAD/schluesseltabellen/sxc_hsk_hochschulen_standorte.unl"/></loadtable> |
|
||||||
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_hsk_hochschultypen"> |
|
||||||
<file path="$SXC_PFAD/schluesseltabellen/sxc_hsk_hochschultypen.unl"/></loadtable> |
|
||||||
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_hsk_traegerschaftstypen"> |
|
||||||
<file path="$SXC_PFAD/schluesseltabellen/sxc_hsk_traegerschaftstypen.unl"/></loadtable> |
|
||||||
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_bestand"> |
|
||||||
<file path="$SXC_PFAD/schluesseltabellen/sxc_bestand.unl"/></loadtable> |
|
||||||
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_mapping_bestand"> |
|
||||||
<file path="$SXC_PFAD/schluesseltabellen/sxc_mapping_bestand.unl"/></loadtable> |
|
||||||
|
|
||||||
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/sx_stylesheets_einfuegen.sql" database=""/> |
|
||||||
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/sichten_fuellen.sql" database=""/> |
|
||||||
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/xcube_install.sql" database=""/> |
|
||||||
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/xcube_dims_install.sql" database=""/> |
|
||||||
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/xcube_install_restrictions.sql" database=""/> |
|
||||||
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/sx_jobs_fuellen.sql" database=""/> |
|
||||||
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/macro_masken_bez_fuellen.sql" database=""/> |
|
||||||
|
|
||||||
</action> |
|
||||||
<action> |
|
||||||
|
|
||||||
|
|
||||||
</action> |
|
||||||
</install-step> |
|
||||||
</install> |
|
||||||
|
|
||||||
|
|
||||||
<upgrade> |
|
||||||
<upgrade-step> |
|
||||||
<action error="stop"> |
|
||||||
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_hochschulen_hsk"> |
|
||||||
<file path="$SXC_PFAD/schluesseltabellen/sxc_hochschulen_hsk.unl"/></loadtable> |
|
||||||
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_hochschulen"> |
|
||||||
<file path="$SXC_PFAD/schluesseltabellen/sxc_hochschulen.unl"/></loadtable> |
|
||||||
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_hsk_hochschulen_standorte"> |
|
||||||
<file path="$SXC_PFAD/schluesseltabellen/sxc_hsk_hochschulen_standorte.unl"/></loadtable> |
|
||||||
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_hsk_hochschultypen"> |
|
||||||
<file path="$SXC_PFAD/schluesseltabellen/sxc_hsk_hochschultypen.unl"/></loadtable> |
|
||||||
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_hsk_traegerschaftstypen"> |
|
||||||
<file path="$SXC_PFAD/schluesseltabellen/sxc_hsk_traegerschaftstypen.unl"/></loadtable> |
|
||||||
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_bestand"> |
|
||||||
<file path="$SXC_PFAD/schluesseltabellen/sxc_bestand.unl"/></loadtable> |
|
||||||
<loadtable refresh="true" delimiter="^" header="false" tabname="sxc_mapping_bestand"> |
|
||||||
<file path="$SXC_PFAD/schluesseltabellen/sxc_mapping_bestand.unl"/></loadtable> |
|
||||||
|
|
||||||
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/sx_stylesheets_einfuegen.sql" database=""/> |
|
||||||
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/sichten_fuellen.sql" database=""/> |
|
||||||
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/xcube_install.sql" database=""/> |
|
||||||
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/xcube_dims_install.sql" database=""/> |
|
||||||
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/xcube_install_restrictions.sql" database=""/> |
|
||||||
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/sx_jobs_fuellen.sql" database=""/> |
|
||||||
<nativeaction sql="" scriptfile="$SXC_PFAD/schluesseltabellen/macro_masken_bez_fuellen.sql" database=""/> |
|
||||||
|
|
||||||
</action> |
|
||||||
<action> |
|
||||||
|
|
||||||
|
|
||||||
</action> |
|
||||||
</upgrade-step> |
|
||||||
</upgrade> |
|
||||||
|
|
||||||
<uninstall-step name="Deinstalliere Schlüssel"> |
|
||||||
<action error="stop"> |
|
||||||
</action> |
|
||||||
|
|
||||||
|
|
||||||
</uninstall-step> |
|
||||||
|
|
||||||
<!-- ********************* Liste der SXC-Prozesse ************************** --> |
|
||||||
|
|
||||||
|
|
||||||
<dbforms> |
|
||||||
|
|
||||||
|
|
||||||
</dbforms> |
|
||||||
</module> |
|
||||||
|
|
||||||
@ -1,13 +0,0 @@ |
|||||||
delete from hochschulinfo; |
|
||||||
insert into hochschulinfo(name, |
|
||||||
-- adresse, |
|
||||||
hs_nr, |
|
||||||
kapitel, |
|
||||||
superx_server |
|
||||||
-- kennung, |
|
||||||
-- passwd |
|
||||||
) |
|
||||||
select min(auspraegung_label_4),hs_nr,'','' |
|
||||||
from sxc_stud_sem_da_geschl_hs |
|
||||||
group by 2; |
|
||||||
|
|
||||||
@ -1,529 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
<job> |
|
||||||
<name>import_bestand_mwk_nrw_hskennz</name> |
|
||||||
<description/> |
|
||||||
<extended_description/> |
|
||||||
<job_version/> |
|
||||||
<directory>/</directory> |
|
||||||
<created_user>-</created_user> |
|
||||||
<created_date>2025/05/09 08:04:01.642</created_date> |
|
||||||
<modified_user>-</modified_user> |
|
||||||
<modified_date>2025/05/09 08:04:01.642</modified_date> |
|
||||||
<parameters> |
|
||||||
</parameters> |
|
||||||
<connection> |
|
||||||
<name>eduetl</name> |
|
||||||
<server>localhost</server> |
|
||||||
<type>POSTGRESQL</type> |
|
||||||
<access>Native</access> |
|
||||||
<database>eduetl_muster_2024_12</database> |
|
||||||
<port>9996</port> |
|
||||||
<username>superx</username> |
|
||||||
<password>Encrypted 2be98afc86aa7f285a51faf7ed9c3fd89</password> |
|
||||||
<servername/> |
|
||||||
<data_tablespace/> |
|
||||||
<index_tablespace/> |
|
||||||
<attributes> |
|
||||||
<attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>PORT_NUMBER</code><attribute>9996</attribute></attribute> |
|
||||||
<attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>Y</attribute></attribute> |
|
||||||
<attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> |
|
||||||
<attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> |
|
||||||
<attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> |
|
||||||
</attributes> |
|
||||||
</connection> |
|
||||||
<slaveservers> |
|
||||||
</slaveservers> |
|
||||||
<job-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<size_limit_lines/> |
|
||||||
<interval/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_JOB</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_JOB</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>JOBNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>JOBNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STATUS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STATUS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_READ</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_READ</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_WRITTEN</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_WRITTEN</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_UPDATED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_UPDATED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_INPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_INPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_OUTPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_OUTPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_REJECTED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_REJECTED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ERRORS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ERRORS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STARTDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STARTDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ENDDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ENDDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOGDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOGDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>DEPDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>DEPDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>REPLAYDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>REPLAYDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_FIELD</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_FIELD</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>EXECUTING_SERVER</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>EXECUTING_SERVER</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>EXECUTING_USER</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>EXECUTING_USER</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>START_JOB_ENTRY</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>START_JOB_ENTRY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CLIENT</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>CLIENT</name> |
|
||||||
</field> |
|
||||||
</job-log-table> |
|
||||||
<jobentry-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>JOBNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>TRANSNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>JOBENTRYNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STEPNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_READ</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_READ</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_WRITTEN</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_WRITTEN</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_UPDATED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_UPDATED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_INPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_INPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_OUTPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_OUTPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_REJECTED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_REJECTED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ERRORS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ERRORS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>RESULT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>RESULT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>NR_RESULT_ROWS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>NR_RESULT_ROWS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>NR_RESULT_FILES</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>NR_RESULT_FILES</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_FIELD</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>LOG_FIELD</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>COPY_NR</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>COPY_NR</name> |
|
||||||
</field> |
|
||||||
</jobentry-log-table> |
|
||||||
<channel-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOGGING_OBJECT_TYPE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOGGING_OBJECT_TYPE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_NAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_NAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_COPY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_COPY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>REPOSITORY_DIRECTORY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>REPOSITORY_DIRECTORY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>FILENAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>FILENAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_REVISION</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_REVISION</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>PARENT_CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>PARENT_CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ROOT_CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ROOT_CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
</channel-log-table> |
|
||||||
<pass_batchid>N</pass_batchid> |
|
||||||
<shared_objects_file/> |
|
||||||
<entries> |
|
||||||
<entry> |
|
||||||
<name>START</name> |
|
||||||
<description/> |
|
||||||
<type>SPECIAL</type> |
|
||||||
<start>Y</start> |
|
||||||
<dummy>N</dummy> |
|
||||||
<repeat>N</repeat> |
|
||||||
<schedulerType>0</schedulerType> |
|
||||||
<intervalSeconds>0</intervalSeconds> |
|
||||||
<intervalMinutes>60</intervalMinutes> |
|
||||||
<hour>12</hour> |
|
||||||
<minutes>0</minutes> |
|
||||||
<weekDay>1</weekDay> |
|
||||||
<DayOfMonth>1</DayOfMonth> |
|
||||||
<parallel>N</parallel> |
|
||||||
<draw>Y</draw> |
|
||||||
<nr>0</nr> |
|
||||||
<xloc>96</xloc> |
|
||||||
<yloc>192</yloc> |
|
||||||
</entry> |
|
||||||
<entry> |
|
||||||
<name>Success</name> |
|
||||||
<description/> |
|
||||||
<type>SUCCESS</type> |
|
||||||
<parallel>N</parallel> |
|
||||||
<draw>Y</draw> |
|
||||||
<nr>0</nr> |
|
||||||
<xloc>1056</xloc> |
|
||||||
<yloc>192</yloc> |
|
||||||
</entry> |
|
||||||
<entry> |
|
||||||
<name>excel_into_tmp</name> |
|
||||||
<description/> |
|
||||||
<type>TRANS</type> |
|
||||||
<specification_method>filename</specification_method> |
|
||||||
<trans_object_id/> |
|
||||||
<filename>${Internal.Job.Filename.Directory}/import_bestand_mwk_nrw_hskennz_1.ktr</filename> |
|
||||||
<transname/> |
|
||||||
<arg_from_previous>N</arg_from_previous> |
|
||||||
<params_from_previous>N</params_from_previous> |
|
||||||
<exec_per_row>N</exec_per_row> |
|
||||||
<clear_rows>N</clear_rows> |
|
||||||
<clear_files>N</clear_files> |
|
||||||
<set_logfile>N</set_logfile> |
|
||||||
<logfile/> |
|
||||||
<logext/> |
|
||||||
<add_date>N</add_date> |
|
||||||
<add_time>N</add_time> |
|
||||||
<loglevel>Basic</loglevel> |
|
||||||
<cluster>N</cluster> |
|
||||||
<slave_server_name/> |
|
||||||
<set_append_logfile>N</set_append_logfile> |
|
||||||
<wait_until_finished>Y</wait_until_finished> |
|
||||||
<follow_abort_remote>N</follow_abort_remote> |
|
||||||
<create_parent_folder>N</create_parent_folder> |
|
||||||
<logging_remote_work>N</logging_remote_work> |
|
||||||
<parameters> |
|
||||||
<pass_all_parameters>Y</pass_all_parameters> |
|
||||||
</parameters> |
|
||||||
<parallel>N</parallel> |
|
||||||
<draw>Y</draw> |
|
||||||
<nr>0</nr> |
|
||||||
<xloc>272</xloc> |
|
||||||
<yloc>320</yloc> |
|
||||||
</entry> |
|
||||||
<entry> |
|
||||||
<name>create tmp_sxc_zahl_wert</name> |
|
||||||
<description/> |
|
||||||
<type>SQL</type> |
|
||||||
<sql>drop table if exists tmp_sxc_zahl_wert;

CREATE TABLE tmp_sxc_zahl_wert
(
 tid serial,
 hs_nr_str varchar(255),
 hs_nr integer,
 kenn_zahl char(100) NOT NULL,
 jahr smallint,
 sem smallint,
 ch110_institut char(10),
 bland integer,
 sxc_bestand_id integer,
 wert_str varchar(255),
 wert decimal(20,10),
 generic_dim1 char(100),
 generic_dim2 char(100)
);</sql> |
|
||||||
<useVariableSubstitution>F</useVariableSubstitution> |
|
||||||
<sqlfromfile>F</sqlfromfile> |
|
||||||
<sqlfilename/> |
|
||||||
<sendOneStatement>F</sendOneStatement> |
|
||||||
<connection>eduetl</connection> |
|
||||||
<parallel>N</parallel> |
|
||||||
<draw>Y</draw> |
|
||||||
<nr>0</nr> |
|
||||||
<xloc>272</xloc> |
|
||||||
<yloc>192</yloc> |
|
||||||
</entry> |
|
||||||
<entry> |
|
||||||
<name>update tmp_sxc_zahl_wert</name> |
|
||||||
<description/> |
|
||||||
<type>SQL</type> |
|
||||||
<sql>update tmp_sxc_zahl_wert set
 hs_nr=M.target_value
from 
 sxc_mapping_bestand M
where
 M.sxc_bestand_id=1
 and M.object_type='Hochschule'
 and M.object_value=tmp_sxc_zahl_wert.hs_nr_str
;


update tmp_sxc_zahl_wert
set wert = 
 case 
 when wert_str != '--' 
 and wert_str is not null 
 and wert_str <> '' 
 then cast(replace(wert_str, ',' , '.') as decimal(20,10)) * 100
 else null
 end
where kenn_zahl like '%_proz%'
;

update tmp_sxc_zahl_wert
set wert = 
 case 
 when wert_str != '--' 
 and wert_str is not null 
 and wert_str <> '' 
 then cast(replace(wert_str, ',' , '.') as decimal(20,10)) 
 else null
 end
where wert is null
;

update tmp_sxc_zahl_wert set sxc_bestand_id=1; -- MKW NRW Hochschulkennzahlen
update tmp_sxc_zahl_wert set bland=5; -- NRW


</sql> |
|
||||||
<useVariableSubstitution>F</useVariableSubstitution> |
|
||||||
<sqlfromfile>F</sqlfromfile> |
|
||||||
<sqlfilename>${Internal.Job.Filename.Directory}/update_tmp_sxc_zahl_wert.sql</sqlfilename> |
|
||||||
<sendOneStatement>F</sendOneStatement> |
|
||||||
<connection>eduetl</connection> |
|
||||||
<parallel>N</parallel> |
|
||||||
<draw>Y</draw> |
|
||||||
<nr>0</nr> |
|
||||||
<xloc>688</xloc> |
|
||||||
<yloc>192</yloc> |
|
||||||
</entry> |
|
||||||
<entry> |
|
||||||
<name>insert into sxc_zahl_wert</name> |
|
||||||
<description/> |
|
||||||
<type>SQL</type> |
|
||||||
<sql>delete from sxc_zahl_wert
where 
 sxc_bestand_id=1
 and jahr in (select jahr from tmp_sxc_zahl_wert)
 and hs_nr in (select hs_nr from tmp_sxc_zahl_wert)
;

INSERT INTO sxc_zahl_wert
(
 hs_nr,
 kenn_zahl,
 jahr,
 sem,
 bland,
 ch110_institut,
 sxc_bestand_id,
 wert,
 generic_dim1,
 generic_dim2
)
select
 hs_nr,
 kenn_zahl,
 jahr,
 sem,
 bland,
 ch110_institut,
 sxc_bestand_id,
 wert,
 generic_dim1,
 generic_dim2
from tmp_sxc_zahl_wert
where
 hs_nr is not null
order by
 sxc_bestand_id,1,2,3,4
;




drop table if exists tmp_sxc_zahl_wert;</sql> |
|
||||||
<useVariableSubstitution>F</useVariableSubstitution> |
|
||||||
<sqlfromfile>F</sqlfromfile> |
|
||||||
<sqlfilename/> |
|
||||||
<sendOneStatement>F</sendOneStatement> |
|
||||||
<connection>eduetl</connection> |
|
||||||
<parallel>N</parallel> |
|
||||||
<draw>Y</draw> |
|
||||||
<nr>0</nr> |
|
||||||
<xloc>880</xloc> |
|
||||||
<yloc>272</yloc> |
|
||||||
</entry> |
|
||||||
<entry> |
|
||||||
<name>excel_into_tmp 2</name> |
|
||||||
<description/> |
|
||||||
<type>TRANS</type> |
|
||||||
<specification_method>filename</specification_method> |
|
||||||
<trans_object_id/> |
|
||||||
<filename>${Internal.Job.Filename.Directory}/import_bestand_mwk_nrw_hskennz_2.ktr</filename> |
|
||||||
<transname/> |
|
||||||
<arg_from_previous>N</arg_from_previous> |
|
||||||
<params_from_previous>N</params_from_previous> |
|
||||||
<exec_per_row>N</exec_per_row> |
|
||||||
<clear_rows>N</clear_rows> |
|
||||||
<clear_files>N</clear_files> |
|
||||||
<set_logfile>N</set_logfile> |
|
||||||
<logfile/> |
|
||||||
<logext/> |
|
||||||
<add_date>N</add_date> |
|
||||||
<add_time>N</add_time> |
|
||||||
<loglevel>Basic</loglevel> |
|
||||||
<cluster>N</cluster> |
|
||||||
<slave_server_name/> |
|
||||||
<set_append_logfile>N</set_append_logfile> |
|
||||||
<wait_until_finished>Y</wait_until_finished> |
|
||||||
<follow_abort_remote>N</follow_abort_remote> |
|
||||||
<create_parent_folder>N</create_parent_folder> |
|
||||||
<logging_remote_work>N</logging_remote_work> |
|
||||||
<parameters> |
|
||||||
<pass_all_parameters>Y</pass_all_parameters> |
|
||||||
</parameters> |
|
||||||
<parallel>N</parallel> |
|
||||||
<draw>Y</draw> |
|
||||||
<nr>0</nr> |
|
||||||
<xloc>448</xloc> |
|
||||||
<yloc>320</yloc> |
|
||||||
</entry> |
|
||||||
</entries> |
|
||||||
<hops> |
|
||||||
<hop> |
|
||||||
<from>START</from> |
|
||||||
<to>create tmp_sxc_zahl_wert</to> |
|
||||||
<from_nr>0</from_nr> |
|
||||||
<to_nr>0</to_nr> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<evaluation>Y</evaluation> |
|
||||||
<unconditional>Y</unconditional> |
|
||||||
</hop> |
|
||||||
<hop> |
|
||||||
<from>create tmp_sxc_zahl_wert</from> |
|
||||||
<to>excel_into_tmp</to> |
|
||||||
<from_nr>0</from_nr> |
|
||||||
<to_nr>0</to_nr> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<evaluation>Y</evaluation> |
|
||||||
<unconditional>N</unconditional> |
|
||||||
</hop> |
|
||||||
<hop> |
|
||||||
<from>insert into sxc_zahl_wert</from> |
|
||||||
<to>Success</to> |
|
||||||
<from_nr>0</from_nr> |
|
||||||
<to_nr>0</to_nr> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<evaluation>Y</evaluation> |
|
||||||
<unconditional>N</unconditional> |
|
||||||
</hop> |
|
||||||
<hop> |
|
||||||
<from>update tmp_sxc_zahl_wert</from> |
|
||||||
<to>insert into sxc_zahl_wert</to> |
|
||||||
<from_nr>0</from_nr> |
|
||||||
<to_nr>0</to_nr> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<evaluation>Y</evaluation> |
|
||||||
<unconditional>N</unconditional> |
|
||||||
</hop> |
|
||||||
<hop> |
|
||||||
<from>excel_into_tmp</from> |
|
||||||
<to>excel_into_tmp 2</to> |
|
||||||
<from_nr>0</from_nr> |
|
||||||
<to_nr>0</to_nr> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<evaluation>Y</evaluation> |
|
||||||
<unconditional>N</unconditional> |
|
||||||
</hop> |
|
||||||
<hop> |
|
||||||
<from>excel_into_tmp 2</from> |
|
||||||
<to>update tmp_sxc_zahl_wert</to> |
|
||||||
<from_nr>0</from_nr> |
|
||||||
<to_nr>0</to_nr> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<evaluation>Y</evaluation> |
|
||||||
<unconditional>N</unconditional> |
|
||||||
</hop> |
|
||||||
<hop> |
|
||||||
<from>update tmp_sxc_zahl_wert</from> |
|
||||||
<to>Success</to> |
|
||||||
<from_nr>0</from_nr> |
|
||||||
<to_nr>0</to_nr> |
|
||||||
<enabled>N</enabled> |
|
||||||
<evaluation>Y</evaluation> |
|
||||||
<unconditional>N</unconditional> |
|
||||||
</hop> |
|
||||||
</hops> |
|
||||||
<notepads> |
|
||||||
</notepads> |
|
||||||
</job> |
|
||||||
@ -1,998 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
<transformation> |
|
||||||
<info> |
|
||||||
<name>import_bestand_mwk_nrw_hskennz_1</name> |
|
||||||
<description/> |
|
||||||
<extended_description/> |
|
||||||
<trans_version/> |
|
||||||
<trans_type>Normal</trans_type> |
|
||||||
<trans_status>0</trans_status> |
|
||||||
<directory>/</directory> |
|
||||||
<parameters> |
|
||||||
<parameter> |
|
||||||
<name>PATH_TO_UPLOADFILE</name> |
|
||||||
<default_value>file:///home/superx/git/Memtext-Interna/Projekte/duisburg-essen_uni/muster/2025_stammdaten_nrw/Stammdaten_MKW_orig_2023.xlsx</default_value> |
|
||||||
<description/> |
|
||||||
</parameter> |
|
||||||
</parameters> |
|
||||||
<log> |
|
||||||
<trans-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<size_limit_lines/> |
|
||||||
<interval/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>TRANSNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>TRANSNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STATUS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STATUS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_READ</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_READ</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_WRITTEN</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_WRITTEN</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_UPDATED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_UPDATED</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_INPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_INPUT</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_OUTPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_OUTPUT</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_REJECTED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_REJECTED</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ERRORS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ERRORS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STARTDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STARTDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ENDDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ENDDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOGDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOGDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>DEPDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>DEPDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>REPLAYDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>REPLAYDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_FIELD</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_FIELD</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>EXECUTING_SERVER</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>EXECUTING_SERVER</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>EXECUTING_USER</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>EXECUTING_USER</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CLIENT</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>CLIENT</name> |
|
||||||
</field> |
|
||||||
</trans-log-table> |
|
||||||
<perf-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<interval/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>SEQ_NR</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>SEQ_NR</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOGDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOGDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>TRANSNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>TRANSNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STEPNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STEPNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STEP_COPY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STEP_COPY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_READ</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_READ</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_WRITTEN</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_WRITTEN</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_UPDATED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_UPDATED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_INPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_INPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_OUTPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_OUTPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_REJECTED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_REJECTED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ERRORS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ERRORS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>INPUT_BUFFER_ROWS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>INPUT_BUFFER_ROWS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OUTPUT_BUFFER_ROWS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OUTPUT_BUFFER_ROWS</name> |
|
||||||
</field> |
|
||||||
</perf-log-table> |
|
||||||
<channel-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOGGING_OBJECT_TYPE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOGGING_OBJECT_TYPE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_NAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_NAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_COPY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_COPY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>REPOSITORY_DIRECTORY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>REPOSITORY_DIRECTORY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>FILENAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>FILENAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_REVISION</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_REVISION</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>PARENT_CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>PARENT_CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ROOT_CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ROOT_CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
</channel-log-table> |
|
||||||
<step-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>TRANSNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>TRANSNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STEPNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STEPNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STEP_COPY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STEP_COPY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_READ</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_READ</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_WRITTEN</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_WRITTEN</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_UPDATED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_UPDATED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_INPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_INPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_OUTPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_OUTPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_REJECTED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_REJECTED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ERRORS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ERRORS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_FIELD</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>LOG_FIELD</name> |
|
||||||
</field> |
|
||||||
</step-log-table> |
|
||||||
<metrics-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_CODE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_CODE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_DESCRIPTION</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_DESCRIPTION</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_SUBJECT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_SUBJECT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_TYPE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_TYPE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_VALUE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_VALUE</name> |
|
||||||
</field> |
|
||||||
</metrics-log-table> |
|
||||||
</log> |
|
||||||
<maxdate> |
|
||||||
<connection/> |
|
||||||
<table/> |
|
||||||
<field/> |
|
||||||
<offset>0.0</offset> |
|
||||||
<maxdiff>0.0</maxdiff> |
|
||||||
</maxdate> |
|
||||||
<size_rowset>10000</size_rowset> |
|
||||||
<sleep_time_empty>50</sleep_time_empty> |
|
||||||
<sleep_time_full>50</sleep_time_full> |
|
||||||
<unique_connections>N</unique_connections> |
|
||||||
<feedback_shown>Y</feedback_shown> |
|
||||||
<feedback_size>50000</feedback_size> |
|
||||||
<using_thread_priorities>Y</using_thread_priorities> |
|
||||||
<shared_objects_file/> |
|
||||||
<capture_step_performance>N</capture_step_performance> |
|
||||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
|
||||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
|
||||||
<dependencies> |
|
||||||
</dependencies> |
|
||||||
<partitionschemas> |
|
||||||
</partitionschemas> |
|
||||||
<slaveservers> |
|
||||||
</slaveservers> |
|
||||||
<clusterschemas> |
|
||||||
</clusterschemas> |
|
||||||
<created_user>-</created_user> |
|
||||||
<created_date>2025/05/09 08:34:54.065</created_date> |
|
||||||
<modified_user>-</modified_user> |
|
||||||
<modified_date>2025/05/09 08:34:54.065</modified_date> |
|
||||||
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
|
||||||
<is_key_private>N</is_key_private> |
|
||||||
</info> |
|
||||||
<notepads> |
|
||||||
</notepads> |
|
||||||
<connection> |
|
||||||
<name>eduetl</name> |
|
||||||
<server>localhost</server> |
|
||||||
<type>POSTGRESQL</type> |
|
||||||
<access>Native</access> |
|
||||||
<database>eduetl_muster_2024_12</database> |
|
||||||
<port>9996</port> |
|
||||||
<username>superx</username> |
|
||||||
<password>Encrypted 2be98afc86aa7f285a51faf7ed9c3fd89</password> |
|
||||||
<servername/> |
|
||||||
<data_tablespace/> |
|
||||||
<index_tablespace/> |
|
||||||
<attributes> |
|
||||||
<attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>PORT_NUMBER</code><attribute>9996</attribute></attribute> |
|
||||||
<attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>Y</attribute></attribute> |
|
||||||
<attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> |
|
||||||
<attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> |
|
||||||
<attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> |
|
||||||
</attributes> |
|
||||||
</connection> |
|
||||||
<order> |
|
||||||
<hop> |
|
||||||
<from>Microsoft Excel Input 2</from> |
|
||||||
<to>Row Normaliser</to> |
|
||||||
<enabled>Y</enabled> |
|
||||||
</hop> |
|
||||||
<hop> |
|
||||||
<from>Row Normaliser</from> |
|
||||||
<to>Table output</to> |
|
||||||
<enabled>Y</enabled> |
|
||||||
</hop> |
|
||||||
</order> |
|
||||||
<step> |
|
||||||
<name>Microsoft Excel Input 2</name> |
|
||||||
<type>ExcelInput</type> |
|
||||||
<description/> |
|
||||||
<distribute>Y</distribute> |
|
||||||
<custom_distribution/> |
|
||||||
<copies>1</copies> |
|
||||||
<partitioning> |
|
||||||
<method>none</method> |
|
||||||
<schema_name/> |
|
||||||
</partitioning> |
|
||||||
<header>Y</header> |
|
||||||
<noempty>Y</noempty> |
|
||||||
<stoponempty>N</stoponempty> |
|
||||||
<filefield/> |
|
||||||
<sheetfield/> |
|
||||||
<sheetrownumfield/> |
|
||||||
<rownumfield/> |
|
||||||
<sheetfield/> |
|
||||||
<filefield/> |
|
||||||
<limit>0</limit> |
|
||||||
<encoding/> |
|
||||||
<add_to_result_filenames>Y</add_to_result_filenames> |
|
||||||
<accept_filenames>N</accept_filenames> |
|
||||||
<accept_field/> |
|
||||||
<accept_stepname/> |
|
||||||
<file> |
|
||||||
<name>${PATH_TO_UPLOADFILE}</name> |
|
||||||
<filemask/> |
|
||||||
<exclude_filemask/> |
|
||||||
<file_required>N</file_required> |
|
||||||
<include_subfolders>N</include_subfolders> |
|
||||||
</file> |
|
||||||
<fields> |
|
||||||
<field> |
|
||||||
<name>Hochschule</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>1_hssem_kopf</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>1_fs_ba_kopf</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>1_fs_ma_kopf</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>studis_kopf</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>absolv</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>absolv_rsz_proz</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>absolv_ma</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>verbleib_ba_1-5_fs_proz</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>erfolg_ba_fs_proz</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>erfolg_ba_1_fs_proz</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>pers_kopf</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>wiss_pers_kopf</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>wiss_kunst_pers_kopf</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>verw_pers_kopf</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>wiss_kunst_pers</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>wiss_kunst_pers_haupt_kopf_drittm</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>prof_kopf</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>angebot</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>nachfrage</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>auslastung</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>einnahmen_ges</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>einnahmen_hstraeger</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>einnahmen_drittm_ges</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
</fields> |
|
||||||
<sheets> |
|
||||||
<sheet> |
|
||||||
<name>Tabelle1</name> |
|
||||||
<startrow>7</startrow> |
|
||||||
<startcol>0</startcol> |
|
||||||
</sheet> |
|
||||||
</sheets> |
|
||||||
<strict_types>N</strict_types> |
|
||||||
<error_ignored>N</error_ignored> |
|
||||||
<error_line_skipped>N</error_line_skipped> |
|
||||||
<bad_line_files_destination_directory/> |
|
||||||
<bad_line_files_extension>warning</bad_line_files_extension> |
|
||||||
<error_line_files_destination_directory/> |
|
||||||
<error_line_files_extension>error</error_line_files_extension> |
|
||||||
<line_number_files_destination_directory/> |
|
||||||
<line_number_files_extension>line</line_number_files_extension> |
|
||||||
<shortFileFieldName/> |
|
||||||
<pathFieldName/> |
|
||||||
<hiddenFieldName/> |
|
||||||
<lastModificationTimeFieldName/> |
|
||||||
<uriNameFieldName/> |
|
||||||
<rootUriNameFieldName/> |
|
||||||
<extensionFieldName/> |
|
||||||
<sizeFieldName/> |
|
||||||
<spreadsheet_type>POI</spreadsheet_type> |
|
||||||
<cluster_schema/> |
|
||||||
<remotesteps> |
|
||||||
<input> |
|
||||||
</input> |
|
||||||
<output> |
|
||||||
</output> |
|
||||||
</remotesteps> |
|
||||||
<GUI> |
|
||||||
<xloc>192</xloc> |
|
||||||
<yloc>320</yloc> |
|
||||||
<draw>Y</draw> |
|
||||||
</GUI> |
|
||||||
</step> |
|
||||||
|
|
||||||
<step> |
|
||||||
<name>Row Normaliser</name> |
|
||||||
<type>Normaliser</type> |
|
||||||
<description/> |
|
||||||
<distribute>Y</distribute> |
|
||||||
<custom_distribution/> |
|
||||||
<copies>1</copies> |
|
||||||
<partitioning> |
|
||||||
<method>none</method> |
|
||||||
<schema_name/> |
|
||||||
</partitioning> |
|
||||||
<typefield>kenn_zahl</typefield> |
|
||||||
<fields> <field> <name>1_hssem_kopf</name> |
|
||||||
<value>MKWNRW1_1_hssem_kopf</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>1_fs_ba_kopf</name> |
|
||||||
<value>MKWNRW1_1_fs_ba_kopf</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>1_fs_ma_kopf</name> |
|
||||||
<value>MKWNRW1_1_fs_ma_kopf</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>studis_kopf</name> |
|
||||||
<value>MKWNRW1_studis_kopf</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>absolv</name> |
|
||||||
<value>MKWNRW1_absolv</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>absolv_rsz_proz</name> |
|
||||||
<value>MKWNRW1_absolv_rsz_proz</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>absolv_ma</name> |
|
||||||
<value>MKWNRW1_absolv_ma</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>verbleib_ba_1-5_fs_proz</name> |
|
||||||
<value>MKWNRW1_verbleib_ba_1-5_fs_proz</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>erfolg_ba_fs_proz</name> |
|
||||||
<value>MKWNRW1_erfolg_ba_fs_proz</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>erfolg_ba_1_fs_proz</name> |
|
||||||
<value>MKWNRW1_erfolg_ba_1_fs_proz</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>pers_kopf</name> |
|
||||||
<value>MKWNRW1_pers_kopf</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>wiss_pers_kopf</name> |
|
||||||
<value>MKWNRW1_wiss_pers_kopf</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>wiss_kunst_pers_kopf</name> |
|
||||||
<value>MKWNRW1_wiss_kunst_pers_kopf</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>verw_pers_kopf</name> |
|
||||||
<value>MKWNRW1_verw_pers_kopf</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>wiss_kunst_pers</name> |
|
||||||
<value>MKWNRW1_wiss_kunst_pers</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>wiss_kunst_pers_haupt_kopf_drittm</name> |
|
||||||
<value>MKWNRW1_wiss_kunst_pers_haupt_kopf_drittm</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>prof_kopf</name> |
|
||||||
<value>MKWNRW1_prof_kopf</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>angebot</name> |
|
||||||
<value>MKWNRW1_angebot</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>nachfrage</name> |
|
||||||
<value>MKWNRW1_nachfrage</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>auslastung</name> |
|
||||||
<value>MKWNRW1_auslastung</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>einnahmen_ges</name> |
|
||||||
<value>MKWNRW1_einnahmen_ges</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>einnahmen_hstraeger</name> |
|
||||||
<value>MKWNRW1_einnahmen_hstraeger</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> <field> <name>einnahmen_drittm_ges</name> |
|
||||||
<value>MKWNRW1_einnahmen_drittm_ges</value> |
|
||||||
<norm>wert</norm> |
|
||||||
</field> </fields> <cluster_schema/> |
|
||||||
<remotesteps> |
|
||||||
<input> |
|
||||||
</input> |
|
||||||
<output> |
|
||||||
</output> |
|
||||||
</remotesteps> |
|
||||||
<GUI> |
|
||||||
<xloc>400</xloc> |
|
||||||
<yloc>320</yloc> |
|
||||||
<draw>Y</draw> |
|
||||||
</GUI> |
|
||||||
</step> |
|
||||||
|
|
||||||
<step> |
|
||||||
<name>Table output</name> |
|
||||||
<type>TableOutput</type> |
|
||||||
<description/> |
|
||||||
<distribute>Y</distribute> |
|
||||||
<custom_distribution/> |
|
||||||
<copies>1</copies> |
|
||||||
<partitioning> |
|
||||||
<method>none</method> |
|
||||||
<schema_name/> |
|
||||||
</partitioning> |
|
||||||
<connection>eduetl</connection> |
|
||||||
<schema/> |
|
||||||
<table>tmp_sxc_zahl_wert</table> |
|
||||||
<commit>1000</commit> |
|
||||||
<truncate>N</truncate> |
|
||||||
<ignore_errors>N</ignore_errors> |
|
||||||
<use_batch>Y</use_batch> |
|
||||||
<specify_fields>Y</specify_fields> |
|
||||||
<partitioning_enabled>N</partitioning_enabled> |
|
||||||
<partitioning_field/> |
|
||||||
<partitioning_daily>N</partitioning_daily> |
|
||||||
<partitioning_monthly>Y</partitioning_monthly> |
|
||||||
<tablename_in_field>N</tablename_in_field> |
|
||||||
<tablename_field/> |
|
||||||
<tablename_in_table>Y</tablename_in_table> |
|
||||||
<return_keys>N</return_keys> |
|
||||||
<return_field/> |
|
||||||
<fields> |
|
||||||
<field> |
|
||||||
<column_name>kenn_zahl</column_name> |
|
||||||
<stream_name>kenn_zahl</stream_name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<column_name>wert_str</column_name> |
|
||||||
<stream_name>wert</stream_name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<column_name>hs_nr_str</column_name> |
|
||||||
<stream_name>Hochschule</stream_name> |
|
||||||
</field> |
|
||||||
</fields> |
|
||||||
<cluster_schema/> |
|
||||||
<remotesteps> |
|
||||||
<input> |
|
||||||
</input> |
|
||||||
<output> |
|
||||||
</output> |
|
||||||
</remotesteps> |
|
||||||
<GUI> |
|
||||||
<xloc>608</xloc> |
|
||||||
<yloc>320</yloc> |
|
||||||
<draw>Y</draw> |
|
||||||
</GUI> |
|
||||||
</step> |
|
||||||
|
|
||||||
<step_error_handling> |
|
||||||
</step_error_handling> |
|
||||||
<slave-step-copy-partition-distribution> |
|
||||||
</slave-step-copy-partition-distribution> |
|
||||||
<slave_transformation>N</slave_transformation> |
|
||||||
</transformation> |
|
||||||
@ -1,690 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
<transformation> |
|
||||||
<info> |
|
||||||
<name>import_bestand_mwk_nrw_hskennz_2</name> |
|
||||||
<description/> |
|
||||||
<extended_description/> |
|
||||||
<trans_version/> |
|
||||||
<trans_type>Normal</trans_type> |
|
||||||
<trans_status>0</trans_status> |
|
||||||
<directory>/</directory> |
|
||||||
<parameters> |
|
||||||
<parameter> |
|
||||||
<name>PATH_TO_UPLOADFILE</name> |
|
||||||
<default_value>file:///home/superx/git/Memtext-Interna/Projekte/duisburg-essen_uni/muster/2025_stammdaten_nrw/Stammdaten_MKW_orig_2023.xlsx</default_value> |
|
||||||
<description/> |
|
||||||
</parameter> |
|
||||||
</parameters> |
|
||||||
<log> |
|
||||||
<trans-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<size_limit_lines/> |
|
||||||
<interval/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>TRANSNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>TRANSNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STATUS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STATUS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_READ</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_READ</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_WRITTEN</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_WRITTEN</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_UPDATED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_UPDATED</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_INPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_INPUT</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_OUTPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_OUTPUT</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_REJECTED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_REJECTED</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ERRORS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ERRORS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STARTDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STARTDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ENDDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ENDDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOGDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOGDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>DEPDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>DEPDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>REPLAYDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>REPLAYDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_FIELD</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_FIELD</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>EXECUTING_SERVER</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>EXECUTING_SERVER</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>EXECUTING_USER</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>EXECUTING_USER</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CLIENT</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>CLIENT</name> |
|
||||||
</field> |
|
||||||
</trans-log-table> |
|
||||||
<perf-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<interval/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>SEQ_NR</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>SEQ_NR</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOGDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOGDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>TRANSNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>TRANSNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STEPNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STEPNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STEP_COPY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STEP_COPY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_READ</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_READ</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_WRITTEN</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_WRITTEN</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_UPDATED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_UPDATED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_INPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_INPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_OUTPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_OUTPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_REJECTED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_REJECTED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ERRORS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ERRORS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>INPUT_BUFFER_ROWS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>INPUT_BUFFER_ROWS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OUTPUT_BUFFER_ROWS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OUTPUT_BUFFER_ROWS</name> |
|
||||||
</field> |
|
||||||
</perf-log-table> |
|
||||||
<channel-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOGGING_OBJECT_TYPE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOGGING_OBJECT_TYPE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_NAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_NAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_COPY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_COPY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>REPOSITORY_DIRECTORY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>REPOSITORY_DIRECTORY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>FILENAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>FILENAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_REVISION</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_REVISION</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>PARENT_CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>PARENT_CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ROOT_CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ROOT_CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
</channel-log-table> |
|
||||||
<step-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>TRANSNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>TRANSNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STEPNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STEPNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STEP_COPY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STEP_COPY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_READ</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_READ</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_WRITTEN</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_WRITTEN</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_UPDATED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_UPDATED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_INPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_INPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_OUTPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_OUTPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_REJECTED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_REJECTED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ERRORS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ERRORS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_FIELD</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>LOG_FIELD</name> |
|
||||||
</field> |
|
||||||
</step-log-table> |
|
||||||
<metrics-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_CODE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_CODE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_DESCRIPTION</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_DESCRIPTION</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_SUBJECT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_SUBJECT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_TYPE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_TYPE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_VALUE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_VALUE</name> |
|
||||||
</field> |
|
||||||
</metrics-log-table> |
|
||||||
</log> |
|
||||||
<maxdate> |
|
||||||
<connection/> |
|
||||||
<table/> |
|
||||||
<field/> |
|
||||||
<offset>0.0</offset> |
|
||||||
<maxdiff>0.0</maxdiff> |
|
||||||
</maxdate> |
|
||||||
<size_rowset>10000</size_rowset> |
|
||||||
<sleep_time_empty>50</sleep_time_empty> |
|
||||||
<sleep_time_full>50</sleep_time_full> |
|
||||||
<unique_connections>N</unique_connections> |
|
||||||
<feedback_shown>Y</feedback_shown> |
|
||||||
<feedback_size>50000</feedback_size> |
|
||||||
<using_thread_priorities>Y</using_thread_priorities> |
|
||||||
<shared_objects_file/> |
|
||||||
<capture_step_performance>N</capture_step_performance> |
|
||||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
|
||||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
|
||||||
<dependencies> |
|
||||||
</dependencies> |
|
||||||
<partitionschemas> |
|
||||||
</partitionschemas> |
|
||||||
<slaveservers> |
|
||||||
</slaveservers> |
|
||||||
<clusterschemas> |
|
||||||
</clusterschemas> |
|
||||||
<created_user>-</created_user> |
|
||||||
<created_date>2025/05/09 08:34:54.065</created_date> |
|
||||||
<modified_user>-</modified_user> |
|
||||||
<modified_date>2025/05/09 08:34:54.065</modified_date> |
|
||||||
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
|
||||||
<is_key_private>N</is_key_private> |
|
||||||
</info> |
|
||||||
<notepads> |
|
||||||
</notepads> |
|
||||||
<connection> |
|
||||||
<name>eduetl</name> |
|
||||||
<server>localhost</server> |
|
||||||
<type>POSTGRESQL</type> |
|
||||||
<access>Native</access> |
|
||||||
<database>eduetl_muster_2024_06</database> |
|
||||||
<port>5432</port> |
|
||||||
<username>superx</username> |
|
||||||
<password>Encrypted 2be98afc86aa7f285a51faf7ed9c3fd89</password> |
|
||||||
<servername/> |
|
||||||
<data_tablespace/> |
|
||||||
<index_tablespace/> |
|
||||||
<attributes> |
|
||||||
<attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>PORT_NUMBER</code><attribute>5432</attribute></attribute> |
|
||||||
<attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>Y</attribute></attribute> |
|
||||||
<attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> |
|
||||||
<attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> |
|
||||||
<attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> |
|
||||||
</attributes> |
|
||||||
</connection> |
|
||||||
<order> |
|
||||||
<hop> |
|
||||||
<from>Microsoft Excel Input 2</from> |
|
||||||
<to>Join Rows (cartesian product)</to> |
|
||||||
<enabled>Y</enabled> |
|
||||||
</hop> |
|
||||||
<hop> |
|
||||||
<from>Table input</from> |
|
||||||
<to>Join Rows (cartesian product)</to> |
|
||||||
<enabled>Y</enabled> |
|
||||||
</hop> |
|
||||||
<hop> |
|
||||||
<from>Join Rows (cartesian product)</from> |
|
||||||
<to>Update</to> |
|
||||||
<enabled>Y</enabled> |
|
||||||
</hop> |
|
||||||
</order> |
|
||||||
<step> |
|
||||||
<name>Microsoft Excel Input 2</name> |
|
||||||
<type>ExcelInput</type> |
|
||||||
<description/> |
|
||||||
<distribute>Y</distribute> |
|
||||||
<custom_distribution/> |
|
||||||
<copies>1</copies> |
|
||||||
<partitioning> |
|
||||||
<method>none</method> |
|
||||||
<schema_name/> |
|
||||||
</partitioning> |
|
||||||
<header>N</header> |
|
||||||
<noempty>Y</noempty> |
|
||||||
<stoponempty>N</stoponempty> |
|
||||||
<filefield/> |
|
||||||
<sheetfield/> |
|
||||||
<sheetrownumfield/> |
|
||||||
<rownumfield/> |
|
||||||
<sheetfield/> |
|
||||||
<filefield/> |
|
||||||
<limit>1</limit> |
|
||||||
<encoding/> |
|
||||||
<add_to_result_filenames>Y</add_to_result_filenames> |
|
||||||
<accept_filenames>N</accept_filenames> |
|
||||||
<accept_field/> |
|
||||||
<accept_stepname/> |
|
||||||
<file> |
|
||||||
<name>${PATH_TO_UPLOADFILE}</name> |
|
||||||
<filemask/> |
|
||||||
<exclude_filemask/> |
|
||||||
<file_required>N</file_required> |
|
||||||
<include_subfolders>N</include_subfolders> |
|
||||||
</file> |
|
||||||
<fields> |
|
||||||
<field> |
|
||||||
<name>Jahr</name> |
|
||||||
<type>Integer</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
</fields> |
|
||||||
<sheets> |
|
||||||
<sheet> |
|
||||||
<name>Tabelle1</name> |
|
||||||
<startrow>3</startrow> |
|
||||||
<startcol>1</startcol> |
|
||||||
</sheet> |
|
||||||
</sheets> |
|
||||||
<strict_types>N</strict_types> |
|
||||||
<error_ignored>N</error_ignored> |
|
||||||
<error_line_skipped>N</error_line_skipped> |
|
||||||
<bad_line_files_destination_directory/> |
|
||||||
<bad_line_files_extension>warning</bad_line_files_extension> |
|
||||||
<error_line_files_destination_directory/> |
|
||||||
<error_line_files_extension>error</error_line_files_extension> |
|
||||||
<line_number_files_destination_directory/> |
|
||||||
<line_number_files_extension>line</line_number_files_extension> |
|
||||||
<shortFileFieldName/> |
|
||||||
<pathFieldName/> |
|
||||||
<hiddenFieldName/> |
|
||||||
<lastModificationTimeFieldName/> |
|
||||||
<uriNameFieldName/> |
|
||||||
<rootUriNameFieldName/> |
|
||||||
<extensionFieldName/> |
|
||||||
<sizeFieldName/> |
|
||||||
<spreadsheet_type>POI</spreadsheet_type> |
|
||||||
<cluster_schema/> |
|
||||||
<remotesteps> |
|
||||||
<input> |
|
||||||
</input> |
|
||||||
<output> |
|
||||||
</output> |
|
||||||
</remotesteps> |
|
||||||
<GUI> |
|
||||||
<xloc>192</xloc> |
|
||||||
<yloc>320</yloc> |
|
||||||
<draw>Y</draw> |
|
||||||
</GUI> |
|
||||||
</step> |
|
||||||
|
|
||||||
<step> |
|
||||||
<name>Join Rows (cartesian product)</name> |
|
||||||
<type>JoinRows</type> |
|
||||||
<description/> |
|
||||||
<distribute>Y</distribute> |
|
||||||
<custom_distribution/> |
|
||||||
<copies>1</copies> |
|
||||||
<partitioning> |
|
||||||
<method>none</method> |
|
||||||
<schema_name/> |
|
||||||
</partitioning> |
|
||||||
<directory>%%java.io.tmpdir%%</directory> |
|
||||||
<prefix>out</prefix> |
|
||||||
<cache_size>500</cache_size> |
|
||||||
<main/> |
|
||||||
<compare> |
|
||||||
<condition> |
|
||||||
<negated>N</negated> |
|
||||||
<leftvalue/> |
|
||||||
<function>=</function> |
|
||||||
<rightvalue/> |
|
||||||
</condition> |
|
||||||
</compare> |
|
||||||
<cluster_schema/> |
|
||||||
<remotesteps> |
|
||||||
<input> |
|
||||||
</input> |
|
||||||
<output> |
|
||||||
</output> |
|
||||||
</remotesteps> |
|
||||||
<GUI> |
|
||||||
<xloc>496</xloc> |
|
||||||
<yloc>256</yloc> |
|
||||||
<draw>Y</draw> |
|
||||||
</GUI> |
|
||||||
</step> |
|
||||||
|
|
||||||
<step> |
|
||||||
<name>Table input</name> |
|
||||||
<type>TableInput</type> |
|
||||||
<description/> |
|
||||||
<distribute>Y</distribute> |
|
||||||
<custom_distribution/> |
|
||||||
<copies>1</copies> |
|
||||||
<partitioning> |
|
||||||
<method>none</method> |
|
||||||
<schema_name/> |
|
||||||
</partitioning> |
|
||||||
<connection>eduetl</connection> |
|
||||||
<sql>SELECT * FROM tmp_sxc_zahl_wert</sql> |
|
||||||
<limit>0</limit> |
|
||||||
<lookup/> |
|
||||||
<execute_each_row>N</execute_each_row> |
|
||||||
<variables_active>N</variables_active> |
|
||||||
<lazy_conversion_active>N</lazy_conversion_active> |
|
||||||
<cluster_schema/> |
|
||||||
<remotesteps> |
|
||||||
<input> |
|
||||||
</input> |
|
||||||
<output> |
|
||||||
</output> |
|
||||||
</remotesteps> |
|
||||||
<GUI> |
|
||||||
<xloc>192</xloc> |
|
||||||
<yloc>208</yloc> |
|
||||||
<draw>Y</draw> |
|
||||||
</GUI> |
|
||||||
</step> |
|
||||||
|
|
||||||
<step> |
|
||||||
<name>Update</name> |
|
||||||
<type>Update</type> |
|
||||||
<description/> |
|
||||||
<distribute>Y</distribute> |
|
||||||
<custom_distribution/> |
|
||||||
<copies>1</copies> |
|
||||||
<partitioning> |
|
||||||
<method>none</method> |
|
||||||
<schema_name/> |
|
||||||
</partitioning> |
|
||||||
<connection>eduetl</connection> |
|
||||||
<skip_lookup>N</skip_lookup> |
|
||||||
<commit>100</commit> |
|
||||||
<use_batch>N</use_batch> |
|
||||||
<error_ignored>N</error_ignored> |
|
||||||
<ignore_flag_field/> |
|
||||||
<lookup> |
|
||||||
<schema/> |
|
||||||
<table>tmp_sxc_zahl_wert</table> |
|
||||||
<key> |
|
||||||
<name>tid</name> |
|
||||||
<field>tid</field> |
|
||||||
<condition>=</condition> |
|
||||||
<name2/> |
|
||||||
</key> |
|
||||||
<value> |
|
||||||
<name>jahr</name> |
|
||||||
<rename>Jahr</rename> |
|
||||||
</value> |
|
||||||
</lookup> |
|
||||||
<cluster_schema/> |
|
||||||
<remotesteps> |
|
||||||
<input> |
|
||||||
</input> |
|
||||||
<output> |
|
||||||
</output> |
|
||||||
</remotesteps> |
|
||||||
<GUI> |
|
||||||
<xloc>656</xloc> |
|
||||||
<yloc>256</yloc> |
|
||||||
<draw>Y</draw> |
|
||||||
</GUI> |
|
||||||
</step> |
|
||||||
|
|
||||||
<step_error_handling> |
|
||||||
</step_error_handling> |
|
||||||
<slave-step-copy-partition-distribution> |
|
||||||
</slave-step-copy-partition-distribution> |
|
||||||
<slave_transformation>N</slave_transformation> |
|
||||||
</transformation> |
|
||||||
@ -1,491 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
<job> |
|
||||||
<name>import_bestand_mwk_nrw_hskennz</name> |
|
||||||
<description/> |
|
||||||
<extended_description/> |
|
||||||
<job_version/> |
|
||||||
<job_status>0</job_status> |
|
||||||
<directory>/</directory> |
|
||||||
<created_user>-</created_user> |
|
||||||
<created_date>2025/05/09 08:04:01.642</created_date> |
|
||||||
<modified_user>-</modified_user> |
|
||||||
<modified_date>2025/05/09 08:04:01.642</modified_date> |
|
||||||
<parameters> |
|
||||||
<parameter> |
|
||||||
<name>PATH_TO_UPLOADFILE</name> |
|
||||||
<default_value/> |
|
||||||
<description/> |
|
||||||
</parameter> |
|
||||||
</parameters> |
|
||||||
<connection> |
|
||||||
<name>eduetl</name> |
|
||||||
<server>localhost</server> |
|
||||||
<type>POSTGRESQL</type> |
|
||||||
<access>Native</access> |
|
||||||
<database>eduetl_ude</database> |
|
||||||
<port>9996</port> |
|
||||||
<username>superx</username> |
|
||||||
<password>Encrypted 2be98afc86aa7f285a51faf7ed9c3fd89</password> |
|
||||||
<servername/> |
|
||||||
<data_tablespace/> |
|
||||||
<index_tablespace/> |
|
||||||
<attributes> |
|
||||||
<attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>PORT_NUMBER</code><attribute>9996</attribute></attribute> |
|
||||||
<attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>Y</attribute></attribute> |
|
||||||
<attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> |
|
||||||
<attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> |
|
||||||
<attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> |
|
||||||
</attributes> |
|
||||||
</connection> |
|
||||||
<slaveservers> |
|
||||||
</slaveservers> |
|
||||||
<job-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<size_limit_lines/> |
|
||||||
<interval/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_JOB</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_JOB</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>JOBNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>JOBNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STATUS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STATUS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_READ</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_READ</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_WRITTEN</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_WRITTEN</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_UPDATED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_UPDATED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_INPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_INPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_OUTPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_OUTPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_REJECTED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_REJECTED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ERRORS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ERRORS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STARTDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STARTDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ENDDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ENDDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOGDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOGDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>DEPDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>DEPDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>REPLAYDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>REPLAYDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_FIELD</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_FIELD</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>EXECUTING_SERVER</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>EXECUTING_SERVER</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>EXECUTING_USER</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>EXECUTING_USER</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>START_JOB_ENTRY</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>START_JOB_ENTRY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CLIENT</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>CLIENT</name> |
|
||||||
</field> |
|
||||||
</job-log-table> |
|
||||||
<jobentry-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>JOBNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>TRANSNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>JOBENTRYNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STEPNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_READ</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_READ</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_WRITTEN</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_WRITTEN</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_UPDATED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_UPDATED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_INPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_INPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_OUTPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_OUTPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_REJECTED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_REJECTED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ERRORS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ERRORS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>RESULT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>RESULT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>NR_RESULT_ROWS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>NR_RESULT_ROWS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>NR_RESULT_FILES</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>NR_RESULT_FILES</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_FIELD</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>LOG_FIELD</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>COPY_NR</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>COPY_NR</name> |
|
||||||
</field> |
|
||||||
</jobentry-log-table> |
|
||||||
<channel-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOGGING_OBJECT_TYPE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOGGING_OBJECT_TYPE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_NAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_NAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_COPY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_COPY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>REPOSITORY_DIRECTORY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>REPOSITORY_DIRECTORY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>FILENAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>FILENAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_REVISION</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_REVISION</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>PARENT_CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>PARENT_CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ROOT_CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ROOT_CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
</channel-log-table> |
|
||||||
<pass_batchid>N</pass_batchid> |
|
||||||
<shared_objects_file/> |
|
||||||
<entries> |
|
||||||
<entry> |
|
||||||
<name>START</name> |
|
||||||
<description/> |
|
||||||
<type>SPECIAL</type> |
|
||||||
<start>Y</start> |
|
||||||
<dummy>N</dummy> |
|
||||||
<repeat>N</repeat> |
|
||||||
<schedulerType>0</schedulerType> |
|
||||||
<intervalSeconds>0</intervalSeconds> |
|
||||||
<intervalMinutes>60</intervalMinutes> |
|
||||||
<hour>12</hour> |
|
||||||
<minutes>0</minutes> |
|
||||||
<weekDay>1</weekDay> |
|
||||||
<DayOfMonth>1</DayOfMonth> |
|
||||||
<parallel>N</parallel> |
|
||||||
<draw>Y</draw> |
|
||||||
<nr>0</nr> |
|
||||||
<xloc>96</xloc> |
|
||||||
<yloc>192</yloc> |
|
||||||
</entry> |
|
||||||
<entry> |
|
||||||
<name>Success</name> |
|
||||||
<description/> |
|
||||||
<type>SUCCESS</type> |
|
||||||
<parallel>N</parallel> |
|
||||||
<draw>Y</draw> |
|
||||||
<nr>0</nr> |
|
||||||
<xloc>1056</xloc> |
|
||||||
<yloc>192</yloc> |
|
||||||
</entry> |
|
||||||
<entry> |
|
||||||
<name>excel_into_tmp</name> |
|
||||||
<description/> |
|
||||||
<type>TRANS</type> |
|
||||||
<specification_method>filename</specification_method> |
|
||||||
<trans_object_id/> |
|
||||||
<filename>${Internal.Job.Filename.Directory}/import_bestand_mwk_nrw_hskennz_1.ktr</filename> |
|
||||||
<transname/> |
|
||||||
<arg_from_previous>N</arg_from_previous> |
|
||||||
<params_from_previous>N</params_from_previous> |
|
||||||
<exec_per_row>N</exec_per_row> |
|
||||||
<clear_rows>N</clear_rows> |
|
||||||
<clear_files>N</clear_files> |
|
||||||
<set_logfile>N</set_logfile> |
|
||||||
<logfile/> |
|
||||||
<logext/> |
|
||||||
<add_date>N</add_date> |
|
||||||
<add_time>N</add_time> |
|
||||||
<loglevel>Basic</loglevel> |
|
||||||
<cluster>N</cluster> |
|
||||||
<slave_server_name/> |
|
||||||
<set_append_logfile>N</set_append_logfile> |
|
||||||
<wait_until_finished>Y</wait_until_finished> |
|
||||||
<follow_abort_remote>N</follow_abort_remote> |
|
||||||
<create_parent_folder>N</create_parent_folder> |
|
||||||
<logging_remote_work>N</logging_remote_work> |
|
||||||
<parameters> |
|
||||||
<pass_all_parameters>Y</pass_all_parameters> |
|
||||||
</parameters> |
|
||||||
<parallel>N</parallel> |
|
||||||
<draw>Y</draw> |
|
||||||
<nr>0</nr> |
|
||||||
<xloc>272</xloc> |
|
||||||
<yloc>320</yloc> |
|
||||||
</entry> |
|
||||||
<entry> |
|
||||||
<name>create tmp_sxc_zahl_wert</name> |
|
||||||
<description/> |
|
||||||
<type>SQL</type> |
|
||||||
<sql>drop table if exists tmp_sxc_zahl_wert;

CREATE TABLE tmp_sxc_zahl_wert
(
 tid serial,
 hs_nr_str varchar(255),
 hs_nr char(40),
 kenn_zahl char(100) NOT NULL,
 jahr smallint,
 sem smallint,
 ch110_institut char(10),
 bland integer,
 sxc_bestand_id integer,
 wert_str varchar(255),
 wert decimal(30,20),
 generic_dim1 char(100),
 generic_dim2 char(100)
);</sql> |
|
||||||
<useVariableSubstitution>F</useVariableSubstitution> |
|
||||||
<sqlfromfile>F</sqlfromfile> |
|
||||||
<sqlfilename/> |
|
||||||
<sendOneStatement>F</sendOneStatement> |
|
||||||
<connection>eduetl</connection> |
|
||||||
<parallel>N</parallel> |
|
||||||
<draw>Y</draw> |
|
||||||
<nr>0</nr> |
|
||||||
<xloc>272</xloc> |
|
||||||
<yloc>192</yloc> |
|
||||||
</entry> |
|
||||||
<entry> |
|
||||||
<name>update tmp_sxc_zahl_wert</name> |
|
||||||
<description/> |
|
||||||
<type>SQL</type> |
|
||||||
<sql>update tmp_sxc_zahl_wert set
 hs_nr=M.target_value
from 
 sxc_mapping_bestand M
where
 M.sxc_bestand_id=1
 and M.object_type='Hochschule'
 and M.object_value=tmp_sxc_zahl_wert.hs_nr_str
;


update tmp_sxc_zahl_wert
set wert = 
 case 
 when wert_str != '--' 
 and wert_str is not null 
 and wert_str <> '' 
 then cast(replace(wert_str, ',' , '.') as decimal(30,20)) * 100
 else null
 end
where kenn_zahl like '%_proz%'
;

update tmp_sxc_zahl_wert
set wert = 
 case 
 when wert_str != '--' 
 and wert_str is not null 
 and wert_str <> '' 
 then cast(replace(wert_str, ',' , '.') as decimal(30,20)) 
 else null
 end
where wert is null
;

update tmp_sxc_zahl_wert set sxc_bestand_id=1; -- MKW NRW Hochschulkennzahlen
update tmp_sxc_zahl_wert set bland=5; -- NRW


</sql> |
|
||||||
<useVariableSubstitution>F</useVariableSubstitution> |
|
||||||
<sqlfromfile>F</sqlfromfile> |
|
||||||
<sqlfilename>${Internal.Job.Filename.Directory}/update_tmp_sxc_zahl_wert.sql</sqlfilename> |
|
||||||
<sendOneStatement>F</sendOneStatement> |
|
||||||
<connection>eduetl</connection> |
|
||||||
<parallel>N</parallel> |
|
||||||
<draw>Y</draw> |
|
||||||
<nr>0</nr> |
|
||||||
<xloc>688</xloc> |
|
||||||
<yloc>192</yloc> |
|
||||||
</entry> |
|
||||||
<entry> |
|
||||||
<name>insert into sxc_zahl_wert + NRW-Durchschnitt</name> |
|
||||||
<description/> |
|
||||||
<type>SQL</type> |
|
||||||
<sql>delete from sxc_zahl_wert
where 
 sxc_bestand_id=1
 and jahr in (select jahr from tmp_sxc_zahl_wert)
 and hs_nr in (select hs_nr from tmp_sxc_zahl_wert)
;

INSERT INTO sxc_zahl_wert
(
 hs_nr,
 kenn_zahl,
 jahr,
 sem,
 bland,
 ch110_institut,
 sxc_bestand_id,
 wert,
 generic_dim1,
 generic_dim2
)
select
 hs_nr,
 kenn_zahl,
 jahr,
 sem,
 bland,
 ch110_institut,
 sxc_bestand_id,
 wert,
 generic_dim1,
 generic_dim2
from tmp_sxc_zahl_wert
where
 hs_nr is not null
order by
 sxc_bestand_id,1,2,3,4
;


drop table if exists tmp_sxc_zahl_wert;
drop table if exists tmp_nrw_durchschnitt;

CREATE TABLE tmp_nrw_durchschnitt
( 
 jahr integer,
 kenn_zahl char(100),
 lfb char(100),
 nrw_durchschnitt numeric
);

insert into tmp_nrw_durchschnitt
select
 jahr, 
 kenn_zahl,
 generic_dim1 as lfb,
 case when kenn_zahl like '%_proz%' then sum(wert)/12*100 else sum(wert)/12 end as nrw_durchschnitt 
from sxc_zahl_wert 
where hs_nr in ('1130','1480','1140','1080','1090','1100','1110','1120','0080','0121','0130','0140') 
group by jahr,kenn_zahl,lfb
;


update sxc_zahl_wert set generic_dim2=(select N.nrw_durchschnitt
from tmp_nrw_durchschnitt N
where sxc_zahl_wert.jahr=N.jahr
and sxc_zahl_wert.kenn_zahl=N.kenn_zahl
and sxc_zahl_wert.generic_dim1=N.lfb
and sxc_zahl_wert.sxc_bestand_id=1)
;

drop table if exists tmp_nrw_durchschnitt;</sql> |
|
||||||
<useVariableSubstitution>F</useVariableSubstitution> |
|
||||||
<sqlfromfile>F</sqlfromfile> |
|
||||||
<sqlfilename/> |
|
||||||
<sendOneStatement>F</sendOneStatement> |
|
||||||
<connection>eduetl</connection> |
|
||||||
<parallel>N</parallel> |
|
||||||
<draw>Y</draw> |
|
||||||
<nr>0</nr> |
|
||||||
<xloc>880</xloc> |
|
||||||
<yloc>272</yloc> |
|
||||||
</entry> |
|
||||||
</entries> |
|
||||||
<hops> |
|
||||||
<hop> |
|
||||||
<from>START</from> |
|
||||||
<to>create tmp_sxc_zahl_wert</to> |
|
||||||
<from_nr>0</from_nr> |
|
||||||
<to_nr>0</to_nr> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<evaluation>Y</evaluation> |
|
||||||
<unconditional>Y</unconditional> |
|
||||||
</hop> |
|
||||||
<hop> |
|
||||||
<from>create tmp_sxc_zahl_wert</from> |
|
||||||
<to>excel_into_tmp</to> |
|
||||||
<from_nr>0</from_nr> |
|
||||||
<to_nr>0</to_nr> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<evaluation>Y</evaluation> |
|
||||||
<unconditional>N</unconditional> |
|
||||||
</hop> |
|
||||||
<hop> |
|
||||||
<from>insert into sxc_zahl_wert + NRW-Durchschnitt</from> |
|
||||||
<to>Success</to> |
|
||||||
<from_nr>0</from_nr> |
|
||||||
<to_nr>0</to_nr> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<evaluation>Y</evaluation> |
|
||||||
<unconditional>N</unconditional> |
|
||||||
</hop> |
|
||||||
<hop> |
|
||||||
<from>update tmp_sxc_zahl_wert</from> |
|
||||||
<to>insert into sxc_zahl_wert + NRW-Durchschnitt</to> |
|
||||||
<from_nr>0</from_nr> |
|
||||||
<to_nr>0</to_nr> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<evaluation>Y</evaluation> |
|
||||||
<unconditional>N</unconditional> |
|
||||||
</hop> |
|
||||||
<hop> |
|
||||||
<from>update tmp_sxc_zahl_wert</from> |
|
||||||
<to>Success</to> |
|
||||||
<from_nr>0</from_nr> |
|
||||||
<to_nr>0</to_nr> |
|
||||||
<enabled>N</enabled> |
|
||||||
<evaluation>Y</evaluation> |
|
||||||
<unconditional>N</unconditional> |
|
||||||
</hop> |
|
||||||
<hop> |
|
||||||
<from>excel_into_tmp</from> |
|
||||||
<to>update tmp_sxc_zahl_wert</to> |
|
||||||
<from_nr>0</from_nr> |
|
||||||
<to_nr>0</to_nr> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<evaluation>Y</evaluation> |
|
||||||
<unconditional>N</unconditional> |
|
||||||
</hop> |
|
||||||
</hops> |
|
||||||
<notepads> |
|
||||||
</notepads> |
|
||||||
</job> |
|
||||||
File diff suppressed because it is too large
Load Diff
@ -1,666 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
<transformation> |
|
||||||
<info> |
|
||||||
<name>import_bestand_mwk_nrw_hskennz_2</name> |
|
||||||
<description/> |
|
||||||
<extended_description/> |
|
||||||
<trans_version/> |
|
||||||
<trans_type>Normal</trans_type> |
|
||||||
<trans_status>0</trans_status> |
|
||||||
<directory>/</directory> |
|
||||||
<parameters> |
|
||||||
<parameter> |
|
||||||
<name>PATH_TO_UPLOADFILE</name> |
|
||||||
<default_value>file:///home/superx/git/Memtext-Interna/Projekte/duisburg-essen_uni/muster/2025_stammdaten_nrw/Stammdaten_MKW_orig_2023.xlsx</default_value> |
|
||||||
<description/> |
|
||||||
</parameter> |
|
||||||
</parameters> |
|
||||||
<log> |
|
||||||
<trans-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<size_limit_lines/> |
|
||||||
<interval/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>TRANSNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>TRANSNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STATUS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STATUS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_READ</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_READ</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_WRITTEN</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_WRITTEN</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_UPDATED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_UPDATED</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_INPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_INPUT</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_OUTPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_OUTPUT</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_REJECTED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_REJECTED</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ERRORS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ERRORS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STARTDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STARTDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ENDDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ENDDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOGDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOGDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>DEPDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>DEPDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>REPLAYDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>REPLAYDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_FIELD</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_FIELD</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>EXECUTING_SERVER</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>EXECUTING_SERVER</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>EXECUTING_USER</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>EXECUTING_USER</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CLIENT</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>CLIENT</name> |
|
||||||
</field> |
|
||||||
</trans-log-table> |
|
||||||
<perf-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<interval/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>SEQ_NR</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>SEQ_NR</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOGDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOGDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>TRANSNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>TRANSNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STEPNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STEPNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STEP_COPY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STEP_COPY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_READ</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_READ</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_WRITTEN</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_WRITTEN</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_UPDATED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_UPDATED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_INPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_INPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_OUTPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_OUTPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_REJECTED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_REJECTED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ERRORS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ERRORS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>INPUT_BUFFER_ROWS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>INPUT_BUFFER_ROWS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OUTPUT_BUFFER_ROWS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OUTPUT_BUFFER_ROWS</name> |
|
||||||
</field> |
|
||||||
</perf-log-table> |
|
||||||
<channel-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOGGING_OBJECT_TYPE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOGGING_OBJECT_TYPE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_NAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_NAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_COPY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_COPY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>REPOSITORY_DIRECTORY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>REPOSITORY_DIRECTORY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>FILENAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>FILENAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_REVISION</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_REVISION</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>PARENT_CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>PARENT_CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ROOT_CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ROOT_CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
</channel-log-table> |
|
||||||
<step-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>TRANSNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>TRANSNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STEPNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STEPNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STEP_COPY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STEP_COPY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_READ</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_READ</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_WRITTEN</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_WRITTEN</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_UPDATED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_UPDATED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_INPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_INPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_OUTPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_OUTPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_REJECTED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_REJECTED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ERRORS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ERRORS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_FIELD</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>LOG_FIELD</name> |
|
||||||
</field> |
|
||||||
</step-log-table> |
|
||||||
<metrics-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_CODE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_CODE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_DESCRIPTION</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_DESCRIPTION</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_SUBJECT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_SUBJECT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_TYPE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_TYPE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_VALUE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_VALUE</name> |
|
||||||
</field> |
|
||||||
</metrics-log-table> |
|
||||||
</log> |
|
||||||
<maxdate> |
|
||||||
<connection/> |
|
||||||
<table/> |
|
||||||
<field/> |
|
||||||
<offset>0.0</offset> |
|
||||||
<maxdiff>0.0</maxdiff> |
|
||||||
</maxdate> |
|
||||||
<size_rowset>10000</size_rowset> |
|
||||||
<sleep_time_empty>50</sleep_time_empty> |
|
||||||
<sleep_time_full>50</sleep_time_full> |
|
||||||
<unique_connections>N</unique_connections> |
|
||||||
<feedback_shown>Y</feedback_shown> |
|
||||||
<feedback_size>50000</feedback_size> |
|
||||||
<using_thread_priorities>Y</using_thread_priorities> |
|
||||||
<shared_objects_file/> |
|
||||||
<capture_step_performance>N</capture_step_performance> |
|
||||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
|
||||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
|
||||||
<dependencies> |
|
||||||
</dependencies> |
|
||||||
<partitionschemas> |
|
||||||
</partitionschemas> |
|
||||||
<slaveservers> |
|
||||||
</slaveservers> |
|
||||||
<clusterschemas> |
|
||||||
</clusterschemas> |
|
||||||
<created_user>-</created_user> |
|
||||||
<created_date>2025/05/09 08:34:54.065</created_date> |
|
||||||
<modified_user>-</modified_user> |
|
||||||
<modified_date>2025/05/09 08:34:54.065</modified_date> |
|
||||||
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
|
||||||
<is_key_private>N</is_key_private> |
|
||||||
</info> |
|
||||||
<notepads> |
|
||||||
</notepads> |
|
||||||
<order> |
|
||||||
<hop> |
|
||||||
<from>Microsoft Excel Input 2</from> |
|
||||||
<to>Join Rows (cartesian product)</to> |
|
||||||
<enabled>Y</enabled> |
|
||||||
</hop> |
|
||||||
<hop> |
|
||||||
<from>Table input</from> |
|
||||||
<to>Join Rows (cartesian product)</to> |
|
||||||
<enabled>Y</enabled> |
|
||||||
</hop> |
|
||||||
<hop> |
|
||||||
<from>Join Rows (cartesian product)</from> |
|
||||||
<to>Update</to> |
|
||||||
<enabled>Y</enabled> |
|
||||||
</hop> |
|
||||||
</order> |
|
||||||
<step> |
|
||||||
<name>Microsoft Excel Input 2</name> |
|
||||||
<type>ExcelInput</type> |
|
||||||
<description/> |
|
||||||
<distribute>Y</distribute> |
|
||||||
<custom_distribution/> |
|
||||||
<copies>1</copies> |
|
||||||
<partitioning> |
|
||||||
<method>none</method> |
|
||||||
<schema_name/> |
|
||||||
</partitioning> |
|
||||||
<header>N</header> |
|
||||||
<noempty>Y</noempty> |
|
||||||
<stoponempty>N</stoponempty> |
|
||||||
<filefield/> |
|
||||||
<sheetfield/> |
|
||||||
<sheetrownumfield/> |
|
||||||
<rownumfield/> |
|
||||||
<sheetfield/> |
|
||||||
<filefield/> |
|
||||||
<limit>1</limit> |
|
||||||
<encoding/> |
|
||||||
<add_to_result_filenames>Y</add_to_result_filenames> |
|
||||||
<accept_filenames>N</accept_filenames> |
|
||||||
<accept_field/> |
|
||||||
<accept_stepname/> |
|
||||||
<file> |
|
||||||
<name>${PATH_TO_UPLOADFILE}</name> |
|
||||||
<filemask/> |
|
||||||
<exclude_filemask/> |
|
||||||
<file_required>N</file_required> |
|
||||||
<include_subfolders>N</include_subfolders> |
|
||||||
</file> |
|
||||||
<fields> |
|
||||||
<field> |
|
||||||
<name>Jahr</name> |
|
||||||
<type>Integer</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
</fields> |
|
||||||
<sheets> |
|
||||||
<sheet> |
|
||||||
<name>Tabelle1</name> |
|
||||||
<startrow>3</startrow> |
|
||||||
<startcol>1</startcol> |
|
||||||
</sheet> |
|
||||||
</sheets> |
|
||||||
<strict_types>N</strict_types> |
|
||||||
<error_ignored>N</error_ignored> |
|
||||||
<error_line_skipped>N</error_line_skipped> |
|
||||||
<bad_line_files_destination_directory/> |
|
||||||
<bad_line_files_extension>warning</bad_line_files_extension> |
|
||||||
<error_line_files_destination_directory/> |
|
||||||
<error_line_files_extension>error</error_line_files_extension> |
|
||||||
<line_number_files_destination_directory/> |
|
||||||
<line_number_files_extension>line</line_number_files_extension> |
|
||||||
<shortFileFieldName/> |
|
||||||
<pathFieldName/> |
|
||||||
<hiddenFieldName/> |
|
||||||
<lastModificationTimeFieldName/> |
|
||||||
<uriNameFieldName/> |
|
||||||
<rootUriNameFieldName/> |
|
||||||
<extensionFieldName/> |
|
||||||
<sizeFieldName/> |
|
||||||
<spreadsheet_type>POI</spreadsheet_type> |
|
||||||
<cluster_schema/> |
|
||||||
<remotesteps> |
|
||||||
<input> |
|
||||||
</input> |
|
||||||
<output> |
|
||||||
</output> |
|
||||||
</remotesteps> |
|
||||||
<GUI> |
|
||||||
<xloc>192</xloc> |
|
||||||
<yloc>320</yloc> |
|
||||||
<draw>Y</draw> |
|
||||||
</GUI> |
|
||||||
</step> |
|
||||||
|
|
||||||
<step> |
|
||||||
<name>Join Rows (cartesian product)</name> |
|
||||||
<type>JoinRows</type> |
|
||||||
<description/> |
|
||||||
<distribute>Y</distribute> |
|
||||||
<custom_distribution/> |
|
||||||
<copies>1</copies> |
|
||||||
<partitioning> |
|
||||||
<method>none</method> |
|
||||||
<schema_name/> |
|
||||||
</partitioning> |
|
||||||
<directory>%%java.io.tmpdir%%</directory> |
|
||||||
<prefix>out</prefix> |
|
||||||
<cache_size>500</cache_size> |
|
||||||
<main/> |
|
||||||
<compare> |
|
||||||
<condition> |
|
||||||
<negated>N</negated> |
|
||||||
<leftvalue/> |
|
||||||
<function>=</function> |
|
||||||
<rightvalue/> |
|
||||||
</condition> |
|
||||||
</compare> |
|
||||||
<cluster_schema/> |
|
||||||
<remotesteps> |
|
||||||
<input> |
|
||||||
</input> |
|
||||||
<output> |
|
||||||
</output> |
|
||||||
</remotesteps> |
|
||||||
<GUI> |
|
||||||
<xloc>496</xloc> |
|
||||||
<yloc>256</yloc> |
|
||||||
<draw>Y</draw> |
|
||||||
</GUI> |
|
||||||
</step> |
|
||||||
|
|
||||||
<step> |
|
||||||
<name>Table input</name> |
|
||||||
<type>TableInput</type> |
|
||||||
<description/> |
|
||||||
<distribute>Y</distribute> |
|
||||||
<custom_distribution/> |
|
||||||
<copies>1</copies> |
|
||||||
<partitioning> |
|
||||||
<method>none</method> |
|
||||||
<schema_name/> |
|
||||||
</partitioning> |
|
||||||
<connection>eduetl</connection> |
|
||||||
<sql>SELECT * FROM tmp_sxc_zahl_wert</sql> |
|
||||||
<limit>0</limit> |
|
||||||
<lookup/> |
|
||||||
<execute_each_row>N</execute_each_row> |
|
||||||
<variables_active>N</variables_active> |
|
||||||
<lazy_conversion_active>N</lazy_conversion_active> |
|
||||||
<cluster_schema/> |
|
||||||
<remotesteps> |
|
||||||
<input> |
|
||||||
</input> |
|
||||||
<output> |
|
||||||
</output> |
|
||||||
</remotesteps> |
|
||||||
<GUI> |
|
||||||
<xloc>192</xloc> |
|
||||||
<yloc>208</yloc> |
|
||||||
<draw>Y</draw> |
|
||||||
</GUI> |
|
||||||
</step> |
|
||||||
|
|
||||||
<step> |
|
||||||
<name>Update</name> |
|
||||||
<type>Update</type> |
|
||||||
<description/> |
|
||||||
<distribute>Y</distribute> |
|
||||||
<custom_distribution/> |
|
||||||
<copies>1</copies> |
|
||||||
<partitioning> |
|
||||||
<method>none</method> |
|
||||||
<schema_name/> |
|
||||||
</partitioning> |
|
||||||
<connection>eduetl</connection> |
|
||||||
<skip_lookup>N</skip_lookup> |
|
||||||
<commit>100</commit> |
|
||||||
<use_batch>N</use_batch> |
|
||||||
<error_ignored>N</error_ignored> |
|
||||||
<ignore_flag_field/> |
|
||||||
<lookup> |
|
||||||
<schema/> |
|
||||||
<table>tmp_sxc_zahl_wert</table> |
|
||||||
<key> |
|
||||||
<name>tid</name> |
|
||||||
<field>tid</field> |
|
||||||
<condition>=</condition> |
|
||||||
<name2/> |
|
||||||
</key> |
|
||||||
<value> |
|
||||||
<name>jahr</name> |
|
||||||
<rename>Jahr</rename> |
|
||||||
</value> |
|
||||||
</lookup> |
|
||||||
<cluster_schema/> |
|
||||||
<remotesteps> |
|
||||||
<input> |
|
||||||
</input> |
|
||||||
<output> |
|
||||||
</output> |
|
||||||
</remotesteps> |
|
||||||
<GUI> |
|
||||||
<xloc>656</xloc> |
|
||||||
<yloc>256</yloc> |
|
||||||
<draw>Y</draw> |
|
||||||
</GUI> |
|
||||||
</step> |
|
||||||
|
|
||||||
<step_error_handling> |
|
||||||
</step_error_handling> |
|
||||||
<slave-step-copy-partition-distribution> |
|
||||||
</slave-step-copy-partition-distribution> |
|
||||||
<slave_transformation>N</slave_transformation> |
|
||||||
</transformation> |
|
||||||
@ -1,432 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
<job> |
|
||||||
<name>import_sfmk</name> |
|
||||||
<description/> |
|
||||||
<extended_description/> |
|
||||||
<job_version/> |
|
||||||
<job_status>0</job_status> |
|
||||||
<directory>/</directory> |
|
||||||
<created_user>-</created_user> |
|
||||||
<created_date>2019/03/19 11:15:05.289</created_date> |
|
||||||
<modified_user>-</modified_user> |
|
||||||
<modified_date>2019/03/19 11:15:05.289</modified_date> |
|
||||||
<parameters> |
|
||||||
<parameter> |
|
||||||
<name>PATH_TO_UPLOADFILE</name> |
|
||||||
<default_value>file:///home/superx/git/sxc/src-modules/module/sxc/etl/it.nrw/sfmk/studienfachmerkmalskombination_internetversion.xlsx</default_value> |
|
||||||
<description/> |
|
||||||
</parameter> |
|
||||||
</parameters> |
|
||||||
<connection> |
|
||||||
<name>eduetl</name> |
|
||||||
<server>localhost</server> |
|
||||||
<type>POSTGRESQL</type> |
|
||||||
<access>Native</access> |
|
||||||
<database>superx</database> |
|
||||||
<port>5433</port> |
|
||||||
<username>superx</username> |
|
||||||
<password>Encrypted 2be98afc86aa7f297a21eaf67df85fe8f</password> |
|
||||||
<servername>superx_host_iso</servername> |
|
||||||
<data_tablespace/> |
|
||||||
<index_tablespace/> |
|
||||||
<attributes> |
|
||||||
<attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>PORT_NUMBER</code><attribute>5433</attribute></attribute> |
|
||||||
<attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>Y</attribute></attribute> |
|
||||||
<attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> |
|
||||||
<attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> |
|
||||||
<attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> |
|
||||||
</attributes> |
|
||||||
</connection> |
|
||||||
<slaveservers> |
|
||||||
</slaveservers> |
|
||||||
<job-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<size_limit_lines/> |
|
||||||
<interval/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_JOB</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_JOB</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>JOBNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>JOBNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STATUS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STATUS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_READ</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_READ</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_WRITTEN</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_WRITTEN</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_UPDATED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_UPDATED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_INPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_INPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_OUTPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_OUTPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_REJECTED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_REJECTED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ERRORS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ERRORS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STARTDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STARTDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ENDDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ENDDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOGDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOGDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>DEPDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>DEPDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>REPLAYDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>REPLAYDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_FIELD</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_FIELD</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>EXECUTING_SERVER</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>EXECUTING_SERVER</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>EXECUTING_USER</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>EXECUTING_USER</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>START_JOB_ENTRY</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>START_JOB_ENTRY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CLIENT</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>CLIENT</name> |
|
||||||
</field> |
|
||||||
</job-log-table> |
|
||||||
<jobentry-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>JOBNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>TRANSNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>JOBENTRYNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STEPNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_READ</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_READ</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_WRITTEN</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_WRITTEN</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_UPDATED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_UPDATED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_INPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_INPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_OUTPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_OUTPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_REJECTED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_REJECTED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ERRORS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ERRORS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>RESULT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>RESULT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>NR_RESULT_ROWS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>NR_RESULT_ROWS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>NR_RESULT_FILES</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>NR_RESULT_FILES</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_FIELD</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>LOG_FIELD</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>COPY_NR</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>COPY_NR</name> |
|
||||||
</field> |
|
||||||
</jobentry-log-table> |
|
||||||
<channel-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOGGING_OBJECT_TYPE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOGGING_OBJECT_TYPE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_NAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_NAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_COPY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_COPY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>REPOSITORY_DIRECTORY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>REPOSITORY_DIRECTORY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>FILENAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>FILENAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_REVISION</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_REVISION</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>PARENT_CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>PARENT_CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ROOT_CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ROOT_CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
</channel-log-table> |
|
||||||
<pass_batchid>N</pass_batchid> |
|
||||||
<shared_objects_file/> |
|
||||||
<entries> |
|
||||||
<entry> |
|
||||||
<name>import_sfmk</name> |
|
||||||
<description/> |
|
||||||
<type>TRANS</type> |
|
||||||
<specification_method>filename</specification_method> |
|
||||||
<trans_object_id/> |
|
||||||
<filename>${Internal.Job.Filename.Directory}/import_sfmk.ktr</filename> |
|
||||||
<transname/> |
|
||||||
<arg_from_previous>N</arg_from_previous> |
|
||||||
<params_from_previous>N</params_from_previous> |
|
||||||
<exec_per_row>N</exec_per_row> |
|
||||||
<clear_rows>N</clear_rows> |
|
||||||
<clear_files>N</clear_files> |
|
||||||
<set_logfile>N</set_logfile> |
|
||||||
<logfile/> |
|
||||||
<logext/> |
|
||||||
<add_date>N</add_date> |
|
||||||
<add_time>N</add_time> |
|
||||||
<loglevel>Basic</loglevel> |
|
||||||
<cluster>N</cluster> |
|
||||||
<slave_server_name/> |
|
||||||
<set_append_logfile>N</set_append_logfile> |
|
||||||
<wait_until_finished>Y</wait_until_finished> |
|
||||||
<follow_abort_remote>N</follow_abort_remote> |
|
||||||
<create_parent_folder>N</create_parent_folder> |
|
||||||
<logging_remote_work>N</logging_remote_work> |
|
||||||
<parameters> |
|
||||||
<pass_all_parameters>Y</pass_all_parameters> |
|
||||||
</parameters> |
|
||||||
<parallel>N</parallel> |
|
||||||
<draw>Y</draw> |
|
||||||
<nr>0</nr> |
|
||||||
<xloc>272</xloc> |
|
||||||
<yloc>80</yloc> |
|
||||||
</entry> |
|
||||||
<entry> |
|
||||||
<name>START</name> |
|
||||||
<description/> |
|
||||||
<type>SPECIAL</type> |
|
||||||
<start>Y</start> |
|
||||||
<dummy>N</dummy> |
|
||||||
<repeat>N</repeat> |
|
||||||
<schedulerType>0</schedulerType> |
|
||||||
<intervalSeconds>0</intervalSeconds> |
|
||||||
<intervalMinutes>60</intervalMinutes> |
|
||||||
<hour>12</hour> |
|
||||||
<minutes>0</minutes> |
|
||||||
<weekDay>1</weekDay> |
|
||||||
<DayOfMonth>1</DayOfMonth> |
|
||||||
<parallel>N</parallel> |
|
||||||
<draw>Y</draw> |
|
||||||
<nr>0</nr> |
|
||||||
<xloc>128</xloc> |
|
||||||
<yloc>80</yloc> |
|
||||||
</entry> |
|
||||||
<entry> |
|
||||||
<name>Success</name> |
|
||||||
<description/> |
|
||||||
<type>SUCCESS</type> |
|
||||||
<parallel>N</parallel> |
|
||||||
<draw>Y</draw> |
|
||||||
<nr>0</nr> |
|
||||||
<xloc>560</xloc> |
|
||||||
<yloc>336</yloc> |
|
||||||
</entry> |
|
||||||
<entry> |
|
||||||
<name>insert</name> |
|
||||||
<description/> |
|
||||||
<type>SQL</type> |
|
||||||
<sql/> |
|
||||||
<useVariableSubstitution>F</useVariableSubstitution> |
|
||||||
<sqlfromfile>T</sqlfromfile> |
|
||||||
<sqlfilename>${Internal.Job.Filename.Directory}/insert.sql</sqlfilename> |
|
||||||
<sendOneStatement>F</sendOneStatement> |
|
||||||
<connection>eduetl</connection> |
|
||||||
<parallel>N</parallel> |
|
||||||
<draw>Y</draw> |
|
||||||
<nr>0</nr> |
|
||||||
<xloc>455</xloc> |
|
||||||
<yloc>165</yloc> |
|
||||||
</entry> |
|
||||||
</entries> |
|
||||||
<hops> |
|
||||||
<hop> |
|
||||||
<from>START</from> |
|
||||||
<to>import_sfmk</to> |
|
||||||
<from_nr>0</from_nr> |
|
||||||
<to_nr>0</to_nr> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<evaluation>Y</evaluation> |
|
||||||
<unconditional>Y</unconditional> |
|
||||||
</hop> |
|
||||||
<hop> |
|
||||||
<from>import_sfmk</from> |
|
||||||
<to>insert</to> |
|
||||||
<from_nr>0</from_nr> |
|
||||||
<to_nr>0</to_nr> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<evaluation>Y</evaluation> |
|
||||||
<unconditional>N</unconditional> |
|
||||||
</hop> |
|
||||||
<hop> |
|
||||||
<from>insert</from> |
|
||||||
<to>Success</to> |
|
||||||
<from_nr>0</from_nr> |
|
||||||
<to_nr>0</to_nr> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<evaluation>Y</evaluation> |
|
||||||
<unconditional>N</unconditional> |
|
||||||
</hop> |
|
||||||
</hops> |
|
||||||
<notepads> |
|
||||||
</notepads> |
|
||||||
</job> |
|
||||||
@ -1,854 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="UTF-8"?> |
|
||||||
<transformation> |
|
||||||
<info> |
|
||||||
<name>import_sfmk</name> |
|
||||||
<description/> |
|
||||||
<extended_description/> |
|
||||||
<trans_version/> |
|
||||||
<trans_type>Normal</trans_type> |
|
||||||
<trans_status>0</trans_status> |
|
||||||
<directory>/</directory> |
|
||||||
<parameters> |
|
||||||
<parameter> |
|
||||||
<name>PATH_TO_UPLOADFILE</name> |
|
||||||
<default_value>file:///home/superx/git/sxc/src-modules/module/sxc/etl/it.nrw/sfmk/studienfachmerkmalskombination_internetversion.xlsx</default_value> |
|
||||||
<description/> |
|
||||||
</parameter> |
|
||||||
</parameters> |
|
||||||
<log> |
|
||||||
<trans-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<size_limit_lines/> |
|
||||||
<interval/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>TRANSNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>TRANSNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STATUS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STATUS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_READ</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_READ</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_WRITTEN</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_WRITTEN</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_UPDATED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_UPDATED</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_INPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_INPUT</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_OUTPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_OUTPUT</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_REJECTED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_REJECTED</name> |
|
||||||
<subject/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ERRORS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ERRORS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STARTDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STARTDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ENDDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ENDDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOGDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOGDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>DEPDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>DEPDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>REPLAYDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>REPLAYDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_FIELD</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_FIELD</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>EXECUTING_SERVER</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>EXECUTING_SERVER</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>EXECUTING_USER</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>EXECUTING_USER</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CLIENT</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>CLIENT</name> |
|
||||||
</field> |
|
||||||
</trans-log-table> |
|
||||||
<perf-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<interval/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>SEQ_NR</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>SEQ_NR</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOGDATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOGDATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>TRANSNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>TRANSNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STEPNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STEPNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STEP_COPY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STEP_COPY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_READ</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_READ</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_WRITTEN</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_WRITTEN</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_UPDATED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_UPDATED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_INPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_INPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_OUTPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_OUTPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_REJECTED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_REJECTED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ERRORS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ERRORS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>INPUT_BUFFER_ROWS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>INPUT_BUFFER_ROWS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OUTPUT_BUFFER_ROWS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OUTPUT_BUFFER_ROWS</name> |
|
||||||
</field> |
|
||||||
</perf-log-table> |
|
||||||
<channel-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOGGING_OBJECT_TYPE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOGGING_OBJECT_TYPE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_NAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_NAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_COPY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_COPY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>REPOSITORY_DIRECTORY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>REPOSITORY_DIRECTORY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>FILENAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>FILENAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>OBJECT_REVISION</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>OBJECT_REVISION</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>PARENT_CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>PARENT_CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ROOT_CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ROOT_CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
</channel-log-table> |
|
||||||
<step-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>TRANSNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>TRANSNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STEPNAME</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STEPNAME</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>STEP_COPY</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>STEP_COPY</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_READ</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_READ</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_WRITTEN</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_WRITTEN</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_UPDATED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_UPDATED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_INPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_INPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_OUTPUT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_OUTPUT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LINES_REJECTED</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LINES_REJECTED</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>ERRORS</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ERRORS</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_FIELD</id> |
|
||||||
<enabled>N</enabled> |
|
||||||
<name>LOG_FIELD</name> |
|
||||||
</field> |
|
||||||
</step-log-table> |
|
||||||
<metrics-log-table> |
|
||||||
<connection/> |
|
||||||
<schema/> |
|
||||||
<table/> |
|
||||||
<timeout_days/> |
|
||||||
<field> |
|
||||||
<id>ID_BATCH</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>ID_BATCH</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>CHANNEL_ID</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>CHANNEL_ID</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>LOG_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>LOG_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_DATE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_DATE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_CODE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_CODE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_DESCRIPTION</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_DESCRIPTION</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_SUBJECT</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_SUBJECT</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_TYPE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_TYPE</name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<id>METRICS_VALUE</id> |
|
||||||
<enabled>Y</enabled> |
|
||||||
<name>METRICS_VALUE</name> |
|
||||||
</field> |
|
||||||
</metrics-log-table> |
|
||||||
</log> |
|
||||||
<maxdate> |
|
||||||
<connection/> |
|
||||||
<table/> |
|
||||||
<field/> |
|
||||||
<offset>0.0</offset> |
|
||||||
<maxdiff>0.0</maxdiff> |
|
||||||
</maxdate> |
|
||||||
<size_rowset>10000</size_rowset> |
|
||||||
<sleep_time_empty>50</sleep_time_empty> |
|
||||||
<sleep_time_full>50</sleep_time_full> |
|
||||||
<unique_connections>N</unique_connections> |
|
||||||
<feedback_shown>Y</feedback_shown> |
|
||||||
<feedback_size>50000</feedback_size> |
|
||||||
<using_thread_priorities>Y</using_thread_priorities> |
|
||||||
<shared_objects_file/> |
|
||||||
<capture_step_performance>N</capture_step_performance> |
|
||||||
<step_performance_capturing_delay>1000</step_performance_capturing_delay> |
|
||||||
<step_performance_capturing_size_limit>100</step_performance_capturing_size_limit> |
|
||||||
<dependencies> |
|
||||||
</dependencies> |
|
||||||
<partitionschemas> |
|
||||||
</partitionschemas> |
|
||||||
<slaveservers> |
|
||||||
</slaveservers> |
|
||||||
<clusterschemas> |
|
||||||
</clusterschemas> |
|
||||||
<created_user>-</created_user> |
|
||||||
<created_date>2019/03/19 10:12:30.193</created_date> |
|
||||||
<modified_user>-</modified_user> |
|
||||||
<modified_date>2019/03/19 10:12:30.193</modified_date> |
|
||||||
<key_for_session_key>H4sIAAAAAAAAAAMAAAAAAAAAAAA=</key_for_session_key> |
|
||||||
<is_key_private>N</is_key_private> |
|
||||||
</info> |
|
||||||
<notepads> |
|
||||||
</notepads> |
|
||||||
<connection> |
|
||||||
<name>eduetl</name> |
|
||||||
<server>localhost</server> |
|
||||||
<type>POSTGRESQL</type> |
|
||||||
<access>Native</access> |
|
||||||
<database>superx</database> |
|
||||||
<port>5433</port> |
|
||||||
<username>superx</username> |
|
||||||
<password>Encrypted 2be98afc86aa7f297a21eaf67df85fe8f</password> |
|
||||||
<servername>superx_host_iso</servername> |
|
||||||
<data_tablespace/> |
|
||||||
<index_tablespace/> |
|
||||||
<attributes> |
|
||||||
<attribute><code>FORCE_IDENTIFIERS_TO_LOWERCASE</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>FORCE_IDENTIFIERS_TO_UPPERCASE</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>IS_CLUSTERED</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>PORT_NUMBER</code><attribute>5433</attribute></attribute> |
|
||||||
<attribute><code>PRESERVE_RESERVED_WORD_CASE</code><attribute>Y</attribute></attribute> |
|
||||||
<attribute><code>QUOTE_ALL_FIELDS</code><attribute>N</attribute></attribute> |
|
||||||
<attribute><code>SUPPORTS_BOOLEAN_DATA_TYPE</code><attribute>Y</attribute></attribute> |
|
||||||
<attribute><code>SUPPORTS_TIMESTAMP_DATA_TYPE</code><attribute>Y</attribute></attribute> |
|
||||||
<attribute><code>USE_POOLING</code><attribute>N</attribute></attribute> |
|
||||||
</attributes> |
|
||||||
</connection> |
|
||||||
<order> |
|
||||||
<hop> |
|
||||||
<from>Microsoft Excel Input</from> |
|
||||||
<to>write_sxc_itnrw_sfmk_neu</to> |
|
||||||
<enabled>Y</enabled> |
|
||||||
</hop> |
|
||||||
</order> |
|
||||||
<step> |
|
||||||
<name>Microsoft Excel Input</name> |
|
||||||
<type>ExcelInput</type> |
|
||||||
<description/> |
|
||||||
<distribute>Y</distribute> |
|
||||||
<custom_distribution/> |
|
||||||
<copies>1</copies> |
|
||||||
<partitioning> |
|
||||||
<method>none</method> |
|
||||||
<schema_name/> |
|
||||||
</partitioning> |
|
||||||
<header>Y</header> |
|
||||||
<noempty>Y</noempty> |
|
||||||
<stoponempty>N</stoponempty> |
|
||||||
<filefield/> |
|
||||||
<sheetfield/> |
|
||||||
<sheetrownumfield/> |
|
||||||
<rownumfield/> |
|
||||||
<sheetfield/> |
|
||||||
<filefield/> |
|
||||||
<limit>0</limit> |
|
||||||
<encoding/> |
|
||||||
<add_to_result_filenames>Y</add_to_result_filenames> |
|
||||||
<accept_filenames>N</accept_filenames> |
|
||||||
<accept_field/> |
|
||||||
<accept_stepname/> |
|
||||||
<file> |
|
||||||
<name>${PATH_TO_UPLOADFILE}</name> |
|
||||||
<filemask/> |
|
||||||
<exclude_filemask/> |
|
||||||
<file_required>N</file_required> |
|
||||||
<include_subfolders>N</include_subfolders> |
|
||||||
</file> |
|
||||||
<fields> |
|
||||||
<field> |
|
||||||
<name>Hochschulnummer</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format>#</format> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>Hochschulstandort</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format>#</format> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>Gültig ab Jahr</name> |
|
||||||
<type>Integer</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format>#</format> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>Gültig ab Semester</name> |
|
||||||
<type>Integer</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format>#</format> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>Gültig bis Jahr</name> |
|
||||||
<type>Integer</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format>#</format> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>Gültig bis Semester</name> |
|
||||||
<type>Integer</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format>#</format> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>Studienfachschlüssel (HSF)</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format>#</format> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>Studienfach</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format>#</format> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>Abschlussschlüssel</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format>#</format> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>Abschlussprüfung</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format>#</format> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>Art des Studiums</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format>#</format> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>VTD Schlüssel</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format>#</format> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>Vollzeit/Teilzeit/Duales Studium</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format>#</format> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>Regelstudienzeit</name> |
|
||||||
<type>Integer</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format>#</format> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>Lehreinheit</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format>#</format> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<name>Studienfach (Hochschule)</name> |
|
||||||
<type>String</type> |
|
||||||
<length>-1</length> |
|
||||||
<precision>-1</precision> |
|
||||||
<trim_type>none</trim_type> |
|
||||||
<repeat>N</repeat> |
|
||||||
<format/> |
|
||||||
<currency/> |
|
||||||
<decimal/> |
|
||||||
<group/> |
|
||||||
</field> |
|
||||||
</fields> |
|
||||||
<sheets> |
|
||||||
<sheet> |
|
||||||
<name>SFMK</name> |
|
||||||
<startrow>0</startrow> |
|
||||||
<startcol>0</startcol> |
|
||||||
</sheet> |
|
||||||
</sheets> |
|
||||||
<strict_types>N</strict_types> |
|
||||||
<error_ignored>N</error_ignored> |
|
||||||
<error_line_skipped>N</error_line_skipped> |
|
||||||
<bad_line_files_destination_directory/> |
|
||||||
<bad_line_files_extension>warning</bad_line_files_extension> |
|
||||||
<error_line_files_destination_directory/> |
|
||||||
<error_line_files_extension>error</error_line_files_extension> |
|
||||||
<line_number_files_destination_directory/> |
|
||||||
<line_number_files_extension>line</line_number_files_extension> |
|
||||||
<shortFileFieldName/> |
|
||||||
<pathFieldName/> |
|
||||||
<hiddenFieldName/> |
|
||||||
<lastModificationTimeFieldName/> |
|
||||||
<uriNameFieldName/> |
|
||||||
<rootUriNameFieldName/> |
|
||||||
<extensionFieldName/> |
|
||||||
<sizeFieldName/> |
|
||||||
<spreadsheet_type>POI</spreadsheet_type> |
|
||||||
<cluster_schema/> |
|
||||||
<remotesteps> |
|
||||||
<input> |
|
||||||
</input> |
|
||||||
<output> |
|
||||||
</output> |
|
||||||
</remotesteps> |
|
||||||
<GUI> |
|
||||||
<xloc>64</xloc> |
|
||||||
<yloc>32</yloc> |
|
||||||
<draw>Y</draw> |
|
||||||
</GUI> |
|
||||||
</step> |
|
||||||
|
|
||||||
<step> |
|
||||||
<name>write_sxc_itnrw_sfmk_neu</name> |
|
||||||
<type>TableOutput</type> |
|
||||||
<description/> |
|
||||||
<distribute>Y</distribute> |
|
||||||
<custom_distribution/> |
|
||||||
<copies>1</copies> |
|
||||||
<partitioning> |
|
||||||
<method>none</method> |
|
||||||
<schema_name/> |
|
||||||
</partitioning> |
|
||||||
<connection>eduetl</connection> |
|
||||||
<schema/> |
|
||||||
<table>sxc_itnrw_sfmk_neu</table> |
|
||||||
<commit>1000</commit> |
|
||||||
<truncate>Y</truncate> |
|
||||||
<ignore_errors>N</ignore_errors> |
|
||||||
<use_batch>N</use_batch> |
|
||||||
<specify_fields>Y</specify_fields> |
|
||||||
<partitioning_enabled>N</partitioning_enabled> |
|
||||||
<partitioning_field/> |
|
||||||
<partitioning_daily>N</partitioning_daily> |
|
||||||
<partitioning_monthly>Y</partitioning_monthly> |
|
||||||
<tablename_in_field>N</tablename_in_field> |
|
||||||
<tablename_field/> |
|
||||||
<tablename_in_table>Y</tablename_in_table> |
|
||||||
<return_keys>N</return_keys> |
|
||||||
<return_field/> |
|
||||||
<fields> |
|
||||||
<field> |
|
||||||
<column_name>hochschulnummer</column_name> |
|
||||||
<stream_name>Hochschulnummer</stream_name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<column_name>hochschulstandort</column_name> |
|
||||||
<stream_name>Hochschulstandort</stream_name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<column_name>gueltig_ab_jahr</column_name> |
|
||||||
<stream_name>Gültig ab Jahr</stream_name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<column_name>gueltig_ab_semester</column_name> |
|
||||||
<stream_name>Gültig ab Semester</stream_name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<column_name>gueltig_bis_jahr</column_name> |
|
||||||
<stream_name>Gültig bis Jahr</stream_name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<column_name>gueltig_bis_semester</column_name> |
|
||||||
<stream_name>Gültig bis Semester</stream_name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<column_name>studienfachschluessel_hsf</column_name> |
|
||||||
<stream_name>Studienfachschlüssel (HSF)</stream_name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<column_name>studienfach</column_name> |
|
||||||
<stream_name>Studienfach</stream_name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<column_name>abschlussschluessel</column_name> |
|
||||||
<stream_name>Abschlussschlüssel</stream_name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<column_name>abschlusspruefung</column_name> |
|
||||||
<stream_name>Abschlussprüfung</stream_name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<column_name>art_des_studiums</column_name> |
|
||||||
<stream_name>Art des Studiums</stream_name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<column_name>vtd_schluessel</column_name> |
|
||||||
<stream_name>VTD Schlüssel</stream_name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<column_name>studientyp</column_name> |
|
||||||
<stream_name>Vollzeit/Teilzeit/Duales Studium</stream_name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<column_name>regelstudienzeit</column_name> |
|
||||||
<stream_name>Regelstudienzeit</stream_name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<column_name>lehreinheit</column_name> |
|
||||||
<stream_name>Lehreinheit</stream_name> |
|
||||||
</field> |
|
||||||
<field> |
|
||||||
<column_name>studienfach_hochschule</column_name> |
|
||||||
<stream_name>Studienfach (Hochschule)</stream_name> |
|
||||||
</field> |
|
||||||
</fields> |
|
||||||
<cluster_schema/> |
|
||||||
<remotesteps> |
|
||||||
<input> |
|
||||||
</input> |
|
||||||
<output> |
|
||||||
</output> |
|
||||||
</remotesteps> |
|
||||||
<GUI> |
|
||||||
<xloc>352</xloc> |
|
||||||
<yloc>160</yloc> |
|
||||||
<draw>Y</draw> |
|
||||||
</GUI> |
|
||||||
</step> |
|
||||||
|
|
||||||
<step_error_handling> |
|
||||||
</step_error_handling> |
|
||||||
<slave-step-copy-partition-distribution> |
|
||||||
</slave-step-copy-partition-distribution> |
|
||||||
<slave_transformation>N</slave_transformation> |
|
||||||
</transformation> |
|
||||||
@ -1,64 +0,0 @@ |
|||||||
truncate table sxc_itnrw_sfmk; |
|
||||||
|
|
||||||
insert into sxc_itnrw_sfmk( |
|
||||||
standort_nr, |
|
||||||
hochschulstandort, |
|
||||||
gueltig_ab_semester, |
|
||||||
gueltig_bis_semester, |
|
||||||
studienfach_land, |
|
||||||
studienfach_name, |
|
||||||
abschluss_land, |
|
||||||
stufrm, |
|
||||||
abschluss_name, |
|
||||||
stufrm_name, |
|
||||||
studientyp, |
|
||||||
studientyp_str, |
|
||||||
regelstudienzeit, |
|
||||||
lehreinheit, |
|
||||||
studienfach_hochschule_name |
|
||||||
) |
|
||||||
select hochschulnummer, |
|
||||||
hochschulstandort, |
|
||||||
val('' || gueltig_ab_jahr || gueltig_ab_semester) as gueltig_ab_semester, |
|
||||||
val('' || gueltig_bis_jahr || gueltig_bis_semester) as gueltig_bis_semester, |
|
||||||
studienfachschluessel_hsf, |
|
||||||
studienfach, |
|
||||||
substring(abschlussschluessel from 2 for 2), |
|
||||||
substring(abschlussschluessel from 1 for 1) as stufrm, |
|
||||||
abschlusspruefung, |
|
||||||
art_des_studiums, |
|
||||||
vtd_schluessel, |
|
||||||
studientyp, |
|
||||||
regelstudienzeit, |
|
||||||
lehreinheit, |
|
||||||
studienfach_hochschule |
|
||||||
from sxc_itnrw_sfmk_neu |
|
||||||
; |
|
||||||
--führende 0en entfernen: |
|
||||||
-- update sxc_itnrw_sfmk set hs_nr=substring(hs_nr from 2 for 10) |
|
||||||
-- where hs_nr like '0%'; |
|
||||||
-- |
|
||||||
-- update sxc_itnrw_sfmk set hs_nr=substring(hs_nr from 2 for 10) |
|
||||||
-- where hs_nr like '0%'; |
|
||||||
|
|
||||||
|
|
||||||
update sxc_itnrw_sfmk set standort_nr=(select K.hs_nr_kenn |
|
||||||
from sxc_trans_hs_nr K |
|
||||||
where K.hs_nr_sourcesystem=sxc_itnrw_sfmk.standort_nr) |
|
||||||
where exists (select K.hs_nr_kenn |
|
||||||
from sxc_trans_hs_nr K |
|
||||||
where K.hs_nr_sourcesystem=sxc_itnrw_sfmk.standort_nr); |
|
||||||
|
|
||||||
update sxc_itnrw_sfmk set hs_nr= standort_nr; |
|
||||||
update sxc_itnrw_sfmk set hs_nr= (select hs_nr from sxc_hochschulen_standorte where standort_nr= sxc_itnrw_sfmk.standort_nr) |
|
||||||
where standort_nr in (select standort_nr from sxc_hochschulen_standorte where hauptsitz is not null); |
|
||||||
|
|
||||||
update sxc_itnrw_sfmk set gueltig_ab_semester=19001 |
|
||||||
where gueltig_ab_semester is null; |
|
||||||
|
|
||||||
|
|
||||||
update sxc_itnrw_sfmk set gueltig_bis_semester=30001 |
|
||||||
where gueltig_bis_semester is null; |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Binary file not shown.
@ -1,3 +0,0 @@ |
|||||||
47000^Hochschule^0^0^0^100^150^1^char^30^0^12^<<SQL>> select tid, type, name,sortnr from sichten where art in('SXC_Hochschulen-Sicht') and aktiv=1 order by sortnr, name;^^ ^ |
|
||||||
47001^Seit Semester^1^0^0^130^80^1^integer^30^0^1^<<SQL>> select tid,druck from kenn_semester order by tid DESC;^^<<SQL>> select tid,druck from kenn_semester where today() between sem_beginn and sem_ende;^ |
|
||||||
47007^Bis Semester^3^330^-1^130^100^1^integer^30^0^1^<<SQL>> select tid,druck from kenn_semester order by tid DESC;^ ^<<SQL>> select tid,druck from kenn_semester where today() between sem_beginn and sem_ende;^ |
|
||||||
@ -1,3 +0,0 @@ |
|||||||
47000^47000^ |
|
||||||
47000^47001^ |
|
||||||
47000^47007^ |
|
||||||
@ -1,123 +0,0 @@ |
|||||||
47000^Studierende nach Geschlecht und Nationalität^--Freemarker Template\ |
|
||||||
<#include "SQL_lingua_franca"/>\ |
|
||||||
<#include "SuperX_general"/>\ |
|
||||||
\ |
|
||||||
create temp table tmp_studis1 \ |
|
||||||
(semester integer,\ |
|
||||||
hs_nr char(10),\ |
|
||||||
spalte char(255),\ |
|
||||||
m_gesamt integer, w_gesamt integer,\ |
|
||||||
d_gesamt integer, a_gesamt integer)\ |
|
||||||
<@informixnolog/>;\ |
|
||||||
\ |
|
||||||
create temp table tmp_studis2 \ |
|
||||||
(semester integer,\ |
|
||||||
semester_str varchar(255),\ |
|
||||||
hs_nr char(10),\ |
|
||||||
gesamt integer,\ |
|
||||||
m_gesamt integer, w_gesamt integer,\ |
|
||||||
d_gesamt integer, a_gesamt integer)\ |
|
||||||
<@informixnolog/>;\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
insert into tmp_studis1(semester,\ |
|
||||||
hs_nr ,\ |
|
||||||
m_gesamt, \ |
|
||||||
w_gesamt ,\ |
|
||||||
d_gesamt,\ |
|
||||||
a_gesamt)\ |
|
||||||
select semester,\ |
|
||||||
hs_nr,\ |
|
||||||
(case when auspraegung_code_3='GESM' then bil002__studierende__anzahl else 0 end) as m_gesamt,\ |
|
||||||
(case when auspraegung_code_3='GESW' then bil002__studierende__anzahl else 0 end) as w_gesamt,\ |
|
||||||
(case when auspraegung_code_2='NATD' then bil002__studierende__anzahl else 0 end) as d_gesamt,\ |
|
||||||
(case when auspraegung_code_2='NATA' then bil002__studierende__anzahl else 0 end) as a_gesamt\ |
|
||||||
from sxc_stud_sem_da_geschl_hs\ |
|
||||||
where bil002__studierende__q='e' --endgültiger Wert\ |
|
||||||
/* and semester >= <<Seit Semester>>*/\ |
|
||||||
/* and semester <= <<Bis Semester>> */\ |
|
||||||
/* and hs_nr::varchar(255) in <@printkeys Hochschule.allNeededKeysList/> --<<Hochschule>> */\ |
|
||||||
;\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
insert into tmp_studis2(semester,\ |
|
||||||
semester_str ,\ |
|
||||||
gesamt,\ |
|
||||||
m_gesamt, \ |
|
||||||
w_gesamt ,\ |
|
||||||
d_gesamt,\ |
|
||||||
a_gesamt)\ |
|
||||||
select S.semester,K.druck,\ |
|
||||||
sum(m_gesamt) + sum(w_gesamt),\ |
|
||||||
sum(m_gesamt),\ |
|
||||||
sum(w_gesamt),\ |
|
||||||
sum(d_gesamt),\ |
|
||||||
sum(a_gesamt)\ |
|
||||||
from tmp_studis1 S, kenn_semester K\ |
|
||||||
where K.tid=S.semester\ |
|
||||||
group by 1,2;\ |
|
||||||
drop table tmp_studis1;\ |
|
||||||
\ |
|
||||||
-- Falls Division durch 0 vorkommen sollte, Division durch NULL ist möglich\ |
|
||||||
update tmp_studis2\ |
|
||||||
set gesamt = null where gesamt = 0;\ |
|
||||||
\ |
|
||||||
select trim(semester_str), \ |
|
||||||
gesamt,\ |
|
||||||
w_gesamt,\ |
|
||||||
m_gesamt,\ |
|
||||||
'' || w_gesamt || '|' || gesamt as _graphbarright_w_gesamt,\ |
|
||||||
'' || m_gesamt || '|' || gesamt as _graphbarleft_m_gesamt,\ |
|
||||||
round((100*w_gesamt)::decimal(21,9)/gesamt,2) as frauenanteil,\ |
|
||||||
d_gesamt,\ |
|
||||||
a_gesamt,\ |
|
||||||
'' || d_gesamt || '|' || gesamt as _graphbarright_d_gesamt,\ |
|
||||||
'' || a_gesamt || '|' || gesamt as _graphbarleft_a_gesamt,\ |
|
||||||
round((100*a_gesamt)::decimal(21,9)/gesamt,2) as auslanteil\ |
|
||||||
from tmp_studis2 \ |
|
||||||
order by semester desc ;^XIL List\ |
|
||||||
sizable_columns horizontal_scrolling\ |
|
||||||
white_space_color=COLOR_WHITE fixed_columns=1\ |
|
||||||
drop_and_delete movable_columns\ |
|
||||||
min_heading_height=55\ |
|
||||||
Column CID=0 heading_text="Semester" explanation="@@@sos_semester@@@" center_heading\ |
|
||||||
row_selectable heading_platform readonly\ |
|
||||||
width=10\ |
|
||||||
Column CID=1 heading_text="Gesamtzahl" explanation="@@@sos_gesamtzahl@@@" center_heading\ |
|
||||||
row_selectable col_selectable rightJust heading_platform\ |
|
||||||
readonly\ |
|
||||||
width=8\ |
|
||||||
Column CID=2 heading_text="Studierende nach Geschlecht\\000weiblich" explanation="" center_heading\ |
|
||||||
row_selectable col_selectable rightJust heading_platform readonly\ |
|
||||||
width=8\ |
|
||||||
Column CID=2 heading_text="Studierende nach Geschlecht\\000männlich" explanation="" center_heading\ |
|
||||||
row_selectable col_selectable rightJust heading_platform readonly\ |
|
||||||
width=8\ |
|
||||||
Column CID=2 heading_text="Studierende nach Geschlecht\\000weiblich\\n(graphisch)" explanation="" center_heading\ |
|
||||||
row_selectable col_selectable rightJust heading_platform readonly\ |
|
||||||
width=8\ |
|
||||||
Column CID=2 heading_text="Studierende nach Geschlecht\\000männlich\\n(graphisch)" explanation="" center_heading\ |
|
||||||
row_selectable col_selectable rightJust heading_platform readonly\ |
|
||||||
width=8\ |
|
||||||
Column CID=3 heading_text="Studierende nach Geschlecht\\000Anteil weibl. in %" explanation="" center_heading\ |
|
||||||
row_selectable col_selectable rightJust heading_platform readonly\ |
|
||||||
width=8\ |
|
||||||
Column CID=2 heading_text="Studierende nach Nationalität\\000Deutsch" explanation="" center_heading\ |
|
||||||
row_selectable col_selectable rightJust heading_platform readonly\ |
|
||||||
width=8\ |
|
||||||
Column CID=2 heading_text="Studierende nach Nationalität\\000Ausland" explanation="" center_heading\ |
|
||||||
row_selectable col_selectable rightJust heading_platform readonly\ |
|
||||||
width=8\ |
|
||||||
Column CID=2 heading_text="Studierende nach Nationalität\\000Deutsch\\n(graphisch)" explanation="" center_heading\ |
|
||||||
row_selectable col_selectable rightJust heading_platform readonly\ |
|
||||||
width=8\ |
|
||||||
Column CID=2 heading_text="Studierende nach Nationalität\\000Ausland\\n(graphisch)" explanation="" center_heading\ |
|
||||||
row_selectable col_selectable rightJust heading_platform readonly\ |
|
||||||
width=8\ |
|
||||||
Column CID=3 heading_text="Studierende nach Nationalität\\000Anteil Ausland in %" explanation="" center_heading\ |
|
||||||
row_selectable col_selectable rightJust heading_platform readonly\ |
|
||||||
width=8\ |
|
||||||
@@@^Semester^Anzahl^je Semester mit Geschlechtsangabe und Prozentwert^drop table tmp_studis2;^-leer-^3^700^360^0^1^<<SQL>> select distinct 'Quelle: Destatis Tabelle ' || statistik_label || '(' || statistik_code || ')' from sxc_stud_sem_da_geschl_hs^ |
|
||||||
@ -1,38 +0,0 @@ |
|||||||
47030^Hochschule^0^0^0^100^150^3^char^30^0^12^<<SQL>> select tid, type, name,sortnr from sichten where art in('SXC_Hochschulen-Sicht') order by sortnr, name;^^ ^ |
|
||||||
47031^Seit Semester^1^0^0^130^80^1^integer^30^0^1^<<SQL>> select tid,druck from kenn_semester where tid in (select semester from sxc_stud_sem_da_geschl_hs) order by tid DESC;^^<<SQL>> select tid,druck from kenn_semester where today() between sem_beginn and sem_ende;^ |
|
||||||
47032^Bis Semester^3^330^-1^130^100^1^integer^30^0^1^<<SQL>> select tid,druck from kenn_semester where tid in (select semester from sxc_stud_sem_da_geschl_hs) order by tid DESC;^ ^<<SQL>> select tid,druck from kenn_semester where today() between sem_beginn and sem_ende;^ |
|
||||||
47041^Geschlecht^37^0^0^140^80^1^char^30^0^1^<<SQL>> select apnr, name from xcube_dims where id='auspraegung_code_3' order by 1^^^ |
|
||||||
47042^Felder^125^0^0^150^190^10^char^30^0^999^<<SQL>>\ |
|
||||||
--freemarker template\ |
|
||||||
select trim(F.table_name) || '.' || F.name,trim(T.caption) || ':' || trim(F.caption) || ' - ' || trim(F.name) from sx_fields F,\ |
|
||||||
sx_tables T where F.table_name=T.name and F.currentlyused=1\ |
|
||||||
--Pseudonyme eingeschaltet:\ |
|
||||||
and (F.name != 'matrikel_nr' or 0=(select \ |
|
||||||
count(*) from konstanten where beschreibung='SOS_MTKNR_EXT'\ |
|
||||||
and apnr=1)) \ |
|
||||||
<#if <<tablestylesheet>>='tabelle_html_datenblatt.xsl'>\ |
|
||||||
and (F.table_name ='sos_stg_aggr'\ |
|
||||||
/* or F.table_name in (<<Weitere Tabellen>>) */) \ |
|
||||||
<#else>\ |
|
||||||
and trim(F.table_name) || '.' || F.name in (select trim(tablename)||'.'||trim(fieldname) from stylesheet_field where stylesheet_id in \ |
|
||||||
(select tid from sx_stylesheets where filename=<<tablestylesheet>>))\ |
|
||||||
</#if>\ |
|
||||||
order by 2;^^^ |
|
||||||
47043^Nationalität^38^0^0^100^150^3^char^30^0^1^<<SQL>> select apnr, name from xcube_dims where id='auspraegung_code_2' order by 1^^ ^ |
|
||||||
47044^Schlüssel anzeigen^150^0^0^100^100^1^integer^30^1^999^<<SQL>> select 1,'Ja' from xdummy union select 0,'Nein' from xdummy^^<<SQL>> select 1,'Ja' from xdummy^ |
|
||||||
47045^Ansicht in Ergebniszeilen^121^0^0^100^200^1^char^200^1^1^<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_rowdim=1 order by 2^^<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_rowdefault=1^ |
|
||||||
47046^Ansicht in Ergebnisspalten^2001^0^0^100^150^1^char^200^1^1^<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_coldim=1 order by 2^^<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_coldefault=1^ |
|
||||||
47049^Leere Zeilen ausblenden^130^350^-1^140^80^1^char^30^0^1^<<SQL>> select 'ja','ja' from xdummy union select 'nein','nein' from xdummy^ ^<<SQL>> select 'ja','ja' from xdummy^ |
|
||||||
47050^Leere Spalten ausblenden^2020^0^0^100^100^1^char^30^0^1^<<SQL>> select 'ja','ja' from xdummy union select 'nein','nein' from xdummy^^<<SQL>> select 'ja','ja' from xdummy^ |
|
||||||
47052^Kennzahl^3000^350^-1^150^180^1^integer^200^1^1^<<SQL>> select tid,name from xcube_kennzahl where maskeninfo_id=${Maskennummer} order by sortnr,name;^hidden^<<SQL>> select tid,name from xcube_kennzahl where maskeninfo_id=${Maskennummer} and is_default=1^ |
|
||||||
47053^2.Ansicht in Zeilen^125^0^0^100^100^1^char^50^0^999^<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_secondrowdim=1 order by 1^hidden^1^ |
|
||||||
47054^Visualisierung auf Ebene^10001^0^0^140^80^1^integer^30^0^0^ ^^^ |
|
||||||
47058^Spaltenvisualisierung^10000^0^0^140^80^1^char^30^0^1^<<SQL>> select '_graph','Balken (horiz. linksb.)' from xdummy\ |
|
||||||
union select '_graphbarright','Balken (horiz. rechtsb.)' from xdummy\ |
|
||||||
union select '_graphbaralternating','Balken (horiz. rechtsb./linksb.)' from xdummy\ |
|
||||||
union select '_sparkbar','Balkendiagramm' from xdummy\ |
|
||||||
where 0 < (select count(*) from sx_stylesheets where filename='tabelle_html_viz.xsl')\ |
|
||||||
union select '_sparkline','Liniendiagramm' from xdummy\ |
|
||||||
where 0 < (select count(*) from sx_stylesheets where filename='tabelle_html_viz.xsl')\ |
|
||||||
order by 1^^^ |
|
||||||
47059^Zeilenfilter bis Ebene^140^0^0^140^80^1^integer^30^0^0^ ^^^ |
|
||||||
@ -1,30 +0,0 @@ |
|||||||
47030^47030^ |
|
||||||
47030^47031^ |
|
||||||
47030^47032^ |
|
||||||
47030^47033^ |
|
||||||
47030^47034^ |
|
||||||
47030^47035^ |
|
||||||
47030^47036^ |
|
||||||
47030^47037^ |
|
||||||
47030^47038^ |
|
||||||
47030^47039^ |
|
||||||
47030^47040^ |
|
||||||
47030^47041^ |
|
||||||
47030^47042^ |
|
||||||
47030^47043^ |
|
||||||
47030^47044^ |
|
||||||
47030^47045^ |
|
||||||
47030^47046^ |
|
||||||
47030^47047^ |
|
||||||
47030^47048^ |
|
||||||
47030^47049^ |
|
||||||
47030^47050^ |
|
||||||
47030^47051^ |
|
||||||
47030^47052^ |
|
||||||
47030^47053^ |
|
||||||
47030^47054^ |
|
||||||
47030^47055^ |
|
||||||
47030^47056^ |
|
||||||
47030^47057^ |
|
||||||
47030^47058^ |
|
||||||
47030^47059^ |
|
||||||
@ -1,447 +0,0 @@ |
|||||||
47030^Kreuztabelle Studierende nach Geschlecht und Nationalität^--freemarker template\ |
|
||||||
-- Maskenfelder -Leere Zeilen ausblenden, leere SPalten ausblenden?\ |
|
||||||
<sqlvars>\ |
|
||||||
<sqlvar name="table_name">select table_name from xcube where maskeninfo_id=${Maskennummer}</sqlvar>\ |
|
||||||
<sqlvar name="aggrfunction">select aggrfunction from xcube_kennzahl where maskeninfo_id=${Maskennummer} and tid=<<Kennzahl>></sqlvar>\ |
|
||||||
<sqlvar name="aggrfunction_restriction">select nvl(restriction,''::char(1)) from xcube_kennzahl \ |
|
||||||
where maskeninfo_id=${Maskennummer} and tid=<<Kennzahl>>\ |
|
||||||
</sqlvar>\ |
|
||||||
<sqlvar name="datatype">select nvl(datatype,'decimal(17,2)'::varchar(30)) from xcube_kennzahl \ |
|
||||||
where maskeninfo_id=${Maskennummer} and tid=<<Kennzahl>></sqlvar>\ |
|
||||||
--benoetigt falls Kennzahlen in Zeilen oder Spalten\ |
|
||||||
<sqlvar name="kennzahlen" type="hashsequence">select apnr,aggrfunction,\ |
|
||||||
nvl(restriction,''::char(1)) as restriction \ |
|
||||||
from xcube_kennzahl where maskeninfo_id=${Maskennummer}</sqlvar>\ |
|
||||||
<sqlvar name="restriction" type="string"><![CDATA[<sximport>select restriction from xcube where maskeninfo_id=<<Maskennummer>></sximport>]]></sqlvar>\ |
|
||||||
<sqlvar name="coldef" type="hash"><![CDATA[select name,\ |
|
||||||
caption,\ |
|
||||||
foreignkey_tab,\ |
|
||||||
foreignkey_col,\ |
|
||||||
foreignkey_cap,\ |
|
||||||
nvl(foreignkey_cond,''::varchar(1))\ |
|
||||||
as foreignkey_cond,\ |
|
||||||
--nvl(C.specific_restriction,''::varchar(1)) as specific_restriction,\ |
|
||||||
sortfield,\ |
|
||||||
is_sicht,\ |
|
||||||
calc_gesamt,\ |
|
||||||
is_virtual,\ |
|
||||||
vcsql,\ |
|
||||||
nvl(attrib_nachbearbeitung,''::char(1)) as attrib_nachbearbeitung\ |
|
||||||
from xcube_dimconfig where \ |
|
||||||
maskeninfo_id=${Maskennummer} \ |
|
||||||
and name=<<Ansicht in Ergebnisspalten>>]]>\ |
|
||||||
</sqlvar>\ |
|
||||||
<sqlvar name="nichtsicht_ergspalten" type='hashsequence'><![CDATA[\ |
|
||||||
<#if coldef.is_sicht=0>\ |
|
||||||
select distinct ${coldef.foreignkey_col}::varchar(255) as apnr,\ |
|
||||||
${coldef.foreignkey_cap} as name,\ |
|
||||||
1::smallint as detailgesamtsort,\ |
|
||||||
${coldef.sortfield} as tmp_sortfield\ |
|
||||||
from ${coldef.foreignkey_tab} where \ |
|
||||||
1=1 \ |
|
||||||
<#if coldef.foreignkey_cond!=''> and ${coldef.foreignkey_cond} </#if>\ |
|
||||||
--{coldef.specific_restriction} \ |
|
||||||
--ausblenden von Spalten, die gar nicht in konkretem Teilergebnis vorkommen, geht derzeit nicht für virtuelle Spalten und nachbearbeitung, -> Kernmodul\ |
|
||||||
<#if coldef.is_virtual?number=0&&coldef.attrib_nachbearbeitung=''&&"<<Leere Spalten ausblenden>>"="'ja'">\ |
|
||||||
and ${coldef.foreignkey_col}::varchar(255) in (select distinct ${coldef.name}::varchar(255) from ${table_name} where \ |
|
||||||
${restriction} \ |
|
||||||
)\ |
|
||||||
</#if>\ |
|
||||||
<#if coldef.calc_gesamt?number=1> \ |
|
||||||
union\ |
|
||||||
select 'gesamt','Gesamt',\ |
|
||||||
2::smallint as detailgesamtsort,\ |
|
||||||
null as tmp_sortfield from xdummy\ |
|
||||||
</#if>\ |
|
||||||
order by detailgesamtsort,\ |
|
||||||
tmp_sortfield,\ |
|
||||||
name;\ |
|
||||||
<#else>\ |
|
||||||
select 'Sichtspalten aktiv' from xdummy;\ |
|
||||||
</#if>\ |
|
||||||
]]>\ |
|
||||||
</sqlvar>\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
<sqlvar name="rowdef" type="hash"><![CDATA[select name,caption,is_sicht,calc_gesamt,foreignkey_tab,foreignkey_col,foreignkey_cap,\ |
|
||||||
nvl(foreignkey_cond,''::varchar(1)) as foreignkey_cond,\ |
|
||||||
--nvl(C.specific_restriction,''::varchar(1)) as specific_restriction,\ |
|
||||||
sortfield,is_virtual,vcsql,nvl(attrib_nachbearbeitung,''::char(1)) as attrib_nachbearbeitung\ |
|
||||||
from xcube_dimconfig C where maskeninfo_id=${Maskennummer} and name=<<Ansicht in Ergebniszeilen>>]]>\ |
|
||||||
</sqlvar>\ |
|
||||||
--nur bei wenn Ergzeilen_def nicht vom Typ Sicht relevant\ |
|
||||||
<sqlvar name="nichtsicht_ergzeilen" type='hashsequence'><![CDATA[\ |
|
||||||
<#if rowdef.is_sicht=0>\ |
|
||||||
select 1::smallint as level, \ |
|
||||||
${rowdef.foreignkey_col}::varchar(255) as key,--hier wird zur Vereinheitlichung mit Sichten Bezeichung "key" für eigentlichen Schluessel benoetigt\ |
|
||||||
${rowdef.foreignkey_cap} as name,\ |
|
||||||
${rowdef.sortfield} as tmp_sortfield \ |
|
||||||
from ${rowdef.foreignkey_tab}\ |
|
||||||
where 1=1\ |
|
||||||
<#if rowdef.foreignkey_cond!=''> and ${rowdef.foreignkey_cond} </#if>\ |
|
||||||
--{rowdef.specific_restriction} \ |
|
||||||
<#if rowdef.calc_gesamt?number=1>\ |
|
||||||
union\ |
|
||||||
select 2,'gesamt','Gesamt',null as ${rowdef.sortfield} from xdummy\ |
|
||||||
</#if>\ |
|
||||||
order by level,tmp_sortfield; \ |
|
||||||
<#else>\ |
|
||||||
select 'nicht relevant' from xdummy;</#if>\ |
|
||||||
]]>\ |
|
||||||
</sqlvar>\ |
|
||||||
\ |
|
||||||
<sqlvar name="zweiteRowDef" type="hash"><![CDATA[\ |
|
||||||
<#if "<<2.Ansicht in Zeilen>>"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>">\ |
|
||||||
select name,caption,\ |
|
||||||
is_sicht,\ |
|
||||||
calc_gesamt,\ |
|
||||||
foreignkey_tab,\ |
|
||||||
foreignkey_col,\ |
|
||||||
foreignkey_cap,\ |
|
||||||
nvl(foreignkey_cond,''::varchar(1)) as foreignkey_cond,\ |
|
||||||
--nvl(C.specific_restriction,''::varchar(1)) as specific_restriction,\ |
|
||||||
C.sortfield\ |
|
||||||
from xcube_dimconfig where maskeninfo_id=${Maskennummer} and name=<<2.Ansicht in Zeilen>>\ |
|
||||||
<#else>\ |
|
||||||
select 'keine zweite RowDef' from xdummy;\ |
|
||||||
</#if>\ |
|
||||||
]]>\ |
|
||||||
</sqlvar>\ |
|
||||||
--nur bei wenn Ergzeilen_def nicht vom Typ Sicht relevant\ |
|
||||||
<sqlvar name="zweiteRow_nichtsicht_ergzeilen" type='hashsequence'><![CDATA[\ |
|
||||||
<#if "<<2.Ansicht in Zeilen>>"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>"&&zweiteRowDef.is_sicht=0>\ |
|
||||||
select 1::smallint as level, \ |
|
||||||
${zweiteRowDef.foreignkey_col}::varchar(255) as key,--hier wird zur Vereinheitlichung mit Sichten Bezeichung "key" für eigentlichen Schluessel benoetigt\ |
|
||||||
${zweiteRowDef.foreignkey_cap} as name,\ |
|
||||||
${zweiteRowDef.sortfield} as tmp_sortfield \ |
|
||||||
from ${zweiteRowDef.foreignkey_tab}\ |
|
||||||
where 1=1\ |
|
||||||
<#if zweiteRowDef.foreignkey_cond!=''> and ${zweiteRowDef.foreignkey_cond} </#if>\ |
|
||||||
--{zweiteRowDef.specific_restriction} \ |
|
||||||
<#if zweiteRowDef.calc_gesamt?number=1>\ |
|
||||||
union\ |
|
||||||
select 2,'gesamt','Gesamt',null as ${zweiteRowDef.sortfield} from xdummy\ |
|
||||||
</#if>\ |
|
||||||
order by level,tmp_sortfield; \ |
|
||||||
<#else>\ |
|
||||||
select 'nicht relevant' from xdummy;</#if>\ |
|
||||||
]]>\ |
|
||||||
</sqlvar>\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
</sqlvars>\ |
|
||||||
\ |
|
||||||
<#function kennzahlInRowOrCol>\ |
|
||||||
--TODO auch 2. Dimension in Zeilen/Spalten\ |
|
||||||
<#if coldef.name="xckennzahl"||rowdef.name="xckennzahl"> <#return 1><#else> return <#return 0> </#if>\ |
|
||||||
</#function>\ |
|
||||||
\ |
|
||||||
<#function hasVirtualColumns>\ |
|
||||||
--TODO auch 2. Dimension in Zeilen/Spalten\ |
|
||||||
<#if coldef.is_virtual?number=1||rowdef.is_virtual?number=1> <#return 1><#else> return <#return 0> </#if>\ |
|
||||||
</#function>\ |
|
||||||
\ |
|
||||||
<#assign graph_col= "col" />\ |
|
||||||
/* <#assign graph_col=<<Spaltenvisualisierung>> /> */\ |
|
||||||
\ |
|
||||||
create temp table tmp_cellmax (maxvalue ${datatype} );\ |
|
||||||
insert into tmp_cellmax values(0);\ |
|
||||||
\ |
|
||||||
<#if hasVirtualColumns()=1||kennzahlInRowOrCol()=1>\ |
|
||||||
select * into temp tmp_rohdaten from \ |
|
||||||
${table_name}\ |
|
||||||
where \ |
|
||||||
${restriction};\ |
|
||||||
<#if coldef.is_virtual?number=1> alter table tmp_rohdaten add column ${coldef.name} varchar(255); ${coldef.vcsql}; </#if>\ |
|
||||||
<#if rowdef.is_virtual?number=1> alter table tmp_rohdaten add column ${rowdef.name} varchar(255); ${rowdef.vcsql}; </#if>\ |
|
||||||
--create index ix_tmp_r1 on tmp_rohdaten(${coldef.name},${rowdef.name}); --Todo nicht xckennzahl ggfs. für 2. Dimension in Spalten\ |
|
||||||
</#if>\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
<#if kennzahlInRowOrCol()=0>\ |
|
||||||
create temp table tmp_cache (\ |
|
||||||
colattrib varchar(255), <@addcomment comment=coldef.caption/>\ |
|
||||||
rowattrib varchar(255), <@addcomment comment=rowdef.caption/>\ |
|
||||||
row2attrib varchar(255),\ |
|
||||||
value decimal(17,5));\ |
|
||||||
insert into tmp_cache (colattrib,rowattrib,<#if "<<2.Ansicht in Zeilen>>"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>">row2attrib, </#if> value)\ |
|
||||||
select ${coldef.name}::varchar(255), \ |
|
||||||
${rowdef.name}::varchar(255),\ |
|
||||||
<#if "<<2.Ansicht in Zeilen>>"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>">${zweiteRowDef.name}::varchar(255),</#if>\ |
|
||||||
${aggrfunction}\ |
|
||||||
\ |
|
||||||
<#if hasVirtualColumns()=0> \ |
|
||||||
from ${table_name} where \ |
|
||||||
${restriction}\ |
|
||||||
<#if (aggrfunction_restriction?length>0)> and ${aggrfunction_restriction} </#if>\ |
|
||||||
<#else>\ |
|
||||||
from tmp_rohdaten\ |
|
||||||
</#if>\ |
|
||||||
\ |
|
||||||
group by 1,2 <#if "<<2.Ansicht in Zeilen>>"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>">,${zweiteRowDef.name}</#if> ;\ |
|
||||||
create index ix_tmp_roh1 on tmp_cache (colattrib,rowattrib,row2attrib);\ |
|
||||||
</#if>\ |
|
||||||
\ |
|
||||||
--moegliche attrib_nachbearbeitung\ |
|
||||||
<#if kennzahlInRowOrCol()=0> \ |
|
||||||
<#assign tmp_table="tmp_cache"/> <#assign rowfield="rowattrib"/> <#assign colfield="colattrib"/> \ |
|
||||||
<#else>\ |
|
||||||
<#assign tmp_table="tmp_rohdaten"/> <#assign rowfield=rowdef.name/> <#assign colfield=coldef.name/> \ |
|
||||||
</#if>\ |
|
||||||
\ |
|
||||||
<#if (rowdef.attrib_nachbearbeitung?length>1)>\ |
|
||||||
${rowdef.attrib_nachbearbeitung?replace("<<tmp_table>>",tmp_table)?replace("<<col>>",rowfield)};\ |
|
||||||
-- z.B. update tmp_cache R set rowattrib='s_'||rowattrib;\ |
|
||||||
</#if>\ |
|
||||||
<#if (coldef.attrib_nachbearbeitung?length>1)>\ |
|
||||||
${coldef.attrib_nachbearbeitung?replace("<<tmp_table>>",tmp_table)?replace("<<col>>",colfield)};\ |
|
||||||
-- z.B. update tmp_cache R set rowattrib='s_'||rowattrib;\ |
|
||||||
</#if>\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
<#if coldef.is_sicht>0>\ |
|
||||||
<#assign ergspalten=.vars[coldef.caption].elements/>\ |
|
||||||
<#else>\ |
|
||||||
<#assign ergspalten=nichtsicht_ergspalten/>\ |
|
||||||
</#if>\ |
|
||||||
create temp table tmp_erg (\ |
|
||||||
ebene integer,\ |
|
||||||
col1 varchar(255),\ |
|
||||||
name varchar(255),\ |
|
||||||
<#if "<<2.Ansicht in Zeilen>>"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>">col2 varchar(255),</#if>\ |
|
||||||
<#assign i=0/>\ |
|
||||||
<#foreach spalte in ergspalten>\ |
|
||||||
<#assign i=i+1/>\ |
|
||||||
c${i} decimal(17,5) default 0, <@addcomment comment=spalte.name/>\ |
|
||||||
\ |
|
||||||
</#foreach>\ |
|
||||||
sortnr integer\ |
|
||||||
) <@informixnolog/>;\ |
|
||||||
\ |
|
||||||
create index ix_tmp_erg on tmp_erg (sortnr);\ |
|
||||||
\ |
|
||||||
<#if rowdef.is_sicht>0> \ |
|
||||||
<#assign zeilendef=.vars[rowdef.caption].elements/> --ermittelt des SichtObjekts anhand des Feldnames (aus felderinfo)\ |
|
||||||
<#else>\ |
|
||||||
<#assign zeilendef=nichtsicht_ergzeilen/>\ |
|
||||||
</#if>\ |
|
||||||
<#assign sortnr=0/>\ |
|
||||||
<#foreach zeile in zeilendef>\ |
|
||||||
<#if "<<2.Ansicht in Zeilen>>"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>">\ |
|
||||||
<#foreach zeile2 in zweiteRow_nichtsicht_ergzeilen>\ |
|
||||||
<#assign sortnr=sortnr+1/>\ |
|
||||||
insert into tmp_erg (ebene,col1,name,col2,sortnr)\ |
|
||||||
values (${zeile.level},'${zeile.key}','${zeile.name}','${zeile2.name}',${sortnr});\ |
|
||||||
<#assign i=0/>\ |
|
||||||
<#foreach spalte in ergspalten>\ |
|
||||||
<#assign i=i+1/>\ |
|
||||||
<@updateval i=i col=spalte row=zeile row2=zeile2 sortnr=sortnr/>\ |
|
||||||
</#foreach>\ |
|
||||||
</#foreach>\ |
|
||||||
<#else>\ |
|
||||||
/* <#if zeile.level <= <<Zeilenfilter bis Ebene>> > */\ |
|
||||||
<#assign sortnr=sortnr+1/>\ |
|
||||||
insert into tmp_erg (ebene,col1,name,sortnr)\ |
|
||||||
values (${zeile.level},'${zeile.key}','${zeile.name}',${sortnr});\ |
|
||||||
<#assign i=0/>\ |
|
||||||
<#foreach spalte in ergspalten>\ |
|
||||||
<#assign i=i+1/>\ |
|
||||||
<@updateval i=i col=spalte row=zeile row2='' sortnr=sortnr/>\ |
|
||||||
</#foreach>\ |
|
||||||
/* </#if> --<<Zeilenfilter bis Ebene>> */\ |
|
||||||
</#if> \ |
|
||||||
</#foreach>\ |
|
||||||
\ |
|
||||||
<#macro updateval i col row row2 sortnr>\ |
|
||||||
update tmp_erg T set c${i}=\ |
|
||||||
<#if kennzahlInRowOrCol()=0>\ |
|
||||||
(select nvl(sum(value),0) from tmp_cache R where 1=1 \ |
|
||||||
<@colrestriction col=col/>\ |
|
||||||
<@rowrestriction row=row row2=row2/>\ |
|
||||||
) \ |
|
||||||
<#else> -- Kennzahl ist in Zeile oder Spalte\ |
|
||||||
(select <@kennzahlSelect row=row col=col/>\ |
|
||||||
from tmp_rohdaten R where 1=1 \ |
|
||||||
<#if rowdef.name="xckennzahl"> <@kennzahlrestrict row=row col=col/> <#else> <@rowrestriction row=row row2=row2 rowattribname=rowdef.name/></#if>\ |
|
||||||
<#if coldef.name="xckennzahl"> <@kennzahlrestrict row=row col=col/> <#else> <@colrestriction col=col colattribname=coldef.name/></#if>\ |
|
||||||
\ |
|
||||||
)\ |
|
||||||
</#if>\ |
|
||||||
where T.sortnr='${sortnr}'\ |
|
||||||
;\ |
|
||||||
</#macro>\ |
|
||||||
\ |
|
||||||
<#macro kennzahlrestrict row col>\ |
|
||||||
<#if coldef.name="xckennzahl">\ |
|
||||||
<#foreach k in kennzahlen>\ |
|
||||||
<#if (col.apnr=k.apnr&&k.restriction?length>0)> and ${k.restriction} </#if>\ |
|
||||||
</#foreach>\ |
|
||||||
</#if>\ |
|
||||||
<#if rowdef.name="xckennzahl">\ |
|
||||||
<#foreach k in kennzahlen>\ |
|
||||||
<#if (row.key=k.apnr&&k.restriction?length>0)> and ${k.restriction} </#if>\ |
|
||||||
</#foreach>\ |
|
||||||
</#if>\ |
|
||||||
</#macro>\ |
|
||||||
\ |
|
||||||
<#macro kennzahlSelect row col>\ |
|
||||||
<#if coldef.name="xckennzahl">\ |
|
||||||
<#foreach k in kennzahlen>\ |
|
||||||
<#if col.apnr=k.apnr> ${k.aggrfunction} </#if>\ |
|
||||||
</#foreach>\ |
|
||||||
</#if>\ |
|
||||||
<#if rowdef.name="xckennzahl">\ |
|
||||||
<#foreach k in kennzahlen>\ |
|
||||||
<#if row.key=k.apnr> ${k.aggrfunction} </#if>\ |
|
||||||
</#foreach>\ |
|
||||||
</#if>\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
</#macro>\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
<#macro colrestriction col colattribname='R.colattrib'>\ |
|
||||||
<#if coldef.is_sicht==1>\ |
|
||||||
and ${colattribname}::varchar(255) in ${col.subkeys}\ |
|
||||||
<#elseif coldef.is_sicht=2>\ |
|
||||||
and (${col.strukturStr?replace('$1',' '+colattribname+"::varchar(255)")}) \ |
|
||||||
<#else>\ |
|
||||||
<#if col.apnr!='gesamt'>\ |
|
||||||
and ${colattribname}::varchar(255)='${col.apnr}' \ |
|
||||||
</#if>\ |
|
||||||
</#if>\ |
|
||||||
</#macro>\ |
|
||||||
\ |
|
||||||
<#macro rowrestriction row row2 rowattribname='R.rowattrib' >\ |
|
||||||
<#if rowdef.is_sicht==1>\ |
|
||||||
and ${rowattribname}::varchar(255) in ${row.subkeys}\ |
|
||||||
<#elseif rowdef.is_sicht==2>\ |
|
||||||
and ( ${row.strukturStr?replace('$1',' '+rowattribname+"::varchar(255)")} ) \ |
|
||||||
<#else>\ |
|
||||||
<#if row.key!='gesamt'> and ${rowattribname}::varchar(255)='${row.key}' </#if>\ |
|
||||||
</#if>\ |
|
||||||
<#if row2?is_hash> and R.row2attrib='${row2.key}' </#if> \ |
|
||||||
</#macro>\ |
|
||||||
\ |
|
||||||
drop table if exists tmp_cache;\ |
|
||||||
\ |
|
||||||
drop table if exists tmp_rohdaten;\ |
|
||||||
\ |
|
||||||
-- Kennzahl in Spalten/Zeilen ggfs. null\ |
|
||||||
<#assign i=0/>\ |
|
||||||
<#foreach spalte in ergspalten>\ |
|
||||||
<#assign i=i+1/>\ |
|
||||||
update tmp_erg set c${i}=0 where c${i} is null; \ |
|
||||||
</#foreach>\ |
|
||||||
<#assign lastcol=i />\ |
|
||||||
\ |
|
||||||
--Wenn Grafikfunktion eingeschaltet ist, wird Maximalwert ermittelt:\ |
|
||||||
<#if i != 0 && graph_col != "col" >\ |
|
||||||
\ |
|
||||||
<#assign i=0/>\ |
|
||||||
<#foreach spalte in ergspalten>\ |
|
||||||
<#assign i=i+1/>\ |
|
||||||
<#if i == lastcol>\ |
|
||||||
update tmp_cellmax set maxvalue = (select max(c${i}) from tmp_erg) \ |
|
||||||
where tmp_cellmax.maxvalue < (select max(c${i}) from tmp_erg) ;\ |
|
||||||
</#if> \ |
|
||||||
</#foreach>\ |
|
||||||
\ |
|
||||||
</#if>\ |
|
||||||
\ |
|
||||||
<#if "<<Leere Zeilen ausblenden>>"="'ja'">\ |
|
||||||
delete from tmp_erg where 1=1\ |
|
||||||
<#assign i=0/>\ |
|
||||||
<#foreach spalte in ergspalten>\ |
|
||||||
<#assign i=i+1/>\ |
|
||||||
and c${i}=0\ |
|
||||||
</#foreach>;\ |
|
||||||
</#if>\ |
|
||||||
<#if "<<Ansicht in Ergebniszeilen>>"="'institution'">\ |
|
||||||
update tmp_erg set name=replace(name,col1||' - ','');\ |
|
||||||
update tmp_erg set col1=(select max(uniquename) from organigramm where col1=trim(key_apnr))\ |
|
||||||
where substring(col1 from 1 for 1)='_';\ |
|
||||||
--vorher war ggfs _3 zu O005030, auch O005030 in Namen ersetzen\ |
|
||||||
update tmp_erg set name=replace(name,col1||' - ','');\ |
|
||||||
</#if> \ |
|
||||||
\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
select \ |
|
||||||
<#if rowdef.is_sicht>0>\ |
|
||||||
<#if graph_col=="col">\ |
|
||||||
ebene,\ |
|
||||||
<#else>\ |
|
||||||
ebene as level, --bei Grafiken keine Ebenenanzeige\ |
|
||||||
</#if>\ |
|
||||||
</#if>\ |
|
||||||
<#if graph_col?starts_with("_spark")>\ |
|
||||||
name as _categorySpark\ |
|
||||||
<#else>\ |
|
||||||
name\ |
|
||||||
</#if>\ |
|
||||||
--TODO: wenn <<2.Ansicht in Zeilen>>"!="" dann ,col2\ |
|
||||||
<#assign i=0/>\ |
|
||||||
<#foreach spalte in ergspalten>\ |
|
||||||
<#assign i=i+1/>\ |
|
||||||
<#if i != lastcol && graph_col != "col" >\ |
|
||||||
<#if graph_col == "_graphbaralternating">\ |
|
||||||
--bei symmetr. Balken jeder 2. Balken rechtsbündig\ |
|
||||||
<#if i % 2 == 0>\ |
|
||||||
, '' || c${i}::${datatype} || '|' || tmp_cellmax.maxvalue as _graph${i}\ |
|
||||||
<#else>\ |
|
||||||
, '' || c${i}::${datatype} || '|' || tmp_cellmax.maxvalue as _graphbarright${i}\ |
|
||||||
</#if>\ |
|
||||||
<#elseif graph_col?starts_with("_spark")>\ |
|
||||||
, c${i} as ${graph_col}${i}\ |
|
||||||
<#else>\ |
|
||||||
, '' || c${i}::${datatype} || '|' || tmp_cellmax.maxvalue as ${graph_col}${i}\ |
|
||||||
</#if>\ |
|
||||||
\ |
|
||||||
<#else>\ |
|
||||||
--letzte Spalte:\ |
|
||||||
<#if graph_col?starts_with("_spark")>\ |
|
||||||
, c${i} as ${graph_col}${i}\ |
|
||||||
<#else>\ |
|
||||||
, c${i}::${datatype} as col${i}\ |
|
||||||
</#if>\ |
|
||||||
\ |
|
||||||
</#if>\ |
|
||||||
\ |
|
||||||
</#foreach>\ |
|
||||||
\ |
|
||||||
from tmp_erg, tmp_cellmax order by sortnr;^--freemarker Template\ |
|
||||||
XIL List\ |
|
||||||
sizable_columns horizontal_scrolling\ |
|
||||||
drop_and_delete movable_columns\ |
|
||||||
white_space_color=COLOR_WHITE fixed_columns=1\ |
|
||||||
min_heading_height=35\ |
|
||||||
<#if rowdef.is_sicht>0>\ |
|
||||||
Column CID=0 heading_text="Ebene" center_heading\ |
|
||||||
row_selectable heading_platform readonly explanation="Hierarchieebene"\ |
|
||||||
width=5 text_size=8\ |
|
||||||
</#if>\ |
|
||||||
Column CID=20 heading_text="${.vars["Ansicht in ErgebniszeilenObject"].selectedItems[0].name}" center_heading\ |
|
||||||
row_selectable heading_platform readonly explanation="Schlüssel: ${.vars["Ansicht in ErgebniszeilenObject"].selectedItems[0].name}Nr"\ |
|
||||||
width=30 text_size=30\ |
|
||||||
<#if "<<2.Ansicht in Zeilen>>"!=""&&"<<2.Ansicht in Zeilen>>"!="<<2.Ansicht in Zeilen>>">\ |
|
||||||
Column CID=20 heading_text="${.vars["2.Ansicht in ZeilenObject"].selectedItems[0].name}" center_heading\ |
|
||||||
row_selectable heading_platform readonly\ |
|
||||||
width=20 text_size=10 explanation="${.vars["2.Ansicht in ZeilenObject"].selectedItems[0].name}"\ |
|
||||||
</#if>\ |
|
||||||
<#if coldef.is_sicht>0>\ |
|
||||||
<#assign ergspalten=.vars[coldef.caption].elements/>\ |
|
||||||
<#else>\ |
|
||||||
<#assign ergspalten=nichtsicht_ergspalten/>\ |
|
||||||
</#if>\ |
|
||||||
<#foreach spalte in ergspalten>\ |
|
||||||
Column CID=1 heading_text="${spalte.name}" center_heading\ |
|
||||||
row_selectable heading_platform readonly explanation="Ausprägung ${spalte.name}"\ |
|
||||||
width=12\ |
|
||||||
</#foreach>\ |
|
||||||
@@@^Altersgruppe^Anzahl^Kreuztabellen zu Studierendenzahlen^drop table tmp_erg;drop table tmp_cellmax;^ ^1^700^360^0^1^ ^ |
|
||||||
@ -1,37 +0,0 @@ |
|||||||
47060^Hochschule^0^0^0^100^150^3^char^30^0^12^<<SQL>> select tid, type, name,sortnr from sichten where art in('SXC_Hochschulen-Sicht') order by sortnr, name;^^ ^ |
|
||||||
47061^Seit Semester^1^0^0^130^80^1^integer^30^0^1^<<SQL>> select tid,druck from kenn_semester where tid in (select semester from sxc_stud_sem_da_geschl_hs) order by tid DESC;^^<<SQL>> select tid,druck from kenn_semester where today() between sem_beginn and sem_ende;^ |
|
||||||
47062^Bis Semester^3^330^-1^130^100^1^integer^30^0^1^<<SQL>> select tid,druck from kenn_semester where tid in (select semester from sxc_stud_sem_da_geschl_hs) order by tid DESC;^ ^<<SQL>> select tid,druck from kenn_semester where today() between sem_beginn and sem_ende;^ |
|
||||||
47071^Geschlecht^37^0^0^140^80^1^char^30^0^1^<<SQL>> select apnr, name from xcube_dims where id='auspraegung_code_3' order by 1^hidden^^ |
|
||||||
47072^Felder^125^0^0^150^190^10^char^30^0^999^<<SQL>>\ |
|
||||||
--freemarker template\ |
|
||||||
select trim(F.table_name) || '.' || F.name,trim(T.caption) || ':' || trim(F.caption) || ' - ' || trim(F.name) from sx_fields F,\ |
|
||||||
sx_tables T where F.table_name=T.name and F.currentlyused=1\ |
|
||||||
--Pseudonyme eingeschaltet:\ |
|
||||||
and (F.name != 'matrikel_nr' or 0=(select \ |
|
||||||
count(*) from konstanten where beschreibung='SOS_MTKNR_EXT'\ |
|
||||||
and apnr=1)) \ |
|
||||||
<#if <<tablestylesheet>>='tabelle_html_datenblatt.xsl'>\ |
|
||||||
and (F.table_name ='sos_stg_aggr'\ |
|
||||||
/* or F.table_name in (<<Weitere Tabellen>>) */) \ |
|
||||||
<#else>\ |
|
||||||
and trim(F.table_name) || '.' || F.name in (select trim(tablename)||'.'||trim(fieldname) from stylesheet_field where stylesheet_id in \ |
|
||||||
(select tid from sx_stylesheets where filename=<<tablestylesheet>>))\ |
|
||||||
</#if>\ |
|
||||||
order by 2;^^^ |
|
||||||
47073^Nationalität^38^0^0^100^150^3^char^30^0^1^<<SQL>> select apnr, name from xcube_dims where id='auspraegung_code_2' order by 1^hidden^ ^ |
|
||||||
47074^Schlüssel anzeigen^150^0^0^100^100^1^integer^30^1^999^<<SQL>> select 1,'Ja' from xdummy union select 0,'Nein' from xdummy^^<<SQL>> select 1,'Ja' from xdummy^ |
|
||||||
47075^Ansicht in Ergebniszeilen^121^0^0^100^200^1^char^200^1^1^<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_rowdim=1 order by 2^hidden^<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_rowdefault=1^ |
|
||||||
47076^Ansicht in Ergebnisspalten^2001^0^0^100^150^1^char^200^1^1^<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_coldim=1 order by 2^hidden^<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_coldefault=1^ |
|
||||||
47079^Leere Zeilen ausblenden^130^350^-1^140^80^1^char^30^0^1^<<SQL>> select 'ja','ja' from xdummy union select 'nein','nein' from xdummy^ ^<<SQL>> select 'ja','ja' from xdummy^ |
|
||||||
47080^Leere Spalten ausblenden^2020^0^0^100^100^1^char^30^0^1^<<SQL>> select 'ja','ja' from xdummy union select 'nein','nein' from xdummy^^<<SQL>> select 'ja','ja' from xdummy^ |
|
||||||
47083^2.Ansicht in Zeilen^125^0^0^100^100^1^char^50^0^999^<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=${Maskennummer} and is_secondrowdim=1 order by 1^hidden^1^ |
|
||||||
47084^Visualisierung auf Ebene^10001^0^0^140^80^1^integer^30^0^0^ ^^^ |
|
||||||
47088^Spaltenvisualisierung^10000^0^0^140^80^1^char^30^0^1^<<SQL>> select '_graph','Balken (horiz. linksb.)' from xdummy\ |
|
||||||
union select '_graphbarright','Balken (horiz. rechtsb.)' from xdummy\ |
|
||||||
union select '_graphbaralternating','Balken (horiz. rechtsb./linksb.)' from xdummy\ |
|
||||||
union select '_sparkbar','Balkendiagramm' from xdummy\ |
|
||||||
where 0 < (select count(*) from sx_stylesheets where filename='tabelle_html_viz.xsl')\ |
|
||||||
union select '_sparkline','Liniendiagramm' from xdummy\ |
|
||||||
where 0 < (select count(*) from sx_stylesheets where filename='tabelle_html_viz.xsl')\ |
|
||||||
order by 1^^^ |
|
||||||
47089^Zeilenfilter bis Ebene^140^0^0^140^80^1^integer^30^0^0^ ^^^ |
|
||||||
@ -1,30 +0,0 @@ |
|||||||
47060^47060^ |
|
||||||
47060^47061^ |
|
||||||
47060^47062^ |
|
||||||
47060^47063^ |
|
||||||
47060^47064^ |
|
||||||
47060^47065^ |
|
||||||
47060^47066^ |
|
||||||
47060^47067^ |
|
||||||
47060^47068^ |
|
||||||
47060^47069^ |
|
||||||
47060^47070^ |
|
||||||
47060^47071^ |
|
||||||
47060^47072^ |
|
||||||
47060^47073^ |
|
||||||
47060^47074^ |
|
||||||
47060^47075^ |
|
||||||
47060^47076^ |
|
||||||
47060^47077^ |
|
||||||
47060^47078^ |
|
||||||
47060^47079^ |
|
||||||
47060^47080^ |
|
||||||
47060^47081^ |
|
||||||
47060^47082^ |
|
||||||
47060^47083^ |
|
||||||
47060^47084^ |
|
||||||
47060^47085^ |
|
||||||
47060^47086^ |
|
||||||
47060^47087^ |
|
||||||
47060^47088^ |
|
||||||
47060^47089^ |
|
||||||
@ -1 +0,0 @@ |
|||||||
47060^Gesamtbericht Studierende nach Geschlecht und Nationalität^ ^ ^Altersgruppe^Anzahl^Makro zu Studierendenzahlen. Es ruft die Abfrage Kreuztabelle Studierendenzahlen auf: Ausgaben zu Geschlecht-Semester, Nationalität-Semester, Geschlecht-Hochschule, Nationalität-Hochschule^ ^ ^1^700^360^0^1^ ^ |
|
||||||
@ -1,8 +0,0 @@ |
|||||||
47090^Hochschule^10^0^0^100^150^1^char^30^1^12^<<SQL>> select tid, type, name,sortnr from sichten where art in('SXC-Kostenstellen-Sicht') and aktiv=1 order by sortnr, name;^^ ^ |
|
||||||
47091^Semester^1^0^0^130^80^1^integer^30^0^1^<<SQL>> select tid,druck from kenn_semester order by tid DESC;^^<<SQL>> select tid,druck from kenn_semester where today() between sem_beginn and sem_ende;^ |
|
||||||
47092^Abschluss^40^0^0^100^200^5^char^30^0^1^<<SQL>> select astat, dtxt from kenn_abschl_astat where struktur_c='Abschluss (amtlich)' order by 2;^^^ |
|
||||||
47093^Hochschulart^15^0^0^170^200^1^integer^30^0^1^<<SQL>> select laufnummer,bezeichnung from sxc_hsk_hochschultypen order by 1^ ^ ^ |
|
||||||
47094^Stichwort^60^0^0^170^100^1^char^30^0^0^^^ ^ |
|
||||||
47095^Standort^20^0^0^170^100^1^char^30^0^1^<<SQL>> select standort_nr, trim(kurzname) || ' Standort ' || standort_ort from sxc_hochschulen_standorte where 1=1 /* and hs_nr in <@printkeys Hochschule.allNeededKeysList/> --<<Hochschule>> */ order by 2;^^ ^ |
|
||||||
47096^Trägerschaft^17^0^0^170^200^1^integer^30^0^1^<<SQL>> select laufnummer,bezeichnung from sxc_hsk_traegerschaftstypen order by 1^ ^ ^ |
|
||||||
47097^Fächer^30^0^0^100^200^1^char^30^0^12^<<SQL>> select tid,name,sortnr from sichten where art='KENN-Fächer-Sicht' order by sortnr,name;^^^ |
|
||||||
@ -1,8 +0,0 @@ |
|||||||
47090^47090^ |
|
||||||
47090^47091^ |
|
||||||
47090^47092^ |
|
||||||
47090^47093^ |
|
||||||
47090^47094^ |
|
||||||
47090^47095^ |
|
||||||
47090^47096^ |
|
||||||
47090^47097^ |
|
||||||
@ -1,81 +0,0 @@ |
|||||||
47090^Studiengangskombinationen NRW^--Freemarker Template\ |
|
||||||
<#include "SQL_lingua_franca"/>\ |
|
||||||
<#include "SuperX_general"/>\ |
|
||||||
\ |
|
||||||
SELECT --hs_nr,\ |
|
||||||
hochschulstandort,\ |
|
||||||
-- gueltig_ab_semester,\ |
|
||||||
-- gueltig_bis_semester,\ |
|
||||||
-- studienfach_land,\ |
|
||||||
studienfach_name,\ |
|
||||||
-- abschluss_land,\ |
|
||||||
-- stufrm,\ |
|
||||||
abschluss_name,\ |
|
||||||
regelstudienzeit,\ |
|
||||||
lehreinheit,\ |
|
||||||
studienfach_hochschule_name,\ |
|
||||||
array_to_string(array_agg(distinct stufrm_name order by stufrm_name),', ','') as stufrm_name,\ |
|
||||||
-- studientyp,\ |
|
||||||
array_to_string(array_agg(distinct studientyp_str order by studientyp_str),', ','') as studientyp_str\ |
|
||||||
from sxc_itnrw_sfmk S\ |
|
||||||
where 1=1\ |
|
||||||
/* and <<Semester>> between gueltig_ab_semester and gueltig_bis_semester */\ |
|
||||||
\ |
|
||||||
/* and studienfach_land in (select L.schluessel from k_astat_studienfach_land L\ |
|
||||||
where '0' || L.keybund in <@printkeys Fächer.allNeededKeysList/> \ |
|
||||||
and L.land=5) --<<Fächer>> */\ |
|
||||||
\ |
|
||||||
/* and abschluss_land in (select substring(L.schluessel from 2 for 2) from k_astat_abschluss3steller_land L\ |
|
||||||
where substring(L.keybund from 2 for 2) in (<<Abschluss>>)\ |
|
||||||
and L.land=5) */\ |
|
||||||
\ |
|
||||||
/* and hs_nr::varchar(255) in <@printkeys Hochschule.allNeededKeysList/> --<<Hochschule>> */\ |
|
||||||
\ |
|
||||||
/* and (position(<<Stichwort>> in studienfach_hochschule_name) >0 */\ |
|
||||||
/* OR position(<<Stichwort>> in studienfach_name) >0 */\ |
|
||||||
/* OR position(<<Stichwort>> in abschluss_name) >0 ) */\ |
|
||||||
\ |
|
||||||
/* and hs_nr in (select H.hs_nr from sxc_hochschulen H,sxc_hochschulen_hsk HSK, sxc_hsk_hochschultypen T\ |
|
||||||
where HSK.hsnr=H.hsk_laufnummer\ |
|
||||||
and HSK.hochschultyp = T.bezeichnung\ |
|
||||||
and T.laufnummer=<<Hochschulart>> ) */ \ |
|
||||||
\ |
|
||||||
/* and hs_nr in (select H.hs_nr from sxc_hochschulen H,sxc_hochschulen_hsk HSK, sxc_hsk_traegerschaftstypen T\ |
|
||||||
where HSK.hsnr=H.hsk_laufnummer\ |
|
||||||
and HSK.traegerschaft= T.bezeichnung\ |
|
||||||
and T.laufnummer=<<Trägerschaft>> ) */ \ |
|
||||||
\ |
|
||||||
/* and standort_nr in (<<Standort>>) */\ |
|
||||||
group by 1,2,3,4,5,6\ |
|
||||||
order by 1,2,3,4,5,6\ |
|
||||||
;^XIL List\ |
|
||||||
sizable_columns horizontal_scrolling\ |
|
||||||
white_space_color=COLOR_WHITE fixed_columns=1\ |
|
||||||
drop_and_delete movable_columns\ |
|
||||||
min_heading_height=55\ |
|
||||||
Column CID=0 heading_text="Hochschule" explanation="@@@sos_semester@@@" center_heading\ |
|
||||||
row_selectable heading_platform readonly\ |
|
||||||
width=10\ |
|
||||||
Column CID=1 heading_text="Studienfach" explanation="@@@sos_gesamtzahl@@@" center_heading\ |
|
||||||
row_selectable col_selectable rightJust heading_platform\ |
|
||||||
readonly\ |
|
||||||
width=8\ |
|
||||||
Column CID=2 heading_text="Abschluss" explanation="" center_heading\ |
|
||||||
row_selectable col_selectable rightJust heading_platform readonly\ |
|
||||||
width=8\ |
|
||||||
Column CID=2 heading_text="Regelstudienzeit" explanation="" center_heading\ |
|
||||||
row_selectable col_selectable rightJust heading_platform readonly\ |
|
||||||
width=8\ |
|
||||||
Column CID=3 heading_text="Lehreinheit" explanation="" center_heading\ |
|
||||||
row_selectable col_selectable rightJust heading_platform readonly\ |
|
||||||
width=8\ |
|
||||||
Column CID=2 heading_text="Studiengangname Hochschule" explanation="" center_heading\ |
|
||||||
row_selectable col_selectable rightJust heading_platform readonly\ |
|
||||||
width=8\ |
|
||||||
Column CID=2 heading_text="Studienform" explanation="" center_heading\ |
|
||||||
row_selectable col_selectable rightJust heading_platform readonly\ |
|
||||||
width=8\ |
|
||||||
Column CID=2 heading_text="Studiumstyp" explanation="" center_heading\ |
|
||||||
row_selectable col_selectable rightJust heading_platform readonly\ |
|
||||||
width=8\ |
|
||||||
@@@^Semester^Anzahl^je Semester mit Geschlechtsangabe und Prozentwert^ ^-leer-^3^700^360^0^1^Quelle: https://www.it.nrw/system/files/media/document/file/studienfachmerkmalskombination_internetversion.xlsx^ |
|
||||||
@ -1,26 +0,0 @@ |
|||||||
47110^End Semester^5^0^0^150^100^1^integer^30^0^1^<<SQL>> select tid,druck from kenn_semester order by tid DESC;^ ^<<SQL>> select tid,druck from kenn_semester where today() between sem_beginn and sem_ende;^ |
|
||||||
47111^Stat. Kennzahl^80^0^0^150^150^6^char^30^0^1^<<SQL>> select apnr,druck from kenn_stichtagsart where aktiv='1'\ |
|
||||||
and (select apnr from konstanten where beschreibung='KENN_PROFIL') in (5,6)\ |
|
||||||
and 0!=(select count(*) from kenn_bestandsart_bland B, kenn_bestandsart K\ |
|
||||||
where B.bestandsart=K.apnr\ |
|
||||||
and K.stichtagsart_id=kenn_stichtagsart.apnr\ |
|
||||||
and B.bland ='SA')\ |
|
||||||
union\ |
|
||||||
select apnr,druck from kenn_stichtagsart where aktiv='1'\ |
|
||||||
and (select apnr from konstanten where beschreibung='KENN_PROFIL') in (1,2,3,4)\ |
|
||||||
and 0!=(select count(*) from kenn_bestandsart_bland B, kenn_bestandsart K\ |
|
||||||
where B.bestandsart=K.apnr\ |
|
||||||
and K.stichtagsart_id=kenn_stichtagsart.apnr\ |
|
||||||
and B.bland ='BW')\ |
|
||||||
order by 1,2\ |
|
||||||
;^ ^ ^ |
|
||||||
47112^End-Jahr^7^360^-1^100^50^1^integer^30^0^1^<<SQL>> SELECT distinct ord,name FROM aggregierung where kategorie='KENN-Jahr' order by 1;^ ^<<SQL>> SELECT ord,name FROM aggregierung where kategorie='KENN-Jahr' and ord=(year(today())-1) ;^ |
|
||||||
47113^nur zu berechnende Kennzahlen^110^0^0^150^50^1^char^30^0^999^<<SQL>> select '1','Ja' from xdummy union select '0','Nein' from xdummy;^ ^ ^ |
|
||||||
47114^Kennzahl Nr.^90^0^0^150^30^1^char^4^0^0^^ ^ ^ |
|
||||||
47115^Hochschule^1^0^0^150^200^5^char^30^0^12^<<SQL>> select tid, type, name,sortnr from sichten where art in('SXC_Hochschulen-Sicht') and aktiv=1 order by sortnr desc, name;^ ^ ^ |
|
||||||
47116^nur zu exportierende Kennzahlen^120^360^-1^100^50^1^char^30^0^999^<<SQL>> select '1','Ja' from xdummy union select '0' ,'Nein' from xdummy;^ ^ ^ |
|
||||||
47117^Filter bis Ebene^25^0^0^150^20^1^integer^30^0^0^^ ^1^ |
|
||||||
47118^Bericht^100^360^-1^100^200^1^char^30^1^1^<<SQL>> select 'MKWNRW_1','MKW NRW Hochschulkennzahlen';^ ^<<SQL>>select 'MKWNRW_1','MKW NRW Hochschulkennzahlen';^ |
|
||||||
47119^Start-Jahr^6^360^-1^100^50^1^integer^30^0^1^<<SQL>> SELECT distinct ord,name FROM aggregierung where kategorie='KENN-Jahr' order by 1;^ ^<<SQL>> SELECT ord,name FROM aggregierung where kategorie='KENN-Jahr' and ord=(year(today())-1) ;^ |
|
||||||
47120^Start Semester^4^0^0^150^100^1^integer^30^0^1^<<SQL>> select tid,druck from kenn_semester order by tid DESC;^ ^<<SQL>> select tid,druck from kenn_semester where today() between sem_beginn and sem_ende;^ |
|
||||||
47121^oder^30^0^0^120^200^1^char^30^0^13^^ ^ ^ |
|
||||||
@ -1,12 +0,0 @@ |
|||||||
47110^47110^ |
|
||||||
47110^47111^ |
|
||||||
47110^47112^ |
|
||||||
47110^47113^ |
|
||||||
47110^47114^ |
|
||||||
47110^47115^ |
|
||||||
47110^47116^ |
|
||||||
47110^47117^ |
|
||||||
47110^47118^ |
|
||||||
47110^47119^ |
|
||||||
47110^47120^ |
|
||||||
47110^47121^ |
|
||||||
@ -1,817 +0,0 @@ |
|||||||
47110^Stammdaten NRW^--Freemarker Template\ |
|
||||||
<#include "SQL_lingua_franca"/>\ |
|
||||||
<#include "SuperX_general"/>\ |
|
||||||
\ |
|
||||||
-- ################\ |
|
||||||
-- # Erläuterung: #\ |
|
||||||
-- ################\ |
|
||||||
-- bezugsart:\ |
|
||||||
-- Q = Quartal\ |
|
||||||
-- S = Semester\ |
|
||||||
-- J = Jahr\ |
|
||||||
-- A = Akademisches Jahr BW\ |
|
||||||
-- B = Beginner SA (Studeinanfäger)\ |
|
||||||
-- P = Prüfungen SA (Absolventen) (war früher U)\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
--######################################\ |
|
||||||
\ |
|
||||||
--start ergtabelle \ |
|
||||||
<sqlvars>\ |
|
||||||
<sqlvar name="kenn_katalog" type="hashsequence"><![CDATA[\ |
|
||||||
<#assign kennznr="<<Kennzahl Nr.>>"?replace("'","")?replace("*","%")+"%"/>\ |
|
||||||
\ |
|
||||||
select trim(K.id) as id,trim(R.gruppe_1) as gruppe_1,\ |
|
||||||
trim(R.gruppe_2) as gruppe_2,\ |
|
||||||
trim(K.name) as name,\ |
|
||||||
trim(K.quelltabelle) as quelltabelle,\ |
|
||||||
trim(K.quellfeld) as quellfeld,\ |
|
||||||
K.bedingung as bedingung,\ |
|
||||||
trim(K.stichtagsart) as stichtagsart,\ |
|
||||||
trim(K.bezugsart) as bezugsart,\ |
|
||||||
trim(K.zeitfeld) as zeitfeld,\ |
|
||||||
R.ebene,\ |
|
||||||
R.ord_nr,\ |
|
||||||
K.einheit,\ |
|
||||||
K.beschreibung\ |
|
||||||
FROM kenn_katalog K, kenn_katalog_rpt R\ |
|
||||||
where K.id=R.katalog_id\ |
|
||||||
and R.report_id=<<Bericht>>\ |
|
||||||
/* and R.gruppe_1 like ('${kennznr}') and <<Kennzahl Nr.>>!='muss sein, da der Feld optional ist' */\ |
|
||||||
/* and K.stichtagsart in (select druck from kenn_stichtagsart where aktiv='1' and apnr in (<<Stat. Kennzahl>>)) */\ |
|
||||||
--Sortierung nach ord_nr wichtig wg. Querabhängigkeiten\ |
|
||||||
order by 12;\ |
|
||||||
]]>\ |
|
||||||
</sqlvar>\ |
|
||||||
\ |
|
||||||
<sqlvar name="sem_akad_bw_von">\ |
|
||||||
select min(tid) from kenn_semester\ |
|
||||||
where 1=1\ |
|
||||||
/* and get_akad_jahr(tid,'A') >= <<Start-Jahr>> */\ |
|
||||||
/* and get_akad_jahr(tid,'A') <= <<End-Jahr>> */;\ |
|
||||||
</sqlvar>\ |
|
||||||
<sqlvar name="sem_akad_bw_bis">\ |
|
||||||
select max(tid) from kenn_semester\ |
|
||||||
where 1=1\ |
|
||||||
/* and get_akad_jahr(tid,'A') >= <<Start-Jahr>> */\ |
|
||||||
/* and get_akad_jahr(tid,'A') <= <<End-Jahr>> */;\ |
|
||||||
</sqlvar>\ |
|
||||||
<sqlvar name="jahr_akad_bw_von">\ |
|
||||||
select min(ord) from aggregierung\ |
|
||||||
where kategorie='KENN-Jahr'\ |
|
||||||
/* and ord >= <<Start-Jahr>> */\ |
|
||||||
/* and ord <= <<End-Jahr>> */;\ |
|
||||||
</sqlvar>\ |
|
||||||
<sqlvar name="jahr_akad_bw_bis">\ |
|
||||||
select max(ord) from aggregierung\ |
|
||||||
where kategorie='KENN-Jahr'\ |
|
||||||
/* and ord >= <<Start-Jahr>> */\ |
|
||||||
/* and ord <= <<End-Jahr>> */;\ |
|
||||||
</sqlvar>\ |
|
||||||
<sqlvar name="sem_akad_sa_anf_von">\ |
|
||||||
select min(tid) from kenn_semester\ |
|
||||||
where 1=1\ |
|
||||||
/* and akad_jahr_anf >= <<Start-Jahr>> */\ |
|
||||||
/* and akad_jahr_anf <= <<End-Jahr>> */;\ |
|
||||||
</sqlvar>\ |
|
||||||
<sqlvar name="sem_akad_sa_anf_bis">\ |
|
||||||
select max(tid) from kenn_semester\ |
|
||||||
where 1=1\ |
|
||||||
/* and akad_jahr_anf >= <<Start-Jahr>> */\ |
|
||||||
/* and akad_jahr_anf <= <<End-Jahr>> */;\ |
|
||||||
</sqlvar>\ |
|
||||||
<sqlvar name="sem_akad_sa_absolv_von">\ |
|
||||||
select min(tid) from kenn_semester\ |
|
||||||
where 1=1\ |
|
||||||
/* and akad_jahr_absolv >= <<Start-Jahr>> */\ |
|
||||||
/* and akad_jahr_absolv <= <<End-Jahr>> */;\ |
|
||||||
</sqlvar>\ |
|
||||||
<sqlvar name="sem_akad_sa_absolv_bis">\ |
|
||||||
select max(tid) from kenn_semester\ |
|
||||||
where 1=1\ |
|
||||||
/* and akad_jahr_absolv >= <<Start-Jahr>> */\ |
|
||||||
/* and akad_jahr_absolv <= <<End-Jahr>> */;\ |
|
||||||
</sqlvar>\ |
|
||||||
</sqlvars>\ |
|
||||||
\ |
|
||||||
<#assign lfb_feldinhalt="''" />\ |
|
||||||
/* <#assign lfb_feldinhalt= .vars["Externes Produkt"].allNeededKeys /> --<<Externes Produkt>> */\ |
|
||||||
\ |
|
||||||
--URL-Parameter für LFB-Detailmaske Sachsen:\ |
|
||||||
<#assign seit_jahr_param="" />\ |
|
||||||
<#if "<<Start-Jahr>>" != "">\ |
|
||||||
<#assign seit_jahr_param="&Start-Jahr=<<Start-Jahr>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#assign bis_jahr_param="" />\ |
|
||||||
<#if "<<End-Jahr>>" != "">\ |
|
||||||
<#assign bis_jahr_param="&End-Jahr=<<End-Jahr>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#assign hochschule_param="" />\ |
|
||||||
<#if "<<Hochschule>>" != "">\ |
|
||||||
/* <#assign hs="<<Hochschule>>" /> */\ |
|
||||||
<#assign hochschule_param="&Hochschule="+ hs?replace("'", "") />\ |
|
||||||
</#if>\ |
|
||||||
\ |
|
||||||
create temp table tmp_kennz\ |
|
||||||
(\ |
|
||||||
tid integer,\ |
|
||||||
hs_nr integer,\ |
|
||||||
katalog_id CHAR(100),\ |
|
||||||
hochschule_str nchar(255),\ |
|
||||||
stichtagsart nchar(255),\ |
|
||||||
beschreibung char(255),\ |
|
||||||
zeitraum_int integer,\ |
|
||||||
zeitraum_str char(255), \ |
|
||||||
bezugsart char(1),\ |
|
||||||
ebene smallint,\ |
|
||||||
ord_nr smallint,\ |
|
||||||
gruppe_1 char(40),\ |
|
||||||
gruppe_2 char(40),\ |
|
||||||
betrag decimal(14,2),\ |
|
||||||
einheit char(255), \ |
|
||||||
erlaeuterung varchar(255),\ |
|
||||||
nextmask varchar(250),\ |
|
||||||
nexttable varchar(250),\ |
|
||||||
jahr integer,\ |
|
||||||
semester integer\ |
|
||||||
) <@informixnolog/>;\ |
|
||||||
create temp table tmp_kennz3\ |
|
||||||
(tid integer,\ |
|
||||||
hs_nr integer,\ |
|
||||||
katalog_id CHAR(100),\ |
|
||||||
hochschule_str nchar(255),\ |
|
||||||
stichtagsart nchar(255),\ |
|
||||||
beschreibung char(255),\ |
|
||||||
zeitraum_int integer,\ |
|
||||||
zeitraum_str char(255), \ |
|
||||||
bezugsart char(1),\ |
|
||||||
ebene smallint,\ |
|
||||||
gruppe_1 char(40),\ |
|
||||||
gruppe_2 char(40),\ |
|
||||||
betrag decimal(14,2),\ |
|
||||||
einheit char(255),\ |
|
||||||
erlaeuterung varchar(255)\ |
|
||||||
) <@informixnolog/>;\ |
|
||||||
\ |
|
||||||
create temp table tmp_betrag1\ |
|
||||||
(hs_nr integer,\ |
|
||||||
zeitraum_int integer,\ |
|
||||||
betrag decimal(14,2)\ |
|
||||||
) <@informixnolog/>;\ |
|
||||||
\ |
|
||||||
create temp table tmp_betrag2\ |
|
||||||
(hs_nr integer,\ |
|
||||||
zeitraum_int integer,\ |
|
||||||
betrag decimal(14,2)\ |
|
||||||
) <@informixnolog/>;\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
<#macro bedingung zeitfeld bezugsart stichtagsart>\ |
|
||||||
<#if zeitfeld='null::integer' >\ |
|
||||||
(1=1)\ |
|
||||||
<#else>\ |
|
||||||
<#switch bezugsart>\ |
|
||||||
<#case "A">\ |
|
||||||
--Akad. Studienjahr ist etwas komplizierter\ |
|
||||||
--Def.: WS + darauf folgendes SS des im Zähler betrachteten Studienjahres\ |
|
||||||
<#if zeitfeld='jahr' >\ |
|
||||||
(\ |
|
||||||
1=1 \ |
|
||||||
/*and jahr in\ |
|
||||||
(SELECT K.bezugszeit FROM kenn_stichtag K where K.bezugsart='J'\ |
|
||||||
and K.stichtagsart='${stichtagsart}' and K.exportieren=<<nur zu exportierende Kennzahlen>> ) */\ |
|
||||||
/* and jahr in\ |
|
||||||
(SELECT K.bezugszeit FROM kenn_stichtag K where K.bezugsart='J'\ |
|
||||||
and K.stichtagsart='${stichtagsart}' and K.berechnen=<<nur zu berechnende Kennzahlen>> ) */\ |
|
||||||
)\ |
|
||||||
<#else>\ |
|
||||||
--Semester\ |
|
||||||
(\ |
|
||||||
1=1\ |
|
||||||
/* and ${zeitfeld} in\ |
|
||||||
(SELECT K.bezugszeit FROM kenn_stichtag K where K.bezugsart='S'\ |
|
||||||
and K.stichtagsart='${stichtagsart}' and K.exportieren=<<nur zu exportierende Kennzahlen>>) */\ |
|
||||||
/* and ${zeitfeld} in\ |
|
||||||
(SELECT K.bezugszeit FROM kenn_stichtag K where K.bezugsart='S'\ |
|
||||||
and K.stichtagsart='${stichtagsart}' and K.berechnen=<<nur zu berechnende Kennzahlen>> )*/\ |
|
||||||
\ |
|
||||||
)\ |
|
||||||
</#if>\ |
|
||||||
<#break>\ |
|
||||||
\ |
|
||||||
<#default>\ |
|
||||||
1=1\ |
|
||||||
/* and ${zeitfeld} in (SELECT K.bezugszeit FROM kenn_stichtag K where K.bezugsart='${bezugsart}'\ |
|
||||||
and K.stichtagsart='${stichtagsart}'\ |
|
||||||
and K.exportieren=<<nur zu exportierende Kennzahlen>>) */\ |
|
||||||
/* and ${zeitfeld} in (SELECT K.bezugszeit FROM kenn_stichtag K where K.bezugsart='${bezugsart}'\ |
|
||||||
and K.stichtagsart='${stichtagsart}'\ |
|
||||||
and K.berechnen=<<nur zu berechnende Kennzahlen>>) */\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
</#switch>\ |
|
||||||
</#if>\ |
|
||||||
</#macro>\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
--Erste Schleife für alle zu berechnenden Werte, wo quelltabelle gefüllt ist\ |
|
||||||
<#if kenn_katalog?has_content >\ |
|
||||||
<#foreach row_kennzahl in kenn_katalog>\ |
|
||||||
<#if row_kennzahl.id != "dummy" && row_kennzahl.id != "dummy1">\ |
|
||||||
--Variablen erheben\ |
|
||||||
<#assign quelltabelle= row_kennzahl.quelltabelle />\ |
|
||||||
<#assign quellfeld= row_kennzahl.quellfeld />\ |
|
||||||
<#assign filter= row_kennzahl.bedingung />\ |
|
||||||
<#assign stichtagsart= row_kennzahl.stichtagsart />\ |
|
||||||
<#assign bezugsart= row_kennzahl.bezugsart />\ |
|
||||||
<#assign zeitfeld= row_kennzahl.zeitfeld />\ |
|
||||||
<#assign ebene= row_kennzahl.ebene />\ |
|
||||||
<#assign ord_nr= row_kennzahl.ord_nr />\ |
|
||||||
<#assign gruppe_1= row_kennzahl.gruppe_1 />\ |
|
||||||
<#assign gruppe_2= row_kennzahl.gruppe_2 />\ |
|
||||||
<#assign einheit= row_kennzahl.einheit />\ |
|
||||||
<#assign beschreibung= row_kennzahl.beschreibung />\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
<#assign zeit_bedingung="1=1" />\ |
|
||||||
\ |
|
||||||
<#switch bezugsart>\ |
|
||||||
<#case "Q">\ |
|
||||||
<#if "<<Start-Jahr>>" != "" && "<<End-Jahr>>" != "">\ |
|
||||||
<#assign zeit_bedingung= "jahr between <<Start-Jahr>> and <<End-Jahr>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#if "<<Start-Jahr>>" = "" && "<<End-Jahr>>" != "">\ |
|
||||||
<#assign zeit_bedingung= "jahr <= <<End-Jahr>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#if "<<Start-Jahr>>" != "" && "<<End-Jahr>>" = "">\ |
|
||||||
<#assign zeit_bedingung= "jahr >= <<Start-Jahr>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#break>\ |
|
||||||
<#case "S">\ |
|
||||||
<#if "<<Start Semester>>" != "" && "<<End Semester>>" != "">\ |
|
||||||
<#assign zeit_bedingung= zeitfeld + " between <<Start Semester>> and <<End Semester>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#if "<<Start Semester>>" = "" && "<<End Semester>>" != "">\ |
|
||||||
<#assign zeit_bedingung= zeitfeld + " <= <<End Semester>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#if "<<Start Semester>>" != "" && "<<End Semester>>" = "">\ |
|
||||||
<#assign zeit_bedingung= zeitfeld + " >= <<Start Semester>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#if "<<Start-Jahr>>" != "" && "<<End-Jahr>>" != "">\ |
|
||||||
<#assign zeit_bedingung= "get_akad_jahr("+zeitfeld+",'B') between <<Start-Jahr>> and <<End-Jahr>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#if "<<Start-Jahr>>" = "" && "<<End-Jahr>>" != "">\ |
|
||||||
<#assign zeit_bedingung= "get_akad_jahr("+zeitfeld+",'B') <= <<End-Jahr>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#if "<<Start-Jahr>>" != "" && "<<End-Jahr>>" = "">\ |
|
||||||
<#assign zeit_bedingung= "get_akad_jahr("+zeitfeld+",'B') >= <<Start-Jahr>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#break>\ |
|
||||||
<#case "J">\ |
|
||||||
<#if "<<Start-Jahr>>" != "" && "<<End-Jahr>>" != "">\ |
|
||||||
<#assign zeit_bedingung= zeitfeld + " between <<Start-Jahr>> and <<End-Jahr>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#if "<<Start-Jahr>>" = "" && "<<End-Jahr>>" != "">\ |
|
||||||
<#assign zeit_bedingung= zeitfeld + " <= <<End-Jahr>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#if "<<Start-Jahr>>" != "" && "<<End-Jahr>>" = "">\ |
|
||||||
<#assign zeit_bedingung= zeitfeld + " >= <<Start-Jahr>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#break>\ |
|
||||||
<#case "A">\ |
|
||||||
<#if zeitfeld="sem">\ |
|
||||||
<#if sem_akad_bw_von?trim != "">\ |
|
||||||
<#assign zeit_bedingung= zeit_bedingung+ " and " + zeitfeld + ">="+ sem_akad_bw_von />\ |
|
||||||
</#if>\ |
|
||||||
<#if sem_akad_bw_bis?trim != "">\ |
|
||||||
<#assign zeit_bedingung= zeit_bedingung+ " and "+ zeitfeld + "<="+ sem_akad_bw_bis />\ |
|
||||||
</#if>\ |
|
||||||
</#if>\ |
|
||||||
<#if zeitfeld?index_of("jahr") > -1 >\ |
|
||||||
<#if jahr_akad_bw_von?trim != "">\ |
|
||||||
<#assign zeit_bedingung= zeit_bedingung+ " and " + zeitfeld + ">="+ jahr_akad_bw_von />\ |
|
||||||
</#if>\ |
|
||||||
<#if jahr_akad_bw_bis?trim != "">\ |
|
||||||
<#assign zeit_bedingung= zeit_bedingung+ " and "+ zeitfeld + "<="+ jahr_akad_bw_bis />\ |
|
||||||
</#if>\ |
|
||||||
</#if>\ |
|
||||||
<#break>\ |
|
||||||
<#case "B">\ |
|
||||||
<#if sem_akad_sa_anf_von?trim != "">\ |
|
||||||
<#assign zeit_bedingung= zeit_bedingung+ " and " + zeitfeld + ">="+ sem_akad_sa_anf_von />\ |
|
||||||
</#if>\ |
|
||||||
<#if sem_akad_sa_anf_bis?trim != "">\ |
|
||||||
<#assign zeit_bedingung= zeit_bedingung+ " and "+ zeitfeld + "<="+ sem_akad_sa_anf_bis />\ |
|
||||||
</#if>\ |
|
||||||
<#break>\ |
|
||||||
<#case "P">\ |
|
||||||
<#if sem_akad_sa_absolv_von?trim != "">\ |
|
||||||
<#assign zeit_bedingung= zeit_bedingung+ " and "+ zeitfeld + " >="+ sem_akad_sa_absolv_von />\ |
|
||||||
</#if>\ |
|
||||||
<#if sem_akad_sa_absolv_bis?trim != "">\ |
|
||||||
<#assign zeit_bedingung= zeit_bedingung+ " and "+ zeitfeld + "<="+ sem_akad_sa_absolv_bis />\ |
|
||||||
</#if>\ |
|
||||||
\ |
|
||||||
<#break>\ |
|
||||||
<#default>\ |
|
||||||
<#assign zeit_bedingung= "1=1" />\ |
|
||||||
</#switch>\ |
|
||||||
\ |
|
||||||
--Zuerst die Felder, die aus KENN-Tabellen generiert werden\ |
|
||||||
--Achtung: die folgenden Tabellennamen müssen auch in Maske 18000 eingetragen werden\ |
|
||||||
<#assign lfb_colname="" />\ |
|
||||||
<#if quelltabelle != "" >\ |
|
||||||
<#if quelltabelle=="kenn_sos_stg" || quelltabelle=="kenn_sos_lab" \ |
|
||||||
|| quelltabelle=="kenn_sos_stg" || quelltabelle=="kenn_flaeche"\ |
|
||||||
|| quelltabelle=="kenn_pbv_aggr" || quelltabelle=="kenn_konto_aggr"\ |
|
||||||
|| quelltabelle=="kenn_anlagen_aggr" || quelltabelle=="kenn_stupl">\ |
|
||||||
<#assign lfb_colname="extkotr" />\ |
|
||||||
</#if>\ |
|
||||||
<#if quelltabelle== "kenn_busa_aggr">\ |
|
||||||
<#assign lfb_colname="projnr" />\ |
|
||||||
</#if>\ |
|
||||||
<#if quelltabelle== "kenn_vtbu_aggr">\ |
|
||||||
<#assign lfb_colname="ziel_projnr" />\ |
|
||||||
</#if>\ |
|
||||||
<#if quelltabelle== "kenn_zahl_wert">\ |
|
||||||
<#if row_kennzahl.id == "FORSCH_HABILITATION_KOEPFE">\ |
|
||||||
<#assign lfb_colname="ch110_institut" />\ |
|
||||||
<#else>\ |
|
||||||
<#if row_kennzahl.id == "LEHR_UNBER_ANG" || row_kennzahl.id == "LEHRANG_LEHRAUFTRAEGE" >\ |
|
||||||
<#assign lfb_colname="(select min(substring(SG.key_ext from 1 for 10)) from kenn_inst_to_ext SG where SG.hs_nr=kenn_zahl_wert.hs_nr and SG.instnr=kenn_zahl_wert.ch110_institut)" />\ |
|
||||||
<#else>\ |
|
||||||
<#assign lfb_colname="(select min(SG.k_extkotr) from kenn_stug SG where SG.hs_nr=kenn_zahl_wert.hs_nr and SG.stug_key=kenn_zahl_wert.stugkey)" />\ |
|
||||||
</#if>\ |
|
||||||
</#if>\ |
|
||||||
</#if>\ |
|
||||||
<#if quelltabelle== "kenn_su_imp_stud" || quelltabelle== "kenn_auslastung" || quelltabelle== "kenn_proj_gege">\ |
|
||||||
<#assign lfb_colname="k_extkotr" />\ |
|
||||||
</#if>\ |
|
||||||
\ |
|
||||||
insert into tmp_kennz(\ |
|
||||||
hs_nr ,\ |
|
||||||
katalog_id,\ |
|
||||||
stichtagsart ,\ |
|
||||||
beschreibung ,\ |
|
||||||
zeitraum_int,\ |
|
||||||
bezugsart,\ |
|
||||||
ebene,\ |
|
||||||
ord_nr,\ |
|
||||||
gruppe_1,\ |
|
||||||
gruppe_2,\ |
|
||||||
betrag,\ |
|
||||||
einheit,\ |
|
||||||
erlaeuterung)\ |
|
||||||
\ |
|
||||||
select hs_nr,\ |
|
||||||
'${row_kennzahl.id}'::char(100),\ |
|
||||||
'${stichtagsart}'::nchar(255),\ |
|
||||||
'${row_kennzahl.name}' <#if bezugsart = "A" || bezugsart = "P" || bezugsart = "B" && zeitfeld?index_of("sem") > -1 && quelltabelle != ""> || nvl(' (' || (select trim(min(kurz)) from kenn_semester where tid=${quelltabelle}.${zeitfeld}) || ')','') </#if>,\ |
|
||||||
<#if (bezugsart = "A" || bezugsart = "P" || bezugsart = "B") && zeitfeld?index_of("sem") > -1>\ |
|
||||||
--akad. Jahr automatisch ermitteln\ |
|
||||||
get_akad_jahr(${zeitfeld},'${bezugsart}'),\ |
|
||||||
--val(substring('' || ${zeitfeld} from 1 for 4)),\ |
|
||||||
<#else>\ |
|
||||||
${zeitfeld},\ |
|
||||||
</#if>\ |
|
||||||
'${bezugsart}'::char(1),\ |
|
||||||
${ebene}::smallint,\ |
|
||||||
${ord_nr}::smallint,\ |
|
||||||
'${gruppe_1}'::char(40),\ |
|
||||||
'${gruppe_2}'::char(40),\ |
|
||||||
${quellfeld},\ |
|
||||||
'${einheit}'::varchar(255),\ |
|
||||||
'${beschreibung}'::varchar(255)\ |
|
||||||
from xdummy left outer join ${quelltabelle} on ( \ |
|
||||||
<@bedingung zeitfeld="${zeitfeld}" bezugsart="${bezugsart}" stichtagsart="${stichtagsart}"/>\ |
|
||||||
${filter}\ |
|
||||||
and ${zeit_bedingung}\ |
|
||||||
and LPAD(hs_nr::TEXT, 4, '0') in <@printkeys .vars["Hochschule"].allNeededKeys /> \ |
|
||||||
\ |
|
||||||
<#if lfb_feldinhalt != "''" && lfb_colname != "" >\ |
|
||||||
and ${lfb_colname} in ${lfb_feldinhalt}\ |
|
||||||
</#if>\ |
|
||||||
)\ |
|
||||||
--nicht doppelt einfügen\ |
|
||||||
where 0=(select count(*) from tmp_kennz K where K.katalog_id= '${row_kennzahl.id}' and (K.gruppe_1='${gruppe_1}' or K.gruppe_1 is null or trim(K.gruppe_1)=''))\ |
|
||||||
group by 1,2,3,4,5,6;\ |
|
||||||
</#if>\ |
|
||||||
</#if> --wenn nicht "dummy"\ |
|
||||||
</#foreach>\ |
|
||||||
</#if>\ |
|
||||||
<@selectintotmp select="*" source="tmp_kennz" target="tmp_kennz_basis">\ |
|
||||||
</@selectintotmp> <@informixnolog/>;\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
--nun die berechneten Kennzahlen\ |
|
||||||
<#list 1..5 as i>\ |
|
||||||
<#if kenn_katalog?has_content >\ |
|
||||||
<#foreach row_kennzahl in kenn_katalog>\ |
|
||||||
<#if row_kennzahl.id != "dummy">\ |
|
||||||
--Variablen erheben\ |
|
||||||
<#assign quelltabelle= row_kennzahl.quelltabelle />\ |
|
||||||
<#assign quellfeld= row_kennzahl.quellfeld />\ |
|
||||||
<#assign filter= row_kennzahl.bedingung />\ |
|
||||||
<#assign stichtagsart= row_kennzahl.stichtagsart />\ |
|
||||||
<#assign bezugsart= row_kennzahl.bezugsart />\ |
|
||||||
<#assign zeitfeld= row_kennzahl.zeitfeld />\ |
|
||||||
<#assign ebene= row_kennzahl.ebene />\ |
|
||||||
<#assign ord_nr= row_kennzahl.ord_nr />\ |
|
||||||
<#assign gruppe_1= row_kennzahl.gruppe_1 />\ |
|
||||||
<#assign gruppe_2= row_kennzahl.gruppe_2 />\ |
|
||||||
<#assign einheit= row_kennzahl.einheit />\ |
|
||||||
<#assign beschreibung= row_kennzahl.beschreibung />\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
<#switch bezugsart>\ |
|
||||||
<#case "Q">\ |
|
||||||
<#if "<<Start-Jahr>>" != "" && "<<End-Jahr>>" != "">\ |
|
||||||
<#assign zeit_bedingung= "jahr between <<Start-Jahr>> and <<End-Jahr>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#if "<<Start-Jahr>>" = "" && "<<End-Jahr>>" != "">\ |
|
||||||
<#assign zeit_bedingung= "jahr <= <<End-Jahr>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#if "<<Start-Jahr>>" != "" && "<<End-Jahr>>" = "">\ |
|
||||||
<#assign zeit_bedingung= "jahr >= <<Start-Jahr>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#break>\ |
|
||||||
<#case "S">\ |
|
||||||
<#if "<<Start Semester>>" != "" && "<<End Semester>>" != "">\ |
|
||||||
<#assign zeit_bedingung= zeitfeld + " between <<Start Semester>> and <<End Semester>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#if "<<Start Semester>>" = "" && "<<End Semester>>" != "">\ |
|
||||||
<#assign zeit_bedingung= zeitfeld + " <= <<End Semester>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#if "<<Start Semester>>" != "" && "<<End Semester>>" = "">\ |
|
||||||
<#assign zeit_bedingung= zeitfeld + " >= <<Start Semester>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#if "<<Start-Jahr>>" != "" && "<<End-Jahr>>" != "">\ |
|
||||||
<#assign zeit_bedingung= "get_akad_jahr("+zeitfeld+",'B') between <<Start-Jahr>> and <<End-Jahr>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#if "<<Start-Jahr>>" = "" && "<<End-Jahr>>" != "">\ |
|
||||||
<#assign zeit_bedingung= "get_akad_jahr("+zeitfeld+",'B') <= <<End-Jahr>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#if "<<Start-Jahr>>" != "" && "<<End-Jahr>>" = "">\ |
|
||||||
<#assign zeit_bedingung= "get_akad_jahr("+zeitfeld+",'B') >= <<Start-Jahr>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#break>\ |
|
||||||
<#case "J">\ |
|
||||||
<#if "<<Start-Jahr>>" != "" && "<<End-Jahr>>" != "">\ |
|
||||||
<#assign zeit_bedingung= zeitfeld + " between <<Start-Jahr>> and <<End-Jahr>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#if "<<Start-Jahr>>" = "" && "<<End-Jahr>>" != "">\ |
|
||||||
<#assign zeit_bedingung= zeitfeld + " <= <<End-Jahr>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#if "<<Start-Jahr>>" != "" && "<<End-Jahr>>" = "">\ |
|
||||||
<#assign zeit_bedingung= zeitfeld + " >= <<Start-Jahr>>" />\ |
|
||||||
</#if>\ |
|
||||||
<#break>\ |
|
||||||
<#case "A">\ |
|
||||||
<#assign zeit_bedingung= zeitfeld +" between "+sem_akad_bw_von+" and "+sem_akad_bw_bis />\ |
|
||||||
<#break>\ |
|
||||||
<#case "B">\ |
|
||||||
<#assign zeit_bedingung= zeitfeld +" between "+sem_akad_sa_anf_von+" and "+sem_akad_sa_anf_bis />\ |
|
||||||
<#break>\ |
|
||||||
<#case "P">\ |
|
||||||
<#assign zeit_bedingung= zeitfeld +" between "+sem_akad_sa_absolv_von+" and "+sem_akad_sa_absolv_bis />\ |
|
||||||
<#break>\ |
|
||||||
<#default>\ |
|
||||||
<#assign zeit_bedingung= "1=1" />\ |
|
||||||
</#switch>\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
--Jetzt die berechneten Felder:\ |
|
||||||
<#if quelltabelle = "" >\ |
|
||||||
\ |
|
||||||
--Bei berechneten Feldern steht in Quelltabelle nichts, dafür die Formel in Feldname\ |
|
||||||
<#assign rsnum=1 />\ |
|
||||||
\ |
|
||||||
<#if quellfeld?index_of("/") != -1 || quellfeld?index_of("*") != -1>\ |
|
||||||
<#if quellfeld?index_of("/") != -1>\ |
|
||||||
<#assign operator="/" />\ |
|
||||||
</#if>\ |
|
||||||
<#if quellfeld?index_of("*") != -1>\ |
|
||||||
<#assign operator="*" />\ |
|
||||||
</#if>\ |
|
||||||
<#list quellfeld?split(operator) as rs>\ |
|
||||||
<#if rsnum = 1>\ |
|
||||||
<#assign betrag1= rs />\ |
|
||||||
</#if>\ |
|
||||||
<#if rsnum = 2>\ |
|
||||||
<#assign betrag2= rs />\ |
|
||||||
</#if>\ |
|
||||||
<#assign rsnum= rsnum+1 />\ |
|
||||||
</#list>\ |
|
||||||
insert into tmp_betrag1(\ |
|
||||||
hs_nr ,\ |
|
||||||
zeitraum_int,\ |
|
||||||
betrag\ |
|
||||||
)\ |
|
||||||
select hs_nr,\ |
|
||||||
zeitraum_int,\ |
|
||||||
--sicherstellen dass keien Duplikate reinkommen, wenn eine Kennzahl mehrmals benutzt wird:\ |
|
||||||
min(betrag)\ |
|
||||||
from tmp_kennz \ |
|
||||||
where katalog_id='${betrag1}'\ |
|
||||||
group by 1,2;\ |
|
||||||
<#if betrag2?starts_with("2") || betrag2?starts_with("4") >\ |
|
||||||
--wenn betrag2 keine Variable, sondern eine Zahl ist (z.B. für AVG /2)\ |
|
||||||
--dann wird nur die 2 übernommen.\ |
|
||||||
insert into tmp_betrag2(\ |
|
||||||
hs_nr ,\ |
|
||||||
zeitraum_int,\ |
|
||||||
betrag\ |
|
||||||
)\ |
|
||||||
select hs_nr,\ |
|
||||||
zeitraum_int,\ |
|
||||||
${betrag2}\ |
|
||||||
from tmp_kennz \ |
|
||||||
where katalog_id='${betrag1}'; \ |
|
||||||
<#else>\ |
|
||||||
insert into tmp_betrag2(\ |
|
||||||
hs_nr ,\ |
|
||||||
zeitraum_int,\ |
|
||||||
betrag )\ |
|
||||||
select hs_nr,\ |
|
||||||
zeitraum_int,\ |
|
||||||
min(betrag)\ |
|
||||||
from tmp_kennz \ |
|
||||||
where katalog_id='${betrag2}'\ |
|
||||||
group by 1,2; \ |
|
||||||
</#if>\ |
|
||||||
insert into tmp_kennz3(\ |
|
||||||
hs_nr ,\ |
|
||||||
stichtagsart ,\ |
|
||||||
beschreibung ,\ |
|
||||||
zeitraum_int,\ |
|
||||||
bezugsart,\ |
|
||||||
ebene,\ |
|
||||||
gruppe_1,\ |
|
||||||
gruppe_2,\ |
|
||||||
betrag,\ |
|
||||||
einheit,\ |
|
||||||
erlaeuterung)\ |
|
||||||
select Z.hs_nr,\ |
|
||||||
'${stichtagsart}'::nchar(255),\ |
|
||||||
'${row_kennzahl.name}'::char(255) ,\ |
|
||||||
Z.zeitraum_int,\ |
|
||||||
'${bezugsart}'::char(1),\ |
|
||||||
${ebene},\ |
|
||||||
'${gruppe_1}',\ |
|
||||||
'${gruppe_2}',\ |
|
||||||
Z.betrag ${operator} N.betrag,\ |
|
||||||
'{einheit}',\ |
|
||||||
'{erlaeuterung}'\ |
|
||||||
from tmp_betrag1 Z, tmp_betrag2 N \ |
|
||||||
where 1=1\ |
|
||||||
<#if filter?trim = "">\ |
|
||||||
and (Z.zeitraum_int=N.zeitraum_int\ |
|
||||||
or (Z.zeitraum_int is null and N.zeitraum_int is null))\ |
|
||||||
<#else>\ |
|
||||||
--Wenn eine Kennzahl aus zwei nicht zusammenpassenden Zeiträumen gebildet wird,\ |
|
||||||
--(z.B. WS/HHJ) muss im Katalog das Feld bedingung gefüllt sein\ |
|
||||||
${filter}\ |
|
||||||
</#if>\ |
|
||||||
<#if operator="/">\ |
|
||||||
--keine Division durch 0\ |
|
||||||
and N.betrag != 0\ |
|
||||||
</#if>\ |
|
||||||
and Z.hs_nr=N.hs_nr;\ |
|
||||||
</#if>\ |
|
||||||
<#if quellfeld?index_of("+") != -1 >\ |
|
||||||
--Summe\ |
|
||||||
<#assign operator="+" />\ |
|
||||||
insert into tmp_kennz3(\ |
|
||||||
hs_nr ,\ |
|
||||||
stichtagsart ,\ |
|
||||||
beschreibung ,\ |
|
||||||
zeitraum_int,\ |
|
||||||
bezugsart,\ |
|
||||||
ebene,\ |
|
||||||
gruppe_1,\ |
|
||||||
gruppe_2,\ |
|
||||||
betrag,\ |
|
||||||
einheit,\ |
|
||||||
erlaeuterung) \ |
|
||||||
select hs_nr,\ |
|
||||||
'${stichtagsart}'::nchar(255),\ |
|
||||||
'${row_kennzahl.name}'::char(255) ,\ |
|
||||||
zeitraum_int,\ |
|
||||||
'${bezugsart}'::char(1),\ |
|
||||||
${ebene}::integer,\ |
|
||||||
'${gruppe_1}'::char(40),\ |
|
||||||
'${gruppe_2}'::char(40),\ |
|
||||||
sum(betrag),\ |
|
||||||
'${einheit}',\ |
|
||||||
'${beschreibung}'\ |
|
||||||
from xdummy left outer join tmp_kennz on \ |
|
||||||
( katalog_id in (\ |
|
||||||
<#list quellfeld?split(operator) as rs>\ |
|
||||||
'${rs?trim}',\ |
|
||||||
</#list>\ |
|
||||||
'')\ |
|
||||||
and hs_nr is not null --nur wenn überhaupt ein Wert drin ist\ |
|
||||||
-- bei Akademischen Jahr soll keine Addition statt finden, wenn eins der beiden Semester keine Zahlen enthält. Das Ergebnis aus der Summe wäre irreführend.\ |
|
||||||
<#if row_kennzahl.bezugsart = 'A'>\ |
|
||||||
<#list quellfeld?split(operator) as rs>\ |
|
||||||
and 0 < (select count(*) from tmp_kennz_basis BS where BS.katalog_id = '${rs}' and BS.zeitraum_int=tmp_kennz.zeitraum_int and BS.betrag is not null)\ |
|
||||||
</#list>\ |
|
||||||
</#if>\ |
|
||||||
${row_kennzahl.bedingung} )\ |
|
||||||
group by 1,2,3,4,5,6,7; \ |
|
||||||
</#if>\ |
|
||||||
\ |
|
||||||
insert into tmp_kennz(\ |
|
||||||
hs_nr ,\ |
|
||||||
katalog_id,\ |
|
||||||
stichtagsart ,\ |
|
||||||
beschreibung ,\ |
|
||||||
zeitraum_int,\ |
|
||||||
bezugsart,\ |
|
||||||
ebene,\ |
|
||||||
ord_nr,\ |
|
||||||
gruppe_1,\ |
|
||||||
gruppe_2,\ |
|
||||||
betrag,\ |
|
||||||
einheit,\ |
|
||||||
erlaeuterung)\ |
|
||||||
select\ |
|
||||||
hs_nr ,\ |
|
||||||
'${row_kennzahl.id}'::char(100),\ |
|
||||||
'${stichtagsart}'::nchar(255),\ |
|
||||||
'${row_kennzahl.name}'::char(255) ,\ |
|
||||||
zeitraum_int,\ |
|
||||||
bezugsart,\ |
|
||||||
${ebene}::smallint,\ |
|
||||||
${ord_nr}::smallint,\ |
|
||||||
'${gruppe_1}'::char(40),\ |
|
||||||
'${gruppe_2}'::char(40),\ |
|
||||||
betrag,\ |
|
||||||
'${einheit}' ,\ |
|
||||||
'${beschreibung}' \ |
|
||||||
<#if i=5>\ |
|
||||||
--nur im letzten Durchgang ein left outer join, um sicherzugehen dass eine Zeile\ |
|
||||||
--angezeigt wird, auch wenn der Wert fehlt.\ |
|
||||||
from xdummy left outer join tmp_kennz3 on (1=1)\ |
|
||||||
<#else>\ |
|
||||||
from tmp_kennz3\ |
|
||||||
</#if>\ |
|
||||||
--nicht doppelt einfügen, wg. 5er Schleife:\ |
|
||||||
where 0=(select count(*) from tmp_kennz K\ |
|
||||||
where K.katalog_id= '${row_kennzahl.id}'\ |
|
||||||
and (K.gruppe_1='${gruppe_1}' or K.gruppe_1 is null or trim(K.gruppe_1)='')\ |
|
||||||
);\ |
|
||||||
\ |
|
||||||
delete from tmp_betrag1;\ |
|
||||||
delete from tmp_betrag2;\ |
|
||||||
delete from tmp_kennz3;\ |
|
||||||
</#if>\ |
|
||||||
</#if> --wenn nicht dummy\ |
|
||||||
</#foreach>\ |
|
||||||
</#if>\ |
|
||||||
</#list>\ |
|
||||||
\ |
|
||||||
-- Wenn eine Kennzahl ausgewählt wird, sollen alle Ebenen angezeigt werden: Ebenen Filter wird ignoriert.\ |
|
||||||
<#if "<<Stat. Kennzahl>>" = "">\ |
|
||||||
/* delete from tmp_kennz where ebene > <<Filter bis Ebene>>; */\ |
|
||||||
</#if>\ |
|
||||||
\ |
|
||||||
/* delete from tmp_kennz where substring(gruppe_1 from 1 for 2) != <<Kennzahl Nr.>>; */\ |
|
||||||
\ |
|
||||||
update tmp_kennz set hochschule_str=(select name from sxc_hochschulen where hs_nr =LPAD(tmp_kennz.hs_nr::TEXT, 4, '0'));\ |
|
||||||
update tmp_kennz set zeitraum_str=(select min(druck) from kenn_semester where tid=tmp_kennz.zeitraum_int)\ |
|
||||||
where bezugsart in ('S','4');\ |
|
||||||
update tmp_kennz set zeitraum_str=(select name FROM aggregierung where kategorie='COB-Jahr' \ |
|
||||||
and ord=tmp_kennz.zeitraum_int)\ |
|
||||||
where bezugsart in ('J','A');\ |
|
||||||
update tmp_kennz set zeitraum_str=(select min(druck) from kenn_quartale where apnr=tmp_kennz.zeitraum_int)\ |
|
||||||
where bezugsart='Q';\ |
|
||||||
update tmp_kennz set zeitraum_str=zeitraum_int where zeitraum_str is null;\ |
|
||||||
\ |
|
||||||
update tmp_kennz set nextmask='18580&Hochschule=' || hs_nr || '&Quartal=' || substring('' || zeitraum_int from 5 for 1) || '&Haushaltsjahr=' || substring('' || zeitraum_int from 1 for 4) || '&Kostenarten=5' \ |
|
||||||
where stichtagsart='Kostenrechnung' \ |
|
||||||
and katalog_id in ('KOSTEN_ERLOESE_Q');\ |
|
||||||
\ |
|
||||||
update tmp_kennz set nextmask='18580&Hochschule=' || hs_nr || '&Quartal=' || substring('' || zeitraum_int from 5 for 1) || '&Haushaltsjahr=' || substring('' || zeitraum_int from 1 for 4) || '&Kostenarten=906' \ |
|
||||||
where stichtagsart='Kostenrechnung' \ |
|
||||||
and katalog_id in ('KOSTEN_PERSONAL_Q');\ |
|
||||||
update tmp_kennz set nextmask='18580&Hochschule=' || hs_nr || '&Quartal=' || substring('' || zeitraum_int from 5 for 1) || '&Haushaltsjahr=' || substring('' || zeitraum_int from 1 for 4) || '&Kostenarten=6' \ |
|
||||||
where stichtagsart='Kostenrechnung' \ |
|
||||||
and katalog_id in ('KOSTEN_SACH_Q');\ |
|
||||||
update tmp_kennz set nextmask='18580&Hochschule=' || hs_nr || '&Quartal=' || substring('' || zeitraum_int from 5 for 1) || '&Haushaltsjahr=' || substring('' || zeitraum_int from 1 for 4) || '&Kostenarten=7' \ |
|
||||||
where stichtagsart='Kostenrechnung' \ |
|
||||||
and katalog_id in ('KOSTEN_WEITERE_Q');\ |
|
||||||
update tmp_kennz set nextmask='18580&Hochschule=' || hs_nr || '&Quartal=' || substring('' || zeitraum_int from 5 for 1) || '&Haushaltsjahr=' || substring('' || zeitraum_int from 1 for 4) || '&Kostenarten=66' \ |
|
||||||
where stichtagsart='Kostenrechnung' \ |
|
||||||
and katalog_id in ('KOSTEN_ABSCHR_Q');\ |
|
||||||
update tmp_kennz set nextmask='18580&Hochschule=' || hs_nr || '&Quartal=' || substring('' || zeitraum_int from 5 for 1) || '&Haushaltsjahr=' || substring('' || zeitraum_int from 1 for 4) || '&Kostenarten=902' \ |
|
||||||
where stichtagsart='Kostenrechnung' \ |
|
||||||
and katalog_id in ('KOSTEN_KALK_MIETE_Q');\ |
|
||||||
\ |
|
||||||
--update tmp_kennz set nextmask='18600&Hochschule=' || hs_nr || '&cachingcontrol=clearMask' where stichtagsart='Kostenrechnung' and katalog_id in ('KOSTEN_LEHRE_Q','KOSTEN_FORSCHUNG_Q','KOSTEN_DIENST_Q');\ |
|
||||||
update tmp_kennz set nextmask='18600&Hochschule=' || hs_nr || '&Zeitraum=' || zeitraum_int || '&Haushaltsjahr=' || substring('' || zeitraum_int from 1 for 4) where stichtagsart='Kostenrechnung' and katalog_id in ('KOSTEN_LEHRE_SEK_Q');\ |
|
||||||
\ |
|
||||||
update tmp_kennz set nextmask='18620&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=k' || '&bis Hochschulsemester=1' where stichtagsart='Studierendenstatistik' and katalog_id in ('STUD_1HS_KOEPFE');\ |
|
||||||
update tmp_kennz set nextmask='18620&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=k' || '&bis Fachsemester=1' where stichtagsart='Studierendenstatistik' and katalog_id in ('STUD_1FS_KOEPFE');\ |
|
||||||
update tmp_kennz set nextmask='18620&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=f' || '&bis Fachsemester=1' where stichtagsart='Studierendenstatistik' and katalog_id in ('STUD_1FS_FAELLE');\ |
|
||||||
update tmp_kennz set nextmask='18620&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=f' || '&Fachkennz.=H' || '&bis Fachsemester=1' where stichtagsart='Studierendenstatistik' and katalog_id in ('STUD_1FS_HF_FAELLE');\ |
|
||||||
update tmp_kennz set nextmask='18620&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=f' || '&Fachkennz.=N' || '&bis Fachsemester=1' where stichtagsart='Studierendenstatistik' and katalog_id in ('STUD_1FS_NF_FAELLE');\ |
|
||||||
update tmp_kennz set nextmask='18620&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=k' where stichtagsart='Studierendenstatistik' and katalog_id in ('STUD_KOEPFE');\ |
|
||||||
update tmp_kennz set nextmask='18620&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=f' where stichtagsart='Studierendenstatistik' and katalog_id in ('STUD_FAELLE');\ |
|
||||||
update tmp_kennz set nextmask='18620&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=f' || '&Fachkennz.=H' where stichtagsart='Studierendenstatistik' and katalog_id in ('STUD_HF_FAELLE');\ |
|
||||||
update tmp_kennz set nextmask='18620&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=f' || '&Fachkennz.=N' where stichtagsart='Studierendenstatistik' and katalog_id in ('STUD_NF_FAELLE');\ |
|
||||||
update tmp_kennz set nextmask='18620&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=k' || '&in der RSZ=1' where stichtagsart='Studierendenstatistik' and katalog_id in ('STUD_RSZ_KOEPFE');\ |
|
||||||
update tmp_kennz set nextmask='18620&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=f' || '&in der RSZ=1' where stichtagsart='Studierendenstatistik' and katalog_id in ('STUD_RSZ_FAELLE');\ |
|
||||||
update tmp_kennz set nextmask='18620&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=f' || '&in der RSZ=1' || '&Fachkennz.=H' where stichtagsart='Studierendenstatistik' and katalog_id in ('STUD_RSZ_HF_FAELLE');\ |
|
||||||
update tmp_kennz set nextmask='18620&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=f' || '&in der RSZ=1' || '&Fachkennz.=N' where stichtagsart='Studierendenstatistik' and katalog_id in ('STUD_RSZ_NF_FAELLE');\ |
|
||||||
update tmp_kennz set nextmask='18620&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=k' || '&Geschlecht=2' where stichtagsart='Studierendenstatistik' and katalog_id in ('STUD_W_KOEPFE');\ |
|
||||||
update tmp_kennz set nextmask='18620&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=k' || '&Geschlecht=1' where stichtagsart='Studierendenstatistik' and katalog_id in ('STUD_M_KOEPFE');\ |
|
||||||
update tmp_kennz set nextmask='18620&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=k' where stichtagsart='Studierendenstatistik' and katalog_id in ('STUD_D_KOEPFE');\ |
|
||||||
update tmp_kennz set nextmask='18620&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=k' || '&Hochschulzugangsber.=6' where stichtagsart='Studierendenstatistik' and katalog_id in ('STUD_BI_KOEPFE');\ |
|
||||||
update tmp_kennz set nextmask='18620&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=k' || '&Hochschulzugangsber.=7' where stichtagsart='Studierendenstatistik' and katalog_id in ('STUD_BA_KOEPFE');\ |
|
||||||
\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=k' where stichtagsart='Prüfungsstatistik' and katalog_id in ('ABSOLV_KOEPFE');\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=f' where stichtagsart='Prüfungsstatistik' and katalog_id in ('ABSOLV_FAELLE');\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=f' || '&Fachkennz.=H' where stichtagsart='Prüfungsstatistik' and katalog_id in ('ABSOLV_HF_FAELLE');\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=f' || '&Fachkennz.=N' where stichtagsart='Prüfungsstatistik' and katalog_id in ('ABSOLV_NF_FAELLE');\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=k' || '&Geschlecht=2' where stichtagsart='Prüfungsstatistik' and katalog_id in ('ABSOLV_W_KOEPFE');\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=k' || '&Geschlecht=1' where stichtagsart='Prüfungsstatistik' and katalog_id in ('ABSOLV_M_KOEPFE');\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=f' || '&Geschlecht=2' where stichtagsart='Prüfungsstatistik' and katalog_id in ('ABSOLV_W_FAELLE');\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=f' || '&Geschlecht=1' where stichtagsart='Prüfungsstatistik' and katalog_id in ('ABSOLV_M_FAELLE');\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=k' || '&Geschlecht=2' || '&Fachkennz.=H' where stichtagsart='Prüfungsstatistik' and katalog_id in ('ABSOLV_W_HF_KOEPFE');\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=k' || '&Geschlecht=1' || '&Fachkennz.=H' where stichtagsart='Prüfungsstatistik' and katalog_id in ('ABSOLV_M_HF_KOEPFE');\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=f' || '&Geschlecht=2' || '&Fachkennz.=H' where stichtagsart='Prüfungsstatistik' and katalog_id in ('ABSOLV_W_HF_FAELLE');\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=f' || '&Geschlecht=1' || '&Fachkennz.=H' where stichtagsart='Prüfungsstatistik' and katalog_id in ('ABSOLV_M_HF_FAELLE');\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=f' || '&Geschlecht=2' || '&Fachkennz.=N' where stichtagsart='Prüfungsstatistik' and katalog_id in ('ABSOLV_W_NF_FAELLE');\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=f' || '&Geschlecht=1' || '&Fachkennz.=N' where stichtagsart='Prüfungsstatistik' and katalog_id in ('ABSOLV_M_NF_FAELLE');\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=k' || '&Staatsangeh%F6rigkeit="000"' where stichtagsart='Prüfungsstatistik' and katalog_id in ('ABSOLV_D_KOEPFE');\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=k' || '&Hochschulzugangsber.=6' where stichtagsart='Prüfungsstatistik' and katalog_id in ('ABSOLV_BI_KOEPFE');\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=k' || '&Hochschulzugangsber.=7' where stichtagsart='Prüfungsstatistik' and katalog_id in ('ABSOLV_BA_KOEPFE');\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&K%F6pfe%20oder%20F%E4lle%20?=k' || '&Staatsangeh%F6rigkeit=Alle%20ohne%20Deutschland' where stichtagsart='Prüfungsstatistik' and katalog_id in ('ABSOLV_A_KOEPFE');\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&Promotion=1' where stichtagsart='Prüfungsstatistik' and katalog_id in ('PROMOTIONEN');\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&Promotion=1' || '&Geschlecht=2' where stichtagsart='Prüfungsstatistik' and katalog_id in ('PROMOTIONEN_W');\ |
|
||||||
update tmp_kennz set nextmask='18640&Hochschule=' || hs_nr || '&Semester=' || zeitraum_int || '&Promotion=1' || '&Geschlecht=1' where stichtagsart='Prüfungsstatistik' and katalog_id in ('PROMOTIONEN_M');\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
<@selectintotmp select="hs_nr,hochschule_str,stichtagsart,beschreibung,erlaeuterung,zeitraum_int,\ |
|
||||||
zeitraum_str,ebene, ord_nr,gruppe_1,gruppe_2, round(betrag,2) as betrag,einheit,nextmask,nexttable,'' as stichtagsart2" source="tmp_kennz" target="tmp_kennz4">\ |
|
||||||
order by gruppe_1,zeitraum_int,gruppe_2,ord_nr\ |
|
||||||
</@selectintotmp> <@informixnolog/>;\ |
|
||||||
\ |
|
||||||
\ |
|
||||||
/* <#if <<Mit Erläuterung>> = "0">\ |
|
||||||
update tmp_kennz4 set erlaeuterung = '';\ |
|
||||||
</#if> */\ |
|
||||||
\ |
|
||||||
<@selectintotmp select="hs_nr,hochschule_str,stichtagsart,stichtagsart2,beschreibung,erlaeuterung,zeitraum_int,\ |
|
||||||
zeitraum_str,ebene, ord_nr,gruppe_1,gruppe_2, round(betrag,2) as betrag,einheit,nextmask,nexttable" source="tmp_kennz4" target="tmp_kennz2">\ |
|
||||||
order by ord_nr,zeitraum_int,gruppe_1,gruppe_2\ |
|
||||||
</@selectintotmp> <@informixnolog/>;\ |
|
||||||
\ |
|
||||||
drop table tmp_kennz;\ |
|
||||||
drop table tmp_kennz3;\ |
|
||||||
drop table tmp_kennz4;\ |
|
||||||
drop table tmp_kennz_basis;\ |
|
||||||
drop table tmp_betrag1;\ |
|
||||||
drop table tmp_betrag2;\ |
|
||||||
\ |
|
||||||
select ebene,hochschule_str,stichtagsart,\ |
|
||||||
--stichtagsart2,\ |
|
||||||
trim(string_not_null(gruppe_1)) || trim(string_not_null(gruppe_2)) || ' ' || beschreibung,\ |
|
||||||
--erlaeuterung,\ |
|
||||||
zeitraum_str,\ |
|
||||||
round(betrag,2),\ |
|
||||||
--einheit,\ |
|
||||||
nextmask,nexttable from tmp_kennz2\ |
|
||||||
;^XIL List\ |
|
||||||
drop_and_delete movable_columns sizable_columns horizontal_scrolling\ |
|
||||||
white_space_color=COLOR_WHITE fixed_columns=1\ |
|
||||||
min_heading_height=35\ |
|
||||||
Column CID=0 heading_text="Ebene" center_heading explanation="@@@kenn_ebene_stud@@@" \ |
|
||||||
row_selectable col_selectable heading_platform readonly\ |
|
||||||
width=10 text_size=10\ |
|
||||||
Column CID=0 heading_text="Hochschule" center_heading explanation="@@@kenn_hochschule@@@" \ |
|
||||||
row_selectable col_selectable heading_platform readonly\ |
|
||||||
width=15 text_size=10\ |
|
||||||
Column CID=1 heading_text="Statistische\\nKennzahl" center_heading explanation="@@@kenn_stat_kennzahl@@@"\ |
|
||||||
row_selectable col_selectable heading_platform readonly\ |
|
||||||
width=15 text_size=100\ |
|
||||||
Column CID=2 heading_text="Beschreibung" center_heading explanation="@@@kenn_beschreibung@@@"\ |
|
||||||
row_selectable col_selectable heading_platform readonly\ |
|
||||||
width=50\ |
|
||||||
Column CID=3 heading_text="Zeitraum" center_heading explanation="@@@kenn_zeitraum@@@"\ |
|
||||||
row_selectable col_selectable heading_platform readonly\ |
|
||||||
width=20\ |
|
||||||
Column CID=3 heading_text="Wert" center_heading explanation="@@@kenn_wert@@@"\ |
|
||||||
row_selectable col_selectable heading_platform readonly\ |
|
||||||
width=20\ |
|
||||||
Column CID=3 heading_text="Details\\nMaske" center_heading explanation="Details für diese Kennzahl"\ |
|
||||||
row_selectable col_selectable heading_platform readonly\ |
|
||||||
width=15\ |
|
||||||
Column CID=3 heading_text="Details\\nTabelle" center_heading explanation="Details für diese Kennzahl"\ |
|
||||||
row_selectable col_selectable heading_platform readonly\ |
|
||||||
width=15\ |
|
||||||
@@@^ ^ ^Gesamtüberblick der stat. Kennzahlen nach Hochschule und Art der Kennzahl.^drop table tmp_kennz2;^^1^600^400^^1^<<SQL>> select 'Achtung: Beim Kennzahlen-Bericht wird das Maskenfeld Stat. Kennzahl ignoriert, ggf. würden die Kennzahlen sonst nicht vollständig berechnet.' from xdummy where <<Bericht>>='KENN_BW' and (1=0 /* or <<Stat. Kennzahl>> != ''*/);^ |
|
||||||
@ -1,31 +0,0 @@ |
|||||||
delete from macro_feld_wert where macro=47060; |
|
||||||
|
|
||||||
insert into macro_feld_wert (macro, sortnr, feldname, value, active) |
|
||||||
values (47060,10,'Ansicht in Ergebniszeilen','<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=47030 and caption=''Semester'' order by 2',1); |
|
||||||
insert into macro_feld_wert (macro, sortnr, feldname, value, active) |
|
||||||
values (47060,10,'Ansicht in Ergebnisspalten','<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=47030 and caption=''Geschlecht'' order by 2',1); |
|
||||||
|
|
||||||
insert into macro_feld_wert (macro, sortnr, feldname, value, active) |
|
||||||
values (47060,20,'Ansicht in Ergebniszeilen','<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=47030 and caption=''Semester'' order by 2',1); |
|
||||||
insert into macro_feld_wert (macro, sortnr, feldname, value, active) |
|
||||||
values (47060,20,'Ansicht in Ergebnisspalten','<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=47030 and caption=''Nationalität'' order by 2',1); |
|
||||||
|
|
||||||
insert into macro_feld_wert (macro, sortnr, feldname, value, active) |
|
||||||
values (47060,30,'Ansicht in Ergebniszeilen','<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=47030 and caption=''Hochschule'' order by 2',1); |
|
||||||
insert into macro_feld_wert (macro, sortnr, feldname, value, active) |
|
||||||
values (47060,30,'Ansicht in Ergebnisspalten','<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=47030 and caption=''Geschlecht'' order by 2',1); |
|
||||||
|
|
||||||
|
|
||||||
insert into macro_feld_wert (macro, sortnr, feldname, value, active) |
|
||||||
values (47060,40,'Ansicht in Ergebniszeilen','<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=47030 and caption=''Hochschule'' order by 2',1); |
|
||||||
insert into macro_feld_wert (macro, sortnr, feldname, value, active) |
|
||||||
values (47060,40,'Ansicht in Ergebnisspalten','<<SQL>> select name,caption from xcube_dimconfig where maskeninfo_id=47030 and caption=''Nationalität'' order by 2',1); |
|
||||||
|
|
||||||
insert into macro_feld_wert (macro, sortnr, feldname, value, active) |
|
||||||
values (47060,10,'Kennzahl','<<SQL>> select tid,name from xcube_kennzahl where maskeninfo_id=47030 order by sortnr,name;',1); |
|
||||||
insert into macro_feld_wert (macro, sortnr, feldname, value, active) |
|
||||||
values (47060,20,'Kennzahl','<<SQL>> select tid,name from xcube_kennzahl where maskeninfo_id=47030 order by sortnr,name;',1); |
|
||||||
insert into macro_feld_wert (macro, sortnr, feldname, value, active) |
|
||||||
values (47060,30,'Kennzahl','<<SQL>> select tid,name from xcube_kennzahl where maskeninfo_id=47030 order by sortnr,name;',1); |
|
||||||
insert into macro_feld_wert (macro, sortnr, feldname, value, active) |
|
||||||
values (47060,40,'Kennzahl','<<SQL>> select tid,name from xcube_kennzahl where maskeninfo_id=47030 order by sortnr,name;',1); |
|
||||||
@ -1,9 +0,0 @@ |
|||||||
delete from macro_masken_bez where maskeninfo_id1=47060; |
|
||||||
insert into macro_masken_bez(maskeninfo_id1, maskeninfo_id2, active, sortnr) |
|
||||||
values (47060,47030,1,10); |
|
||||||
insert into macro_masken_bez(maskeninfo_id1, maskeninfo_id2, active, sortnr) |
|
||||||
values (47060,47030,1,20); |
|
||||||
insert into macro_masken_bez(maskeninfo_id1, maskeninfo_id2, active, sortnr) |
|
||||||
values (47060,47030,1,30); |
|
||||||
insert into macro_masken_bez(maskeninfo_id1, maskeninfo_id2, active, sortnr) |
|
||||||
values (47060,47030,1,40); |
|
||||||
@ -1,207 +0,0 @@ |
|||||||
2^5711^FH Aachen in Aachen^Fachhochschule Aachen^Aachen^ |
|
||||||
2^5712^FH Aachen in Jülich^Fachhochschule Aachen^Jülich^ |
|
||||||
1^1480^TH Aachen^Rheinisch-Westfälische Technische Hochschule Aachen^Aachen^ |
|
||||||
1^6032^Kath. H Nordrhein-Westfalen in Aachen (FH)^Rheinisch-Westfälische Technische Hochschule Aachen^Aachen^ |
|
||||||
3^6710^H Aalen - Technik und Wirtschaft in Aalen (FH)^Hochschule Aalen - Technik und Wirtschaft^Aalen^ |
|
||||||
3^6711^H Aalen - Technik und Wirtschaft in Schwäbisch Gmünd (FH)^Hochschule Aalen - Technik und Wirtschaft^Schwäbisch Gmünd^ |
|
||||||
4^6841^H für Technik und Wirtschaft Albstadt-Sigmaringen (FH) in Albstadt^Hochschule Albstadt-Sigmaringen^Albstadt^ |
|
||||||
280^7551^Ostbayerische TH Amberg-Weiden (FH) in Amberg^Ostbayerische Technische Hochschule Amberg-Weiden^Amberg^ |
|
||||||
280^7552^Ostbayerische TH Amberg-Weiden (FH) in Weiden^Ostbayerische Technische Hochschule Amberg-Weiden^Weiden^ |
|
||||||
312^7560^H für angewandte Wissenschaften Ansbach in Ansbach (FH)^Hochschule für angewandte Wissenschaften Ansbach^Ansbach^ |
|
||||||
333^7590^TH Aschaffenburg (FH)^Technische Hochschule Aschaffenburg^Aschaffenburg^ |
|
||||||
6^1350^U Augsburg^Universität Augsburg^Augsburg^ |
|
||||||
472^7120^H für Rechtspflege Schwetzingen (VerwFH)^Hochschule für Rechtspflege Schwetzingen^Schwetzingen^ |
|
||||||
466^7070^H Ludwigsburg für öffentliche Verwaltung und Finanzen (FH)^Hochschule für öffentliche Verwaltung und Finanzen Ludwigsburg^Ludwigsburg^ |
|
||||||
451^7060^H für öffentliche Verwaltung Kehl (VerwFH)^Hochschule für öffentliche Verwaltung Kehl^Kehl^ |
|
||||||
354^7670^accadis H Bad Homburg (Priv. FH)^accadis Hochschule Bad Homburg^Bad Homburg^ |
|
||||||
9^510^U Bayreuth^Universität Bayreuth^Bayreuth^ |
|
||||||
18^7730^Alice Salomon H Berlin (FH)^Alice Salomon Hochschule Berlin^Berlin^ |
|
||||||
437^1890^Bard College Berlin, A Liberal Arts University (Priv. H)^Bard College Berlin, A Liberal Arts University^Berlin^ |
|
||||||
15^7710^Berliner H für Technik (FH)^Berliner Hochschule für Technik^Berlin^ |
|
||||||
14^1700^ESCP Europe Wirtschaftshochschule Berlin (Priv. H)^ESCP Europe Wirtschaftshochschule Berlin e.V.^Berlin^ |
|
||||||
21^2520^H für Musik Berlin^"Hochschule für Musik Hanns Eisler Berlin"^Berlin^ |
|
||||||
16^7690^H für Technik und Wirtschaft Berlin (FH)^Hochschule für Technik und Wirtschaft Berlin^Berlin^ |
|
||||||
12^200^Humboldt-U Berlin^Humboldt-Universität zu Berlin^Berlin^ |
|
||||||
17^7721^HS für Wirtschaft und Recht Berlin, FB Wirtschaft (FH)^Hochschule für Wirtschaft und Recht Berlin^Berlin^ |
|
||||||
401^1520^International Psychoanalytic University Berlin (Priv.)^International Psychoanalytic University Berlin^Berlin^ |
|
||||||
24^7700^Kath. H für Sozialwesen Berlin^Katholische Hochschule für Sozialwesen Berlin (KHSB) - Staatlich anerkannte Fachhochschule für Sozialwesen^Berlin^ |
|
||||||
448^1990^Medical School Berlin H für Gesundheit und Medizin (Priv. FH)^Medical School Berlin - Hochschule für Gesundheit und Medizin (MSB)^Berlin^ |
|
||||||
441^1840^Psychologische H Berlin (Priv. U)^Psychologische Hochschule Berlin (PHB)^Berlin^ |
|
||||||
13^1690^Technische U Berlin^Technische Universität Berlin^Berlin^ |
|
||||||
20^2790^U der Künste Berlin^Universität der Künste Berlin^Berlin^ |
|
||||||
22^2510^Weißensee Kunsthochschule Berlin^weißensee kunsthochschule berlin^Berlin^ |
|
||||||
331^5827^FH des Mittelstandes (FHM) in Berlin (Priv. FH)^Fachhochschule des Mittelstands (FHM)^Berlin^ |
|
||||||
331^5822^FH des Mittelstandes (FHM) in Frechen (Priv. FH)^Fachhochschule des Mittelstands (FHM)^Frechen^ |
|
||||||
331^5821^FH des Mittelstandes (FHM) in Köln (Priv.)^Fachhochschule des Mittelstands (FHM)^Köln^ |
|
||||||
331^5824^FH des Mittelstandes (FHM) in Schwerin (Priv.)^Fachhochschule des Mittelstands (FHM)^Schwerin^ |
|
||||||
27^1140^U Bielefeld^Universität Bielefeld^Bielefeld^ |
|
||||||
30^5751^H Bochum (FH) in Bochum^Hochschule Bochum - University of Applied Sciences^Bochum^ |
|
||||||
383^821^Deutsche H für Gesundheit und Sport Berlin in Berlin (Priv. FH)^Hochschule für Wirtschaft und Recht Berlin^Berlin^ |
|
||||||
29^1080^U Bochum^Ruhr-Universität Bochum^Bochum^ |
|
||||||
37^2830^H für Bildende Künste Braunschweig^Hochschule für Bildende Künste Braunschweig^Braunschweig^ |
|
||||||
40^5680^H Bremen^Hochschule Bremen^Bremen^ |
|
||||||
39^2610^H für Künste Bremen^Hochschule für Künste Bremen^Bremen^ |
|
||||||
38^1050^U Bremen^Universität Bremen^Bremen^ |
|
||||||
470^5670^H für öffentliche Verwaltung Bremen^Hochschule für Öffentliche Verwaltung Bremen^Bremen^ |
|
||||||
41^5660^H Bremerhaven^Hochschule Bremerhaven^Bremerhaven^ |
|
||||||
42^380^Technische U Chemnitz^Technische Universität Chemnitz^Chemnitz^ |
|
||||||
44^7220^H für angewandte Wissenschaften Coburg (FH)^Hochschule für angewandte Wissenschaften Coburg^Coburg^ |
|
||||||
45^3971^Brandenburgische Technische U Cottbus-Senftenberg in Cottbus^Brandenburgische Technische Universität Cottbus-Senftenberg^Cottbus^ |
|
||||||
45^3972^Brandenburgische Technische U Cottbus-Senftenberg in Senftenberg^Brandenburgische Technische Universität Cottbus-Senftenberg^Senftenberg^ |
|
||||||
317^6390^Wilhelm Büchner H Darmstadt (Priv. Fern-FH)^Wilhelm Büchner Hochschule - Private Fernhochschule Darmstadt^Darmstadt^ |
|
||||||
46^1530^Technische U Darmstadt^Technische Universität Darmstadt^Darmstadt^ |
|
||||||
284^7521^TH Deggendorf in Deggendorf (FH)^Technische Hochschule Deggendorf^Deggendorf^ |
|
||||||
49^2561^H für Musik Detmold in Detmold^Hochschule für Musik Detmold^Detmold^ |
|
||||||
52^5770^FH Dortmund^Fachhochschule Dortmund^Dortmund^ |
|
||||||
51^1130^Technische U Dortmund^Technische Universität Dortmund^Dortmund^ |
|
||||||
55^5110^Evangelische H Dresden in Dresden (Kirchl. FH)^Evangelische Hochschule Dresden^Dresden^ |
|
||||||
56^2630^H für Bildende Künste Dresden^Hochschule für Bildende Künste Dresden^Dresden^ |
|
||||||
57^2800^H für Musik Dresden^Hochschule für Musik Carl Maria von Weber Dresden^Dresden^ |
|
||||||
324^2490^Palucca H für Tanz Dresden^Palucca Hochschule für Tanz Dresden^Dresden^ |
|
||||||
54^5120^H für Technik und Wirtschaft Dresden, H für angewandte Wissenschaften (FH)^Hochschule für Technik und Wirtschaft Dresden - University of Applied Sciences^Dresden^ |
|
||||||
53^370^Technische U Dresden in Dresden^Technische Universität Dresden^Dresden^ |
|
||||||
71^82^U Duisburg-Essen in Duisburg^Universität Duisburg-Essen^Duisburg^ |
|
||||||
71^80^U Duisburg-Essen in Essen^Universität Duisburg-Essen^Essen^ |
|
||||||
433^1950^Fliedner FH Düsseldorf (Priv. FH)^Fliedner Fachhochschule Düsseldorf^Düsseldorf^ |
|
||||||
62^2870^Robert-Schumann-H Düsseldorf^Robert-Schumann-Hochschule Düsseldorf^Düsseldorf^ |
|
||||||
61^2860^Kunstakademie Düsseldorf^Kunstakademie Düsseldorf^Düsseldorf^ |
|
||||||
64^7920^H für nachhaltige Entwicklung Eberswalde (FH)^Hochschule für nachhaltige Entwicklung Eberswalde^Eberswalde^ |
|
||||||
65^551^Kath. U Eichstätt-Ingolstadt in Eichstätt^Katholische Universität Eichstätt - Ingolstadt^Eichstätt^ |
|
||||||
65^552^Kath. U Eichstätt-Ingolstadt in Ingolstadt^Katholische Universität Eichstätt - Ingolstadt^Ingolstadt^ |
|
||||||
405^4991^H Emden/Leer in Emden (FH)^Hochschule Emden/Leer^Emden^ |
|
||||||
405^4992^H Emden/Leer in Leer (FH)^Hochschule Emden/Leer^Leer^ |
|
||||||
67^7810^FH Erfurt^Fachhochschule Erfurt^Erfurt^ |
|
||||||
66^620^U Erfurt^Universität Erfurt^Erfurt^ |
|
||||||
454^3080^H der bildenden Künste (HBK) Essen (Priv. Kunst-H)^Hochschule der bildenden Künste (HBK) Essen^Essen^ |
|
||||||
77^5010^H Flensburg (FH)^Hochschule Flensburg^Flensburg^ |
|
||||||
76^3100^EUF Europa-U Flensburg^Europa-Universität Flensburg^Flensburg^ |
|
||||||
85^390^Technische U Bergakademie Freiberg^Technische Universität Bergakademie Freiberg^Freiberg^ |
|
||||||
90^2650^Staatl. H für Musik Freiburg i.Br.^Hochschule für Musik Freiburg^Freiburg i.Br.^ |
|
||||||
88^6910^Katholische H Freiburg, Campus Freiburg^Katholische Hochschule Freiburg, staatlich anerkannte Hochschule - Catholic University of Applied Sciences^Freiburg i.Br.^ |
|
||||||
88^6911^Katholische H Freiburg, Campus Stuttgart^Katholische Hochschule Freiburg, staatlich anerkannte Hochschule - Catholic University of Applied Sciences^Stuttgart^ |
|
||||||
487^3241^Duale H Gera-Eisenach in Eisenach (FH)^Duale Hochschule Gera-Eisenach^Eisenach^ |
|
||||||
487^3242^Duale H Gera-Eisenach in Gera (FH)^Duale Hochschule Gera-Eisenach^Gera^ |
|
||||||
395^940^Freie Theologische H (FTH) Gießen (Priv.)^Freie Theologische Hochschule Gießen^Gießen^ |
|
||||||
99^270^U Greifswald^Universität Greifswald^Greifswald^ |
|
||||||
100^150^Fernuniversität Hagen^FernUniversität in Hagen^Hagen^ |
|
||||||
102^2600^Burg Giebichenstein Kunsthochschule Halle^Burg Giebichenstein Kunsthochschule Halle^Halle^ |
|
||||||
474^5240^Akademie der Polizei Hamburg (VerwFH)^Akademie der Polizei Hamburg^Hamburg^ |
|
||||||
519^3430^Berufliche H Hamburg (FH)^Berufliche Hochschule Hamburg (BHH)^Hamburg^ |
|
||||||
350^5260^Europäische Fernhochschule Hamburg^Europäische Fernhochschule Hamburg^Hamburg^ |
|
||||||
107^33^H Macromedia für angewandte Wissenschaften Stuttgart, Campus Hamburg (Priv. FH)^Hochschule für Angewandte Wissenschaften Hamburg^Hamburg^ |
|
||||||
107^763^IB H für Gesundheit und Soziales Berlin in Hamburg (Priv. FH)^Hochschule für Angewandte Wissenschaften Hamburg^Hamburg^ |
|
||||||
107^5210^H für Angewandte Wissenschaften Hamburg^Hochschule für Angewandte Wissenschaften Hamburg^Hamburg^ |
|
||||||
107^5230^Evangelische H für Soziale Arbeit Hamburg (FH)^Hochschule für Angewandte Wissenschaften Hamburg^Hamburg^ |
|
||||||
362^690^Hafencity U, Hamburg^HafenCity Universität Hamburg^Hamburg^ |
|
||||||
109^2810^H für Bildende Künste Hamburg^Hochschule für Bildende Künste Hamburg^Hamburg^ |
|
||||||
110^2500^H für Musik und Theater Hamburg^Hochschule für Musik und Theater Hamburg^Hamburg^ |
|
||||||
421^1880^MSH Medical School Hamburg (Priv. FH)^MSH Medical School Hamburg - University of Applied Sciences and Medical University^Hamburg^ |
|
||||||
105^1040^Technische U Hamburg^Technische Universität Hamburg^Hamburg^ |
|
||||||
104^1020^U Hamburg^Universität Hamburg^Hamburg^ |
|
||||||
399^3071^H Hamm-Lippstadt in Hamm (FH)^Hochschule Hamm-Lippstadt^Hamm^ |
|
||||||
399^3072^H Hamm-Lippstadt in Lippstadt (FH)^Hochschule Hamm-Lippstadt^Lippstadt^ |
|
||||||
311^5391^FH für die Wirtschaft Hannover (FHDW) (Priv. FH)^Fachhochschule für die Wirtschaft Hannover^Hannover^ |
|
||||||
115^5330^H Hannover^Hochschule Hannover^Hannover^ |
|
||||||
117^2530^H für Musik, Theater und Medien, Hannover^Hochschule für Musik, Theater und Medien Hannover^Hannover^ |
|
||||||
113^1740^Tierärztliche H Hannover^Stiftung Tierärztliche Hochschule Hannover^Hannover^ |
|
||||||
122^2150^H Fresenius Heidelberg (Priv. FH)^SRH Hochschule Heidelberg - Staatlich anerkannte Fachhochschule^Heidelberg^ |
|
||||||
122^7090^SRH H Heidelberg (Priv. FH)^SRH Hochschule Heidelberg - Staatlich anerkannte Fachhochschule^Heidelberg^ |
|
||||||
121^2300^H für jüdische Studien Heidelberg^Hochschule für Jüdische Studien Heidelberg^Heidelberg^ |
|
||||||
477^6330^Hessische H für Finanzen und Rechtspflege in Rotenburg (Verw-FH)^Hessische Hochschule für Finanzen und Rechtspflege Rotenburg a.d. Fulda^Rotenburg/Hessen^ |
|
||||||
127^980^U Hildesheim^Universität Hildesheim^Hildesheim^ |
|
||||||
287^7531^H für angewandte Wissenschaften Hof in Hof (FH)^Hochschule für angewandte Wissenschaften Hof^Hof^ |
|
||||||
130^590^Technische U Ilmenau^Technische Universität Ilmenau^Ilmenau^ |
|
||||||
288^7540^TH Ingolstadt in Ingolstadt (FH)^Technische Hochschule Ingolstadt^Ingolstadt^ |
|
||||||
306^6521^H Kaiserslautern in Kaiserslautern (FH)^Hochschule Kaiserslautern (University of Applied Sciences)^Kaiserslautern^ |
|
||||||
139^2950^Staatl. Akademie der Bildenden Künste Karlsruhe^Staatliche Akademie der Bildenden Künste Karlsruhe^Karlsruhe^ |
|
||||||
138^6760^H Technik und Wirtschaft Karlsruhe (FH)^Hochschule Karlsruhe - Technik und Wirtschaft^Karlsruhe^ |
|
||||||
140^2940^Staatl. H für Gestaltung Karlsruhe^Staatliche Hochschule für Gestaltung Karlsruhe^Karlsruhe^ |
|
||||||
141^2670^Staatl. H für Musik Karlsruhe^Hochschule für Musik Karlsruhe^Karlsruhe^ |
|
||||||
145^5020^FH Kiel^Fachhochschule Kiel^Kiel^ |
|
||||||
305^6531^H Koblenz (FH) in Koblenz^Hochschule Koblenz^Koblenz^ |
|
||||||
148^1150^Deutsche Sporthochschule Köln^Deutsche Sporthochschule Köln^Köln^ |
|
||||||
153^2581^H für Musik und Tanz Köln in Köln^Hochschule für Musik und Tanz Köln^Köln^ |
|
||||||
153^2583^H für Musik und Tanz Köln in Wuppertal^Hochschule für Musik und Tanz Köln^Wuppertal^ |
|
||||||
241^2060^Kölner H für Katholische Theologie (Kirchl.-Theol. H)^Kölner Hochschule für Katholische Theologie (KHKT)^Köln^ |
|
||||||
150^5990^Priv. Rheinische FH Köln in Köln^Rheinische Fachhochschule Köln^Köln^ |
|
||||||
150^6414^Europäische FH (EUFH) Rhein/Erft in Köln (Priv. FH)^Rheinische Fachhochschule Köln^Köln^ |
|
||||||
150^5991^Priv. Rheinische FH Köln in Neuss^Rheinische Fachhochschule Köln^Neuss^ |
|
||||||
155^6770^H für Technik, Wirtschaft und Gestaltung Konstanz (FH)^Hochschule Konstanz Technik, Wirtschaft und Gestaltung^Konstanz^ |
|
||||||
154^1260^U Konstanz^Universität Konstanz^Konstanz^ |
|
||||||
157^7450^H für angewandte Wissenschaften Landshut (FH)^Hochschule Landshut - Hochschule für angewandte Wissenschaften^Landshut^ |
|
||||||
164^2640^H für Graphik und Buchkunst Leipzig^Hochschule für Grafik und Buchkunst Leipzig^Leipzig^ |
|
||||||
295^630^HHL Leipzig Graduate School of Management (Priv. H)^HHL Leipzig Graduate School of Management^Leipzig^ |
|
||||||
162^2740^H für Musik und Theater Leipzig^"Hochschule für Musik und Theater Felix Mendelssohn Bartholdy Leipzig"^Leipzig^ |
|
||||||
160^5100^H für Telekommunikation Leipzig (Priv. FH)^Hochschule für Technik, Wirtschaft und Kultur Leipzig^Leipzig^ |
|
||||||
160^5130^H für Technik, Wirtschaft und Kultur Leipzig, H für angewandte Wissenschaften (FH)^Hochschule für Technik, Wirtschaft und Kultur Leipzig^Leipzig^ |
|
||||||
159^360^U Leipzig^Universität Leipzig^Leipzig^ |
|
||||||
170^2590^Musikhochschule Lübeck^Musikhochschule Lübeck^Lübeck^ |
|
||||||
169^5030^TH Lübeck (FH)^Technische Hochschule Lübeck^Lübeck^ |
|
||||||
173^8011^H Magdeburg-Stendal (FH) in Magdeburg^Hochschule Magdeburg-Stendal^Magdeburg^ |
|
||||||
173^8012^H Magdeburg-Stendal (FH) in Stendal^Hochschule Magdeburg-Stendal^Stendal^ |
|
||||||
177^6780^H Mannheim (FH)^Hochschule Mannheim^Mannheim^ |
|
||||||
123^2660^Staatl. H für Musik und Darstellende Kunst Mannheim^Staatliche Hochschule für Musik und Darstellende Kunst Mannheim^Mannheim^ |
|
||||||
176^1252^U Heidelberg in Mannheim^Universität Mannheim^Mannheim^ |
|
||||||
176^1810^U Mannheim^Universität Mannheim^Mannheim^ |
|
||||||
97^6232^TH Mittelhessen (THM) in Friedberg^Technische Hochschule Mittelhessen - THM^Friedberg^ |
|
||||||
97^6231^TH Mittelhessen (THM) in Gießen^Technische Hochschule Mittelhessen - THM^Gießen^ |
|
||||||
97^6233^TH Mittelhessen (THM) in Wetzlar^Technische Hochschule Mittelhessen - THM^Wetzlar^ |
|
||||||
181^5140^H Mittweida (University of Applied Sciences), H für angewandte Wissenschaften (FH)^Hochschule Mittweida, University of Applied Sciences^Mittweida^ |
|
||||||
336^7580^Munich Business School München (Priv. FH)^Munich Business School - Staatlich anerkannte private Fachhochschule^München^ |
|
||||||
193^2890^Kunstakademie Münster^Kunstakademie Münster, Hochschule für Bildende Künste^Münster^ |
|
||||||
191^1120^U Münster^Universität Münster^Münster^ |
|
||||||
319^7570^H für angewandte Wissenschaften Neu-Ulm (FH)^Hochschule für angewandte Wissenschaften Neu-Ulm^Neu-Ulm^ |
|
||||||
315^7880^H Nordhausen (FH)^Hochschule Nordhausen^Nordhausen^ |
|
||||||
202^2990^Akademie der Bildenden Künste Nürnberg^Akademie der Bildenden Künste Nürnberg^Nürnberg^ |
|
||||||
321^3011^H für Musik Nürnberg^Hochschule für Musik Nürnberg^Nürnberg^ |
|
||||||
200^7250^TH Nürnberg Georg Simon Ohm (FH)^Technische Hochschule Nürnberg Georg Simon Ohm^Nürnberg^ |
|
||||||
207^2920^H für Gestaltung Offenbach^Hochschule für Gestaltung Offenbach^Offenbach^ |
|
||||||
208^6800^H für Technik und Wirtschaft Offenburg (FH)^Hochschule für Technik, Wirtschaft und Medien Offenburg^Offenburg^ |
|
||||||
214^5501^H Osnabrück in Osnabrück (FH)^Hochschule Osnabrück^Osnabrück^ |
|
||||||
211^530^U Osnabrück^Universität Osnabrück^Osnabrück^ |
|
||||||
215^121^U Paderborn^Universität Paderborn^Paderborn^ |
|
||||||
218^540^U Passau^Universität Passau^Passau^ |
|
||||||
219^6810^H für Gestaltung, Technik und Wirtschaft Pforzheim (FH)^Hochschule Pforzheim - Gestaltung, Technik, Wirtschaft und Recht^Pforzheim^ |
|
||||||
222^3250^FH Clara Hoffbauer Potsdam (Priv. FH)^Fachhochschule Potsdam^Potsdam^ |
|
||||||
222^7950^FH Potsdam^Fachhochschule Potsdam^Potsdam^ |
|
||||||
443^1570^FH für Sport und Management, Potsdam (Priv. FH)^Fachhochschule für Sport und Management Potsdam^Potsdam^ |
|
||||||
221^3500^U Potsdam^Universität Potsdam^Potsdam^ |
|
||||||
226^7260^Ostbayerische TH Regensburg (FH)^Ostbayerische Technische Hochschule Regensburg^Regensburg^ |
|
||||||
225^1340^U Regensburg^Universität Regensburg^Regensburg^ |
|
||||||
232^7301^TH Rosenheim in Mühldorf a. Inn (FH)^Technische Hochschule Rosenheim^Mühldorf a. Inn^ |
|
||||||
234^3030^H für Musik und Theater Rostock^Hochschule für Musik und Theater Rostock^Rostock^ |
|
||||||
233^260^U Rostock^Universität Rostock^Rostock^ |
|
||||||
300^7110^H für Forstwirtschaft Rottenburg a. Neckar (FH)^Hochschule für Forstwirtschaft Rottenburg^Rottenburg a.N.^ |
|
||||||
244^7050^H für Gestaltung Schwäbisch Gmünd (FH)^Hochschule für Gestaltung Schwäbisch Gmünd^Schwäbisch Gmünd^ |
|
||||||
245^130^U Siegen^Universität Siegen^Siegen^ |
|
||||||
246^1230^Deutsche U für Verwaltungswissenschaften Speyer^Deutsche Universität für Verwaltungswissenschaften Speyer^Speyer^ |
|
||||||
156^761^IB H für Gesundheit und Soziales Berlin in Stuttgart (Priv. FH)^AKAD Hochschule Stuttgart - staatlich anerkannt^Stuttgart^ |
|
||||||
253^2960^Staatl. Akademie der Bildenden Künste Stuttgart^Staatliche Akademie der Bildenden Künste Stuttgart^Stuttgart^ |
|
||||||
251^6850^H für Technik Stuttgart (FH)^Hochschule für Technik Stuttgart^Stuttgart^ |
|
||||||
254^2690^Staatl. H für Musik und Darstellende Kunst Stuttgart^Staatliche Hochschule für Musik und Darstellende Kunst Stuttgart^Stuttgart^ |
|
||||||
366^32^H Macromedia für angewandte Wissenschaften Stuttgart, Campus Berlin (Priv. FH)^Hochschule Macromedia - staatlich anerkannte Hochschule für angewandte Wissenschaften der Macromedia GmbH mit Sitz in Stuttgart^Berlin^ |
|
||||||
366^38^H Macromedia für angewandte Wissenschaften Stuttgart, Campus Frankfurt a. M. (Priv. FH)^Hochschule Macromedia - staatlich anerkannte Hochschule für angewandte Wissenschaften der Macromedia GmbH mit Sitz in Stuttgart^Frankfurt a.M.^ |
|
||||||
366^36^H Macromedia für angewandte Wissenschaften Stuttgart, Campus Freiburg i. Br. (Priv. FH)^Hochschule Macromedia - staatlich anerkannte Hochschule für angewandte Wissenschaften der Macromedia GmbH mit Sitz in Stuttgart^Freiburg i.Br.^ |
|
||||||
366^30^H Macromedia für angewandte Wissenschaften Stuttgart, Campus München (Priv. FH)^Hochschule Macromedia - staatlich anerkannte Hochschule für angewandte Wissenschaften der Macromedia GmbH mit Sitz in Stuttgart^München^ |
|
||||||
483^4960^media Akademie - H Stuttgart (Priv. FH)^media Akademie - Hochschule Stuttgart^Stuttgart^ |
|
||||||
252^35^H Macromedia für angewandte Wissenschaften Stuttgart, Campus Stuttgart (Priv. FH)^Merz Akademie Hochschule für Gestaltung, Kunst und Medien, Stuttgart - Staatlich anerkannt^Stuttgart^ |
|
||||||
252^6970^Merz Akademie H für Gestaltung, Kunst und Medien, Stuttgart (Priv. FH)^Merz Akademie Hochschule für Gestaltung, Kunst und Medien, Stuttgart - Staatlich anerkannt^Stuttgart^ |
|
||||||
248^1590^U Stuttgart^Universität Stuttgart^Stuttgart^ |
|
||||||
413^1830^Freie H Stuttgart, Seminar für Waldorfpädagogik^Freie Hochschule Stuttgart - Seminar für Waldorfpädagogik. Staatlich anerkannte wissenschaftliche Hochschule.^Stuttgart^ |
|
||||||
308^6581^H Trier (FH) in Trier^Hochschule Trier - Trier University of Applied Sciences^Trier^ |
|
||||||
256^2040^Theol. Fakultät Trier^Theologische Fakultät Trier^Trier^ |
|
||||||
255^1200^U Trier^Universität Trier^Trier^ |
|
||||||
257^2700^Staatl. H für Musik Trossingen^Staatliche Hochschule für Musik Trossingen^Trossingen^ |
|
||||||
259^1820^U Ulm^Universität Ulm^Ulm^ |
|
||||||
293^960^U Vechta^Universität Vechta^Vechta^ |
|
||||||
263^5050^Priv. FH Wedel^Fachhochschule Wedel^Wedel^ |
|
||||||
266^580^Bauhaus-U Weimar^Bauhaus-Universität Weimar^Weimar^ |
|
||||||
406^4983^H Wilhelmshaven/Oldenburg/Elsfleth in Elsfleth (FH)^Jade Hochschule - Wilhelmshaven/Oldenburg/Elsfleth^Elsfleth^ |
|
||||||
406^4982^H Wilhelmshaven/Oldenburg/Elsfleth in Oldenburg (FH)^Jade Hochschule - Wilhelmshaven/Oldenburg/Elsfleth^Oldenburg^ |
|
||||||
406^4981^H Wilhelmshaven/Oldenburg/Elsfleth in Wilhelmshaven (FH)^Jade Hochschule - Wilhelmshaven/Oldenburg/Elsfleth^Wilhelmshaven^ |
|
||||||
278^2710^H für Musik Würzburg^Hochschule für Musik Würzburg^Würzburg^ |
|
||||||
277^7352^H für angewandte Wissenschaften Würzburg-Schweinfurt in Schweinfurt (FH)^Technische Hochschule Würzburg-Schweinfurt^Schweinfurt^ |
|
||||||
282^5152^H Zittau/Görlitz, H für angewandte Wissenschaften in Görlitz (FH)^Hochschule Zittau/Görlitz^Görlitz^ |
|
||||||
282^5151^H Zittau/Görlitz, H für angewandte Wissenschaften in Zittau (FH)^Hochschule Zittau/Görlitz^Zittau^ |
|
||||||
283^5162^Westsächsische H Zwickau, H für angewandte Wissenschaften in Schneeberg (FH)^Westsächsische Hochschule Zwickau^Schneeberg^ |
|
||||||
283^5161^Westsächsische H Zwickau, H für angewandte Wissenschaften in Zwickau (FH)^Westsächsische Hochschule Zwickau^Zwickau^ |
|
||||||
@ -1,216 +0,0 @@ |
|||||||
--Freemarker Template |
|
||||||
|
|
||||||
<#assign dimensions = [ |
|
||||||
{"key":"8", "name":"Bundesland"} |
|
||||||
] /> |
|
||||||
|
|
||||||
<#assign dimension_levels_man = [ |
|
||||||
{"key":"8","apnr":"BW", "druck":"Baden-Württemberg", "astat":"08"}, |
|
||||||
{"key":"8","apnr":"BY", "druck":"Bayern", "astat":"09"}, |
|
||||||
{"key":"8","apnr":"BE", "druck":"Berlin", "astat":"11"}, |
|
||||||
{"key":"8","apnr":"BB", "druck":"Brandenburg", "astat":"12"}, |
|
||||||
{"key":"8","apnr":"HB", "druck":"Bremen", "astat":"04"}, |
|
||||||
{"key":"8","apnr":"HH", "druck":"Hamburg", "astat":"02"}, |
|
||||||
{"key":"8","apnr":"HE", "druck":"Hessen", "astat":"06"}, |
|
||||||
{"key":"8","apnr":"MV", "druck":"Mecklenburg-Vorpommern", "astat":"13"}, |
|
||||||
{"key":"8","apnr":"NI", "druck":"Niedersachsen", "astat":"03"}, |
|
||||||
{"key":"8","apnr":"NW", "druck":"Nordrhein-Westfalen", "astat":"05"}, |
|
||||||
{"key":"8","apnr":"RP", "druck":"Rheinland-Pfalz", "astat":"07"}, |
|
||||||
{"key":"8","apnr":"SL", "druck":"Saarland", "astat":"10"}, |
|
||||||
{"key":"8","apnr":"SN", "druck":"Sachsen", "astat":"14"}, |
|
||||||
{"key":"8","apnr":"ST", "druck":"Sachsen-Anhalt", "astat":"15"}, |
|
||||||
{"key":"8","apnr":"SH", "druck":"Schleswig-Holstein", "astat":"01"}, |
|
||||||
{"key":"8","apnr":"TH", "druck":"Thüringen", "astat":"16"} |
|
||||||
] /> |
|
||||||
|
|
||||||
|
|
||||||
create temp table tmp_cifx |
|
||||||
(tid serial, |
|
||||||
key smallint not null , |
|
||||||
hs integer not null, |
|
||||||
apnr varchar(255) , |
|
||||||
kurz char(10), |
|
||||||
druck varchar(200), |
|
||||||
lang_1 char(255), |
|
||||||
astat char(10) , |
|
||||||
parent varchar(255) , |
|
||||||
uniquename VARCHAR(255) , |
|
||||||
bund_apnr CHAR(10) , |
|
||||||
sort1 integer, |
|
||||||
sortc1 char(10), |
|
||||||
d_akt_von date, |
|
||||||
d_akt_bis date, |
|
||||||
sourcesystem_id varchar(255), |
|
||||||
sourcesystem integer, |
|
||||||
lid varchar(255) , |
|
||||||
parent_lid varchar(255), |
|
||||||
hiskey_id varchar(255), |
|
||||||
struktur_c CHAR(50) |
|
||||||
); |
|
||||||
create temp table tmp_hilf(tid integer); |
|
||||||
insert into tmp_hilf(tid) select max(tid) from cifx; |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<#foreach dimension in dimensions> |
|
||||||
<#foreach dimension_level in dimension_levels_man> |
|
||||||
<#if dimension_level.key==dimension.key > |
|
||||||
|
|
||||||
|
|
||||||
insert into tmp_cifx |
|
||||||
( |
|
||||||
key , |
|
||||||
hs, |
|
||||||
apnr , |
|
||||||
kurz , |
|
||||||
druck, |
|
||||||
lang_1 , |
|
||||||
astat, |
|
||||||
uniquename , |
|
||||||
d_akt_von , |
|
||||||
d_akt_bis , |
|
||||||
sourcesystem_id , |
|
||||||
sourcesystem, |
|
||||||
lid , |
|
||||||
--parent_lid, |
|
||||||
hiskey_id , |
|
||||||
struktur_c |
|
||||||
) |
|
||||||
select |
|
||||||
${dimension_level.key} , |
|
||||||
0 as hs, |
|
||||||
'${dimension_level.apnr}' , |
|
||||||
substring('${dimension_level.druck}' from 1 for 10) as kurz , |
|
||||||
substring('${dimension_level.druck}' from 1 for 200) as druck, |
|
||||||
substring('${dimension_level.druck}' from 1 for 255) as lang_1 , |
|
||||||
<#if dimension_level.astat==""> |
|
||||||
NULL::char(10) |
|
||||||
<#else> |
|
||||||
'${dimension_level.astat}' |
|
||||||
</#if> as astat, |
|
||||||
'${dimension_level.apnr}' as uniquename , |
|
||||||
date_val('01.01.1900') as d_akt_von , |
|
||||||
date_val('01.01.3000')d_akt_bis , |
|
||||||
'${dimension_level.apnr}' as sourcesystem_id , |
|
||||||
15 as sourcesystem, |
|
||||||
'${dimension_level.apnr}' as lid , |
|
||||||
--parent_lid, |
|
||||||
NULL::char(10) as hiskey_id , |
|
||||||
NULL::char(10) as struktur_c |
|
||||||
from xdummy |
|
||||||
; |
|
||||||
|
|
||||||
</#if> |
|
||||||
</#foreach> |
|
||||||
</#foreach> |
|
||||||
|
|
||||||
--Duplikate raus: |
|
||||||
select T.key,T.apnr |
|
||||||
from tmp_cifx T |
|
||||||
group by 1,2 |
|
||||||
having count(*)>1; |
|
||||||
|
|
||||||
|
|
||||||
--Künstliche Schlüssel aus CO: |
|
||||||
|
|
||||||
|
|
||||||
--vorh. Datensätze ändern: |
|
||||||
update cifx set hs=T.hs , |
|
||||||
apnr=T.apnr , |
|
||||||
d_akt_von=T.d_akt_von , |
|
||||||
d_akt_bis=T.d_akt_bis , |
|
||||||
kurz=T.kurz , |
|
||||||
druck=T.druck , |
|
||||||
lang_1=T.lang_1 , |
|
||||||
parent=T.parent , |
|
||||||
astat=T.astat , |
|
||||||
hiskey_id=T.hiskey_id , |
|
||||||
uniquename=T.uniquename , |
|
||||||
sort1=T.sort1 , |
|
||||||
sortc1=T.sortc1 , |
|
||||||
sourcesystem=T.sourcesystem , |
|
||||||
sourcesystem_id=T.sourcesystem_id , |
|
||||||
struktur_c=T.struktur_c , |
|
||||||
lid=T.lid , |
|
||||||
parent_lid=T.parent_lid |
|
||||||
from tmp_cifx T |
|
||||||
where T.key=cifx.key |
|
||||||
and T.apnr=cifx.apnr |
|
||||||
and T.sourcesystem=cifx.sourcesystem; |
|
||||||
|
|
||||||
delete from tmp_cifx where (key,apnr) |
|
||||||
in (select key,apnr |
|
||||||
from cifx); |
|
||||||
|
|
||||||
|
|
||||||
--neue Datensätze: |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
insert into cifx |
|
||||||
(tid , |
|
||||||
hs, |
|
||||||
key, |
|
||||||
apnr, |
|
||||||
d_akt_von, |
|
||||||
d_akt_bis, |
|
||||||
kurz, |
|
||||||
druck, |
|
||||||
lang_1, |
|
||||||
parent, |
|
||||||
astat, |
|
||||||
hiskey_id, |
|
||||||
uniquename, |
|
||||||
sort1, |
|
||||||
sortc1, |
|
||||||
sourcesystem, |
|
||||||
sourcesystem_id, |
|
||||||
struktur_c, |
|
||||||
lid, |
|
||||||
parent_lid |
|
||||||
) |
|
||||||
select T.tid+H.tid as tid, |
|
||||||
hs, |
|
||||||
key, |
|
||||||
apnr, |
|
||||||
d_akt_von, |
|
||||||
d_akt_bis, |
|
||||||
kurz, |
|
||||||
druck, |
|
||||||
lang_1, |
|
||||||
parent, |
|
||||||
astat, |
|
||||||
hiskey_id, |
|
||||||
uniquename, |
|
||||||
sort1, |
|
||||||
sortc1, |
|
||||||
sourcesystem, |
|
||||||
sourcesystem_id, |
|
||||||
struktur_c, |
|
||||||
lid, |
|
||||||
parent_lid |
|
||||||
from tmp_cifx T, tmp_hilf H |
|
||||||
where druck is not null |
|
||||||
; |
|
||||||
|
|
||||||
insert into trans_cifx( |
|
||||||
key, |
|
||||||
apnr, |
|
||||||
cifx_tid, |
|
||||||
sourcesystem, |
|
||||||
sourcesystem_id, |
|
||||||
systeminfo_id) |
|
||||||
select |
|
||||||
T.key, |
|
||||||
T.apnr, |
|
||||||
C.tid, |
|
||||||
T.sourcesystem, |
|
||||||
T.sourcesystem_id, |
|
||||||
360 as systeminfo_id |
|
||||||
FROM tmp_cifx T, cifx C |
|
||||||
where C.key=T.key |
|
||||||
and T.apnr=C.apnr; |
|
||||||
|
|
||||||
|
|
||||||
drop table tmp_cifx; |
|
||||||
drop table tmp_hilf; |
|
||||||
@ -1,164 +0,0 @@ |
|||||||
--freemarker template |
|
||||||
|
|
||||||
<#assign makros = [ |
|
||||||
{"tid":"47060"} |
|
||||||
] /> |
|
||||||
|
|
||||||
|
|
||||||
<#assign masken = [ |
|
||||||
{"makro":"47060", "tid":"47030", "sortnr":"10"}, |
|
||||||
{"makro":"47060", "tid":"47030", "sortnr":"20"}, |
|
||||||
{"makro":"47060", "tid":"47030", "sortnr":"30"}, |
|
||||||
{"makro":"47060", "tid":"47030", "sortnr":"40"} |
|
||||||
|
|
||||||
] /> |
|
||||||
|
|
||||||
<#assign felder = [ |
|
||||||
{"makro":"47060", "sortnr":"10", "feldname":"Ansicht in Ergebniszeilen", "value":"semester"}, |
|
||||||
{"makro":"47060", "sortnr":"10", "feldname":"Ansicht in Ergebnisspalten", "value":"auspraegung_code_3"}, |
|
||||||
{"makro":"47060", "sortnr":"10", "feldname":"Kennzahl", "value":"<<SQL>> select tid,name from xcube_kennzahl where maskeninfo_id=47030 order by sortnr,name;"}, |
|
||||||
{"makro":"47060", "sortnr":"20", "feldname":"Ansicht in Ergebniszeilen", "value":"semester"}, |
|
||||||
{"makro":"47060", "sortnr":"20", "feldname":"Ansicht in Ergebnisspalten", "value":"auspraegung_code_2"}, |
|
||||||
{"makro":"47060", "sortnr":"20", "feldname":"Kennzahl", "value":"<<SQL>> select tid,name from xcube_kennzahl where maskeninfo_id=47030 order by sortnr,name;"}, |
|
||||||
{"makro":"47060", "sortnr":"30", "feldname":"Ansicht in Ergebniszeilen", "value":"hs_nr"}, |
|
||||||
{"makro":"47060", "sortnr":"30", "feldname":"Ansicht in Ergebnisspalten", "value":"auspraegung_code_3"}, |
|
||||||
{"makro":"47060", "sortnr":"30", "feldname":"Kennzahl", "value":"<<SQL>> select tid,name from xcube_kennzahl where maskeninfo_id=47030 order by sortnr,name;"}, |
|
||||||
{"makro":"47060", "sortnr":"40", "feldname":"Ansicht in Ergebniszeilen", "value":"hs_nr"}, |
|
||||||
{"makro":"47060", "sortnr":"40", "feldname":"Ansicht in Ergebnisspalten", "value":"auspraegung_code_2"}, |
|
||||||
{"makro":"47060", "sortnr":"40", "feldname":"Kennzahl", "value":"<<SQL>> select tid,name from xcube_kennzahl where maskeninfo_id=47030 order by sortnr,name;"} |
|
||||||
|
|
||||||
|
|
||||||
] /> |
|
||||||
|
|
||||||
|
|
||||||
-- ab hier nicht mehr ändern: |
|
||||||
|
|
||||||
CREATE TEMP TABLE tmp_macro_masken_bez ( |
|
||||||
maskeninfo_id1 integer NOT NULL, |
|
||||||
maskeninfo_id2 integer NOT NULL, |
|
||||||
active integer DEFAULT 1 NOT NULL, |
|
||||||
sortnr smallint NOT NULL, |
|
||||||
schleifenrelation character(255), |
|
||||||
schleifenfeldname character(255), |
|
||||||
alias character(255), |
|
||||||
schleifenfstand character(255), |
|
||||||
schleifenfsicht character(255), |
|
||||||
aktion character(255) |
|
||||||
); |
|
||||||
CREATE TEMP TABLE tmp_macro_feld_wert ( |
|
||||||
macro integer NOT NULL, |
|
||||||
sortnr integer NOT NULL, |
|
||||||
feldname character(255) NOT NULL, |
|
||||||
alias character(255) NOT NULL, |
|
||||||
value character(255), |
|
||||||
value_caption character(255), |
|
||||||
feldstand character(255), |
|
||||||
feldsicht character(255), |
|
||||||
active integer DEFAULT 1 NOT NULL |
|
||||||
); |
|
||||||
|
|
||||||
|
|
||||||
<#foreach makro in makros> |
|
||||||
<#foreach maske in masken> |
|
||||||
<#if maske.makro==makro.tid> |
|
||||||
|
|
||||||
insert into tmp_macro_masken_bez(maskeninfo_id1, |
|
||||||
maskeninfo_id2, |
|
||||||
active, |
|
||||||
sortnr) |
|
||||||
select ${makro.tid},--maskeninfo_id1, |
|
||||||
${maske.tid},--maskeninfo_id2, |
|
||||||
1,--active, |
|
||||||
${maske.sortnr} --sortnr |
|
||||||
from xdummy; |
|
||||||
|
|
||||||
<#foreach feld in felder> |
|
||||||
<#if feld.makro==makro.tid && feld.sortnr==maske.sortnr> |
|
||||||
|
|
||||||
--Tab.12: alle ohne Exmatr |
|
||||||
insert into tmp_macro_feld_wert |
|
||||||
( macro, |
|
||||||
sortnr, |
|
||||||
feldname, |
|
||||||
alias, |
|
||||||
value, |
|
||||||
value_caption, |
|
||||||
feldstand, |
|
||||||
feldsicht, |
|
||||||
active) |
|
||||||
SELECT ${makro.tid}, --macro |
|
||||||
${maske.sortnr},--sortnr |
|
||||||
'${feld.feldname}',--feldname, |
|
||||||
'',--alias, |
|
||||||
'${feld.value}', --value, |
|
||||||
'',--value_caption, |
|
||||||
'', --feldstand, |
|
||||||
'',--feldsicht, |
|
||||||
1 --active |
|
||||||
FROM xdummy; |
|
||||||
|
|
||||||
</#if> |
|
||||||
</#foreach> |
|
||||||
|
|
||||||
|
|
||||||
</#if> |
|
||||||
</#foreach> |
|
||||||
</#foreach> |
|
||||||
|
|
||||||
|
|
||||||
delete from macro_masken_bez where maskeninfo_id1 in (select maskeninfo_id1 from tmp_macro_masken_bez) |
|
||||||
; |
|
||||||
|
|
||||||
|
|
||||||
insert into macro_masken_bez |
|
||||||
(maskeninfo_id1, |
|
||||||
maskeninfo_id2, |
|
||||||
active, |
|
||||||
sortnr, |
|
||||||
schleifenrelation, |
|
||||||
schleifenfeldname, |
|
||||||
alias, |
|
||||||
schleifenfstand, |
|
||||||
schleifenfsicht, |
|
||||||
aktion) |
|
||||||
select maskeninfo_id1, |
|
||||||
maskeninfo_id2, |
|
||||||
active, |
|
||||||
sortnr, |
|
||||||
schleifenrelation, |
|
||||||
schleifenfeldname, |
|
||||||
alias, |
|
||||||
schleifenfstand, |
|
||||||
schleifenfsicht, |
|
||||||
aktion |
|
||||||
FROM tmp_macro_masken_bez |
|
||||||
; |
|
||||||
|
|
||||||
delete from macro_feld_wert where macro in (select macro from tmp_macro_feld_wert); |
|
||||||
|
|
||||||
insert into macro_feld_wert |
|
||||||
( macro, |
|
||||||
sortnr, |
|
||||||
feldname, |
|
||||||
alias, |
|
||||||
value, |
|
||||||
value_caption, |
|
||||||
feldstand, |
|
||||||
feldsicht, |
|
||||||
active) |
|
||||||
SELECT macro, |
|
||||||
sortnr, |
|
||||||
feldname, |
|
||||||
alias, |
|
||||||
value, |
|
||||||
value_caption, |
|
||||||
feldstand, |
|
||||||
feldsicht, |
|
||||||
active |
|
||||||
FROM tmp_macro_feld_wert; |
|
||||||
|
|
||||||
|
|
||||||
drop table tmp_macro_masken_bez; |
|
||||||
drop table tmp_macro_feld_wert; |
|
||||||
|
|
||||||
|
|
||||||
@ -1,153 +0,0 @@ |
|||||||
--freemarker template |
|
||||||
<#if SQLdialect='Postgres'> |
|
||||||
select setval('sichten_tid_seq',(select max(tid) from sichten)); |
|
||||||
</#if> |
|
||||||
<#assign systeminfoid="360" /> |
|
||||||
<#assign sichten = [ |
|
||||||
|
|
||||||
{"name_intern":"sxc_hochschulen_nrw_art", |
|
||||||
"name":"NRW-Hochschulen nach Art", |
|
||||||
"quelle":"<<SQL>> select druck ,apnr, parent, ebene from sxc_hochschulen_nrw_art order by 1", |
|
||||||
"art":"SXC-Kostenstellen-Sicht", |
|
||||||
"sortnr":"10"}, |
|
||||||
{"name_intern":"sxc_hochschulen_nrw_liste", |
|
||||||
"name":"NRW-Hochschulen Liste", |
|
||||||
"quelle":"<<SQL>> select druck ,apnr, parent, ebene from sxc_hochschulen_nrw_liste order by 1", |
|
||||||
"art":"SXC-Kostenstellen-Sicht", |
|
||||||
"sortnr":"20"}, |
|
||||||
{"name_intern":"sxc_hochschulen_bland", |
|
||||||
"name":"Hochschulen nach Bundesland", |
|
||||||
"quelle":"<<SQL>> select druck ,apnr, parent, ebene from sxc_hochschulen_bland order by 1", |
|
||||||
"art":"SXC_Hochschulen-Sicht", |
|
||||||
"sortnr":"30"}, |
|
||||||
{"name_intern":"sxc_hochschulen_art", |
|
||||||
"name":"Hochschulen nach Art", |
|
||||||
"quelle":"<<SQL>> select druck ,apnr, parent, ebene from sxc_hochschulen_art order by 1", |
|
||||||
"art":"SXC_Hochschulen-Sicht", |
|
||||||
"sortnr":"40"}, |
|
||||||
{"name_intern":"sxc_hochschulen_liste", |
|
||||||
"name":"Hochschulen Liste", |
|
||||||
"quelle":"<<SQL>> select druck ,apnr, parent, ebene from sxc_hochschulen_liste order by 1", |
|
||||||
"art":"SXC_Hochschulen-Sicht", |
|
||||||
"sortnr":"50"}, |
|
||||||
{"name_intern":"sxc_hochschulen_liste_stammdaten", |
|
||||||
"name":"Hochschulen Liste Stammdaten", |
|
||||||
"quelle":"<<SQL>> select druck ,apnr, parent, ebene from sxc_hochschulen_liste where apnr in (''1480'',''1140'',''1080'',''1090'',''1130'',''0080'',''1100'',''1110'',''1120'',''0121'',''0130'',''0140'') or ebene=0 order by 1", |
|
||||||
"art":"SXC_Hochschulen-Sicht", |
|
||||||
"sortnr":"60"} |
|
||||||
|
|
||||||
] /> |
|
||||||
|
|
||||||
|
|
||||||
--Ab hier braucht man nichts ändern: |
|
||||||
|
|
||||||
CREATE temp TABLE tmp_sichten ( |
|
||||||
parent character(255), |
|
||||||
systeminfoid integer DEFAULT 0 NOT NULL, |
|
||||||
art character(40), |
|
||||||
type integer , |
|
||||||
name_intern character(200), |
|
||||||
name character(200), |
|
||||||
beschreibung character(255), |
|
||||||
sortnr integer DEFAULT 0 NOT NULL, |
|
||||||
quelle character(255), |
|
||||||
alt_hier_id character(150), |
|
||||||
treecfgtable character(255), |
|
||||||
treecfgid character(150), |
|
||||||
label smallint DEFAULT 0 NOT NULL, |
|
||||||
user_rechte smallint DEFAULT 1 NOT NULL, |
|
||||||
rechtequelle character(255), |
|
||||||
sesamkey character(100), |
|
||||||
standbutton smallint DEFAULT 0 NOT NULL, |
|
||||||
attribut1 character(255), |
|
||||||
attribut2 character(255), |
|
||||||
attribut3 integer, |
|
||||||
attribut4 integer, |
|
||||||
xmlmaxentries integer, |
|
||||||
gueltig_seit date , |
|
||||||
gueltig_bis date, |
|
||||||
aktiv smallint DEFAULT 1 |
|
||||||
); |
|
||||||
<#assign sortnr=0 /> |
|
||||||
<#foreach sicht in sichten> |
|
||||||
<#assign sortnr=sortnr+1 /> |
|
||||||
-- Sicht ${sicht.name} |
|
||||||
|
|
||||||
INSERT INTO tmp_sichten( |
|
||||||
systeminfoid , |
|
||||||
art , |
|
||||||
type , |
|
||||||
name_intern , |
|
||||||
name , |
|
||||||
sortnr , |
|
||||||
quelle , |
|
||||||
label , |
|
||||||
user_rechte , |
|
||||||
standbutton , |
|
||||||
gueltig_seit , |
|
||||||
gueltig_bis , |
|
||||||
aktiv |
|
||||||
) select |
|
||||||
${systeminfoid} , |
|
||||||
'${sicht.art}' , |
|
||||||
10 , |
|
||||||
'${sicht.name_intern}' , |
|
||||||
'${sicht.name}' , |
|
||||||
${sortnr} , |
|
||||||
'${sicht.quelle}', |
|
||||||
0 , |
|
||||||
0 , |
|
||||||
0 , |
|
||||||
date_val('01.01.1900') , |
|
||||||
date_val('01.01.3000') , |
|
||||||
1 from xdummy; |
|
||||||
</#foreach> |
|
||||||
|
|
||||||
--Zur Sicherheit alle Quellen und Standbutton von Sichten |
|
||||||
update sichten set quelle=(select T.quelle from tmp_sichten T |
|
||||||
where T.name_intern=sichten.name_intern) |
|
||||||
where name_intern in (select T2.name_intern from tmp_sichten T2) |
|
||||||
; |
|
||||||
|
|
||||||
update sichten set art=(select T.art from tmp_sichten T |
|
||||||
where T.name_intern=sichten.name_intern) |
|
||||||
where name_intern in (select T2.name_intern from tmp_sichten T2) |
|
||||||
; |
|
||||||
|
|
||||||
update sichten set standbutton=(select T.standbutton from tmp_sichten T |
|
||||||
where T.name_intern=sichten.name_intern) |
|
||||||
where name_intern in (select T2.name_intern from tmp_sichten T2) |
|
||||||
; |
|
||||||
|
|
||||||
delete from tmp_sichten where name_intern in (select name_intern from sichten); |
|
||||||
|
|
||||||
|
|
||||||
INSERT INTO sichten( |
|
||||||
systeminfoid , art , type , name_intern , name , |
|
||||||
sortnr , quelle , label , |
|
||||||
user_rechte , standbutton , |
|
||||||
xmlmaxentries , |
|
||||||
gueltig_seit , gueltig_bis , aktiv) |
|
||||||
select systeminfoid , art , type , name_intern , name , |
|
||||||
sortnr , quelle , label , |
|
||||||
user_rechte , standbutton , |
|
||||||
xmlmaxentries , |
|
||||||
gueltig_seit , gueltig_bis , aktiv |
|
||||||
from tmp_sichten S; |
|
||||||
|
|
||||||
|
|
||||||
--Rechte für Sichten geben |
|
||||||
select 'Rechte für Sichten geben' from xdummy; |
|
||||||
delete from sachgeb_sichtarten where sichtart in |
|
||||||
(select distinct art from tmp_sichten); |
|
||||||
|
|
||||||
insert into sachgeb_sichtarten |
|
||||||
( |
|
||||||
sachgebiete_id , |
|
||||||
sichtart |
|
||||||
) |
|
||||||
select distinct ${systeminfoid},art from tmp_sichten; |
|
||||||
|
|
||||||
|
|
||||||
drop table tmp_sichten; |
|
||||||
|
|
||||||
@ -1,41 +0,0 @@ |
|||||||
--Freemarker Template |
|
||||||
--Achtung: Macro fügt Inhalte ein |
|
||||||
--Bitte nur Freemarker Variablen füllen |
|
||||||
<sqlvars> |
|
||||||
<sqlvar name="sx_jobs_exists">select sp_table_exists('sx_jobs') from xdummy;</sqlvar> |
|
||||||
</sqlvars> |
|
||||||
|
|
||||||
<#assign jobs = [ |
|
||||||
{"uniquename":"21311-0002_stud_sem_da_geschl_hs", "caption":"Destatis Tabelle Stud. nach Geschl.+Staat einlesen", "filepath":"sxc/etl/genesis/21311-0002_stud_sem_da_geschl_hs/import.kjb","sachgebiete_id":360, |
|
||||||
"kenn_profil":"","hs_nr":"","modus_supported":1,"params":"", |
|
||||||
"check_sql":"select count(*) from sxc_stud_sem_da_geschl_hs"} |
|
||||||
] /> |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
--- Freemarker Magic |
|
||||||
<#if sx_jobs_exists=1> |
|
||||||
<#foreach job in jobs> |
|
||||||
delete from sx_jobs where uniquename='${job.uniquename}'; |
|
||||||
</#foreach> |
|
||||||
<#if SQLdialect='Postgres'> |
|
||||||
select sp_update_sequence('sx_jobs'); |
|
||||||
</#if> |
|
||||||
<#foreach job in jobs> |
|
||||||
insert into sx_jobs (uniquename,caption,filepath,sachgebiete_id,kenn_profil,hs_nr,modus_supported,params |
|
||||||
<#if SQLdialect='Postgres'>,check_sql |
|
||||||
</#if>) |
|
||||||
values ('${job.uniquename}','${job.caption}','${job.filepath}',${job.sachgebiete_id},<#if job.kenn_profil!="">${job.kenn_profil}<#else>null::integer</#if>, |
|
||||||
<#if job.hs_nr!="">${job.hs_nr}<#else>null::integer</#if>,${job.modus_supported},'${job.params}' |
|
||||||
<#if SQLdialect='Postgres'> |
|
||||||
,'${job.check_sql}' |
|
||||||
</#if> |
|
||||||
); |
|
||||||
</#foreach> |
|
||||||
|
|
||||||
<#if SQLdialect='Postgres'> |
|
||||||
select sp_update_sequence('sx_jobs'); |
|
||||||
</#if> |
|
||||||
|
|
||||||
</#if> |
|
||||||
@ -1,45 +0,0 @@ |
|||||||
--Freemarker Template |
|
||||||
|
|
||||||
create temp table tmp_hilf (tid integer); |
|
||||||
|
|
||||||
--Sicherstellen, dass keine Duplikate vorkommen: |
|
||||||
--#################################################################################################### |
|
||||||
delete from sx_mask_style where maskeninfo_id=21000 and stylesheet_id in (select tid from sx_stylesheets where filename ='tabelle_html.xsl') and ord=1; |
|
||||||
delete from sx_mask_style where maskeninfo_id=21000 and stylesheet_id in (select tid from sx_stylesheets where filename ='tabelle_html_viz.xsl') and ord=10; |
|
||||||
|
|
||||||
|
|
||||||
-- Mask Style füllen |
|
||||||
--#################################################################################################### |
|
||||||
create temp table tmp_mask_style ( |
|
||||||
tid serial not null, |
|
||||||
maskeninfo_id INTEGER , |
|
||||||
stylesheet_id INTEGER , |
|
||||||
ord SMALLINT, |
|
||||||
filename char(255) |
|
||||||
); |
|
||||||
|
|
||||||
delete from tmp_hilf; |
|
||||||
insert into tmp_hilf select max(tid) from sx_mask_style; |
|
||||||
update tmp_hilf set tid=1 where tid is null; |
|
||||||
|
|
||||||
insert into tmp_mask_style (tid,maskeninfo_id,ord,filename) |
|
||||||
select max(tid)+1,47030,10,'tabelle_html_viz.xsl' from tmp_hilf |
|
||||||
where 0< (select count(*) from sx_stylesheets where filename='tabelle_html_viz.xsl'); |
|
||||||
|
|
||||||
update tmp_mask_style set stylesheet_id=(select max(tid) from sx_stylesheets where filename='tabelle_html_viz.xsl') |
|
||||||
where filename='tabelle_html_viz.xsl'; |
|
||||||
|
|
||||||
insert into sx_mask_style ( tid, maskeninfo_id, stylesheet_id, ord) |
|
||||||
SELECT tid, maskeninfo_id, stylesheet_id, ord |
|
||||||
FROM tmp_mask_style; |
|
||||||
|
|
||||||
drop table tmp_mask_style; |
|
||||||
|
|
||||||
drop table tmp_hilf; |
|
||||||
|
|
||||||
select sp_update_sequence('sx_stylesheets'); |
|
||||||
select sp_update_sequence('sx_mask_style'); |
|
||||||
select sp_update_sequence('stylesheet_field'); |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1 +0,0 @@ |
|||||||
1^MKW NRW Hochschulkennzahlen^MWK NRW^^ |
|
||||||
@ -1,5 +0,0 @@ |
|||||||
4^Verwaltungshochschule^ |
|
||||||
1^Universitäten^ |
|
||||||
2^Fachhochschulen / HAW^ |
|
||||||
5^Hochschulen eigenen Typs^ |
|
||||||
3^Künstlerische Hochschulen^ |
|
||||||
@ -1,3 +0,0 @@ |
|||||||
3^kirchlich, staatlich anerkannt^false^ |
|
||||||
2^privat, staatlich anerkannt^false^ |
|
||||||
1^öffentlich-rechtlich^true^ |
|
||||||
@ -1,77 +0,0 @@ |
|||||||
1^Hochschule^TU Dortmund^sxc_zahl_wert^1^hs_nr^1130^ |
|
||||||
1^Hochschule^U Aachen (TH)^sxc_zahl_wert^1^hs_nr^1480^ |
|
||||||
1^Hochschule^U Bielefeld^sxc_zahl_wert^1^hs_nr^1140^ |
|
||||||
1^Hochschule^U Bochum^sxc_zahl_wert^1^hs_nr^1080^ |
|
||||||
1^Hochschule^U Bonn^sxc_zahl_wert^1^hs_nr^1090^ |
|
||||||
1^Hochschule^U Deutsche Sporthochschule Köln^sxc_zahl_wert^1^hs_nr^1150^ |
|
||||||
1^Hochschule^U Düsseldorf^sxc_zahl_wert^1^hs_nr^1100^ |
|
||||||
1^Hochschule^U Köln^sxc_zahl_wert^1^hs_nr^1110^ |
|
||||||
1^Hochschule^U Münster^sxc_zahl_wert^1^hs_nr^1120^ |
|
||||||
1^Hochschule^U Duisburg-Essen^sxc_zahl_wert^1^hs_nr^0080^ |
|
||||||
1^Hochschule^U Hagen (Fernuniversität)^sxc_zahl_wert^1^hs_nr^0150^ |
|
||||||
1^Hochschule^U Paderborn^sxc_zahl_wert^1^hs_nr^0121^ |
|
||||||
1^Hochschule^U Siegen^sxc_zahl_wert^1^hs_nr^0130^ |
|
||||||
1^Hochschule^U Wuppertal^sxc_zahl_wert^1^hs_nr^0140^ |
|
||||||
1^Lehr- und Forschungsbereich^00^k_astat_lfb_fg^1^lfb^10^ |
|
||||||
1^Lehr- und Forschungsbereich^01^k_astat_lfb_fg^1^lfb^20^ |
|
||||||
1^Lehr- und Forschungsbereich^02^k_astat_lfb_fg^1^lfb^30^ |
|
||||||
1^Lehr- und Forschungsbereich^04^k_astat_lfb_fg^1^lfb^40^ |
|
||||||
1^Lehr- und Forschungsbereich^07^k_astat_lfb_fg^1^lfb^50^ |
|
||||||
1^Lehr- und Forschungsbereich^11^k_astat_lfb_fg^1^lfb^80^ |
|
||||||
1^Lehr- und Forschungsbereich^12^k_astat_lfb_fg^1^lfb^90^ |
|
||||||
1^Lehr- und Forschungsbereich^13^k_astat_lfb_fg^1^lfb^100^ |
|
||||||
1^Lehr- und Forschungsbereich^14^k_astat_lfb_fg^1^lfb^110^ |
|
||||||
1^Lehr- und Forschungsbereich^15^k_astat_lfb_fg^1^lfb^120^ |
|
||||||
1^Lehr- und Forschungsbereich^18^k_astat_lfb_fg^1^lfb^140^ |
|
||||||
1^Lehr- und Forschungsbereich^16^k_astat_lfb_fg^1^lfb^130^ |
|
||||||
1^Lehr- und Forschungsbereich^17^k_astat_lfb_fg^1^lfb^160^ |
|
||||||
1^Lehr- und Forschungsbereich^05^k_astat_lfb_fg^1^lfb^315^ |
|
||||||
1^Lehr- und Forschungsbereich^06^k_astat_lfb_fg^1^lfb^320^ |
|
||||||
1^Lehr- und Forschungsbereich^80^k_astat_lfb_fg^1^lfb^200^ |
|
||||||
1^Lehr- und Forschungsbereich^20^k_astat_lfb_fg^1^lfb^220^ |
|
||||||
1^Lehr- und Forschungsbereich^23^k_astat_lfb_fg^1^lfb^235^ |
|
||||||
1^Lehr- und Forschungsbereich^24^k_astat_lfb_fg^1^lfb^240^ |
|
||||||
1^Lehr- und Forschungsbereich^21^k_astat_lfb_fg^1^lfb^250^ |
|
||||||
1^Lehr- und Forschungsbereich^25^k_astat_lfb_fg^1^lfb^270^ |
|
||||||
1^Lehr- und Forschungsbereich^22^k_astat_lfb_fg^1^lfb^290^ |
|
||||||
1^Lehr- und Forschungsbereich^26^k_astat_lfb_fg^1^lfb^310^ |
|
||||||
1^Lehr- und Forschungsbereich^30^k_astat_lfb_fg^1^lfb^330^ |
|
||||||
1^Lehr- und Forschungsbereich^31^k_astat_lfb_fg^1^lfb^340^ |
|
||||||
1^Lehr- und Forschungsbereich^32^k_astat_lfb_fg^1^lfb^765^ |
|
||||||
1^Lehr- und Forschungsbereich^33^k_astat_lfb_fg^1^lfb^360^ |
|
||||||
1^Lehr- und Forschungsbereich^34^k_astat_lfb_fg^1^lfb^370^ |
|
||||||
1^Lehr- und Forschungsbereich^35^k_astat_lfb_fg^1^lfb^390^ |
|
||||||
1^Lehr- und Forschungsbereich^36^k_astat_lfb_fg^1^lfb^400^ |
|
||||||
1^Lehr- und Forschungsbereich^38^k_astat_lfb_fg^1^lfb^410^ |
|
||||||
1^Lehr- und Forschungsbereich^37^k_astat_lfb_fg^1^lfb^420^ |
|
||||||
1^Lehr- und Forschungsbereich^50^k_astat_lfb_fg^1^lfb^445^ |
|
||||||
1^Lehr- und Forschungsbereich^51^k_astat_lfb_fg^1^lfb^450^ |
|
||||||
1^Lehr- und Forschungsbereich^52^k_astat_lfb_fg^1^lfb^470^ |
|
||||||
1^Lehr- und Forschungsbereich^53^k_astat_lfb_fg^1^lfb^490^ |
|
||||||
1^Lehr- und Forschungsbereich^54^k_astat_lfb_fg^1^lfb^520^ |
|
||||||
1^Lehr- und Forschungsbereich^56^k_astat_lfb_fg^1^lfb^550^ |
|
||||||
1^Lehr- und Forschungsbereich^41^k_astat_lfb_fg^1^lfb^620^ |
|
||||||
1^Lehr- und Forschungsbereich^60^k_astat_lfb_fg^1^lfb^670^ |
|
||||||
1^Lehr- und Forschungsbereich^67^k_astat_lfb_fg^1^lfb^680^ |
|
||||||
1^Lehr- und Forschungsbereich^65^k_astat_lfb_fg^1^lfb^690^ |
|
||||||
1^Lehr- und Forschungsbereich^66^k_astat_lfb_fg^1^lfb^710^ |
|
||||||
1^Lehr- und Forschungsbereich^68^k_astat_lfb_fg^1^lfb^720^ |
|
||||||
1^Lehr- und Forschungsbereich^61^k_astat_lfb_fg^1^lfb^730^ |
|
||||||
1^Lehr- und Forschungsbereich^62^k_astat_lfb_fg^1^lfb^740^ |
|
||||||
1^Lehr- und Forschungsbereich^63^k_astat_lfb_fg^1^lfb^750^ |
|
||||||
1^Lehr- und Forschungsbereich^64^k_astat_lfb_fg^1^lfb^760^ |
|
||||||
1^Lehr- und Forschungsbereich^70^k_astat_lfb_fg^1^lfb^780^ |
|
||||||
1^Lehr- und Forschungsbereich^71^k_astat_lfb_fg^1^lfb^790^ |
|
||||||
1^Lehr- und Forschungsbereich^72^k_astat_lfb_fg^1^lfb^800^ |
|
||||||
1^Lehr- und Forschungsbereich^74^k_astat_lfb_fg^1^lfb^820^ |
|
||||||
1^Lehr- und Forschungsbereich^73^k_astat_lfb_fg^1^lfb^830^ |
|
||||||
1^Lehr- und Forschungsbereich^94^k_astat_lfb_fg^1^lfb^950^ |
|
||||||
1^Lehr- und Forschungsbereich^9E^k_astat_lfb_fg^1^lfb^910^ |
|
||||||
1^Lehr- und Forschungsbereich^55^k_astat_lfb_fg^1^lfb^540^ |
|
||||||
1^Lehr- und Forschungsbereich^08^k_astat_lfb_fg^1^lfb^70^ |
|
||||||
1^Lehr- und Forschungsbereich^57^k_astat_lfb_fg^1^lfb^560^ |
|
||||||
1^Lehr- und Forschungsbereich^69^k_astat_lfb_fg^1^lfb^675^ |
|
||||||
1^Lehr- und Forschungsbereich^5B^k_astat_lfb_fg^1^lfb^440^ |
|
||||||
1^Lehr- und Forschungsbereich^40^k_astat_lfb_fg^1^lfb^610^ |
|
||||||
1^Lehr- und Forschungsbereich^42^k_astat_lfb_fg^1^lfb^650^ |
|
||||||
1^Lehr- und Forschungsbereich^03^k_astat_lfb_fg^1^lfb^195^ |
|
||||||
@ -1,37 +0,0 @@ |
|||||||
1241^1240^1^von HS werden beide Nummern verwendet^ |
|
||||||
371^370^1^von HS werden beide Nummern verwendet^ |
|
||||||
1251^1250^1^von HS werden beide Nummern verwendet^ |
|
||||||
8101^810E^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
8101^810Y^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
8101^810X^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
1633^1631^1^Verwendung von alten HS-Nummern^ |
|
||||||
1633^1632^1^Verwendung von alten HS-Nummern^ |
|
||||||
1322^1323^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
5721^5720^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
5721^572L^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
3242^3241^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
0371^0372^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
0371^0370^1^von HS wird diese Nr verwendet, fehlt in HSK^ |
|
||||||
0011^0012^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
7721^7722^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
7721^7723^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
6207^6202^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
6207^6205^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
6207^6206^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
7521^7522^1^Standort fehlt noch in HSK-Standorte (noch keine)^ |
|
||||||
7521^7523^1^Standort fehlt noch in HSK-Standorte (noch keine)^ |
|
||||||
1210^1292^1^von HS werden beide Nummern verwendet^ |
|
||||||
817A^8171^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
817A^8172^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
817A^8174^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
817A^817F^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
6281^2150^1^Bei HSK als eigenst. Hochschule, bei CHE bei Hochschule Fresenius mitgerechnet^ |
|
||||||
5721^1790^1^bei CHE bei IU Internationale Hochschule mitgerechnet^ |
|
||||||
7301^7300^1^von HS werden beide Nummern verwendet^ |
|
||||||
7301^7303^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
6710^6711^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
7311^7312^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
7311^7313^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
6581^6582^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
6910^6911^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
1542^1541^1^Standort fehlt noch in HSK-Standorte^ |
|
||||||
@ -1,235 +0,0 @@ |
|||||||
-- Hier werden die Daten aus kenn_hochschulen in die Tabelle organigramm geladen |
|
||||||
-- nur für SuperX-Connect |
|
||||||
|
|
||||||
delete from organigramm; |
|
||||||
|
|
||||||
|
|
||||||
create temp table tmp_organigramm ( |
|
||||||
tid serial not null, |
|
||||||
key_apnr CHAR(10) , |
|
||||||
parent CHAR(10) , |
|
||||||
drucktext CHAR(50) , |
|
||||||
name NCHAR(150) , |
|
||||||
ebene INTEGER , |
|
||||||
lehre SMALLINT not null, |
|
||||||
gueltig_seit DATE not null, |
|
||||||
gueltig_bis DATE not null, |
|
||||||
orgstruktur INTEGER |
|
||||||
) |
|
||||||
; |
|
||||||
--root |
|
||||||
insert into tmp_organigramm |
|
||||||
(name,drucktext,key_apnr,parent,ebene,lehre,gueltig_seit,gueltig_bis,orgstruktur) |
|
||||||
SELECT 'Hochschulen', |
|
||||||
'Hochschulen', --drucktext |
|
||||||
'0',--key_apnr |
|
||||||
null::char(10), --parent |
|
||||||
1, --ebene |
|
||||||
1, --lehre |
|
||||||
date_val('01.01.1900'), |
|
||||||
date_val('31.12.2999'), |
|
||||||
0 --orgstruktur |
|
||||||
FROM xdummy; |
|
||||||
|
|
||||||
|
|
||||||
-- UNI (parent=1) |
|
||||||
|
|
||||||
insert into tmp_organigramm |
|
||||||
(name,drucktext,key_apnr,parent,ebene,lehre,gueltig_seit,gueltig_bis,orgstruktur) |
|
||||||
SELECT 'Universitäten', |
|
||||||
'Universitäten', --drucktext |
|
||||||
'1',--key_apnr |
|
||||||
'0'::char(10), --parent |
|
||||||
2, --ebene |
|
||||||
1, --lehre |
|
||||||
date_val('01.01.1900'), |
|
||||||
date_val('31.12.2999'), |
|
||||||
0 --orgstruktur |
|
||||||
FROM xdummy; |
|
||||||
|
|
||||||
|
|
||||||
insert into tmp_organigramm |
|
||||||
(name,drucktext,key_apnr,parent,ebene,lehre,gueltig_seit,gueltig_bis,orgstruktur) |
|
||||||
SELECT substring(name from 1 for 150), |
|
||||||
substring(name from 1 for 50), --drucktext |
|
||||||
trim(hs_nr::char(10)),--key_apnr |
|
||||||
'1'::char(10), --parent |
|
||||||
3, --ebene |
|
||||||
0, --lehre |
|
||||||
date_val('01.01.1900'), |
|
||||||
date_val('31.12.2999'), |
|
||||||
10 --orgstruktur |
|
||||||
FROM kenn_hochschulen where art='U' |
|
||||||
--nur Hochschulen, die auch als Org-Einheiten drin sind: |
|
||||||
and hs_nr in (select H.hs_nr from hochschulinfo H); |
|
||||||
; |
|
||||||
|
|
||||||
-- PH (parent=2) |
|
||||||
|
|
||||||
insert into tmp_organigramm |
|
||||||
(name,drucktext,key_apnr,parent,ebene,lehre,gueltig_seit,gueltig_bis,orgstruktur) |
|
||||||
SELECT 'Pädagogische Hochschulen', |
|
||||||
'Pädagogische Hochschulen', --drucktext |
|
||||||
'2',--key_apnr |
|
||||||
'0'::char(10), --parent |
|
||||||
2, --ebene |
|
||||||
1, --lehre |
|
||||||
date_val('01.01.1900'), |
|
||||||
date_val('31.12.2999'), |
|
||||||
0 --orgstruktur |
|
||||||
FROM xdummy; |
|
||||||
|
|
||||||
|
|
||||||
insert into tmp_organigramm |
|
||||||
(name,drucktext,key_apnr,parent,ebene,lehre,gueltig_seit,gueltig_bis,orgstruktur) |
|
||||||
SELECT substring(name from 1 for 150), |
|
||||||
substring(name from 1 for 50), --drucktext |
|
||||||
trim(hs_nr::char(10)),--key_apnr |
|
||||||
'2'::char(10), --parent |
|
||||||
3, --ebene |
|
||||||
0, --lehre |
|
||||||
date_val('01.01.1900'), |
|
||||||
date_val('31.12.2999'), |
|
||||||
10 --orgstruktur |
|
||||||
FROM kenn_hochschulen where art='PH' |
|
||||||
--nur Hochschulen, die auch als Org-Einheiten drin sind: |
|
||||||
and hs_nr in (select H.hs_nr from hochschulinfo H); |
|
||||||
; |
|
||||||
|
|
||||||
-- FH (parent=3) |
|
||||||
insert into tmp_organigramm |
|
||||||
(name,drucktext,key_apnr,parent,ebene,lehre,gueltig_seit,gueltig_bis,orgstruktur) |
|
||||||
SELECT 'Hochschulen für angewandte Wissenschaften', |
|
||||||
'Hochschulen für angewandte Wissenschaften', --drucktext |
|
||||||
'3',--key_apnr |
|
||||||
'0'::char(10), --parent |
|
||||||
2, --ebene |
|
||||||
1, --lehre |
|
||||||
date_val('01.01.1900'), |
|
||||||
date_val('31.12.2999'), |
|
||||||
0 --orgstruktur |
|
||||||
FROM xdummy; |
|
||||||
|
|
||||||
insert into tmp_organigramm |
|
||||||
(name,drucktext,key_apnr,parent,ebene,lehre,gueltig_seit,gueltig_bis,orgstruktur) |
|
||||||
SELECT substring(name from 1 for 150), |
|
||||||
substring(name from 1 for 50), --drucktext |
|
||||||
trim(hs_nr::char(10)),--key_apnr |
|
||||||
'3'::char(10), --parent |
|
||||||
3, --ebene |
|
||||||
0, --lehre |
|
||||||
date_val('01.01.1900'), |
|
||||||
date_val('31.12.2999'), |
|
||||||
10 --orgstruktur |
|
||||||
FROM kenn_hochschulen where art='FH' |
|
||||||
|
|
||||||
--nur Hochschulen, die auch als Org-Einheiten drin sind: |
|
||||||
and hs_nr in (select H.hs_nr from hochschulinfo H); |
|
||||||
; |
|
||||||
|
|
||||||
-- Kunst Musik (parent=4) |
|
||||||
|
|
||||||
insert into tmp_organigramm |
|
||||||
(name,drucktext,key_apnr,parent,ebene,lehre,gueltig_seit,gueltig_bis,orgstruktur) |
|
||||||
SELECT 'Kunst- und Musikhochschulen', |
|
||||||
'Kunst- und Musikhochschulen', --drucktext |
|
||||||
'4',--key_apnr |
|
||||||
'0'::char(10), --parent |
|
||||||
2, --ebene |
|
||||||
1, --lehre |
|
||||||
date_val('01.01.1900'), |
|
||||||
date_val('31.12.2999'), |
|
||||||
0 --orgstruktur |
|
||||||
FROM xdummy; |
|
||||||
|
|
||||||
|
|
||||||
insert into tmp_organigramm |
|
||||||
(name,drucktext,key_apnr,parent,ebene,lehre,gueltig_seit,gueltig_bis,orgstruktur) |
|
||||||
SELECT substring(name from 1 for 150), |
|
||||||
substring(name from 1 for 50), --drucktext |
|
||||||
trim(hs_nr::char(10)),--key_apnr |
|
||||||
'4'::char(10), --parent |
|
||||||
3, --ebene |
|
||||||
0, --lehre |
|
||||||
date_val('01.01.1900'), |
|
||||||
date_val('31.12.2999'), |
|
||||||
10 --orgstruktur |
|
||||||
FROM kenn_hochschulen where art='KMW' |
|
||||||
|
|
||||||
--nur Hochschulen, die auch als Org-Einheiten drin sind: |
|
||||||
and hs_nr in (select H.hs_nr from hochschulinfo H); |
|
||||||
; |
|
||||||
|
|
||||||
-- DH (parent=5) |
|
||||||
|
|
||||||
insert into tmp_organigramm |
|
||||||
(name,drucktext,key_apnr,parent,ebene,lehre,gueltig_seit,gueltig_bis,orgstruktur) |
|
||||||
SELECT 'Duale Hochschulen', |
|
||||||
'Duale Hochschulen', --drucktext |
|
||||||
'5',--key_apnr |
|
||||||
'0'::char(10), --parent |
|
||||||
2, --ebene |
|
||||||
1, --lehre |
|
||||||
date_val('01.01.1900'), |
|
||||||
date_val('31.12.2999'), |
|
||||||
0 --orgstruktur |
|
||||||
FROM xdummy; |
|
||||||
|
|
||||||
|
|
||||||
insert into tmp_organigramm |
|
||||||
(name,drucktext,key_apnr,parent,ebene,lehre,gueltig_seit,gueltig_bis,orgstruktur) |
|
||||||
SELECT substring(name from 1 for 150), |
|
||||||
substring(name from 1 for 50), --drucktext |
|
||||||
trim(hs_nr::char(10)),--key_apnr |
|
||||||
'5'::char(10), --parent |
|
||||||
3, --ebene |
|
||||||
0, --lehre |
|
||||||
date_val('01.01.1900'), |
|
||||||
date_val('31.12.2999'), |
|
||||||
10 --orgstruktur |
|
||||||
FROM kenn_hochschulen where art='DH' |
|
||||||
|
|
||||||
--nur Hochschulen, die auch als Org-Einheiten drin sind: |
|
||||||
and hs_nr in (select H.hs_nr from hochschulinfo H); |
|
||||||
; |
|
||||||
|
|
||||||
--BaWue-spez. Duplikate entfernen: |
|
||||||
|
|
||||||
delete from tmp_organigramm |
|
||||||
where key_apnr in ('1240','1820','1270','1250','8171','8172','8173','8174','8175','8176','8177','8178','8179'); |
|
||||||
|
|
||||||
|
|
||||||
--hochschulen bekommen orgstruktur 10, damit Sichten mit nodeattrib klappen: |
|
||||||
update organigramm set orgstruktur=10 |
|
||||||
where key_apnr in (select T.key_apnr |
|
||||||
from tmp_organigramm T |
|
||||||
where T.orgstruktur=10) |
|
||||||
; |
|
||||||
|
|
||||||
delete from organigramm |
|
||||||
where key_apnr in (select key_apnr from tmp_organigramm ) |
|
||||||
and 0=(select count(*) from tmp_organigramm T |
|
||||||
where organigramm.key_apnr || '_' || organigramm.name = T.key_apnr || '_' || T.name); |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
delete from tmp_organigramm |
|
||||||
where key_apnr in (select key_apnr from organigramm); |
|
||||||
|
|
||||||
create temp table tmp_hilf (tid integer); |
|
||||||
insert into tmp_hilf select max(tid) from organigramm; |
|
||||||
|
|
||||||
update tmp_hilf set tid=1 where tid is null; |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
insert into organigramm |
|
||||||
(tid,name,drucktext,key_apnr,parent,ebene,lehre,gueltig_seit,gueltig_bis,orgstruktur) |
|
||||||
SELECT O.tid+H.tid,name,drucktext,key_apnr,parent,ebene,lehre,gueltig_seit,gueltig_bis,orgstruktur |
|
||||||
FROM tmp_organigramm O, tmp_hilf H; |
|
||||||
|
|
||||||
|
|
||||||
drop table tmp_organigramm; |
|
||||||
drop table tmp_hilf; |
|
||||||
|
|
||||||
@ -1,26 +0,0 @@ |
|||||||
--Freemarker Template |
|
||||||
-- TableFieldExists wird genutzt, um zu prüfen, ob die entsprechende Tabelle existiert |
|
||||||
--Geschlecht |
|
||||||
<#if TableFieldExists('sxc_stud_sem_da_geschl_hs','auspraegung_code_3')> |
|
||||||
delete from xcube_dims where id='auspraegung_code_3'; |
|
||||||
INSERT INTO xcube_dims (id,apnr,name,sort1) values |
|
||||||
('auspraegung_code_3','GESM','männlich',1); |
|
||||||
INSERT INTO xcube_dims (id,apnr,name,sort1) values |
|
||||||
('auspraegung_code_3','GESW','weiblich',2); |
|
||||||
INSERT INTO xcube_dims (id,apnr,name,sort1) values |
|
||||||
('auspraegung_code_3','UNB','nicht bekannt',3); |
|
||||||
</#if> |
|
||||||
<#if TableFieldExists('sxc_stud_sem_da_geschl_hs','auspraegung_code_2')> |
|
||||||
delete from xcube_dims where id='auspraegung_code_2'; |
|
||||||
INSERT INTO xcube_dims (id,apnr,name,sort1) values |
|
||||||
('auspraegung_code_2','NATD','Deutschland',1); |
|
||||||
INSERT INTO xcube_dims (id,apnr,name,sort1) values |
|
||||||
('auspraegung_code_2','NATA','Ausland',2); |
|
||||||
</#if> |
|
||||||
|
|
||||||
|
|
||||||
--Zum Testen |
|
||||||
--INSERT INTO xcube_dims (id,apnr,name,sort1,parent,strukturstr) |
|
||||||
--VALUES |
|
||||||
-- -('fs4','0','FS<4',1,NULL,NULL), |
|
||||||
-- ('fs4','1','FS>=4',2,NULL,NULL); |
|
||||||
@ -1,150 +0,0 @@ |
|||||||
--freemarker template |
|
||||||
|
|
||||||
<#assign xcubes = [ |
|
||||||
{"name":"Studierendenwürfel_SXC", |
|
||||||
"uniquename":"xcube_sxc_stud_sem_da_geschl_hs", |
|
||||||
"sachgebiet":16, |
|
||||||
"table_name":"sxc_stud_sem_da_geschl_hs", |
|
||||||
"maskeninfo_id":47030 |
|
||||||
}, |
|
||||||
{"name":"Makro_Studierendenwürfel_SXC", |
|
||||||
"uniquename":"xcube_sxc_stud_sem_da_geschl_hs", |
|
||||||
"sachgebiet":16, |
|
||||||
"table_name":"sxc_stud_sem_da_geschl_hs", |
|
||||||
"maskeninfo_id":47030 |
|
||||||
} |
|
||||||
] /> |
|
||||||
|
|
||||||
<#assign xcube_kennzahl = [ |
|
||||||
{ "maskeninfo_id":47030, |
|
||||||
"apnr":"sxc_stud", |
|
||||||
"name":"Studierende", |
|
||||||
"aggrfunction":"sum(bil002__studierende__anzahl)", |
|
||||||
"restriction":"bil002__studierende__q='e'", |
|
||||||
"datatype":"integer", |
|
||||||
"is_default":1, |
|
||||||
"sortnr":1}, |
|
||||||
|
|
||||||
{ "maskeninfo_id":47060, |
|
||||||
"apnr":"makro_sxc_stud", |
|
||||||
"name":"Makro_Studierende", |
|
||||||
"aggrfunction":"sum(bil002__studierende__anzahl)", |
|
||||||
"restriction":"bil002__studierende__q='e'", |
|
||||||
"datatype":"integer", |
|
||||||
"is_default":1, |
|
||||||
"sortnr":1} |
|
||||||
] /> |
|
||||||
|
|
||||||
|
|
||||||
<#assign xcube_dimconfig = [ |
|
||||||
<#-- SXC_Studierendenwürfel --> |
|
||||||
{"maskeninfo_id":47030, |
|
||||||
"name":"semester", |
|
||||||
"caption":"Semester", |
|
||||||
"is_coldefault":1, |
|
||||||
"foreignkey_tab":"kenn_semester", |
|
||||||
"foreignkey_col":"tid", |
|
||||||
"foreignkey_cap":"druck", |
|
||||||
"sortfield":"tid", |
|
||||||
"calc_gesamt":0}, |
|
||||||
{"maskeninfo_id":47030, |
|
||||||
"name":"hs_nr", |
|
||||||
"caption":"Hochschule", |
|
||||||
"is_rowdefault":1, |
|
||||||
"is_sicht":1}, |
|
||||||
{"maskeninfo_id":47030, |
|
||||||
"name":"auspraegung_code_3", |
|
||||||
"caption":"Geschlecht", |
|
||||||
"foreignkey_tab":"xcube_dims", |
|
||||||
"foreignkey_col":"apnr", |
|
||||||
"foreignkey_cap":"name", |
|
||||||
"foreignkey_cond":"id='auspraegung_code_3'", |
|
||||||
"attrib_nachbearbeitung": "update <<tmp_table>> set <<col>>='UNB' where <<col>> is NULL", |
|
||||||
"sortfield":"sort1"}, |
|
||||||
{"maskeninfo_id":47030, |
|
||||||
"name":"auspraegung_code_2", |
|
||||||
"caption":"Nationalität", |
|
||||||
"foreignkey_tab":"xcube_dims", |
|
||||||
"foreignkey_col":"apnr", |
|
||||||
"foreignkey_cap":"name", |
|
||||||
"foreignkey_cond":"id='auspraegung_code_2'", |
|
||||||
|
|
||||||
"sortfield":"sort1"} , |
|
||||||
<#-- Makro_SXC_Studierendenwürfel --> |
|
||||||
{"maskeninfo_id":47060, |
|
||||||
"name":"semester", |
|
||||||
"caption":"Semester", |
|
||||||
"is_coldefault":1, |
|
||||||
"foreignkey_tab":"kenn_semester", |
|
||||||
"foreignkey_col":"tid", |
|
||||||
"foreignkey_cap":"druck", |
|
||||||
"sortfield":"tid", |
|
||||||
"calc_gesamt":0}, |
|
||||||
{"maskeninfo_id":47060, |
|
||||||
"name":"hs_nr", |
|
||||||
"caption":"Hochschule", |
|
||||||
"is_rowdefault":1, |
|
||||||
"is_sicht":1}, |
|
||||||
{"maskeninfo_id":47060, |
|
||||||
"name":"auspraegung_code_3", |
|
||||||
"caption":"Geschlecht", |
|
||||||
"foreignkey_tab":"xcube_dims", |
|
||||||
"foreignkey_col":"apnr", |
|
||||||
"foreignkey_cap":"name", |
|
||||||
"foreignkey_cond":"id='auspraegung_code_3'", |
|
||||||
"attrib_nachbearbeitung": "update <<tmp_table>> set <<col>>='UNB' where <<col>> is NULL", |
|
||||||
"sortfield":"sort1"}, |
|
||||||
{"maskeninfo_id":47060, |
|
||||||
"name":"auspraegung_code_2", |
|
||||||
"caption":"Nationalität", |
|
||||||
"foreignkey_tab":"xcube_dims", |
|
||||||
"foreignkey_col":"apnr", |
|
||||||
"foreignkey_cap":"name", |
|
||||||
"foreignkey_cond":"id='auspraegung_code_2'", |
|
||||||
|
|
||||||
"sortfield":"sort1"} |
|
||||||
] /> |
|
||||||
|
|
||||||
|
|
||||||
--freemarker magic |
|
||||||
|
|
||||||
<#foreach cube in xcubes> |
|
||||||
delete from xcube where maskeninfo_id=${cube.maskeninfo_id}; |
|
||||||
delete from xcube_dimconfig where maskeninfo_id=${cube.maskeninfo_id}; |
|
||||||
delete from xcube_kennzahl where maskeninfo_id=${cube.maskeninfo_id}; |
|
||||||
insert into xcube (name,uniquename,table_name,maskeninfo_id,sachgebiet) |
|
||||||
values ('${cube.name}','${cube.uniquename}','${cube.table_name}',${cube.maskeninfo_id},${cube.sachgebiet}); |
|
||||||
</#foreach> |
|
||||||
|
|
||||||
<#foreach k in xcube_kennzahl> |
|
||||||
insert into xcube_kennzahl (apnr,name,maskeninfo_id,aggrfunction,restriction,is_default,sortnr) values |
|
||||||
('${k.apnr}','${k.name}',${k.maskeninfo_id},'${k.aggrfunction?replace("\x0027","\x0027\x0027")}', |
|
||||||
'${k.restriction?replace("\x0027","\x0027\x0027")}', |
|
||||||
${k.is_default},${k.sortnr}); |
|
||||||
<#if k?keys?seq_contains("datatype")> update xcube_kennzahl set datatype='${k.datatype}' where maskeninfo_id='${k.maskeninfo_id}' and apnr='${k.apnr}';</#if> |
|
||||||
</#foreach> |
|
||||||
|
|
||||||
|
|
||||||
<#foreach conf in xcube_dimconfig> |
|
||||||
-- einfache durch zwei einfache Zeichen ersetzten x0027 |
|
||||||
insert into xcube_dimconfig (maskeninfo_id,name,caption) |
|
||||||
values (${conf.maskeninfo_id},'${conf.name}','${conf.caption?replace("\x0027","\x0027\x0027")}'); |
|
||||||
|
|
||||||
|
|
||||||
<#if conf?keys?seq_contains("foreignkey_tab")> update xcube_dimconfig set foreignkey_tab='${conf.foreignkey_tab}' where maskeninfo_id='${conf.maskeninfo_id}' and name='${conf.name}';</#if> |
|
||||||
<#if conf?keys?seq_contains("foreignkey_cap")> update xcube_dimconfig set foreignkey_cap='${conf.foreignkey_cap}' where maskeninfo_id='${conf.maskeninfo_id}' and name='${conf.name}';</#if> |
|
||||||
<#if conf?keys?seq_contains("foreignkey_col")> update xcube_dimconfig set foreignkey_col='${conf.foreignkey_col}' where maskeninfo_id='${conf.maskeninfo_id}' and name='${conf.name}';</#if> |
|
||||||
<#if conf?keys?seq_contains("sortfield")> update xcube_dimconfig set sortfield='${conf.sortfield}' where maskeninfo_id='${conf.maskeninfo_id}' and name='${conf.name}';</#if> |
|
||||||
<#if conf?keys?seq_contains("is_sicht")> update xcube_dimconfig set is_sicht=${conf.is_sicht} where maskeninfo_id='${conf.maskeninfo_id}' and name='${conf.name}';</#if> |
|
||||||
<#if conf?keys?seq_contains("calc_gesamt")> update xcube_dimconfig set calc_gesamt=${conf.calc_gesamt} where maskeninfo_id='${conf.maskeninfo_id}' and name='${conf.name}';</#if> |
|
||||||
<#if conf?keys?seq_contains("is_rowdim")> update xcube_dimconfig set is_rowdim=${conf.is_rowdim} where maskeninfo_id='${conf.maskeninfo_id}' and name='${conf.name}';</#if> |
|
||||||
<#if conf?keys?seq_contains("is_secondrowdim")> update xcube_dimconfig set is_secondrowdim=${conf.is_secondrowdim} where maskeninfo_id='${conf.maskeninfo_id}' and name='${conf.name}';</#if> |
|
||||||
<#if conf?keys?seq_contains("is_rowdefault")> update xcube_dimconfig set is_rowdefault=${conf.is_rowdefault} where maskeninfo_id='${conf.maskeninfo_id}' and name='${conf.name}';</#if> |
|
||||||
<#if conf?keys?seq_contains("is_coldim")> update xcube_dimconfig set is_coldim=${conf.is_coldim} where maskeninfo_id='${conf.maskeninfo_id}' and name='${conf.name}';</#if> |
|
||||||
<#if conf?keys?seq_contains("is_secondcoldim")> update xcube_dimconfig set is_secondcoldim=${conf.is_secondcoldim} where maskeninfo_id='${conf.maskeninfo_id}' and name='${conf.name}';</#if> |
|
||||||
<#if conf?keys?seq_contains("is_coldefault")> update xcube_dimconfig set is_coldefault=${conf.is_coldefault} where maskeninfo_id='${conf.maskeninfo_id}' and name='${conf.name}';</#if> |
|
||||||
<#if conf?keys?seq_contains("foreignkey_cond")> update xcube_dimconfig set foreignkey_cond='${conf.foreignkey_cond?replace("\x0027","\x0027\x0027")}' where maskeninfo_id='${conf.maskeninfo_id}' and name='${conf.name}';</#if> |
|
||||||
<#if conf?keys?seq_contains("is_virtual")> update xcube_dimconfig set is_virtual=${conf.is_virtual} where maskeninfo_id='${conf.maskeninfo_id}' and name='${conf.name}';</#if> |
|
||||||
<#if conf?keys?seq_contains("vcsql")> update xcube_dimconfig set vcsql='${conf.vcsql?replace("\x0027","\x0027\x0027")}' where maskeninfo_id='${conf.maskeninfo_id}' and name='${conf.name}';</#if> |
|
||||||
<#if conf?keys?seq_contains("attrib_nachbearbeitung")> update xcube_dimconfig set attrib_nachbearbeitung='${conf.attrib_nachbearbeitung?replace("\x0027","\x0027\x0027")}' where maskeninfo_id='${conf.maskeninfo_id}' and name='${conf.name}';</#if> |
|
||||||
</#foreach> |
|
||||||
@ -1,16 +0,0 @@ |
|||||||
update xcube set restriction='1=1 |
|
||||||
/* and semester >= <<Seit Semester>> */ |
|
||||||
/*and semester <= <<Bis Semester>>*/ |
|
||||||
/* and hs_nr::char(20) in <@printkeys Hochschule.allNeededKeysList /> --<<Hochschule>> */ |
|
||||||
/* and ((trim(auspraegung_code_3) = <<Geschlecht>> and trim(auspraegung_code_3) in (''GESM'',''GESW''))*/ |
|
||||||
/* or (trim(auspraegung_code_3) is null and <<Geschlecht>> = ''UNB'')) */ |
|
||||||
/* and trim(auspraegung_code_2) = <<Nationalität>> */ |
|
||||||
|
|
||||||
' where maskeninfo_id=47030; |
|
||||||
|
|
||||||
update xcube set restriction='1=1 |
|
||||||
/* and semester >= <<Seit Semester>> */ |
|
||||||
/*and semester <= <<Bis Semester>>*/ |
|
||||||
/* and hs_nr::char(20) in <@printkeys Hochschule.allNeededKeysList /> --<<Hochschule>> */ |
|
||||||
|
|
||||||
' where maskeninfo_id=47060; |
|
||||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,187 @@ |
|||||||
|
|
||||||
|
--freemarker template |
||||||
|
|
||||||
|
<#assign destatis_tables= [ |
||||||
|
{"name":"sxc_stud_sem_da_geschl_hs", "target_field":"stud_gesamt"} |
||||||
|
{"name":"sxc_studanf_sem_da_geschl_hs", "target_field":"studanf_gesamt"} |
||||||
|
] /> |
||||||
|
|
||||||
|
|
||||||
|
drop table if exists tmp_sxc_stud_sem_da_geschl_hs_aggr; |
||||||
|
|
||||||
|
create temp table tmp_sxc_stud_sem_da_geschl_hs_aggr |
||||||
|
(hs_nr char(10), |
||||||
|
semester integer, |
||||||
|
geschlecht_w_deutsch integer default 0, |
||||||
|
geschlecht_m_deutsch integer default 0, |
||||||
|
geschlecht_w_ausland integer default 0, |
||||||
|
geschlecht_m_ausland integer default 0, |
||||||
|
stud_gesamt integer, |
||||||
|
studanf_gesamt integer); |
||||||
|
|
||||||
|
create temp table tmp_sxc_stud_sem_da_geschl_hs_aggr2 |
||||||
|
(hs_nr char(10), |
||||||
|
semester integer, |
||||||
|
geschlecht_w_deutsch integer default 0, |
||||||
|
geschlecht_m_deutsch integer default 0, |
||||||
|
geschlecht_w_ausland integer default 0, |
||||||
|
geschlecht_m_ausland integer default 0, |
||||||
|
stud_gesamt integer, |
||||||
|
studanf_gesamt integer); |
||||||
|
|
||||||
|
|
||||||
|
<#foreach tab in destatis_tables> |
||||||
|
|
||||||
|
insert into tmp_sxc_stud_sem_da_geschl_hs_aggr( |
||||||
|
hs_nr, |
||||||
|
semester , |
||||||
|
geschlecht_w_deutsch , |
||||||
|
${tab.target_field} |
||||||
|
) |
||||||
|
select hs_nr, |
||||||
|
semester, |
||||||
|
1, |
||||||
|
sum(bil002__studierende__anzahl) as stud_gesamt |
||||||
|
from ${tab.name} |
||||||
|
where bil002__studierende__q='e' --endgültiger Wert |
||||||
|
and auspraegung_code_3='GESW' |
||||||
|
and auspraegung_code_2='NATD' |
||||||
|
group by 1,2 |
||||||
|
; |
||||||
|
insert into tmp_sxc_stud_sem_da_geschl_hs_aggr( |
||||||
|
hs_nr, |
||||||
|
semester , |
||||||
|
geschlecht_m_deutsch , |
||||||
|
${tab.target_field} |
||||||
|
) |
||||||
|
select hs_nr, |
||||||
|
semester, |
||||||
|
1, |
||||||
|
sum(bil002__studierende__anzahl) as stud_gesamt |
||||||
|
from ${tab.name} |
||||||
|
where bil002__studierende__q='e' --endgültiger Wert |
||||||
|
and auspraegung_code_3='GESM' |
||||||
|
and auspraegung_code_2='NATD' |
||||||
|
group by 1,2 |
||||||
|
; |
||||||
|
|
||||||
|
insert into tmp_sxc_stud_sem_da_geschl_hs_aggr( |
||||||
|
hs_nr, |
||||||
|
semester , |
||||||
|
geschlecht_w_ausland , |
||||||
|
${tab.target_field} |
||||||
|
) |
||||||
|
select hs_nr, |
||||||
|
semester, |
||||||
|
1, |
||||||
|
sum(bil002__studierende__anzahl) as stud_gesamt |
||||||
|
from ${tab.name} |
||||||
|
where bil002__studierende__q='e' --endgültiger Wert |
||||||
|
and auspraegung_code_3='GESW' |
||||||
|
and auspraegung_code_2='NATA' |
||||||
|
group by 1,2 |
||||||
|
; |
||||||
|
insert into tmp_sxc_stud_sem_da_geschl_hs_aggr( |
||||||
|
hs_nr, |
||||||
|
semester , |
||||||
|
geschlecht_m_ausland , |
||||||
|
${tab.target_field} |
||||||
|
) |
||||||
|
select hs_nr, |
||||||
|
semester, |
||||||
|
1, |
||||||
|
sum(bil002__studierende__anzahl) as stud_gesamt |
||||||
|
from ${tab.name} |
||||||
|
where bil002__studierende__q='e' --endgültiger Wert |
||||||
|
and auspraegung_code_3='GESM' |
||||||
|
and auspraegung_code_2='NATA' |
||||||
|
group by 1,2 |
||||||
|
; |
||||||
|
|
||||||
|
</#foreach> |
||||||
|
insert into tmp_sxc_stud_sem_da_geschl_hs_aggr2 |
||||||
|
(hs_nr, |
||||||
|
semester , |
||||||
|
geschlecht_w_deutsch, |
||||||
|
geschlecht_m_deutsch, |
||||||
|
geschlecht_w_ausland, |
||||||
|
geschlecht_m_ausland, |
||||||
|
stud_gesamt , |
||||||
|
studanf_gesamt ) |
||||||
|
select hs_nr, |
||||||
|
semester , |
||||||
|
geschlecht_w_deutsch, |
||||||
|
geschlecht_m_deutsch, |
||||||
|
geschlecht_w_ausland, |
||||||
|
geschlecht_m_ausland, |
||||||
|
sum(stud_gesamt) , |
||||||
|
sum(studanf_gesamt) |
||||||
|
from tmp_sxc_stud_sem_da_geschl_hs_aggr |
||||||
|
group by 1,2,3,4,5,6; |
||||||
|
|
||||||
|
/* |
||||||
|
--Stud Anf: |
||||||
|
insert into tmp_sxc_stud_sem_da_geschl_hs_aggr( |
||||||
|
hs_nr, |
||||||
|
semester , |
||||||
|
geschlecht_w , |
||||||
|
studanf_gesamt |
||||||
|
) |
||||||
|
select hs_nr, |
||||||
|
semester, |
||||||
|
(case when auspraegung_code_3='GESW' then 1 |
||||||
|
else 0 end) as geschlecht_w, |
||||||
|
sum(bil002__studierende__anzahl) as studanf_gesamt |
||||||
|
from sxc_studanf_sem_da_geschl_hs |
||||||
|
where bil002__studierende__q='e' --endgültiger Wert |
||||||
|
and auspraegung_code_2 is null |
||||||
|
group by 1,2, |
||||||
|
auspraegung_code_3 |
||||||
|
; |
||||||
|
|
||||||
|
insert into tmp_sxc_stud_sem_da_geschl_hs_aggr( |
||||||
|
hs_nr, |
||||||
|
semester , |
||||||
|
nationalitaet_a , |
||||||
|
studanf_gesamt |
||||||
|
) |
||||||
|
select hs_nr, |
||||||
|
semester, |
||||||
|
(case when auspraegung_code_2='NATA' then 1 |
||||||
|
else 0::integer |
||||||
|
end) as nationalitaet_a, |
||||||
|
sum(bil002__studierende__anzahl) as studanf_gesamt |
||||||
|
from sxc_studanf_sem_da_geschl_hs |
||||||
|
where bil002__studierende__q='e' --endgültiger Wert |
||||||
|
and auspraegung_code_3 is null |
||||||
|
group by 1,2, |
||||||
|
auspraegung_code_2 |
||||||
|
; |
||||||
|
*/ |
||||||
|
truncate table sxc_stud_sem_da_geschl_hs_aggr; |
||||||
|
|
||||||
|
|
||||||
|
insert into sxc_stud_sem_da_geschl_hs_aggr( |
||||||
|
hs_nr, |
||||||
|
semester , |
||||||
|
geschlecht_w , |
||||||
|
nationalitaet_a , |
||||||
|
stud_gesamt, |
||||||
|
studanf_gesamt |
||||||
|
) |
||||||
|
|
||||||
|
select hs_nr, |
||||||
|
semester , |
||||||
|
(case when geschlecht_w_deutsch=1 or geschlecht_w_ausland=1 then 1 else 0 end) as geschlecht_w , |
||||||
|
(case when geschlecht_m_ausland=1 or geschlecht_w_ausland=1 then 1 else 0 end) as nationalitaet_a , |
||||||
|
sum(stud_gesamt) , |
||||||
|
sum(studanf_gesamt) |
||||||
|
from tmp_sxc_stud_sem_da_geschl_hs_aggr2 |
||||||
|
--where geschlecht_w is not null |
||||||
|
--and nationalitaet_a is not null |
||||||
|
group by 1,2,3,4 |
||||||
|
; |
||||||
|
|
||||||
|
drop table tmp_sxc_stud_sem_da_geschl_hs_aggr; |
||||||
|
drop table tmp_sxc_stud_sem_da_geschl_hs_aggr2; |
||||||
|
|
||||||
@ -0,0 +1,32 @@ |
|||||||
|
47140^Spaltenlayout^3000^350^-1^140^180^1^char^30^1^1^<<SQL>>SELECT uniquename,\ |
||||||
|
caption\ |
||||||
|
FROM rpta_column_layout \ |
||||||
|
where resultset_id in (select R.tid from rpta_resultset R where R.uniquename in ('sos_stud_astat','sos_stud_astat_gew')\ |
||||||
|
and R.systeminfo_id=7)\ |
||||||
|
and uniquename in ('sos_stud_anf_sxc','sos_stud_geschl_sxc','sos_stud_geschl_sxc_viz')\ |
||||||
|
order by sortnr, caption\ |
||||||
|
;^ ^<<SQL>>SELECT uniquename,\ |
||||||
|
caption\ |
||||||
|
FROM rpta_column_layout \ |
||||||
|
where resultset_id in (select R.tid from rpta_resultset R where R.uniquename='sos_stud_astat'\ |
||||||
|
and R.systeminfo_id=7) and uniquename='sos_stud_geschl_sxc';^ |
||||||
|
47141^Seit Semester^10^0^0^140^80^1^integer^30^0^1^<<SQL>> select tid, eintrag from semester order by tid DESC;^ ^<<SQL>> select tid,eintrag from semester where today() between sem_beginn and sem_ende;^ |
||||||
|
47142^Fächer^30^0^0^130^200^6^integer^1000^0^12^<<SQL>> select tid,name,sortnr from sichten where art='Fächer-Sicht' order by 3,2;^ ^ ^ |
||||||
|
47143^Abschluss^40^0^0^100^200^3^char^1500^0^12^<<SQL>> select tid,name,sortnr from sichten where art='SOS-Abschluss-Sicht' order by 3,2;^ ^ ^ |
||||||
|
47144^bis Fachsemester^1000^300^-1^200^100^1^integer^30^0^0^^ ^ ^ |
||||||
|
47145^Semestertyp^22^350^-1^140^80^1^integer^255^0^1^<<SQL>> select 1,'nur Sommersemester' from xdummy union select 2,'nur Wintersemester' from xdummy^hidden^<<SQL>> select 2,'nur Wintersemester' from xdummy^ |
||||||
|
47146^Hochschulzugangsberechtigung^120^300^-1^200^200^1^sql^30^0^1^hs_zugangsber^ ^ ^ |
||||||
|
47147^Bis Semester^20^350^-1^140^80^1^integer^30^0^1^<<SQL>> select tid, eintrag from semester order by tid DESC;^ ^<<SQL>> select tid,eintrag from semester where today() between sem_beginn and sem_ende;^ |
||||||
|
47148^Staatsangehörigkeit^150^0^0^140^150^10^char^30^0^12^<<SQL>> select tid,name,sortnr from sichten where art='SOS-Staaten-Sicht' order by 3,2;^ ^ ^ |
||||||
|
47149^Studiengang^25^0^0^140^150^50^char^1000^0^12^<<SQL>> select tid,name,sortnr from sichten where art in ('SOS-Kostenstellen-Sicht', 'SOS-Studiengang-Sicht') order by 3,2;^ ^ ^ |
||||||
|
47150^Semester^100^0^0^140^80^1^integer^30^0^1^<<SQL>> select tid, eintrag from semester order by tid DESC;^hidden^ ^ |
||||||
|
47151^Stichtag^23^330^-1^130^100^1^sql^30^1^1^<<SQL>> select tid, name from sos_stichtag where stichtagsart='Studierende';^ ^<<SQL>> select tid, name from sos_stichtag where stichtagsart='Studierende' and appl_key='0';^ |
||||||
|
47153^Jahr^110^0^0^140^80^1^integer^30^0^13^ ^ ^ ^ |
||||||
|
47154^Filter Studierende^100^0^0^140^150^1^sql^20^0^1^<<SQL>> SELECT id,caption from sx_repository where aktiv =1 and today() between gueltig_seit and gueltig_bis and art='SOS_STUD_FILTER' order by 2;^^^ |
||||||
|
47155^Nur Endsemester^21^0^0^140^80^1^integer^30^0^1^<<SQL>> select 1,'ja' from xdummy^hidden^ ^ |
||||||
|
47156^Matrikel-Nr.^35^350^-1^140^80^1^char^30^0^13^^^^ |
||||||
|
47157^Grafik^1000^300^-1^170^150^1^char^30^0^1^<<SQL>> select uniquename, caption from viz_chart where maskeninfo_id=47140 and chart_active=1 order by 2;^ ^<<SQL>> select uniquename, caption from viz_chart where maskeninfo_id=47140 and chart_active=1 order by 2 limit 1;^ |
||||||
|
47158^Köpfe oder Fälle ?^0^0^0^140^150^1^sql^70^0^1^<<SQL>> select apnr, eintrag from koepfe_oder_faelle order by 2^ ^<<SQL>> select apnr, eintrag from koepfe_oder_faelle where eintrag = 'Fälle';^ |
||||||
|
47159^tablestylesheet^1500^0^0^100^100^1^char^255^1^1^<<SQL>> select filename,caption from sx_stylesheets S, sx_mask_style M where S.tid=M.stylesheet_id and M.maskeninfo_id=47140 order by ord^ ^<<SQL>> select filename,caption from sx_stylesheets S, sx_mask_style M where S.tid=M.stylesheet_id and M.maskeninfo_id=47140 order by ord limit 1^ |
||||||
|
47162^Geschlecht^110^0^0^140^80^1^integer^30^0^1^<<SQL>> SELECT apnr,druck FROM cif where key = 9003 and apnr between 1 and 4 order by 1;^hidden^ ^ |
||||||
|
47163^Vergleichshochschule^100^0^0^140^80^1^char^255^0^18^ ^ ^<<SQL>> select '../edit/sxc/sxc_hochschule_vergleichsgruppe_list.jsp' from xdummy;^ |
||||||
@ -0,0 +1,21 @@ |
|||||||
|
47140^47140^ |
||||||
|
47140^47141^ |
||||||
|
47140^47142^ |
||||||
|
47140^47143^ |
||||||
|
47140^47144^ |
||||||
|
47140^47145^ |
||||||
|
47140^47146^ |
||||||
|
47140^47147^ |
||||||
|
47140^47148^ |
||||||
|
47140^47149^ |
||||||
|
47140^47150^ |
||||||
|
47140^47151^ |
||||||
|
47140^47153^ |
||||||
|
47140^47154^ |
||||||
|
47140^47155^ |
||||||
|
47140^47156^ |
||||||
|
47140^47157^ |
||||||
|
47140^47158^ |
||||||
|
47140^47159^ |
||||||
|
47140^47162^ |
||||||
|
47140^47163^ |
||||||
@ -0,0 +1 @@ |
|||||||
|
47140^Studierende / Studienanfänger_innen (Hochschulvergleich)^<sximport>select select_stmt from maskeninfo where tid=48000</sximport>^<sximport>select xil_proplist from maskeninfo where tid=48000</sximport>^Studienfach^Anzahl bzw. Anteil^Studierende und Anteil weiblicher Studierender als Zeitreihe mit Frauenanteil eigene Hochschule zu anderen Hochschulen^<sximport>select cleanup_stmt from maskeninfo where tid=48000</sximport>^^2^850^540^^1^<<SQL>>SELECT description FROM rpta_column_layout where tid=<<Spaltenlayout>>;^ |
||||||
@ -0,0 +1 @@ |
|||||||
|
16^47140^ |
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,161 @@ |
|||||||
|
--freemarker template |
||||||
|
<#include "RPTA-Makros"/> |
||||||
|
<sqlvars> |
||||||
|
<sqlvar name="rpta_installed"> |
||||||
|
select count(*) from systeminfo where tid=330; |
||||||
|
</sqlvar> |
||||||
|
</sqlvars> |
||||||
|
<#assign rpta_column_layout = |
||||||
|
{"uniquename":"sos_stud_anf_sxc", |
||||||
|
"caption":"Studierende und Anteil der Studienanfänger (Hochschulvergleich)", |
||||||
|
"rpta_resultset":"sos_stud_astat", |
||||||
|
"whereclause":"", |
||||||
|
"description":"Studienanfänger mit Anteil an Studierenden, im Vergleich mit anderen Hochschulen", |
||||||
|
"sortclause":"sem_rueck_beur_ein" |
||||||
|
} |
||||||
|
/> |
||||||
|
|
||||||
|
<#assign rpta_columns = [ |
||||||
|
{"uniquename":"sem_rueck_beur_ein", |
||||||
|
"caption":"Semester (Schlüssel)", |
||||||
|
"srcfieldname":"sem_rueck_beur_ein", |
||||||
|
"targetfieldname":"", |
||||||
|
"column_type":"physicalColumn", |
||||||
|
"col_function":"", |
||||||
|
"is_visible":"0", |
||||||
|
"format_code":"", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"0", |
||||||
|
"description":"Semester (Schlüssel)" |
||||||
|
}, |
||||||
|
{"uniquename":"sem_rueck_beur_ein_str", |
||||||
|
"caption":"Semester", |
||||||
|
"srcfieldname":"", |
||||||
|
"targetfieldname":"sem_rueck_beur_ein_str", |
||||||
|
"column_type":"lookupColumn", |
||||||
|
"col_function":"select eintrag from semester SEM where SEM.tid=sem_rueck_beur_ein ", |
||||||
|
"is_visible":"1", |
||||||
|
"format_code":"", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"0", |
||||||
|
"description":"Semester" |
||||||
|
}, |
||||||
|
{"uniquename":"summe", |
||||||
|
"caption":"Anzahl der Studierenden", |
||||||
|
"srcfieldname":"summe", |
||||||
|
"column_type":"physicalColumn", |
||||||
|
"col_function":"sum", |
||||||
|
"is_visible":"1", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"1", |
||||||
|
"description":"Summe der Studierenden" |
||||||
|
}, |
||||||
|
{"uniquename":"summe_hs1", |
||||||
|
"caption_der_spalte":"Summe (1. HS)", |
||||||
|
"caption_in_ergebnistabelle":"Summe (1. HS) - eigene Hochschule", |
||||||
|
"srcfieldname":"", |
||||||
|
"targetfieldname":"summe_hs1", |
||||||
|
"column_type":"logicalColumn", |
||||||
|
"col_function":"case when hssem=1 then summe else 0 end", |
||||||
|
"is_visible":"1", |
||||||
|
"format_code":"", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"1", |
||||||
|
"description":"Summe Studienanfänger 1. HS" |
||||||
|
}, |
||||||
|
{"uniquename":"anteil", |
||||||
|
"caption":"Anteil der Studierenanfänger (in %)", |
||||||
|
"srcfieldname":"", |
||||||
|
"targetfieldname":"anteil", |
||||||
|
"column_type":"computedColumn", |
||||||
|
"col_function":"((summe_hs1::float/ summe::float *100)::integer)", |
||||||
|
"is_visible":"1", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"0", |
||||||
|
"description":"Anteil der Studienanfänger (1. HS) an Gesamt-Studierenden in % " |
||||||
|
}, |
||||||
|
{"uniquename":"summe_ext1", |
||||||
|
"caption_der_spalte":"Summe Studierende Vergleichsgruppe 1", |
||||||
|
"caption_in_ergebnistabelle":"Summe Studierende - Vergleichsgruppe 1", |
||||||
|
"srcfieldname":"", |
||||||
|
"targetfieldname":"summe_ext1", |
||||||
|
"column_type":"computedColumn", |
||||||
|
"col_function":"(select sum(stud_gesamt) from sxc_stud_sem_da_geschl_hs_aggr S,sxc_hochschule_vergleich H, sxc_hochschule_vergleichsgruppe G where G.tid=H.hochschule_vergleichsgruppe_id and G.uniquename=''NRW'' and H.hs_nr=S.hs_nr and S.semester = sem_rueck_beur_ein)", |
||||||
|
"is_visible":"1", |
||||||
|
"format_code":"", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"1", |
||||||
|
"description":"Summe Studierende Vergleichshochschule" |
||||||
|
}, |
||||||
|
{"uniquename":"summe_hs1_ext1", |
||||||
|
"caption_der_spalte":"Summe (1. HS) Vergleichsgruppe 1", |
||||||
|
"caption_in_ergebnistabelle":"Summe (1. HS) - Vergleichsgruppe 1", |
||||||
|
"srcfieldname":"", |
||||||
|
"targetfieldname":"summe_hs1_ext1", |
||||||
|
"column_type":"computedColumn", |
||||||
|
"col_function":"(select sum(studanf_gesamt) from sxc_stud_sem_da_geschl_hs_aggr S,sxc_hochschule_vergleich H, sxc_hochschule_vergleichsgruppe G where G.tid=H.hochschule_vergleichsgruppe_id and G.uniquename=''NRW'' and H.hs_nr=S.hs_nr and S.semester = sem_rueck_beur_ein)", |
||||||
|
"is_visible":"1", |
||||||
|
"format_code":"", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"1", |
||||||
|
"description":"Summe Studienanfänger 1. HS Vergleichsgruppe 1" |
||||||
|
}, |
||||||
|
{"uniquename":"sxc_stud_anteil_anf_vergleich1", |
||||||
|
"caption":"Anteil der Studienanfänger (Vergleichsgruppe 1)", |
||||||
|
"srcfieldname":"", |
||||||
|
"targetfieldname":"sxc_stud_anteil_anf_vergleich1", |
||||||
|
"column_type":"computedColumn", |
||||||
|
"col_function":"(select ((sum(studanf_gesamt)::float / sum(stud_gesamt))::float *100)::integer |
||||||
|
from sxc_stud_sem_da_geschl_hs_aggr S,sxc_hochschule_vergleich H, sxc_hochschule_vergleichsgruppe G where G.tid=H.hochschule_vergleichsgruppe_id and G.uniquename=''NRW'' and H.hs_nr=S.hs_nr and S.semester = sem_rueck_beur_ein)", |
||||||
|
"is_visible":"1", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"0", |
||||||
|
"description":"Anteil der Studienanfänger (Vergleichsgruppe 1)" |
||||||
|
} |
||||||
|
|
||||||
|
, |
||||||
|
{"uniquename":"summe_ext2", |
||||||
|
"caption_der_spalte":"Summe Studierende Vergleichsgruppe 2", |
||||||
|
"caption_in_ergebnistabelle":"Summe Studierende - Vergleichsgruppe 2", |
||||||
|
"srcfieldname":"", |
||||||
|
"targetfieldname":"summe_ext2", |
||||||
|
"column_type":"computedColumn", |
||||||
|
"col_function":"(select sum(stud_gesamt) from sxc_stud_sem_da_geschl_hs_aggr S,sxc_hochschule_vergleich H, sxc_hochschule_vergleichsgruppe G where G.tid=H.hochschule_vergleichsgruppe_id and G.uniquename=''RUB'' and H.hs_nr=S.hs_nr and S.semester = sem_rueck_beur_ein)", |
||||||
|
"is_visible":"1", |
||||||
|
"format_code":"", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"1", |
||||||
|
"description":"Summe Studierende Vergleichshochschule" |
||||||
|
}, |
||||||
|
{"uniquename":"summe_hs1_ext2", |
||||||
|
"caption_der_spalte":"Summe (1. HS) Vergleichsgruppe 2", |
||||||
|
"caption_in_ergebnistabelle":"Summe (1. HS) - Vergleichsgruppe 2", |
||||||
|
"srcfieldname":"", |
||||||
|
"targetfieldname":"summe_hs1_ext2", |
||||||
|
"column_type":"computedColumn", |
||||||
|
"col_function":"(select sum(studanf_gesamt) from sxc_stud_sem_da_geschl_hs_aggr S,sxc_hochschule_vergleich H, sxc_hochschule_vergleichsgruppe G where G.tid=H.hochschule_vergleichsgruppe_id and G.uniquename=''RUB'' and H.hs_nr=S.hs_nr and S.semester = sem_rueck_beur_ein)", |
||||||
|
"is_visible":"1", |
||||||
|
"format_code":"", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"1", |
||||||
|
"description":"Summe Studienanfänger 1. HS Vergleichsgruppe 2" |
||||||
|
}, |
||||||
|
{"uniquename":"sxc_stud_anteil_anf_vergleich2", |
||||||
|
"caption":"Anteil der Studienanfänger (Vergleichsgruppe 2)", |
||||||
|
"srcfieldname":"", |
||||||
|
"targetfieldname":"sxc_stud_anteil_anf_vergleich2", |
||||||
|
"column_type":"computedColumn", |
||||||
|
"col_function":"(select ((sum(studanf_gesamt)::float / sum(stud_gesamt))::float *100)::integer |
||||||
|
from sxc_stud_sem_da_geschl_hs_aggr S,sxc_hochschule_vergleich H, sxc_hochschule_vergleichsgruppe G where G.tid=H.hochschule_vergleichsgruppe_id and G.uniquename=''RUB'' and H.hs_nr=S.hs_nr and S.semester = sem_rueck_beur_ein)", |
||||||
|
"is_visible":"1", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"0", |
||||||
|
"description":"Anteil der Studienanfänger (Vergleichsgruppe 2)" |
||||||
|
} |
||||||
|
|
||||||
|
] |
||||||
|
/> |
||||||
|
|
||||||
|
<#if rpta_installed==1> |
||||||
|
<@rpta_column_layout_fuellen /> |
||||||
|
</#if> |
||||||
@ -0,0 +1,93 @@ |
|||||||
|
--freemarker template |
||||||
|
<#include "RPTA-Makros"/> |
||||||
|
<sqlvars> |
||||||
|
<sqlvar name="rpta_installed"> |
||||||
|
select count(*) from systeminfo where tid=330; |
||||||
|
</sqlvar> |
||||||
|
</sqlvars> |
||||||
|
<#assign rpta_column_layout = |
||||||
|
{"uniquename":"sos_stud_geschl_sxc", |
||||||
|
"caption":"Studierende nach Geschlecht (Hochschulvergleich)", |
||||||
|
"rpta_resultset":"sos_stud_astat", |
||||||
|
"whereclause":"", |
||||||
|
"description":"Studierende nach Geschlecht mit Anteil, im Vergleich mit anderen Hochschulen", |
||||||
|
"sortclause":"sem_rueck_beur_ein desc" |
||||||
|
} |
||||||
|
/> |
||||||
|
|
||||||
|
<#assign rpta_columns = [ |
||||||
|
{"uniquename":"sem_rueck_beur_ein", |
||||||
|
"caption":"Semester (Schlüssel)", |
||||||
|
"srcfieldname":"sem_rueck_beur_ein", |
||||||
|
"targetfieldname":"", |
||||||
|
"column_type":"physicalColumn", |
||||||
|
"col_function":"", |
||||||
|
"is_visible":"0", |
||||||
|
"format_code":"", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"0", |
||||||
|
"description":"Semester (Schlüssel)" |
||||||
|
}, |
||||||
|
{"uniquename":"sem_rueck_beur_ein_str", |
||||||
|
"caption":"Semester", |
||||||
|
"srcfieldname":"", |
||||||
|
"targetfieldname":"sem_rueck_beur_ein_str", |
||||||
|
"column_type":"lookupColumn", |
||||||
|
"col_function":"select eintrag from semester SEM where SEM.tid=sem_rueck_beur_ein ", |
||||||
|
"is_visible":"1", |
||||||
|
"format_code":"", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"0", |
||||||
|
"description":"Semester" |
||||||
|
}, |
||||||
|
{"uniquename":"summe", |
||||||
|
"caption":"Anzahl der Studierenden", |
||||||
|
"srcfieldname":"summe", |
||||||
|
"column_type":"physicalColumn", |
||||||
|
"col_function":"sum", |
||||||
|
"is_visible":"1", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"1", |
||||||
|
"description":"Summe der Studierenden" |
||||||
|
}, |
||||||
|
{"uniquename":"summe_w", |
||||||
|
"caption":"Summe (weiblich)", |
||||||
|
"srcfieldname":"", |
||||||
|
"targetfieldname":"summe_w", |
||||||
|
"column_type":"logicalColumn", |
||||||
|
"col_function":"case when geschlecht=2 then summe else 0 end", |
||||||
|
"is_visible":"1", |
||||||
|
"format_code":"", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"1", |
||||||
|
"description":"Summe Geschlecht weiblich" |
||||||
|
}, |
||||||
|
{"uniquename":"anteil", |
||||||
|
"caption":"Anteil der Studierenden (in %)", |
||||||
|
"srcfieldname":"", |
||||||
|
"targetfieldname":"anteil", |
||||||
|
"column_type":"computedColumn", |
||||||
|
"col_function":"((summe_w::float/ summe::float *100)::integer)", |
||||||
|
"is_visible":"1", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"0", |
||||||
|
"description":"Anteil in % der Studierenden" |
||||||
|
}, |
||||||
|
{"uniquename":"sxc_stud_anteil_w_vergleich", |
||||||
|
"caption":"Anteil der Studierenden W (Vergleich)", |
||||||
|
"srcfieldname":"", |
||||||
|
"targetfieldname":"sxc_stud_anteil_w_vergleich", |
||||||
|
"column_type":"computedColumn", |
||||||
|
"col_function":"(select (sum(case when geschlecht_w=1 then stud_gesamt else 0 end)::float / sum(stud_gesamt)::float *100)::integer |
||||||
|
from sxc_stud_sem_da_geschl_hs_aggr S ,sxc_hochschule_vergleich H where H.hs_nr=S.hs_nr and S.semester = sem_rueck_beur_ein)", |
||||||
|
"is_visible":"1", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"0", |
||||||
|
"description":"Summe der Studierenden W (Vergleich)" |
||||||
|
} |
||||||
|
] |
||||||
|
/> |
||||||
|
|
||||||
|
<#if rpta_installed==1> |
||||||
|
<@rpta_column_layout_fuellen /> |
||||||
|
</#if> |
||||||
@ -0,0 +1,93 @@ |
|||||||
|
--freemarker template |
||||||
|
<#include "RPTA-Makros"/> |
||||||
|
<sqlvars> |
||||||
|
<sqlvar name="rpta_installed"> |
||||||
|
select count(*) from systeminfo where tid=330; |
||||||
|
</sqlvar> |
||||||
|
</sqlvars> |
||||||
|
<#assign rpta_column_layout = |
||||||
|
{"uniquename":"sos_stud_geschl_sxc_viz", |
||||||
|
"caption":"Studierende nach Geschlecht (Hochschulvergleich) Datenbalken", |
||||||
|
"rpta_resultset":"sos_stud_astat", |
||||||
|
"whereclause":"", |
||||||
|
"description":"Studierende nach Geschlecht mit Anteil, im Vergleich mit anderen Hochschulen", |
||||||
|
"sortclause":"sem_rueck_beur_ein desc" |
||||||
|
} |
||||||
|
/> |
||||||
|
|
||||||
|
<#assign rpta_columns = [ |
||||||
|
{"uniquename":"sem_rueck_beur_ein", |
||||||
|
"caption":"Semester (Schlüssel)", |
||||||
|
"srcfieldname":"sem_rueck_beur_ein", |
||||||
|
"targetfieldname":"", |
||||||
|
"column_type":"physicalColumn", |
||||||
|
"col_function":"", |
||||||
|
"is_visible":"0", |
||||||
|
"format_code":"", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"0", |
||||||
|
"description":"Semester (Schlüssel)" |
||||||
|
}, |
||||||
|
{"uniquename":"sem_rueck_beur_ein_str", |
||||||
|
"caption":"Semester", |
||||||
|
"srcfieldname":"", |
||||||
|
"targetfieldname":"sem_rueck_beur_ein_str", |
||||||
|
"column_type":"lookupColumn", |
||||||
|
"col_function":"select eintrag from semester SEM where SEM.tid=sem_rueck_beur_ein ", |
||||||
|
"is_visible":"1", |
||||||
|
"format_code":"", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"0", |
||||||
|
"description":"Semester" |
||||||
|
}, |
||||||
|
{"uniquename":"summe", |
||||||
|
"caption":"Anzahl der Studierenden", |
||||||
|
"srcfieldname":"summe", |
||||||
|
"column_type":"physicalColumn", |
||||||
|
"col_function":"sum", |
||||||
|
"is_visible":"1", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"1", |
||||||
|
"description":"Summe der Studierenden" |
||||||
|
}, |
||||||
|
{"uniquename":"summe_w", |
||||||
|
"caption":"Summe (weiblich)", |
||||||
|
"srcfieldname":"", |
||||||
|
"targetfieldname":"summe_w", |
||||||
|
"column_type":"logicalColumn", |
||||||
|
"col_function":"case when geschlecht=2 then summe else 0 end", |
||||||
|
"is_visible":"1", |
||||||
|
"format_code":"", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"1", |
||||||
|
"description":"Summe Geschlecht weiblich" |
||||||
|
}, |
||||||
|
{"uniquename":"anteil", |
||||||
|
"caption":"Anteil der Studierenden (in %)", |
||||||
|
"srcfieldname":"", |
||||||
|
"targetfieldname":"_graph_anteil", |
||||||
|
"column_type":"computedColumn", |
||||||
|
"col_function":"((summe_w::float/ summe::float *100)::integer)", |
||||||
|
"is_visible":"1", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"0", |
||||||
|
"description":"Anteil in % der Studierenden" |
||||||
|
}, |
||||||
|
{"uniquename":"sxc_stud_anteil_w_vergleich", |
||||||
|
"caption":"Anteil der Studierenden W (Vergleich)", |
||||||
|
"srcfieldname":"", |
||||||
|
"targetfieldname":"_graph_sxc_stud_anteil_w_vergleich", |
||||||
|
"column_type":"computedColumn", |
||||||
|
"col_function":"(select (sum(case when auspraegung_code_3=''GESW'' then bil002__studierende__anzahl else 0 end)::float / sum(bil002__studierende__anzahl)::float *100)::integer |
||||||
|
from sxc_stud_sem_da_geschl_hs S,sxc_hochschule_vergleich H where H.hs_nr=S.hs_nr and S.semester = sem_rueck_beur_ein)", |
||||||
|
"is_visible":"1", |
||||||
|
"visible_size":"5", |
||||||
|
"is_aggregate":"0", |
||||||
|
"description":"Summe der Studierenden W (Vergleich)" |
||||||
|
} |
||||||
|
] |
||||||
|
/> |
||||||
|
|
||||||
|
<#if rpta_installed==1> |
||||||
|
<@rpta_column_layout_fuellen /> |
||||||
|
</#if> |
||||||
@ -0,0 +1,554 @@ |
|||||||
|
--freemarker template |
||||||
|
--alle berechneten Spalten |
||||||
|
|
||||||
|
|
||||||
|
<sqlvars> |
||||||
|
<sqlvar name="sos_stg_aggr_exists"> |
||||||
|
select sp_table_exists('sos_stg_aggr') from xdummy; |
||||||
|
</sqlvar> |
||||||
|
<sqlvar name="fact_table_source"> |
||||||
|
select name |
||||||
|
from sx_tables where name ='sos_stg_aggr'; |
||||||
|
|
||||||
|
</sqlvar> |
||||||
|
<sqlvar name="logical_fields" type="hashsequence"> |
||||||
|
|
||||||
|
drop table if exists rpta_sos_hzb_bland; |
||||||
|
create table rpta_sos_hzb_bland as |
||||||
|
select W.astat as wohnsitz_astat, W.bland as wohnsitz_bland, B.druck as bland_druck, B.astat as bland_astat |
||||||
|
from sos_hzb_wohnsitz W, sos_k_bland B where W.bland=B.apnr; |
||||||
|
create index ix_wohnsitz_bland on rpta_sos_hzb_bland(wohnsitz_astat); |
||||||
|
|
||||||
|
select 'sos_stud_astat_dashboard' as tablename, |
||||||
|
'geschlecht_str' as uniquename , |
||||||
|
'Geschlecht' as caption, |
||||||
|
'Geschlecht' as description, |
||||||
|
'sos_k_geschl.druck'::text as log_field, |
||||||
|
'sos_k_geschl on (sos_k_geschl.apnr=sos_stg_aggr.geschlecht)' as join_field |
||||||
|
from xdummy |
||||||
|
union |
||||||
|
select 'sos_stud_astat_dashboard' as tablename, |
||||||
|
'semester_str' as uniquename , |
||||||
|
'Semester Name' as caption, |
||||||
|
'Semester Name' as description, |
||||||
|
'(case when substring(sem_rueck_beur_ein::varchar from 5 for 1)=''''2'''' then ''''WS '''' || substring(sem_rueck_beur_ein::varchar from 3 for 2) || ''''/'''' || lpad('''''''' || val(substring(sem_rueck_beur_ein::varchar from 3 for 2))+1,2,''''0'''') when substring(sem_rueck_beur_ein::varchar from 5 for 1)=''''1'''' then ''''SS '''' || substring(sem_rueck_beur_ein::varchar from 3 for 2) else '''''''' end)'::text as log_field, |
||||||
|
'' as join_field |
||||||
|
from xdummy |
||||||
|
union |
||||||
|
select 'sos_stud_astat_dashboard' as tablename, |
||||||
|
'hzbstaat_iso3' as uniquename, |
||||||
|
'Staat der HZB' as caption, |
||||||
|
'Staat der HZB' as description, |
||||||
|
'viz_staat_isocode.iso3'::text as log_field, |
||||||
|
'viz_staat_isocode on ((viz_staat_isocode.astat=sos_stg_aggr.hzbkfz and sos_stg_aggr.hzbkfzkz=1) or (viz_staat_isocode.astat=0 and sos_stg_aggr.hzbkfzkz=0))' as join_field |
||||||
|
from xdummy |
||||||
|
union |
||||||
|
select 'sos_stud_astat_dashboard' as tablename, |
||||||
|
'dim_studiengang_fak_str' as uniquename , |
||||||
|
'Fakultät' as caption, |
||||||
|
'Fakultät (Name)' as description, |
||||||
|
'cifx.kurz'::text as log_field, |
||||||
|
'cifx on (cifx.key=90 and cifx.apnr=fb)' as join_field |
||||||
|
from xdummy |
||||||
|
union |
||||||
|
select 'sos_stud_astat_dashboard' as tablename, |
||||||
|
'sos_stud_bildungstyp' as uniquename , |
||||||
|
'Bildungsinländer / -ausländer' as caption, |
||||||
|
'Bildungsinländer / -ausländer' as description, |
||||||
|
'(case when ca12_staat != 0 and (hzbkfzkz = 1 or (hzbart_int in (''''31'''',''''51'''',''''76'''') and hzbkfzkz = 0) or hzbart_int is null) then ''''Bildungsausländer'''' else ''''Bildungsinländer'''' end)'::text as log_field, |
||||||
|
'' as join_field |
||||||
|
from xdummy |
||||||
|
union |
||||||
|
select 'sos_stud_astat_dashboard' as tablename, |
||||||
|
'hzb_bland' as uniquename , |
||||||
|
'Bundesland (HZB)' as caption, |
||||||
|
'Bundesland (HZB)' as description, |
||||||
|
'rpta_sos_hzb_bland.bland_druck'::text as log_field, |
||||||
|
'rpta_sos_hzb_bland on (rpta_sos_hzb_bland.wohnsitz_astat=sos_stg_aggr.hzbkfz) ' as join_field |
||||||
|
from xdummy |
||||||
|
|
||||||
|
; |
||||||
|
; |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
</sqlvar> |
||||||
|
|
||||||
|
<sqlvar name="added_tables" type="hashsequence"><![CDATA[ |
||||||
|
select 1::smallint as sortnr, |
||||||
|
name, trim(name) ||'_' as prefix, |
||||||
|
caption, |
||||||
|
'dim_studiengang.tid=sos_stg_aggr.tid_stg' as joinclause |
||||||
|
from sx_tables where name in ('dim_studiengang') |
||||||
|
/*union |
||||||
|
select 10::smallint as sortnr, |
||||||
|
name, trim(name) ||'_' as prefix, |
||||||
|
caption, |
||||||
|
'dim_studiengang.stort=sos_k_stort.apnr' as joinclause |
||||||
|
from sx_tables where name in ('sos_k_stort') |
||||||
|
union |
||||||
|
select 20::smallint as sortnr, |
||||||
|
name, trim(name) ||'_' as prefix, |
||||||
|
caption, |
||||||
|
'sos_stg_aggr.stutyp=sos_k_stutyp.apnr' as joinclause |
||||||
|
from sx_tables where name in ('sos_k_stutyp') |
||||||
|
union |
||||||
|
select 30::smallint as sortnr, |
||||||
|
name, trim(name) ||'_' as prefix, |
||||||
|
caption, |
||||||
|
'sos_stg_aggr.stuart=sos_k_stuart.apnr' as joinclause |
||||||
|
from sx_tables where name in ('sos_k_stuart') |
||||||
|
union |
||||||
|
select 40::smallint as sortnr, |
||||||
|
name, trim(name) ||'_' as prefix, |
||||||
|
caption, |
||||||
|
'sos_stg_aggr.stufrm=sos_k_stufrm.apnr' as joinclause |
||||||
|
from sx_tables where name in ('sos_k_stufrm') |
||||||
|
union |
||||||
|
select 50::smallint as sortnr, |
||||||
|
name, trim(name) ||'_' as prefix, |
||||||
|
caption, |
||||||
|
'sos_stg_aggr.hrst=sos_k_hrst.apnr' as joinclause |
||||||
|
from sx_tables where name in ('sos_k_hrst')*/ |
||||||
|
order by 1 |
||||||
|
]]> |
||||||
|
</sqlvar> |
||||||
|
<sqlvar name="fact_table_fields"> |
||||||
|
select '(''tid_stg'',''sem_rueck_beur_ein'',''stichtag'',''geschlecht'', ''hzbart'',''hzbart_int'', ''hzbkfz'', ''hzbkfzkz'',''hrst'', ''ca12_staat'', ''fach_sem_zahl'',''hssem'',''studiengang_nr'', ''fach_nr'',''summe'')' |
||||||
|
from xdummy; |
||||||
|
</sqlvar> |
||||||
|
<sqlvar name="added_table_fields"> |
||||||
|
select '(''fb'', ''abschluss_grp'', ''abschluss_grp_str'', ''fb_str'',''abschluss_astat_bund'')' |
||||||
|
from xdummy; |
||||||
|
</sqlvar> |
||||||
|
|
||||||
|
<sqlvar name="fields_target" type="hashsequence"><![CDATA[ |
||||||
|
<#if fact_table_source?exists> |
||||||
|
select tid, table_name, |
||||||
|
name, |
||||||
|
name as targetname |
||||||
|
from sx_fields where table_name ='${fact_table_source}' |
||||||
|
and currentlyused=1 |
||||||
|
and name in ${fact_table_fields} |
||||||
|
<#foreach added_table in added_tables> |
||||||
|
union |
||||||
|
select tid,table_name, |
||||||
|
name, |
||||||
|
'${added_table.prefix}' || name as targetname |
||||||
|
from sx_fields where table_name ='${added_table.name}' |
||||||
|
and currentlyused=1 |
||||||
|
and name in ${added_table_fields} |
||||||
|
</#foreach> |
||||||
|
order by 1 |
||||||
|
</#if> |
||||||
|
]]> |
||||||
|
</sqlvar> |
||||||
|
</sqlvars> |
||||||
|
|
||||||
|
|
||||||
|
<#if sos_stg_aggr_exists==1 && fact_table_source?exists > |
||||||
|
|
||||||
|
<#assign fact_table_target = {"name":"sos_stud_astat_dashboard", "caption":"Studierende (Fachsem., HS-Sem., Studiengang) Dashboard"} |
||||||
|
/> |
||||||
|
|
||||||
|
|
||||||
|
CREATE temp table tmp_tables( |
||||||
|
name CHAR(255) , |
||||||
|
caption CHAR(255) , |
||||||
|
description CHAR(255) , |
||||||
|
table_type CHAR(255) , |
||||||
|
systeminfo_id INTEGER , |
||||||
|
systeminfo_orig INTEGER , |
||||||
|
thema CHAR(255) , |
||||||
|
sachgebiete_id CHAR(255) |
||||||
|
); |
||||||
|
CREATE temp TABLE tmp_fields( |
||||||
|
tid serial NOT NULL, |
||||||
|
table_name VARCHAR(255) not null, |
||||||
|
name VARCHAR(255) not null, |
||||||
|
caption VARCHAR(255) , |
||||||
|
description VARCHAR(255) , |
||||||
|
field_type VARCHAR(255) not null, |
||||||
|
field_size VARCHAR(255) , |
||||||
|
field_not_null smallint, |
||||||
|
currentlyused SMALLINT , |
||||||
|
is_primarykey SMALLINT default 0 , |
||||||
|
foreignkey_tab VARCHAR(255) , |
||||||
|
foreignkey_col VARCHAR(255) , |
||||||
|
foreignkey_int VARCHAR(255) , |
||||||
|
foreignkey_cap VARCHAR(255) , |
||||||
|
foreignkey_cond VARCHAR(255) , |
||||||
|
foreignkey_func VARCHAR(255) , |
||||||
|
check_integrity SMALLINT, |
||||||
|
is_sum SMALLINT default 1, |
||||||
|
foreignkey_uniquename VARCHAR(255) |
||||||
|
|
||||||
|
); |
||||||
|
|
||||||
|
|
||||||
|
--Vorbereitung: |
||||||
|
UPDATE sx_tables |
||||||
|
SET caption = 'Standorte' |
||||||
|
WHERE name='sos_k_stort'; |
||||||
|
UPDATE sx_tables |
||||||
|
SET caption = 'Studienart' |
||||||
|
WHERE name = 'sos_k_stuart'; |
||||||
|
UPDATE sx_tables |
||||||
|
SET caption = 'Studiumstyp' |
||||||
|
WHERE name = 'sos_k_stutyp'; |
||||||
|
UPDATE sx_tables |
||||||
|
SET caption = 'Studienform' |
||||||
|
WHERE name = 'sos_k_stufrm'; |
||||||
|
UPDATE sx_tables |
||||||
|
SET caption = 'Hörerstatus' |
||||||
|
WHERE name = 'sos_k_hrst'; |
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
--drop view if exists sos_stud_astat; |
||||||
|
|
||||||
|
|
||||||
|
drop VIEW sos_k_stutyp; |
||||||
|
|
||||||
|
CREATE VIEW sos_k_stutyp |
||||||
|
( |
||||||
|
apnr, |
||||||
|
druck, |
||||||
|
astat |
||||||
|
) |
||||||
|
AS |
||||||
|
SELECT cifx.apnr, |
||||||
|
cifx.druck, |
||||||
|
astat |
||||||
|
FROM cifx |
||||||
|
WHERE cifx.key = 40; |
||||||
|
|
||||||
|
|
||||||
|
update sx_fields set |
||||||
|
is_sum=0 |
||||||
|
where table_name='sos_stg_aggr' |
||||||
|
and name!='summe'; |
||||||
|
update sx_fields set |
||||||
|
is_sum=1 |
||||||
|
where table_name='sos_stg_aggr' |
||||||
|
and name='summe'; |
||||||
|
|
||||||
|
|
||||||
|
insert into tmp_tables ( |
||||||
|
name, |
||||||
|
caption, |
||||||
|
description, |
||||||
|
table_type, |
||||||
|
systeminfo_id, |
||||||
|
thema, |
||||||
|
sachgebiete_id |
||||||
|
) |
||||||
|
select |
||||||
|
'${fact_table_target.name}', |
||||||
|
'${fact_table_target.caption}', |
||||||
|
description, |
||||||
|
table_type, |
||||||
|
systeminfo_id, |
||||||
|
thema, |
||||||
|
sachgebiete_id |
||||||
|
from sx_tables where name='${fact_table_source}' |
||||||
|
; |
||||||
|
|
||||||
|
|
||||||
|
insert into tmp_fields (table_name, |
||||||
|
name, |
||||||
|
caption, |
||||||
|
description, |
||||||
|
field_type, |
||||||
|
field_size, |
||||||
|
field_not_null, |
||||||
|
currentlyused, |
||||||
|
is_primarykey, |
||||||
|
foreignkey_tab, |
||||||
|
foreignkey_col, |
||||||
|
foreignkey_int, |
||||||
|
foreignkey_cap, |
||||||
|
foreignkey_cond, |
||||||
|
foreignkey_func, |
||||||
|
check_integrity, |
||||||
|
is_sum, |
||||||
|
foreignkey_uniquename) |
||||||
|
select '${fact_table_target.name}' as table_name, |
||||||
|
name, |
||||||
|
caption, |
||||||
|
description, |
||||||
|
field_type, |
||||||
|
field_size, |
||||||
|
field_not_null, |
||||||
|
currentlyused, |
||||||
|
is_primarykey, |
||||||
|
foreignkey_tab, |
||||||
|
foreignkey_col, |
||||||
|
foreignkey_int, |
||||||
|
foreignkey_cap, |
||||||
|
foreignkey_cond, |
||||||
|
foreignkey_func, |
||||||
|
check_integrity, |
||||||
|
is_sum, |
||||||
|
foreignkey_uniquename |
||||||
|
from sx_fields where table_name ='${fact_table_source}' |
||||||
|
and name in ${fact_table_fields} |
||||||
|
and currentlyused=1; |
||||||
|
<#foreach added_table in added_tables> |
||||||
|
insert into tmp_fields (table_name, |
||||||
|
name, |
||||||
|
caption, |
||||||
|
description, |
||||||
|
field_type, |
||||||
|
field_size, |
||||||
|
field_not_null, |
||||||
|
currentlyused, |
||||||
|
is_primarykey, |
||||||
|
foreignkey_tab, |
||||||
|
foreignkey_col, |
||||||
|
foreignkey_int, |
||||||
|
foreignkey_cap, |
||||||
|
foreignkey_cond, |
||||||
|
foreignkey_func, |
||||||
|
check_integrity, |
||||||
|
is_sum, |
||||||
|
foreignkey_uniquename) |
||||||
|
select '${fact_table_target.name}' as table_name, |
||||||
|
'${added_table.prefix}' || name, |
||||||
|
'${added_table.caption}: ' || caption, |
||||||
|
description, |
||||||
|
field_type, |
||||||
|
field_size, |
||||||
|
field_not_null, |
||||||
|
currentlyused, |
||||||
|
is_primarykey, |
||||||
|
foreignkey_tab, |
||||||
|
foreignkey_col, |
||||||
|
foreignkey_int, |
||||||
|
foreignkey_cap, |
||||||
|
foreignkey_cond, |
||||||
|
foreignkey_func, |
||||||
|
check_integrity, |
||||||
|
is_sum, |
||||||
|
foreignkey_uniquename |
||||||
|
from sx_fields where table_name ='${added_table.name}' |
||||||
|
and name in ${added_table_fields} |
||||||
|
and currentlyused=1; |
||||||
|
</#foreach> |
||||||
|
--und berechnete Spalten einfügen |
||||||
|
<#foreach logical_field in logical_fields> |
||||||
|
insert into tmp_fields (table_name,name,caption,description,field_type,field_size,field_not_null,currentlyUsed,is_sum) |
||||||
|
select |
||||||
|
'${logical_field.tablename}', '${logical_field.uniquename}','${logical_field.caption}', '${logical_field.description}', 'CHAR',30, 1, 1,0 from xdummy; |
||||||
|
</#foreach> |
||||||
|
|
||||||
|
CREATE temp TABLE tmp_rpta_resultset |
||||||
|
( |
||||||
|
caption varchar(255), |
||||||
|
uniquename varchar(255), |
||||||
|
fieldclause text, |
||||||
|
joinclause text, |
||||||
|
whereclause text, |
||||||
|
systeminfo_id integer, |
||||||
|
is_virtual smallint default 1 |
||||||
|
); |
||||||
|
|
||||||
|
insert into tmp_rpta_resultset(caption, |
||||||
|
uniquename, |
||||||
|
systeminfo_id, |
||||||
|
is_virtual) |
||||||
|
select '${fact_table_target.caption}', |
||||||
|
'${fact_table_target.name}', |
||||||
|
7, |
||||||
|
0 |
||||||
|
; |
||||||
|
|
||||||
|
|
||||||
|
update tmp_rpta_resultset set fieldclause=' |
||||||
|
<#foreach logical_field in logical_fields> |
||||||
|
${logical_field.log_field} as ${logical_field.uniquename}, |
||||||
|
</#foreach> |
||||||
|
|
||||||
|
<#foreach field_target in fields_target> |
||||||
|
${field_target.table_name}.${field_target.name} as ${field_target.targetname}, |
||||||
|
</#foreach> |
||||||
|
null::varchar as dummy', |
||||||
|
joinclause='${fact_table_source} |
||||||
|
<#foreach added_table in added_tables> |
||||||
|
left outer join ${added_table.name} on (${added_table.joinclause}) |
||||||
|
</#foreach> |
||||||
|
<#foreach logical_field in logical_fields> |
||||||
|
<#if logical_field.join_field?exists && logical_field.join_field !=''> |
||||||
|
left outer join ${logical_field.join_field} |
||||||
|
</#if> |
||||||
|
</#foreach> |
||||||
|
'; |
||||||
|
|
||||||
|
--whereclause erstmal primitiv |
||||||
|
update tmp_rpta_resultset set whereclause = 'and stichtag in (select tid from sos_stichtag where appl_key=''0'') and hrst in (select apnr from sos_k_hrst HRST where HRST.astat in (''1'',''2'')) and kz_rueck_beur_ein in (1,2,3)'; |
||||||
|
select * into temp tmp_rs1 |
||||||
|
from rpta_resultset |
||||||
|
; |
||||||
|
|
||||||
|
update rpta_resultset set caption=T.caption, |
||||||
|
fieldclause=T.fieldclause, |
||||||
|
joinclause=T.joinclause, |
||||||
|
whereclause=T.whereclause, |
||||||
|
is_virtual=T.is_virtual |
||||||
|
from tmp_rpta_resultset T |
||||||
|
where T.systeminfo_id=rpta_resultset.systeminfo_id |
||||||
|
and T.uniquename=rpta_resultset.uniquename |
||||||
|
; |
||||||
|
|
||||||
|
insert into rpta_resultset(caption, |
||||||
|
uniquename, |
||||||
|
fieldclause, |
||||||
|
joinclause, |
||||||
|
whereclause, |
||||||
|
systeminfo_id, |
||||||
|
is_virtual) |
||||||
|
select caption, |
||||||
|
uniquename, |
||||||
|
fieldclause, |
||||||
|
joinclause, |
||||||
|
whereclause, |
||||||
|
systeminfo_id, |
||||||
|
is_virtual |
||||||
|
from tmp_rpta_resultset |
||||||
|
where 0=(select count(*) |
||||||
|
from tmp_rs1 T |
||||||
|
where T.systeminfo_id=tmp_rpta_resultset.systeminfo_id |
||||||
|
and T.uniquename=tmp_rpta_resultset.uniquename) |
||||||
|
; |
||||||
|
drop table tmp_rpta_resultset; |
||||||
|
drop table tmp_rs1; |
||||||
|
|
||||||
|
delete from sx_tables where name |
||||||
|
in (select T.name from tmp_tables T); |
||||||
|
|
||||||
|
insert into sx_tables (name,caption,description,table_type,systeminfo_id,systeminfo_orig,thema,sachgebiete_id) |
||||||
|
select name,caption,description,table_type,systeminfo_id,systeminfo_orig,thema,sachgebiete_id |
||||||
|
from tmp_tables; |
||||||
|
|
||||||
|
|
||||||
|
delete from sx_fields where table_name |
||||||
|
in (select T.table_name from tmp_fields T); |
||||||
|
|
||||||
|
insert into sx_fields (table_name,name,caption,description,field_type, |
||||||
|
field_size, |
||||||
|
field_not_null, |
||||||
|
currentlyUsed, |
||||||
|
foreignkey_tab, |
||||||
|
foreignkey_col, |
||||||
|
foreignkey_cap, |
||||||
|
foreignkey_int, |
||||||
|
foreignkey_cond, |
||||||
|
foreignkey_func, |
||||||
|
check_integrity, |
||||||
|
is_sum, |
||||||
|
foreignkey_uniquename |
||||||
|
) |
||||||
|
select |
||||||
|
F.table_name,F.name,F.caption,F.description,F.field_type, |
||||||
|
F.field_size, |
||||||
|
F.field_not_null, |
||||||
|
F.currentlyUsed, |
||||||
|
F.foreignkey_tab, |
||||||
|
F.foreignkey_col, |
||||||
|
F.foreignkey_cap, |
||||||
|
F.foreignkey_int, |
||||||
|
F.foreignkey_cond, |
||||||
|
F.foreignkey_func, |
||||||
|
F.check_integrity, |
||||||
|
F.is_sum, |
||||||
|
F.foreignkey_uniquename |
||||||
|
|
||||||
|
from tmp_fields F; |
||||||
|
|
||||||
|
|
||||||
|
drop table tmp_fields; |
||||||
|
drop table tmp_tables; |
||||||
|
|
||||||
|
|
||||||
|
--rpta_column füllen: |
||||||
|
select * into temp tmp_rc1 |
||||||
|
from rpta_column; |
||||||
|
|
||||||
|
|
||||||
|
create temp table tmp_rpta_column( |
||||||
|
uniquename varchar(255) NOT NULL, |
||||||
|
caption varchar(255), |
||||||
|
srcfieldname varchar(255), |
||||||
|
column_type integer, |
||||||
|
col_function text, |
||||||
|
is_aggregate smallint, |
||||||
|
resultset_id integer, |
||||||
|
description text, |
||||||
|
custom integer default 0 |
||||||
|
); |
||||||
|
|
||||||
|
insert into tmp_rpta_column( uniquename, |
||||||
|
caption, |
||||||
|
srcfieldname, |
||||||
|
column_type, |
||||||
|
col_function, |
||||||
|
is_aggregate, |
||||||
|
resultset_id, |
||||||
|
description) |
||||||
|
select F.name as uniquename, |
||||||
|
coalesce(T.caption,T.name) || ' - ' || F.caption, |
||||||
|
F.name as srcfieldname, |
||||||
|
1 as column_type, |
||||||
|
(case when F.is_sum=1 then 'sum' else null::varchar end) as col_function, |
||||||
|
(case when F.is_sum=1 then 1 else 0 end) as is_aggregate, |
||||||
|
R.tid as resultset_id, |
||||||
|
F.description |
||||||
|
from rpta_resultset R, sx_fields F left outer join sx_tables T on (T.name=F.table_name) |
||||||
|
where F.table_name='${fact_table_target.name}' |
||||||
|
and R.uniquename='${fact_table_target.name}' |
||||||
|
and F.currentlyused=1 |
||||||
|
; |
||||||
|
|
||||||
|
update rpta_column set |
||||||
|
caption=T.caption, |
||||||
|
srcfieldname=T.srcfieldname, |
||||||
|
column_type=T.column_type, |
||||||
|
col_function=T.col_function, |
||||||
|
is_aggregate=T.is_aggregate, |
||||||
|
resultset_id=R.tid, |
||||||
|
description=T.description, |
||||||
|
custom=T.custom |
||||||
|
from tmp_rpta_column T, rpta_resultset R |
||||||
|
where T.uniquename=rpta_column.uniquename |
||||||
|
and rpta_column.resultset_id=R.tid |
||||||
|
and R.uniquename='${fact_table_target.name}' |
||||||
|
; |
||||||
|
insert into rpta_column( uniquename, |
||||||
|
caption, |
||||||
|
srcfieldname, |
||||||
|
column_type, |
||||||
|
col_function, |
||||||
|
is_aggregate, |
||||||
|
resultset_id, |
||||||
|
description, |
||||||
|
custom) |
||||||
|
select T.uniquename, |
||||||
|
T.caption, |
||||||
|
T.srcfieldname, |
||||||
|
T.column_type, |
||||||
|
T.col_function, |
||||||
|
T.is_aggregate, |
||||||
|
R.tid as resultset_id, |
||||||
|
T.description, |
||||||
|
T.custom |
||||||
|
from tmp_rpta_column T, rpta_resultset R |
||||||
|
where R.uniquename='${fact_table_target.name}' |
||||||
|
and 0=(select count(*) from tmp_rc1 C |
||||||
|
where C.uniquename=T.uniquename |
||||||
|
and C.resultset_id=R.tid) |
||||||
|
; |
||||||
|
|
||||||
|
drop table tmp_rpta_column; |
||||||
|
drop table tmp_rc1; |
||||||
|
|
||||||
|
</#if> --wenn sos_stg_aggr_exists=1 |
||||||
Loading…
Reference in new issue