Dokumentation zu: TcMultiSite_2012_02 (C) J.Feuerstein 
Erstellt: 10.02.2012    J.Fes
Stand   : 19.02.2013    S.Gueth

CLA CommandLineArguments:
-------------------------
-Action "TcMultiSite_2012_02" 
-Subaction DataShare (DataSync)
-JobRoot_DP "JobRoot Verzeichniss"

-------------------------------------------------------------------------------------------------------------------------------
Options DataShare:
-------------------
-Pause -Verbose 
-Action "TcMultiSite_2012_02" 
-Subaction DataShare
-JobRoot_DP
-JobRoot_DP "V:\JobManager\ProgEntw\Ver03\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\26.TcMultiSite_2012_02\exampleFiles" 
-DataShare_IrList_DPNE Erzeugen der Inputliste 
-DataShare_Report_DPNE Auswerten der Ergebnisse
-DataShareCmdOutputLog_DPNE Auswerten des DataShare CMD Output logfiles
-ImportUpdateListDir_DP bestimmt das Verzeichnis, in dem die Import Update List txt Files gespeichert werden (optional)
-TCSiteId gibt die aktuelle tctSiteId an (wichtig für ImportUpdateListDir_DP)
-JobTemp_DP 
-ImportLogsDir_DP


Examples Test Command Line:
---------------------------
-Action "TcMultiSite_2012_02" -JobRoot_DP "V:\JobManager\ProgEntw\Ver03\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\26.TcMultiSite_2012_02\exampleFiles" 
-DataShare_IrList_DPNE "V:\JobManager\ProgEntw\Ver03\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\26.TcMultiSite_2012_02\exampleFiles\JobTemp\1_DataSync_IrList.txt"
-Action "TcMultiSite_2012_02" -DataShare_report_DPNE "V:\JobManager\ProgEntw\Ver03\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\26.TcMultiSite_2012_02\exampleFiles\JobTemp\2_DataShare_Report.txt" -JobRoot_DP "V:\JobManager\ProgEntw\Ver03\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\26.TcMultiSite_2012_02\exampleFiles" 
#Doc: NEW 19.02.2013 S.Gueth
-Action TcMultiSite_2012_02 -Subaction DataShare -DataShare_Report_DPNE "V:\Testdaten\KBA\dataShareTest\tc8x_TcSc_DataShare_MT_00030_KBA\DataShare_tmp\2_DataShare_Report.txt" -JobRoot_DP "V:\Testdaten\KBA\dataShareTest\tc8x_TcSc_DataShare_MT_00030_KBA"
#Doc: NEW 20.03.2013 S.Gueth
-Action TcMultiSite_2012_02 -Subaction DataShare -JobRoot_DP "V:\Testdaten\KBA\dataShareTest\tc8x_TcSc_DataShare_M_04817_KBA" -DataShare_Report_DPNE "V:\Testdaten\KBA\dataShareTest\tc8x_TcSc_DataShare_M_04817_KBA\DataShare_tmp\3_DataShare_Report.txt"
-Action TcMultiSite_2012_02 -Subaction DataShare -JobRoot_DP "V:\CustomersDataL\KBA\dataShareTest\tc8x_TcSc_DataShare_M_07213_KBA" -DataShare_Report_DPNE "V:\CustomersDataL\KBA\dataShareTest\tc8x_TcSc_DataShare_M_07213_KBA\DataShare_tmp\3_DataShare_Report.txt" -ImportUpdateListDir_DP "V:\CustomersDataL\addPLM\datatshareImportListTest" -TCSiteId tc8r -JobTemp_DP R:\kba_custom_v4\applications_prod\JobManagerV3\90-DATA\KBA_SettingsGlobal\10-JobScripts\TcSiteCons\2013-07-30-ExampleData\DataShare_Log_Compare -ImportLogsDir_DP R:\kba_custom_v4\applications_prod\JobManagerV3\90-DATA\KBA_SettingsGlobal\10-JobScripts\TcSiteCons\2013-07-30-ExampleData\DataShare_Log_Compare -JobData1ToProcessDoPrint

New: 2.1215;24.06.2015;S.Gueth
-Action TcMultiSite_2012_02 -Subaction DataShare -DataShare_Report_DPNE "V:\CustomersDataL\tbvc\2015-06-24-ExampleData\tcconswh_DataShare_ANY_to_CON_N_08507_VC\DataShare_tmp\3_DataShare_Report.txt" -JobRoot_DP "V:\CustomersDataL\tbvc\2015-06-24-ExampleData\tcconswh_DataShare_ANY_to_CON_N_08507_VC" -JobTemp_DP "V:\CustomersDataL\tbvc\2015-06-24-ExampleData\tcconswh_DataShare_ANY_to_CON_N_08507_VC\DataShare_tmp" -ImportUpdateListDir_DP "V:\CustomersDataL\tbvc\2015-06-24-ExampleData\updateListDir" -TcSiteId "tcconswh" -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -JobParaDoPrint -PauseOnEnd -verbose

New: 2.1220;24.11.2015;J.Fes
-Action TcMultiSite_2012_02 -Subaction DataShare 
-JobRoot_DP "V:\CustomersDataL\BSH\2015-11-24-ExampleData\PLMEU_DsRunDataShare_09755_BSH" 
-JobTemp_DP "#JobRoot_DP#\DataShare_tmp" 
-DataShare_Report_DPNE "#JobRoot_DP#\DataShare_tmp\3_DataShare_Report.txt" 
-ImportUpdateListDir_DP "#JobRoot_DP#\DataShare_tmp_updateListDir" 
-TcSiteId "PLMEU" 
-JobData1ToProcessDoPrint 
-JobData2ResultsDoPrint 
-JobParaDoPrint 
-PauseOnEnd 
-verbose

-Action TcMultiSite_2012_02 -Subaction DataShare -JobRoot_DP "V:\CustomersDataL\BSH\2015-11-24-ExampleData\PLMEU_DsRunDataShare_09755_BSH" -JobTemp_DP "#JobRoot_DP#\DataShare_tmp" -DataShare_Report_DPNE "#JobRoot_DP#\DataShare_tmp\3_DataShare_Report.txt" -ImportUpdateListDir_DP "#JobRoot_DP#\DataShare_tmp_updateListDir" -TcSiteId "PLMEU" -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -JobParaDoPrint -PauseOnEnd -verbose

New: 2.1221;11.12.2015;S.Gueth
-Action TcMultiSite_2012_02 -Subaction DataShare -DataShare_Report_DPNE V:\CustomersDataL\BSH\2015-12-11-ExampleData\PLMEU_DsRunDataShareIR_00003_BSH\DataShare_tmp\3_DataShare_Report.txt -JobRoot_DP V:\CustomersDataL\BSH\2015-12-11-ExampleData\PLMEU_DsRunDataShareIR_00003_BSH -JobTemp_DP V:\CustomersDataL\BSH\2015-12-11-ExampleData\PLMEU_DsRunDataShareIR_00003_BSH\DataShare_tmp -ImportUpdateListDir_DP R:\JobManagerV3_P\90-DATA\BSH_WorkInst_ProdSystem02\20-DataBase\22-ItemInfoLists -TcSiteId  -JobParaDoPrint -JobData2ResultsDoPrint -ImportLogsDir_DP  -ClassOutType IR

New: 2.1221;14.12.2015;S.Gueth
-Action TcMultiSite_2012_02 -Subaction I_IR_BOM_DS_eval -JobRoot_DP V:\CustomersDataL\BSH\2015-12-14-ExampleData\PLMEU_DSEValCompair_EU_CN_IR_00007_BSH -JobMgrDataOrg_Root_DP V:\CustomersDataL\BSH\2015-12-14-ExampleData\JobMgrData -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -JobParaDoPrint -ClassOutType IR -pauseonend

New: 2.1221;04.01.2016;S.Gueth
-Action TcMultiSite_2012_02 -Subaction I_IR_BOM_DS_eval -JobRoot_DP V:\CustomersDataL\BSH\2016-01-04-ExampleData\PLMEU_DSEValCompair_EU_CN_IR_00012_BSH -JobMgrDataOrg_Root_DP V:\CustomersDataL\BSH\2016-01-04-ExampleData\JobMgrData -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -JobParaDoPrint -ClassOutType IR -pauseonend

#New: 3.1231;02.02.2016;J.Fes
-Action TcMultiSite_2012_02 -Subaction I_IR_BOM_DS_eval -JobRoot_DP "V:\CustomersDataL\BSH\2016-02-02-ExampleData\PLMEU_DS_S4_EvalCompareIR_00007_BSH" -JobMgrDataOrg_Root_DP "#JobRoot_DP#\JobMgrData" -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -JobParaDoPrint -ClassOutType "IR" -pauseonend -verbose



-------------------------------------------------------------------------------------------------------------------------------
Options DataSync:
-------------------
-Pause -Verbose 
-Action "TcMultiSite_2012_02" 
-Subaction DataSync
-JobRoot_DP "\\w9\kc\user\WKCJFes\Trans\RFTemp\tc8w_RF_Sy8r_00204_KBA"
-DataSync_ItemList_DPNE "\\w9\kc\user\WKCJFes\Trans\RFTemp\tc8w_RF_Sy8r_00204_KBA\1_DataSync_ItemList.txt"
-DataSync_Report_DPNE "\\w9\kc\user\WKCJFes\Trans\RFTemp\tc8w_RF_Sy8r_00204_KBA\2_DataSync_Report.txt"


Examples Test Command Line:
---------------------------
-Action "TcMultiSite_2012_02" -JobRoot_DP "\\w9\kc\user\WKCJFes\Trans\RFTemp\tc8w_RF_Sy8r_00204_KBA" -DataSync_Report_DPNE "\\w9\kc\user\WKCJFes\Trans\RFTemp\tc8w_RF_Sy8r_00204_KBA\2_DataSync_Report.txt"

New: 2.1215;24.06.2015;S.Gueth
-Action TcMultiSite_2012_02 -Subaction DataSync -InputList_DPNE "V:\CustomersDataL\tbvc\2015-06-24-ExampleData\tcconswh_DataShare_ANY_to_CON_N_08507_VC\DataShare_tmp\1_DataShare_ItemList.txt" -JobRoot_DP "V:\CustomersDataL\tbvc\2015-06-24-ExampleData\tcconswh_DataShare_ANY_to_CON_N_08507_VC" -ClassOutContent "ID" -ClassOutType "I" -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -JobParaDoPrint -PauseOnEnd -verbose




-------------------------------------------------------------------------------------------------------------------------------
Options I_IR_BOM_DS_eval: New: 2.1210;20.02.2015;S.Gueth
-------------------
-Action                             "TcMultiSite_2012_02" 
-Subaction                          "I_IR_BOM_DS_eval"
-JobRoot_DP                         "\\w9\kc\user\WKCJFes\Trans\RFTemp\tc8w_RF_Sy8r_00204_KBA"
-JobMgrDataOrg_Root_DP		        "V:\JobManagerV3\90-DATA\JobMgrDataOrg" 
-TcSiteTarget                       tc83                                                                  #Doc: Optional: tc site id of target site for I_IR_BOM_DS extract, when this site id is given, then the site id's will be used in the report file


Examples Test Command Line:
---------------------------
-Action "TcMultiSite_2012_02" -Subaction "I_IR_BOM_DS_eval" -JobRoot_DP "V:\CustomersDataL\tbvc\2015-02-23-ExampleData\JobTest_Compare_I_IR_BOM_DS_Infos" -JobMgrDataOrg_Root_DP "V:\CustomersDataL\tbvc\2015-02-23-ExampleData\JobMgrDataOrg" -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -JobParaDoPrint -PauseOnEnd -verbose

#Doc: New: 2.1217;28.08.2015;S.Gueth
-Action "TcMultiSite_2012_02" -Subaction "I_IR_BOM_DS_eval" -JobRoot_DP "V:\CustomersDataL\tbvc\2015-05-20-ExampleData\tcconsnb_DSEvalExtractPost_RUN_25929_VC" -JobMgrDataOrg_Root_DP "V:\CustomersDataL\tbvc\JobMgrData" -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -JobParaDoPrint -PauseOnEnd -verbose



New: 3.1233;01.04.2016;J.Fes
-Action "TcMultiSite_2012_02" -Subaction "FlipTheSwitch" -JobRoot_DP "V:\CustomersDataL\BSH\2016-03-07-ExampleData\PLMRF_DS_S5_FlipTheSwitch_00010_BSH" -FlipTheSwitch_Report_DPNE "#JobRoot_DP#\FlipTheSwitch_tmp\3_FlipTheSwitch_Report.txt" -verbose -PauseOnEnd -JobData2ResultsDoPrint 




Options DataShare:
-------------------
-Pause -Verbose 
-Action "TcMultiSite_2012_02" 
-Subaction DataShare
-JobRoot_DP "V:\JobManager\ProgEntw\Ver03\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\26.TcMultiSite_2012_02\exampleFiles" 
-JobTemp_DP "#JobRoot_DP#\JobTempDir"
-UserMappingFile_DPNE "C:\User\mapping\file.txt" (content: oldUser;mappedUser)
-ClassOutType "I" (I -> Item, IR -> ItemRev)
-ClassOutContent "ID" (ID|PUID)
-ShellExecProg_DPNE data_share.exe
-ShellExecArguments " -arg1=1 -arg2=2" (u, p, g, report, filename will automatically be set)
-ShellMaxDurationSEC 900
-ImportLogsDir_DP
-TSiteId
-DoNotCheckLastModUser (optional)
-DoNotCheckGroups (optional)
