Dokumentation zu: MyNewNamespace_Name_#YYYY#_#MM# (C) J.Feuerstein 
Erstellt: #Date#    J.Fes
Stand   : #Date#    J.Fes

--------------------------------------------------------------------------------------------------------------------------------------------------------------------
#Doc: Aktion: Edits JobData Res
      
CLA CommandLineArguments:
-------------------------

Examples:
: 30.09.2013/J.Fes
-Action "JobDataEdit_2012_09" 
-SubAction "JobData2ResultsSetProcessValue"
-ObjProcessResultCode "JM-999000"
-ObjProcessState  "D.U"
-ObjProcessResultMsg "[Res:Obj. Status not proccesed]"
-JobRoot_DP "V:\CustomersDataL\IEC\ExampleData\TCP010_M2NX_SP_00001_SiIEC"
-JobData1ToProcessDoPrint
-JobData2ResultsDoPrint
-JobParaDoPrint
-ResultHasWarning
-verbose
-pauseOnEnd

#Test
1452222222222222222222222222222222222222222222222222222222222222221245144442
4 -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -JobParaDoPrint -verbose -pauseOnEnd


--------------------------------------------------------------------------------------------------------------------------------------------------------------------

-Action "JobDataEdit_2012_09" -SubAction EditObjects -EditResults -UpdateProcessState -ResultCode "1234" -ResultLink "test" -ResultProcessState "D.Test" -ResultMessage "[Res:Obj. this is a test]" -JobRoot_DP "V:\CustomersDataL\addPLM\2013-07-09\tc91_RfNx80Sp_00005_CustomerNameShort" -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -JobParaDoPrint -verbose -pauseOnEnd

-Action JobDataEdit_2012_09 -SubAction EditObjects -EditResults -UpdateProcessState -ResultCode 0 -ResultProcessState D.UG_RESTORE.OK -ResultMessage OK~Doppelpunkt:~TEST -JobRoot_DP V:\CustomersDataL\MTU\2013-11-21\UATEST04_RESTORE_04_COPY_00134_MTU -ResultLink /ya/ya_data/cad_data_t/JobMgrData/UATEST04/CHECK/CHECKBOX-A1.SKMAA.BAMFJ/AA--/nx/restore_to_uatest04_log/Restore_Protocol_131121_133702.txt -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -JobParaDoPrint -verbose -pauseOnEnd

-Action JobDataEdit_2012_09 -SubAction EditObjects -EditResults -ResultCode 0 -ResultMessage "[MTU_UG_REFILE_RESTORE.ksh:ERR:There~is~no~Directory~NX_RESTORE_SOURCE_DP:~]" -JobRoot_DP V:\CustomersDataL\MTU\2013-11-25\UATEST04_RESTORE_04_COPY_00230_MTU -ResultLink /ya/ya_data/cad_data_t/JobMgrData/UATEST04/CHECK/CHECKBOX-A2.SKMAA.BAMFK/AA-- -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -JobParaDoPrint -verbose -pauseOnEnd

New: 2.1210;22.10.2014;J.Fes
-Action JobDataEdit_2012_09 -SubAction "JobData2ResultsSetProcessValue" -JobRoot_DP "V:\CustomersDataL\GB\2014-10-21-ExampleData\mxgb_MaMoGen_T_00003_GB" -ObjProcessResultCode "XXJM-999000" -ObjProcessResultMsg "yyyObj. Status not proccesedyy" -ObjProcessState "D.#Debug" -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -verbose -pauseOnEnd
-Action JobDataEdit_2012_09 -SubAction "JobData3TempSetProcessValue" -JobRoot_DP "V:\CustomersDataL\GB\2014-10-21-ExampleData\mxgb_MaMoGen_T_00003_GB" -ObjProcessResultCode "XXJM-999000" -ObjProcessResultMsg "yyyObj. Status not proccesedyy" -ObjProcessState "D.#Debug" -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -verbose -pauseOnEnd

#New: 3.2000;26.01.2024;J.Fes #Doc: see also ..\10-JobScripts\_JobMgrDefaults\ErrorHandel.cmd
-Action JobDataEdit_2012_09 
-SubAction "JobData2ResultsSetProcessValue" 
-JobRoot_DP "V:\CustomersDataL\WuH\2024-01-26-ExampleData\WHL_Klon_CB_S2Extr_R1_00123_WuH" 
-ObjProcessState "RUN.CB1.1" 
-ObjProcessResultCode "JM-999101" 
-ObjProcessResultMsg "[P.Msg:'JobMgr_ERRKey'][P.Stat:Reset to PreState:RUN.CB1.1]"
-JobData1ToProcessDoPrint 
-JobData2ResultsDoPrint 
-verbose 
-pauseOnEnd



--------------------------------------------------------------------------------------------------------------------------------------------------------------------
#Doc: Aktion: JobData4ResultsReadFromFile
      
CLA CommandLineArguments:
-------------------------

-Action "JobDataEdit_2012_09" 
-SubAction "JobData4ResultsReadFromFile"
-JobRoot_DP "V:\CustomersDataL\IEC\ExampleData\TCP010_M2NX_SP_00001_SiIEC"
-JobDataResultFile_DPNE #JobRoot_DP#\Result\File.csv
-JobData1ToProcessDoPrint
-JobData2ResultsDoPrint
-JobParaDoPrint
-verbose
-pauseOnEnd

Example csv file:
#PUID#;#ResultCode#;#ResultMsg#;#ResultLnk#;#ResultMsgExtendet#;#ResultHasWRN#;#ProcessTimeStart#;#ProcessTimeEnd#
"B4cJeALIYonpGC";"0";"OK";"";"OK 3 IRS Renamed";"False";"30.01.2017 12:31:21";"30.01.2017 12:34:45"
"BwUJeALIYonpGC";"0";"OK";"";"OK A001->001";"False";"30.01.2017 12:31:21";"30.01.2017 12:34:45"

Date format: dd.MM.yyyy HH:mm:ss


#New: 3.1427;29.08.2017;S.Gueth
-Action JobDataEdit_2012_09 -SubAction "JobData4ResultsReadFromFile" -JobRoot_DP "V:\CustomersDataL\addPLM\2013-07-09\tc91_RfNx80Sp_00005_CustomerNameShort" -JobDataResultFile_DPNE "#JobRoot_DP#\RefultFile.csv" -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -verbose -pauseOnEnd


#New: 3.1601;02.03.2022;J.Fes
-Action JobDataEdit_2012_09 
-SubAction "JobData4ResultsReadFromFile" 
-JobRoot_DP "V:\CustomersDataL\ASML\2022-03-02-ExampleData\ASML_ONEMIG_DCMP1_T1_00052_ASML" 
-JobDataResultFile_DPNE "#JobRoot_DP#\JobTemp\02_DCMP1_JOBMAN_REPORT.txt"
-ResultLink "%JobRoot_DP%\JobTemp\02_DCMP1_JOBMAN_REPORT.txt"
-ResultLink "C:\Temp\02_DCMP1_JOBMAN_REPORT.txt"
-JobDataColumeSplitChar "|" 
-JobData1ToProcessDoPrint 
-JobData2ResultsDoPrint 
-verbose 
-pauseOnEnd


#New: 3.1800;13.11.2023;J.Fes
-Action JobDataEdit_2012_09 
-SubAction "JobData4ResultsReadFromFile" 
-JobRoot_DP "V:\CustomersDataL\ASML\2023-11-13-ExampleData\ASML_ONEMIG_DCMValItem_00013_ASML" 
-JobDataResultFile_DPNE "#JobRoot_DP#\JobTemp\11_P18BBValidation_JobMgrReport.txt"
-ResultLink "#JobRoot_DP#\JobTemp\12_P18BBValidation_validation_report.txt"
-JobDataColumeSplitChar "|" 
-JobData1ToProcessDoPrint 
-JobData2ResultsDoPrint 
-verbose 
-pauseOnEnd


#New: 3.1800;13.11.2023;J.Fes
-Action JobDataEdit_2012_09 
-SubAction "JobData2ResultsSetProcessValue" 
-JobRoot_DP "V:\CustomersDataL\addPLM\2024-02-07-ExampleData\HIL_QS_GenericExample_A2_00002_CustomerNameShort" 
-ObjProcessResultCode "0"
-ObjProcessState  "D.OK"
-ObjProcessResultMsg "[Res:GenericScript Process Done]"
-ResultLink "%JobCmdOutPutLog_DPNE%"
-JobData1ToProcessDoPrint 
-JobData2ResultsDoPrint 
-verbose 
-pauseOnEnd

-Action JobDataEdit_2012_09 
-SubAction "JobData2ResultsSetProcessValue" 

#New: 3.2000;26.08.2024;J.Fes
-Action "JobDataEdit_2012_09" 
-SubAction "EditObjects" 
-JobRoot_DP "V:\CustomersDataL\ASML\2024-08-26-ExampleData\VDH_DCMclPrepareRevision_User00_00001_ASML" 
-JobData2ResultsDoPrint 
-JobParaDoPrint 
-EditResults 
-ObjectPUIDs "IfldEA$gQS4FxA" 
-ResultCode "0" 
-ResultMessage "AB:New Item Revision created." 
-UpdateProcessState 
-Verbose 
-PauseOnEnd
