Vous trouverez ici un exemple pour un fichier d'exportation XML d'un objet Schedule.
Par exemple :
<?xml version="1.0" encoding="ISO-8859-1"?> - <uc-export clientvers="3.02"> - <JSCH client="0003"name="MM.DB" system="UCGLOBAL"> - <XHEADER state="1"> <Title/> <Created>John Smith on: 2005-03-29 09:46:06</Created> <Modified>John Smith on: 2005-03-29 09:49:46 1 x</Modified> <LastUsed/> <ArchiveKey1/> <ArchiveKey2/> <ExtRepDef>1</ExtRepDef> <ExtRepAll>0</ExtRepAll> <ExtRepNone>0</ExtRepNone> </XHEADER> - <SYNCREF state="1"> <Syncs/> </SYNCREF> - <ATTR_JSCH state="1"> <StartType/> <IntAccount/> <ActAtRun>0</ActAtRun> <Period>2</Period> <StartTime>00:00</StartTime> <UC4Priority>0</UC4Priority> <MaxParallel2>0</MaxParallel2> <MpElse1>1</MpElse1> <MpElse2>0</MpElse2> <TZ/> <RWhen/> <RExecute/> </ATTR_JSCH> - <JSCH state="1"> - <JschStruct Period="2" StartTime="00:00" mode="design"> + <task Idnr="1429015" Lnr="1" OType="JOBS" Object="JOBS.ARCHIVE" Text1="" Text2="" Text3="JOBS" Text4="" Text5="00/01:00"> - <task Idnr="1429013" Lnr="2" OType="JOBP" Object="JOBP.DATABASE_MAINTENANCE" Text1="" Text2="C|R" Text3="JOBP" Text4="" Text5="01/03:00"> <TimePeriod TimePeriodValue="00:00"/> <after ActFlg="1" ErlstStDays="1" ErlstStTime="03:00"/> <runtime MrtCancel="0" MrtDays="0" MrtErt="0" MrtExecute="0" MrtExecuteObj="" MrtFix="0" MrtMethodDate="0" MrtMethodErt="0" MrtMethodFix="0" MrtMethodNone="1" MrtOn="1" MrtTZ="" MrtTime="00:00" SrtErt="0" SrtFix="0" SrtMethodErt="0" SrtMethodFix="0" SrtMethodNone="1"/> <result ChkRExec="1" RElseHalt="1" RElseIgn="0" RElseJPAbend="0" RExecFlag="0" RExecute="DAYSHIFT" RRepMTimes="0" RRepOn="0" RRepWait="0" RWhen="ENDED_OK"/> - <dynvalues> - <dyntree> - <node content="1" id="VALUE" name="Values" parent="" type="TASKVALUE"> - <VALUE state="2"> - <Values> <row Mod="1" Name="&HOST#" Value="WIN02"/> </Values> <Mode>1</Mode> </VALUE> s </node> +<node content="1" id="PVALUE" name="Parent Values" parent="" type="TASKVALUE"> <node content="0" id="PRPTS" name="Prompt Sets" parent="" type="PROMPTSET"/> <node content="0" id="PPRPTS" name="Parent Prompt Sets" type="PPROMPTSET"/> + <node content="1" id="PRPT.JOBS01" name="PRPT.JOBS01" parent="PRPTS" type="PROMPTSET"> + <node content="1" id="PRPT.JOBS01" name="PRPT.JOBS01" parent="PPRPTS" type="PPROMPTSET"> </dyntree> </dynvalues> - <calendars CCTypeAll="0" CCTypeNone="0" CCTypeOne="1" CaleOn="1"> <cale CaleKeyName="WT" CaleName="ON_CALL" id="1"/> </calendars> </task> </JschStruct> </JSCH> - <RUNTIME state="1"> <MaxRetCode>0</MaxRetCode> <FcstStatus>1900|ENDED_OK - Ended normally</FcstStatus> <Ert>0</Ert> <ErtMethodDef>1</ErtMethodDef> <ErtMethodFix>0</ErtMethodFix> <ErtFix>0</ErtFix> <ErtDynMethod>2|Average</ErtDynMethod> <ErtMethodDyn>0</ErtMethodDyn> <ErtCnt>0</ErtCnt> <ErtCorr>0</ErtCorr> <ErtIgn>0</ErtIgn> <ErtIgnFlg>0</ErtIgnFlg> <ErtMinCnt>0</ErtMinCnt> <MrtMethodNone>1</MrtMethodNone> <MrtMethodFix>0</MrtMethodFix> <MrtFix>0</MrtFix> <MrtMethodErt>0</MrtMethodErt> <MrtErt>0</MrtErt> <MrtMethodDate>0</MrtMethodDate> <MrtDays>0</MrtDays> <MrtTime>00:00</MrtTime> <MrtTZ/> <SrtMethodNone>1</SrtMethodNone> <SrtMethodFix>0</SrtMethodFix> <SrtFix>0</SrtFix> <SrtMethodErt>0</SrtMethodErt> <SrtErt>0</SrtErt> <MrtCancel>0</MrtCancel> <MrtExecute>0</MrtExecute> <MrtExecuteObj/> </RUNTIME> - <DYNVALUES state="1"> - <dyntree> - <node content="1" id="VALUE" name="Values" parent="" type="VALUE"> - <VALUE state="1"> - <Values> <row Name="&HOST#" Value="unix01" /> </Values> <Mode>0</Mode> </VALUE> </node> - <node content="1" id="PRPT1" name="PRPT1" parent="PRPTS" type="PROMPTSET"> - <PROMPTSET client="0098" idnr="001240008" name="PRPT1" ontop="1" src="oh" system="UC4"> - <PRPTBOX promptset="PRPT1" prptmode="1"> <integer1 altview="0" haslist="0">6</integer1> <textfield2 altview="0" haslist="0">text</textfield2> <radiogroup1 altview="0" haslist="0">9</radiogroup1> <checklist1 altview="0" haslist="0">41;50</checklist1> <checkgroup1 altview="0" haslist="0">3</checkgroup1> <combobox9 altview="0" haslist="0">3</combobox9> <date1 altview="0" haslist="0">2010-08-29</date1> <timestamp1 altview="0" haslist="0">2010-08-17 10:00:00</timestamp1> <time2 altview="0" haslist="0">15:01</time2> </PRPTBOX> </PROMPTSET> </node> </dyntree> </DYNVALUES> - <SCRIPT state="1"> <MSCRI/> </SCRIPT> - <DOCU_General state="1"type="text"> <DOC/> </DOCU_General> </JSCH> </uc-export>
Rubriques connexes :
Schedule
Structure du fichier d'exportation
Structure des fichiers XML pour l'importation et l'exportation