Cisco Cisco Workload Automation 6.3 Developer's Guide

Page of 190
35
 
Job
Job Examples
<tes:variables> <variables> 
<variables:row> <variables:name>moe</variables:name> <variables:value>5</variables:value> 
</variables:row> 
<variables:row> <variables:name>larry</variables:name> <variables:value>20</variables:value> 
</variables:row> 
<variables:row> <variables:name>curly</variables:name> <variables:value>15</variables:value> 
</variables:row> 
</variables> </tes:variables>
</tes:jobgroup>
</tes:JobGroup.update>
</entry>
Job Example 7 – Update an SAP ServiceJob 
This example ServiceJob object updates an SAP job.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<id>153</id>
<title>TESTSAP</title>
<source>com.tidalsoft.webclient.tes.dsp.db.datatypes.ServiceJob</source>
<tes:ServiceJob.update xmlns:tes="
">
<tes:servicejob>
<tes:servicename>SAP</tes:servicename>
<tes:extendedinfo><?xml version="1.0" encoding="UTF-8" standalone="yes"?><saptask 
xmlns:ns2="http://www.tidalsoftware.com/scheduler/sapadapter"><userid>4</userid><username>tidalqa</
username><properties/><parameters/><externuid></externuid><jobname>TESTSAP</jobname><clonetag></clo
netag><trackchildren>Y</trackchildren><stepcount>1</stepcount><recipient></recipient><copy> 
</copy><blindcopy> </blindcopy><express> </express><noforwarding> 
</noforwarding><deliver></deliver><noprint> 
</noprint><mailstatus></mailstatus><fromstep>0</fromstep><steps><step><stepid>1</stepid><steptype>2
</steptype><type>ABAP/4</type><stepname>BTCTEST</stepname><stepparams>ASWIN</stepparams><abap><id>1
</id><type>2</type><params>ASWIN</params><varientvalue></varientvalue><oldvariant>ASWIN</oldvariant
><runtimevariant></runtimevariant><tempvariant></tempvariant><language></language><abapprogram>BTCT
EST</abapprogram><printparams><newrequest>N</newrequest><spoolname></spoolname><priority>5</priorit
y><retention>8</retention><rows>0</rows><column>0</column><format></format><sapcover>D</sapcover><o
scover>D</oscover><selcover>N</selcover><recipient></recipient><department></department></printpara
ms><varientvalues/><outputdevice></outputdevice><copies>1</copies><authorization></authorization><t
itle></title><delete>N</delete><print>N</print><objtype></objtype><doctype></doctype><info></info><
archive>N</archive><printimmediately>N</printimmediately><pm>1</pm><cmd>BTCTEST(ASWIN)</cmd></abap>
</step></steps></saptask></tes:extendedinfo>
<tes:summaryonly>Y</tes:summaryonly>
<tes:type>8</tes:type>
<tes:active>Y</tes:active>
<tes:serviceid>20</tes:serviceid>
<tes:ownerid>1</tes:ownerid>
<tes:id>153</tes:id>
<tes:name>TESTSAP</tes:name>
</tes:servicejob>
</tes:ServiceJob.update>
</entry>