Update-schedule operation


The update-schedule updates a predefined client schedule.

The following table describes the elements for the adapter request:

 Adapter request elements for the update-schedule operation

The following figure shows the sample adapter request for the update schedule operation:

Sample adapter request for the update-schedule operation

<tsm-request>
 <operation-name>update-schedule</operation-name>
 <command-request>
   <timeout-secs>30</timeout-secs>
   <command-options>
     <domain-name>standard</domain-name>
     <schedule-name>schedule00001</schedule-name>
     <type>client</type>
     <action>incremental</action>
     <options>
       <subdir>yes</subdir>
     </options>
     <objects>C:\ab.txt</objects>
     <priority>5</priority>
     <start-date>10/02/2009</start-date>
     <start-time>10:00</start-time>
     <duration>2</duration>
     <duration-unit>hours</duration-unit>
     <period>1</period>
     <period-unit>days</period-unit>
     <description>this my desctiption-new updated description</description>
   </command-options>
   <command-arguments />
 </command-request>
</tsm-request>


The following figure shows the adapter response for the sample request:

Sample adapter response for the update-schedule operation

 <tsm-response>
 <metadata>
   <status>success</status>
   <count>1</count>
 </metadata>
 <commands-output>
   <command-output>
     <metadata>
       <command> dsmadmc -id=admin -password=admin update schedule 'standard'         'schedule00001' type='client' action='incremental' options='-        subdir="yes"' objects='C:\ab.txt' priority='5' startdate='10/02/2009'         starttime='10:00' duration='2' durunits='hours' period='1'         perunits='days' description='this my desctiption-new updated         description'</command>
       <line-count>9</line-count>
       <execution-milliseconds>297</execution-milliseconds>
       <exit-code>0</exit-code>
       <status>success</status>
     </metadata>
     <output>
       <line index="1">IBM Tivoli Storage Manager</line>
       <line index="2">Command Line Administrative Interface - Version 5,         Release         5, Level 0.0</line>
       <line index="3">(c) Copyright by IBM Corporation and other(s) 1990, 2007.         All Rights Reserved.</line>
       <line index="4">Session established with server SERVER1:         Linux/i386</line>
       <line index="5">  Server Version 5, Release 5, Level 0.0</line>
       <line index="6">  Server date/time: 05/14/2009 15:08:14  Last access:         05/14/2009 14:49:58</line>
       <line index="7">ANS8000I Server command: 'update schedule 'standard'         'schedule00001' type='client' action='incremental' options='-subdir=yes'         objects='C:\ab.txt' priority='5' startdate='10/02/2009'         starttime='10:00' duration='2' durunits='hours' period='1'         perunits='days' description='this my desctiption-new updated         description''</line>
       <line index="8">ANR2502I Schedule SCHEDULE00001 updated in policy domain         STANDARD.</line>
       <line index="9">ANS8002I Highest return code was 0.</line>
     </output>
   </command-output>
 </commands-output>
</tsm-response>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*