#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
Help - Docu CommandLineArgs for Application:
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
Product.....: PLMJobManagerV2
Title.......: JM.Cmd.Tools
Description.: Commandline Tool to process or anlyse PLMJobManager JobData
Version.....: 2.1194.103.2013 (c) Dipl.Ing. J.Feuerstein 2005..2013
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#


#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-Action Mail
 List of CommandLineArgs:
 ---------------------------------------------
 Parameter..: -Sender
 Description: Add the sender Name
 Example....: -Sender "SenderFirstname.SenderName@Company.com##Sender Firstname Name"
 ---------------------------------------------
 Parameter..: -SmtpServer
 Description: sets the smtp mail server name or ip adress (replaces Parameter -SmptServer)
 Example....: -SmtpServer "mySmtpServer.com"
 ---------------------------------------------
 Parameter..: -MailSend
 Description: start sending mail to recipents
 Example....: -MailSend 
 ---------------------------------------------
 Parameter..: -RecToAdd
 Description: Add's reciver to the 'To' Reciver List
 Example....: -RecToAdd "Firstname1.Name1@Company.com##Firstname1 Name1;Firstname2.Name2@Company.com##Firstname2 Name2"
 ---------------------------------------------
 Parameter..: -RecCcAdd
 Description: Add's reciver to the 'Cc' Reciver List
 Example....: -RecCcAdd "Firstname1.Name1@Company.com##Firstname1 Name1;Firstname2.Name2@Company.com##Firstname2 Name2"
 ---------------------------------------------
 Parameter..: -RecBcAdd
 Description: Add's reciver to the 'Bc' Reciver List
 Example....: -RecBcAdd "Firstname1.Name1@Company.com##Firstname1 Name1;Firstname2.Name2@Company.com##Firstname2 Name2"
 ---------------------------------------------
 Parameter..: -Subject
 Description: set's the mail subject text
 Example....: -Subject "Mail subject text"
 ---------------------------------------------
 Parameter..: -BodyTextAppendNewLine
 Description: add's a new line to the mail MailBodyText
 Example....: -BodyTextAppendNewLine "new Line in Mail body text"
 ---------------------------------------------
 Parameter..: -BodyTextReadFromFile
 Description: read's the the content of Textfile:[C:\temp\MyMailDataBodyText.txt] into the MailBodyText
 Example....: -BodyTextReadFromFile "C:\temp\MyMailDataBodyText.txt"
 ---------------------------------------------
 Parameter..: -BodyTextReadFromFileAppendToBodyText
 Description: appends the content of Textfile:[C:\temp\MyMailDataBodyTextToAppend.txt] to current MailBodyText (Trims Textfile Content on End)
 Example....: -BodyTextReadFromFileAppendToBodyText "C:\temp\MyMailDataBodyTextToAppend.txt"
 ---------------------------------------------
 Parameter..: -MailDataXMLFile
 Description: defines the MailData Xml file. Info:This file stores the mail data
 Example....: -MailDataXMLFile "C:\temp\MyMailData.xml"
 ---------------------------------------------
 Parameter..: -Clear
 Description: if this Argument exists all MailData will be cleared
 Example....: -Clear 


#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-Action PLMPerfSyslogParser_2012_01
 List of CommandLineArgs:
 ---------------------------------------------
 Parameter..: -SyslogFindMask
 Description: FindString for the SyslogFile, the first match will be used.
 Example....: -SyslogFindMask "r:\path\xyz*.syslog"
 ---------------------------------------------
 Parameter..: -ImportConfigXml
 Description: Path to the exported import configuration of the PLMPerformanceAnalyse Tool. The .XSD Schema definition is expected with the same name in the same folder.
 Example....: -ImportConfigXml "r:\path\PLMPerfAnalyseImportConfig.xml"
 ---------------------------------------------
 Parameter..: -ImportConfigName
 Description: Name of the import configuration record to be used.
 Example....: -ImportConfigName ConfigXYZ
 ---------------------------------------------
 Parameter..: -UserCount
 Description: determine the current user count (#Doc:-1 will be saved if not set)
 Example....: -UserCount 
 ---------------------------------------------
 Parameter..: -LoadUpdCpuReal_SendMail_IFGT
 Description: determines a value, if LoadUpdCpuReal value is greater than that value an email will be send. 
              #Doc:Value -1 deaktivates mail sending.
 Example....: -LoadUpdCpuReal_SendMail_IFGT 
 ---------------------------------------------
 Parameter..: -LoadUpdCpu_SendMail_IFGT
 Description: determines a value, if LoadUpdCpu is greater than that value an email will be send. 
              #Doc:Value -1 deaktivates mail sending.
 Example....: -LoadUpdCpu_SendMail_IFGT 
 ---------------------------------------------
 Parameter..: -TotalReal_SendMail_IFGT
 Description: determines a value, if TotalReal is greater than that value an email will be send. 
              #Doc:Value -1 deaktivates mail sending.
 Example....: -TotalReal_SendMail_IFGT 
 ---------------------------------------------
 Parameter..: -PDMPerfFile_DPNE
 Description: File to append PDMPerf result data.
              #Doc: Format is .csv Format
 Example....: -PDMPerfFile_DPNE .\JobManagerV2\90-DATA\CustomerNameShort_WorkInst_TEST\12-Data\PDMPerf\PDMPerfResultData_NX75_Tc83.csv
 ---------------------------------------------
 Parameter..: -SubAction
 Description: Defines which SubAction (of -Action 'PLMPerfSyslogParser_2012_01') is to process. (New: 2.1106;21.08.2012;J.Fes)
              #Doc: Value: 'ViaNxSyslog' Extract Perf. Data from NX.sylog file.
              #Doc: Value: 'ViaNxCB'     Extract Perf. Data from NXCB.xml file.
 Example....: -SubAction ViaNxSyslog


#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-Action RefileNative_2012_01
 List of CommandLineArgs:
 ---------------------------------------------
 Parameter..: -RfResultEvalCustom
 Description: RfResultEvalCutom Methode soll angewendet werden.
              #Doc: wenn dieser Parameter nicht gesetzt wird so wird die Standard Methode angewendet
 Example....: -RfResultEvalCustom CustomNameShort
 ---------------------------------------------
 Parameter..: -CoCi_CiExtraSavedFiles
 Description: Definiert ob die durch den Refile Prozess extra saved files mit eingecheckt werden sollen!
              #Doc: Value:[YES] Enables function. Any other value disables function. (New: 2.1076;05.07.2012;J.Fes)
 Example....: -CoCi_CiExtraSavedFiles YES
 ---------------------------------------------
 Parameter..: -CoCi_CiDo
 Description: Definiert ob die durch den Refile Prozess extra saved files mit eingecheckt werden sollen!
              #Doc: Value:[YES] Enables function. Any other value disables function. (New: 2.1076;05.07.2012;J.Fes)
 Example....: -CoCi_CiDo YES
 ---------------------------------------------
 Parameter..: -mxCoRun_Log_DPNE
 Description: Matrix Co LogFile
 Example....: -mxCoRun_Log_DPNE 
 ---------------------------------------------
 Parameter..: -CBData_DP
 Description: Root dir in dem die CB Data gesucht werden.
 Example....: -CBData_DP #JobRoot_DP#\04-CBTemp
 ---------------------------------------------
 Parameter..: -MatrixSiteId
 Description: matrix SiteId. for test use:MATRIX-R.test for Prod use:MATRIX-R.prod
 Example....: -MatrixSiteId MATRIX-R.prod
 ---------------------------------------------
 Parameter..: -mql_exe_DPNE
 Description: full path to MQL.exe. Hint all required environments must be set bevor exevuting (-Action RefileNative_2012_01 -RfResultEvalCustom GB).
 Example....: -mql_exe_DPNE C:\MQL\bin\Mql.exe


#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-Action RefileTc_2012_01
 List of CommandLineArgs:
 ---------------------------------------------
 Parameter..: -Refile_VolumeMapperUse
 Description: if you SET Option -Refile_VolumeMapperUse then 'Refile VolumeMapper' Files will be generated
              #Doc: This Option has no Option Values
              Search Rules for Files starting from JobRoot_DP:\..\
              - File: ObjectListAllDetails: via. JobRoot_DP:\..\*_ObjectsListAllDetails.txt]
              - File: Refile_VolumeMapper : via. JobRoot_DP:\..\*VolumeMapper*.csv
                      |-> this Files contails volume mapping definition.
                      |-> Based on the definitions in file:Refile_VolumeMapper and containment
                          of file:ObjectListAllDetails tool generates several refile IR input files.
 Example....: -Refile_VolumeMapperUse 
 ---------------------------------------------
 Parameter..: -RfExe_DPNE
 Description: Path to Refile Exe
 Example....: -RfExe_DPNE C:\UGS\nx75\UGMANAGER\ugmanager_refile_program.exe
 ---------------------------------------------
 Parameter..: -RfPara
 Description: Name of Environvariable that contains Refile parameters.
              Please do not inculde in this variable Refile parameters:-i=.. -log=.. -out=.. -u=.. -p=..
 Example....: -RfPara RfPara
 ---------------------------------------------
 Parameter..: -u
 Description: TC Refile User
 Example....: -u infodba
 ---------------------------------------------
 Parameter..: -p
 Description: TC Refile User Password
 Example....: -p mypassword
 ---------------------------------------------
 Parameter..: -RfStartCmd_DPNE
 Description: full path of cmd to run entire refile processes.
              Hint this cmd will be created by JM.cmd.Tool.
 Example....: -RfStartCmd_DPNE C:\tmp\JobClient\plms_RfSp_00060_Custom\RfStart.cmd


#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-Action AppUid_2012_02
 List of CommandLineArgs:
File search rules
All file representing arguments can be used in the following manner:
 - full path and filename: will be used as is
 - filename only: will be searched within JobRoot directory
 - relative path with filename: will be added to the JobRoot directory
 - omitted: the default filename will be used

 ---------------------------------------------
 Parameter..: -GenerateAppUidImportFile
 Description: Takes the JobData XML file, generates the AppUid Import Xml File.
              Arguments: -JobRoot_dp, -JobDataInputXml and -AppUidImportXml
 Example....: -GenerateAppUidImportFile 
 ---------------------------------------------
 Parameter..: -ParseAppUidResultsFile
 Description: Parses the AppUid results logfile
              and generates the resulting JobData XML file. 
              Arguments: -JobRoot_dp, -JobDataInputXml, 
                         -JobDataOutputXml and -AppUidResultsLog
 Example....: -ParseAppUidResultsFile 
 ---------------------------------------------
 Parameter..: -JobRoot_dp
 Description: The job's root directory.
              All files with relative names will be expected here.
 Example....: -JobRoot_dp x:\path\to\job
 ---------------------------------------------
 Parameter..: -JobDataInputXml
 Description: The JobData.xml file to be used as input file.
              Default name will be used when omitted.
 Example....: -JobDataInputXml JobData.xml
 ---------------------------------------------
 Parameter..: -JobDataOutputXml
 Description: The JobData.xml file to be used as output file.
              Default name will be used when omitted.
 Example....: -JobDataOutputXml JobDataResult.xml
 ---------------------------------------------
 Parameter..: -AppUidImportXml
 Description: The AppUid Import file to be used.
              Defaults to [AppUidImport.xml] when omitted.
 Example....: -AppUidImportXml AppUidImport.xml
 ---------------------------------------------
 Parameter..: -AppUidResultsLog
 Description: The AppUid Results file to be used.
              Defaults to [AppUidResults.txt] when omitted.
 Example....: -AppUidResultsLog AppUidResults.txt


#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-Action TcMultiSite_2012_02
 List of CommandLineArgs:
 ---------------------------------------------
 Parameter..: -DataShare_IrList_DPNE
 Description: Reads JobRoot_DP:JobData1ToProcess.xml
              #Doc: Creates DataShare input file with list of Item Rev
 Example....: -DataShare_IrList_DPNE -DataShare_IrList_DPNE "%DataShare_IrList_DPNE%"
 ---------------------------------------------
 Parameter..: -DataShare_Report_DPNE
 Description: reads JobRoot_DP:JobData1ToProcess.xml
              #Doc: reads DataShare report file
              #Doc: evaluates results and saves them into JobRoot_DP:JobData2Result.xml
 Example....: -DataShare_Report_DPNE -DataShare_report_DPNE "%DataShare_report_DPNE%"
 ---------------------------------------------
 Parameter..: -DataSync_ItemList_DPNE
 Description: reads JobRoot_DP:JobData1ToProcess.xml
              #Doc: creates DataShare input file with list of Item Rev
 Example....: -DataSync_ItemList_DPNE -DataSync_ItemLsit_DPNE "%DataSync_ItemList_DPNE%"
 ---------------------------------------------
 Parameter..: -DataSync_Report_DPNE
 Description: reads JobRoot_DP:JobData1ToProcess.xml
              #Doc: Reads DataSync report file
              #Doc: Evaluates results and saves them into JobRoot_DP:JobData2Result.xml
 Example....: -DataSync_Report_DPNE -DataSync_report_DPNE "%DataSync_report_DPNE%"
 ---------------------------------------------
 Parameter..: -SubAction
 Description: Defines which SubAction (of -Action 'TcMultiSite_2012_02') is to process. (New: 2.1194;19.02.2013;S.Gueth)
              #Doc: Value: 'DataShare'
              #Doc: Value: 'DataSync'
 Example....: -SubAction CBExtractInputListGen


#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-Action LiPEC10Matrix_2012_03
 List of CommandLineArgs:
 ---------------------------------------------
 Parameter..: -CheckoutCache_DP
 Description: path where additional released files will be cached in.
 Example....: -CheckoutCache_DP 
 ---------------------------------------------
 Parameter..: -CheckoutWithAttributeXml
 Description: In the CheckoutRequest the attribute data Xml Files are requested.
 Example....: -CheckoutWithAttributeXml 
 ---------------------------------------------
 Parameter..: -GenerateCheckoutRequestObjectsPackage
 Description: SubAction Trigger: Build a CheckoutRequest ObjectsPackage from the jobs input data file.
 Example....: -GenerateCheckoutRequestObjectsPackage 
 ---------------------------------------------
 Parameter..: -GenerateCheckinUnlockRequestObjectsPackage
 Description: SubAction Trigger: Build a ProcessingObjectsPackage for Checkin/Unlock from the jobs input data file and the CheckoutResults Xml file.
 Example....: -GenerateCheckinUnlockRequestObjectsPackage 
 ---------------------------------------------
 Parameter..: -JobData1ToProcessXml
 Description: The JobData.xml file to be used as input file.
              Default name will be used when omitted.
 Example....: -JobData1ToProcessXml JobData1ToProcess.xml
 ---------------------------------------------
 Parameter..: -JobData2ResultXml
 Description: The JobData.xml file to be used as output file.
              Default name will be used when omitted.
 Example....: -JobData2ResultXml JobData2Result.xml
 ---------------------------------------------
 Parameter..: -ProcessMode
 Description: The process mode is set to TEST or WORK.
 Example....: -ProcessMode TEST/WORK
 ---------------------------------------------
 Parameter..: -ProcessingObjectsPackageXml
 Description: path to the ProcessingObjectsPackage.xml file.
 Example....: -ProcessingObjectsPackageXml ProcessingObjectsPackage.xml
 ---------------------------------------------
 Parameter..: -ProcessedObjectsPackageXml
 Description: path to the ProcessedObjectsPackage.xml file.
 Example....: -ProcessedObjectsPackageXml 
 ---------------------------------------------
 Parameter..: -AnalyzeCheckoutResult
 Description: SubAction Trigger: Reads and analyzes the checkout ProcessedObjectsPackage.xml file and modifies the jobs JobData2Result.xml file.
 Example....: -AnalyzeCheckoutResult 
 ---------------------------------------------
 Parameter..: -AnalyzeCheckinUnlockResult
 Description: SubAction Trigger: Reads and analyzes the checkin/unlock ProcessedObjectsPackage.xml file and modifies the jobs JobData2Result.xml file.
 Example....: -AnalyzeCheckinUnlockResult 
 ---------------------------------------------
 Parameter..: -NxCustomToolExecute
 Description: SubAction Trigger: To generates Batchfiles for running Custom NX Update Tool. [New: 2.1133;17.10.2012;J.Fes]
 Example....: -NxCustomToolExecute 
 ---------------------------------------------
 Parameter..: -NxCustomToolToProcessOneObject_DPNE
 Description: Fullpath to CMD file for processing ONE Nx.prt. [New: 2.1133;17.10.2012;J.Fes]
 Example....: -NxCustomToolToProcessOneObject_DPNE 
 ---------------------------------------------
 Parameter..: -NxRefileFiles
 Description: SubAction Trigger: NXRefile Bei dieser Aktion wird jedes Part einzeln refilet [New: 2.1135;22.10.2012;J.Fes]
              #Doc: Es wird vorausgesetzt das die Umgebungsvariable: %UGII_ROOT_DIR% vor dem Start gesetzt ist.
              #Doc: Es wird vorausgesetzt das das Program %UGII_ROOT_DIR%\refile_part.exe auf dem Rechner installiert ist.
 Example....: -NxRefileFiles 
 ---------------------------------------------
 Parameter..: -RfParam
 Description: Parameter to use for refiling NX Parts.
              #Doc: Parameter ersetzung: '' wird ersetz "" (zwei ' Zeichen werden ersetz durch ein "" Zeichen ) 
              #Doc: Parameter ersetzung: #PartFile_DPNE# wird ersetzt durch: den aktullen Partfile Namen
              #Doc: Parameter ersetzung: -ll #default# wird ersetzt durch: -ll ''#NxProcess_DP#\Rf1_Refile.log''
              #Doc: Parameter ersetzung: -convert_mcs #default# wird ersetzt durch: -convert_mcs ''#NxProcess_DP#\Rf2_Convert_Mcs.log''
              [New: 2.1135;22.10.2012;J.Fes]
 Example....: -RfParam 
 ---------------------------------------------
 Parameter..: -NxCheckBoxExtract
 Description: SubAction Trigger:To extract NxCheckBox Data via NXCheckBox Prog Tool. [New: 2.1146;01.11.2012;J.Fes]
 Example....: -NxCheckBoxExtract 
 ---------------------------------------------
 Parameter..: -NxCBProg_DPNE
 Description: Fullpath to NxCheckBox Program [New: 2.1146;01.11.2012;J.Fes]
 Example....: -NxCBProg_DPNE 
 ---------------------------------------------
 Parameter..: -NxCBParam
 Description: NxCheckBox Parameter. !! #Doc: Parameter am Anfang mit einem Leerzeichen angeben !! [New: 2.1146;01.11.2012;J.Fes]
 Example....: -NxCBParam 
 ---------------------------------------------
 Parameter..: -NxCBProcessKey
 Description: NxCheckBox Process: KEY CB1 CB2 CB3  [New: 2.1146;01.11.2012;J.Fes]
 Example....: -NxCBProcessKey 
 ---------------------------------------------
 Parameter..: -NxCBCompKey
 Description: NxCheckBox Process: definert das nach dem CB Extract ein CB Compair ausgefuert wird Key CBC12 CBC23  [New: 2.1146;01.11.2012;J.Fes]
 Example....: -NxCBCompKey 
 ---------------------------------------------
 Parameter..: -NxCBCompProcessKey1
 Description: NxCheckBox definert Compair Key1  CB1 CB2 [New: 2.1148;02.11.2012;J.Fes]
 Example....: -NxCBCompProcessKey1 
 ---------------------------------------------
 Parameter..: -NxCBCompProcessKey2
 Description: NxCheckBox definert Compair Key2  CB2 CB3 [New: 2.1148;02.11.2012;J.Fes]
 Example....: -NxCBCompProcessKey2 
 ---------------------------------------------
 Parameter..: -UGII_Load_Options_Template_DPNE
 Description: Fullpath to UGII_Load_Options_Template File.
              #Doc: You can Use in this load Option template file the placeholder:'#NxProcess_DP#' to insert the search path for the refile process.
              #Doc: Befor RefilePart start's a new refile Process RefilePart copys the Load_Option_Template File to the UGII_load_option file with fillt placeholder:'#NxProcess_DP#'
              [New: 2.1135;22.10.2012;J.Fes]
 Example....: -UGII_Load_Options_Template_DPNE 
 ---------------------------------------------
 Parameter..: -JobMgrDataOrg_ErrorRoot_DP
 Description: Path where process data are copied into on error.
 Example....: -JobMgrDataOrg_ErrorRoot_DP 


#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-Action CBTools_2012_05
 List of CommandLineArgs:
 ---------------------------------------------
 Parameter..: -SubAction
 Description: Defines which SubAction (of -Action 'CBTools_2012_05') is to process. (New: 2.1104;19.08.2012;J.Fes)
              #Doc: Value: 'CBExtractInputListGen' Generates: Inputfile for NXCB.exe out of 
              #Doc: Value: 'CBMoveCBFilesToCBArchiv' defines to Move Extract CB Files to CB Archiv.
              #Doc: Value: 'CBResultGen' Generates: CB XML + TIF Results.
                            |-> Hint: To gen TIF Files with this run please use settings -CgmToTif=ON.
              #Doc: Value: 'CBResultGenTIF' Generates: TIF Results.
 Example....: -SubAction CBExtractInputListGen
 ---------------------------------------------
 Parameter..: -CBPara_partListGen
 Description: Generates Inputfile containing list of parts to execute via CheckBox.
              #Doc: Each line TC Dataset in CLi format 
              #Doc: Works only in combinaton with parameter -JobRoot_DP
 Example....: -CBPara_partListGen #JobRoot_DP#\_CgmToTif\_NxCB_partList_for_CgmToTifViaCGM.txt
 ---------------------------------------------
 Parameter..: -CBPara_partList
 Description: Inputfile containing list of parts.
              #Doc: Each line represent one TC-Dataset in CLI format.
 Example....: -CBPara_partList #JobRoot_DP#\_CgmToTif\_NxCB_partList_for_CgmToTifViaCGM.txt
 ---------------------------------------------
 Parameter..: -CBPara_ExtractCGM_toDir
 Description: Directory that contains exported *.cgm files.
 Example....: -CBPara_ExtractCGM_toDir #JobRoot_DP#\_CgmToTif
 ---------------------------------------------
 Parameter..: -CBPara_log
 Description: File contains CheckBox executions log informations.
 Example....: -CBPara_log #JobRoot_DP#\_CgmToTif\zzExportCGM_LOG.txt
 ---------------------------------------------
 Parameter..: -CBPara_outdir
 Description: Directory that contains exported NxCB Result Files (*.xml)
 Example....: -CBPara_outdir #JobRoot_DP#\_CgmToTif
 ---------------------------------------------
 Parameter..: -CBDataOrg_RootDirBackup_DP
 Description: Backup Root Directory in which the backup data are stored to.
              #Doc1: Use Dir then existing Data will be backup't into the given subdir with the same subdir structure like the origin files.
                     Example: S:\CheckBoxData\47114712\A\47114712_master_47114712-A_NX75.xml -> backup to: S:\CheckBoxData.Backup\47114712\A\47114712_master_47114712-A_NX75-2012-06-12_10-01.xml
              #Doc2: Use 'Key:SubDirBackup' then existing Data will be backup't into subdir: .\Backup\File_N-#LastWriteDateTime#.File_E
                     Example: S:\CheckBoxData\47114712\A\47114712_master_47114712-A_NX75.xml -> backup to: S:\CheckBoxData\47114712\A\Backup\47114712_master_47114712-A_NX75-2012-06-12_10-01.xml
 Example....: -CBDataOrg_RootDirBackup_DP S:\CheckBoxData.Backup
 ---------------------------------------------
 Parameter..: -CBDataOrg_MoveToArchiv_WithNameExt
 Description: gibt den CB Laufbezeichner an.
              Diese Bezeichnung wird den NxCB Files angehngt (NXCB.XML NXCB.TIF).
              #Doc1: Die Dateien werden um den angegeben Bezeichner angehngt
              #Doc2: Example:'#CB1-NX6U#'  -> NX6 '#CB2-NX75U'
 Example....: -CBDataOrg_MoveToArchiv_WithNameExt #CB1-NX75
 ---------------------------------------------
 Parameter..: -CgmToTif_cmdProg
 Description: command to convert CGM to TIF
              #Doc: for each CGM file the program will be executed.
              #Doc: Note     : please set required settings for bevor start JobManagerCmdTools.exe.
              #Doc: Example 1: -CgmToTif_cmdProg default (Hint: Then software uses Example 2)
              #Doc: Example 2: -CgmToTif_cmdProg "%UGII_BASE_DIR%\NXPLOT\cgm2tiff.exe"
              #Doc: Example 3: -CgmToTif_cmdProg "%ProgramFiles(x86)%\SDI\SDI Convert Pro\bin\convertit.exe"
 Example....: -CgmToTif_cmdProg default
 ---------------------------------------------
 Parameter..: -CgmToTif_cmdArgs
 Description: Name of environvariable contains commandline arguments to execute CgmToTif_cmdProg.
              #Doc: #cgm_dpne# #cgm_dpn# #cgm_dp#  #cgm_ne# #cgm_n# #tif_dpne# #tif_dpn# #tif_dp# #tif_ne# #tif_n# can be used as placeholder for placing cgm + tif file definitions into the commandline arguments.
              #Doc: '' will be replaced by "
              #Doc: Example 1: -CgmToTif_cmdArgs default (Hint: then software uses Example 2)
              #Doc: Example 2: -CgmToTif_cmdArgs ''#cgm_dpne#'' ''#tif_dpne#'' -mono -resolution=600
              #Doc: Example 3: -CgmToTif_cmdArgs ''#cgm_dpne#'' TIFF ''#tif_dpn#'' +cbw +ro600
 Example....: -CgmToTif_cmdArgs default
 ---------------------------------------------
 Parameter..: -CBUpStruc_ResultAnalyse
 Description: Analyse CB Update Struktur Result's (new 25.05.2012)
              #Doc: 
              #Doc: '' will be replaced by "
              #Doc: Example 1: -CBUpStruc_CBFile_1_UpStrPreRun #CbFile1_DPNE# -CBUpStruc_CBFile_2_UpStrPreRun #CbFile2_DPNE#
 Example....: -CBUpStruc_ResultAnalyse 
 ---------------------------------------------
 Parameter..: -CBUpStrucRun1_ResultLog_DPNE
 Description: File containing CB result data.
              #Doc: Format is .csv Format
 Example....: -CBUpStrucRun1_ResultLog_DPNE #JobRoot_DP#\2_UpStrPreRun\CBUpStruc_1-TcInStrucSyncOn_2ResultLog.TXT
 ---------------------------------------------
 Parameter..: -CBUpStrucRun2_ResultLog_DPNE
 Description: File containing CB result data.
              #Doc: Format is .csv Format
 Example....: -CBUpStrucRun2_ResultLog_DPNE #JobRoot_DP#\3_UpStr2PostRun\CBUpStruc_1-TcInStrucSyncOn_3ResultLog.TXT
 ---------------------------------------------
 Parameter..: -Cb1DescShort
 Description: Kurze Beschreibung des 1. Elementes, das verglichen wird
 Example....: -Cb1DescShort db1
 ---------------------------------------------
 Parameter..: -Cb1DescFull
 Description: Lange Beschreibung des 1. Elementes, das verglichen wird
 Example....: -Cb1DescFull Datenbank 1
 ---------------------------------------------
 Parameter..: -Cb2DescShort
 Description: Kurze Beschreibung des 2. Elementes, das verglichen wird
 Example....: -Cb2DescShort db2
 ---------------------------------------------
 Parameter..: -Cb2DescFull
 Description: Lange Beschreibung des 2. Elementes, das verglichen wird
 Example....: -Cb2DescFull Datenbank 2
 ---------------------------------------------
 Parameter..: -CbReportDesc
 Description: Optionale Beschreibung eines Checkbox Vergleiches
 Example....: -CbReportDesc Vergeich der Daten von db1 und db2
 ---------------------------------------------
 Parameter..: -CB_Setting_DPNE
 Description: File containing PDM Perf Result Data
              #Doc: Format is .csv Format
 Example....: -CB_Setting_DPNE S:\JobManagerV2\01-BinServer.Custom\CheckBoxSettings-TestSystem.xml
 ---------------------------------------------
 Parameter..: -CgmToTif
 Description: gibt an ob tifs aus einem cgm erzeugt werden sollen
 Example....: -CgmToTif ON
 ---------------------------------------------
 Parameter..: -CBcompDifMergTifgen
 Description: Defines if merge.tif or dif.tif or both merge.tif+dif.tif files is to be generated.
               #Doc:[Value: 'dif' do gen only Dif.tif Files]
               #Doc:[Value: 'merge' do gen only Merge.tif Files]
               #Doc:[Value: 'default' do gen Dif.tif + Merge.tif Files uses JM.JCT.Internal Method]
               #Doc:[Value: 'default_via_ImageMagick' do gen Dif.tif + Merge.tif Files uses external tool ImageMagick] (2.1159;14.11.2012;J.Fes)
 Example....: -CBcompDifMergTifgen default
 ---------------------------------------------
 Parameter..: -CBTifMergCopyToTifMergCollectionIfPPMgt
 Description: if PPM Value>=CBTifMergCopyToTifMergCollectionIfPPMgt 'JCT' Copys TifMerg Files into #JobMgrDataOrg_Root_DP#\#SiteId#_TifMergCollection\XX_Merg.tif
               #Doc:[Value:  -1 defines not to use this Option]
               #Doc:[Value:   0 defines to copy all Merge.tif]
               #Doc:[Value: 200 defines to copy all Merge.tif that have a ppm value >=200]
               #Doc:[New: 2.1159;14.11.2012;J.Fes
 Example....: -CBTifMergCopyToTifMergCollectionIfPPMgt 200
 ---------------------------------------------
 Parameter..: -CBImageGenRule
 Description: Defines CB.tif generation Rule.
               New: 2.1113;29.08.2012;J.Fes
               #Doc:[Value: 'ControlByCheckBoxResults' CB.tif files will be generated if CB Compair analyses differnce between compared NXCB.XML Data Files.
               #Doc:[Value: 'Always' CB.tif files will Always be generated.]
               #Doc:[Value: 'Never' CB.tif files will 'NOT' be generated.]
 Example....: -CBImageGenRule ControlByCheckBoxResults
 ---------------------------------------------
 Parameter..: -CBGeoCompWorkingDirectory_DP
 Description: CB Geometrischer Vergleich fr KBA
 Example....: -CBGeoCompWorkingDirectory_DP 
 ---------------------------------------------
 Parameter..: -ImageMagick_DP
 Description: Pfad zu Image Magic Programverzeichnis.
 Example....: -ImageMagick_DP 
 ---------------------------------------------
 Parameter..: -CBExtrName1
 Description: bestimmt von welchem CB Lauf die ersten Daten genommen werden sollen.
 Example....: -CBExtrName1 #CB1
 ---------------------------------------------
 Parameter..: -CBExtrName2
 Description: bestimmt von welchem CB Lauf die zweiten Daten genommen werden sollen.
 Example....: -CBExtrName2 #CB2
 ---------------------------------------------
 Parameter..: -CBRunsToCompare
 Description: Defines wich CB results are to compair with each other.
               #Doc: - als Trennzeichen fr die Namen der einzelnen Lufe
              ^#Doc: ; oder ~ als Trennzeichen fr die einzelnen Vergleiche.
 Example....: -CBRunsToCompare #CB1-#CB2;#CB2-#CB4;#CB5-#CB6


#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
-Action JobDataEdit_2012_09
 List of CommandLineArgs:
 ---------------------------------------------
 Parameter..: -JobRoot_dp
 Description: The job's root directory.
              All files with relative names will be expected here.
 Example....: -JobRoot_dp x:\path\to\job
 ---------------------------------------------
 Parameter..: -JobDataXml
 Description: The JobData.xml file to be edited.
              JobRoot_dp will be used if filename.xml only.
 Example....: -JobDataXml JobData.xml
 ---------------------------------------------
 Parameter..: -EditResults
 Description: Edit the result code of the specified objects.
 Example....: -EditResults 
 ---------------------------------------------
 Parameter..: -ObjectCliNames
 Description: Semicolon separated list of Object CLI-Names. All objects are selected when omitted
 Example....: -ObjectCliNames 
 ---------------------------------------------
 Parameter..: -ResultCode
 Description: The new result code to be set.
 Example....: -ResultCode 
 ---------------------------------------------
 Parameter..: -ResultCodeIncreaseOnly
 Description: Edit the result code only if it will be increased.
 Example....: -ResultCodeIncreaseOnly 
 ---------------------------------------------
 Parameter..: -ResultMessage
 Description: The new result message to be set.
 Example....: -ResultMessage 
 ---------------------------------------------
 Parameter..: -ResultMessageAppend
 Description: Append the result message instead of replacing it.
 Example....: -ResultMessageAppend 
 ---------------------------------------------
 Parameter..: -ResultMessageAppendSeparator
 Description: Separator to be used when appending result messages.
 Example....: -ResultMessageAppendSeparator 
 ---------------------------------------------
 Parameter..: -ProcessDataResult
 Description: Append the result message instead of replacing it.
 Example....: -ProcessDataResult 
 ---------------------------------------------
 Parameter..: -UpdateProcessState
 Description: Update the ProcessState according to the ResultCode.
 Example....: -UpdateProcessState 


#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
Global CommandLineArgs:
 ---------------------------------------------
 Parameter..: -Verbose
 Description: enables print verbose information to command window.
 Example....: -Verbose 
 ---------------------------------------------
 Parameter..: -TEST
 Description: enables Test mode. (New: 2.1052;12.06.2012;J.Fes)
              #Doc1: Depending on programd actions the software acts in Test Mode.
              #Doc2: Is normaly used only for development purpose.
 Example....: -TEST 
 ---------------------------------------------
 Parameter..: -Help
 Description: Prints help documenation
 Example....: -Help 
 ---------------------------------------------
 Parameter..: -Pause
 Description: Waits during prosessing action until user pressing 'any key'.
              #Doc1: Use it for debuging purpose.
 Example....: -Pause 
 ---------------------------------------------
 Parameter..: -PauseOnEnd
 Description: Waits 'ONLY on END' of action until user pressing 'any key'.
 Example....: -PauseOnEnd 
 ---------------------------------------------
 Parameter..: -InFile1
 Description: full path to InFile1
 Example....: -InFile1 %temp%\02_JobInFile1.txt
 ---------------------------------------------
 Parameter..: -InFile2
 Description: full path to InFile2
 Example....: -InFile2 %temp%\03_JobInFile1.txt
 ---------------------------------------------
 Parameter..: -LogFile
 Description: full path to logfile
 Example....: -LogFile %temp%\11_Executionlog.txt
 ---------------------------------------------
 Parameter..: -ReturnResultCmdFile
 Description: full path to return result cmd files
 Example....: -ReturnResultCmdFile %temp%\10_ReturnResult.cmd
 ---------------------------------------------
 Parameter..: -JobResultsGenericV1File
 Description: full path to JobResultsGenericV1File file
              #Doc: JobServer is importing results if file ends with:_GenericJobResultsV1.Log
 Example....: -JobResultsGenericV1File "%temp%\11_GenericJobResultsV1.Log"
 ---------------------------------------------
 Parameter..: -ObjectFile
 Description: full path to ObjectFile.
              This file contais List of Objects to process
 Example....: -ObjectFile %temp%\01_JobObjectFiles.txt
 ---------------------------------------------
 Parameter..: -Action
 Description: defines action[s] to excute.
              #Doc:All actions are executed in given 'action' order
 Example....: -Action [IrInfoResolve_2011_06;AppUidObjResolve_2011_06;BvRSyncInfoResolve_2011_06;Mail;Help]
 ---------------------------------------------
 Parameter..: -JobRoot_DP
 Description: Job Root Dir (New: 2.941;25.01.2012;J.Fes)
 Example....: -JobRoot_DP C:\tmp\JobClient\plms_RfSp_00060_Custom
 ---------------------------------------------
 Parameter..: -JobParaInfoForProcessCMDLine
 Description: This Parameter can be used to transfer Process Parameter that should be add to Objects ProcessCMDLine Value.
              #Doc: Info for Developer: You define if this Values is add to ObjectProcess P.CMDLine.
              #New: 2.1179;05.12.2012;J.Fes
 Example....: -JobParaInfoForProcessCMDLine '-Param1 ValueParm1 -Param1 ValueParm1 -Switch1 -Switch2'
 ---------------------------------------------
 Parameter..: -JobParaInfo
 Description: This Parameter can be used to transfer Process Infos about used Parameter!
              #Doc: Info for Developer: You can use this Values to parse infos form Process.
              #New: 2.1179;05.12.2012;J.Fes
 Example....: -JobParaInfo '-Param1 ValueParm1 -Param1 ValueParm1 -Switch1'
 ---------------------------------------------
 Parameter..: -u
 Description: Name of tc user (-u=infodba)
 Example....: -u mytcusername
 ---------------------------------------------
 Parameter..: -p
 Description: Password of tc user (-p=my123infodbapw)
 Example....: -p mytcpassword
 ---------------------------------------------
 Parameter..: -g
 Description: Group of tc user (-g=dba)
 Example....: -g mytcgroup
 ---------------------------------------------
 Parameter..: -JobData1ToProcessDoPrint
 Description: Print JobData1ToProcess details at the begining of the process
 Example....: -JobData1ToProcessDoPrint 
 ---------------------------------------------
 Parameter..: -JobData2ResultsDoPrint
 Description: Print JobData2Results details at the end of the process
 Example....: -JobData2ResultsDoPrint 
 ---------------------------------------------
 Parameter..: -JobParaDoPrint
 Description: Print JobParameter at the begining of the process (New: 2.1181;09.12.2012;J.Fes)
 Example....: -JobParaDoPrint 
 ---------------------------------------------
 Parameter..: -Title
 Description: Title of process.
              This Title will be displayed during listing Data via -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -JobParaDoPrint
 Example....: -Title '### Example titel for this process. ###'
 ---------------------------------------------
 Parameter..: -CB_Setting_DPNE
 Description: full path to CheckBox settings file
 Example....: -CB_Setting_DPNE ..\JobManagerV2\01-BinServer.Custom\CheckBoxSettings-TestSystem.xml
 ---------------------------------------------
 Parameter..: -CBPara_result
 Description: File contains NxCheckBox executions result informations.
              #Doc: File has csv format.
 Example....: -CBPara_result #JobRoot_DP#\_CgmToTif\zzExportCGM_Result.csv
 ---------------------------------------------
 Parameter..: -JM_Setting_DPNE
 Description: full path to JobServer settings file
 Example....: -JM_Setting_DPNE V:\JobManager\ProgEntw\Ver02\JobManagerV2\01-BinServer.Custom\ServerSettings-TestSystem
 ---------------------------------------------
 Parameter..: -JobMgrDataOrg_Root_DP
 Description: Root Directory in which the JobManager stores ResultData of Objects.
 Example....: -JobMgrDataOrg_Root_DP S:\JobMgrData
 ---------------------------------------------
 Parameter..: -JobMgrDataOrg_Root_Backup_DP
 Description: Backup Root Directory in which the backup data are stored to.
              #Doc1: Use Dir then existing Data will be backup't into the given subdir with the same subdir structure like the origin files.
                     Example: S:\JobMgrData\47114712\A\47114712_master_47114712-A_NX75.xml -> backup to: S:\JobMgrData.Backup\47114712\A\47114712_master_47114712-A_NX75-2012-06-12_10-01.xml
              #Doc2: Use 'Key:SubDirBackup' then existing Data will be backup't into subdir: .\Backup\File_N-#LastWriteDateTime#.File_E
                     Example: S:\JobMgrData\47114712\A\47114712_master_47114712-A_NX75.xml -> backup to: S:\JobMgrData\47114712\A\Backup\47114712_master_47114712-A_NX75-2012-06-12_10-01.xml
 Example....: -JobMgrDataOrg_Root_Backup_DP S:\JobMgrData.Backup
 ---------------------------------------------
 Parameter..: -JobMgrDataOrg_Root_CGMStoreCustom_DP
 Description: Defines Customer CGMStore Directory.
               #Doc: If this Option Parameter is set then automated generatet CGMStore Value is overwritten.
               [New: 2.1182;10.12.2012;J.Fes]
 Example....: -JobMgrDataOrg_Root_CGMStoreCustom_DP S:\JobMgrData\zzCGMStoreCustom
 ---------------------------------------------
 Parameter..: -JobMgrDataOrg_BaseNameSchema
 Description: Name Convention for File Naming ['1' Defines using first convention 05/2012 ONLY for MTU]
              use KEY:RootPP_LL=n(Chars) to define Left Lengs of CB BaseDir .\12-Data\JobMgrData\#SiteID#\#ItemId:CBRootPP_LL#\#ItemId#\#RevId#\..
               |-> Example 1: Used Param: -JobMgrDataOrg_BaseNameSchema ''RootPP_LL=6'' with ObjectData: SiteId=TC9 ItemId=1234567890 RevId=A
               |                            |-> Result: JobMgrDataOrg_DP= .\12-Data\JobMgrData\TC9\123456\12345678\A\.. 
               |-> Example 2: Used Param: -JobMgrDataOrg_BaseNameSchema ''RootPP1_N=#ObjectFromSiteID#'' = Standard with ObjectData: SiteId=TC9 ItemId=1234567890 RevId=A
               |                            |-> Result: JobMgrDataOrg_DP= .\12-Data\JobMgrData\TC9\12345\12345678\A\..
               |-> Example 3: Used Param: -JobMgrDataOrg_BaseNameSchema ''RootPP1_N=CustomDir'' = Standard with ObjectData: SiteId=TC9 ItemId=1234567890 RevId=A
               |                            |-> Result: JobMgrDataOrg_DP= .\12-Data\JobMgrData\CustomDir\12345\12345678\A\..
               |-> Example 4: Used Param: -JobMgrDataOrg_BaseNameSchema ''RootPP1_N=(null)'' = Standard with ObjectData: SiteId=TC9 ItemId=1234567890 RevId=A
               |                            |-> Result: JobMgrDataOrg_DP= .\12-Data\JobMgrData\12345\12345678\A\..
 Example....: -JobMgrDataOrg_BaseNameSchema 1
 ---------------------------------------------
 Parameter..: -ResultClassification_DPNE
 Description: Defines fullpath to Custom ResultClassification.xml
 Example....: -ResultClassification_DPNE ..\JobManagerV2\90-DATA\CustomerNameShort_SettingsGlobal\10-JobScripts\CheckBox\ClientScripts\ResultClassificationCB.xml
 ---------------------------------------------
 Parameter..: -RfLog_DPNE
 Description: Full path to Refile LogFile
 Example....: -RfLog_DPNE C:\tmp\JobClient\ApLoAllComp_00934\01-RefileLog\_20_RfLog.txt
 ---------------------------------------------
 Parameter..: -RfMCSLog_DPNE
 Description: Full path to Refile MCS LogFile
 Example....: -RfMCSLog_DPNE C:\tmp\JobClient\ApLoAllComp_00934\01-RefileLog\_20_RfMCSLog.txt
 ---------------------------------------------
 Parameter..: -RfLog_DP
 Description: Root Dir of Refile Job. In this dir the Tool is searching for Result Files and for NX.SyslogFile[s]
 Example....: -RfLog_DP #JobRoot_DP#\01-RefileLog
 ---------------------------------------------
 Parameter..: -Parts_RfNONE_DP
 Description: Verweist auf das Verzeichniss in dem die nicht Refilen Parts liegen.
 Example....: -Parts_RfNONE_DP #JobRoot_DP#\03-Parts_RfNone
 ---------------------------------------------
 Parameter..: -Parts_RfDONE_DP
 Description: Verweist auf das Verzeichniss in dem die Refilen Parts liegen.
 Example....: -Parts_RfDONE_DP #JobRoot_DP#\03-Parts_RfDone
 ---------------------------------------------
 Parameter..: -PartRoot_DP
 Description: path where the NX-Partfiles files will be saved to.
 Example....: -PartRoot_DP 
