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


--------------------------------------------------------------------------------------------------------------------------------------------------------------------
#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
