Delete-schedule operation
The delete-schedule operation deletes schedules from the database.
The following table describes the elements for the adapter request:
Adapter request elements for the delete-schedule operation
The following figure shows a sample adapter request for the delete-schedule operation.
Sample adapter request for delete-schedule operation
<request-data>
<tsm-request>
<operation-name>delete-schedule</operation-name>
<command-request>
<timeout-secs>30</timeout-secs>
<command-options>
<domain-name>standard</domain-name>
<schedule-name>SCHEDULE00002-1</schedule-name>
<type>client</type>
</command-options>
<command-arguments />
</command-request>
</tsm-request>
</request-data>
<tsm-request>
<operation-name>delete-schedule</operation-name>
<command-request>
<timeout-secs>30</timeout-secs>
<command-options>
<domain-name>standard</domain-name>
<schedule-name>SCHEDULE00002-1</schedule-name>
<type>client</type>
</command-options>
<command-arguments />
</command-request>
</tsm-request>
</request-data>
The following figure shows the adapter response for the sample request:
Sample adapter response for the delete-schedule operation
<tsm-response>
<metadata>
<status>success</status>
<count>1</count>
</metadata>
<commands-output>
<command-output>
<metadata>
<command> dsmadmc -id=admin -password=admin delete schedule standard SCHEDULE00002-1 type=client</command>
<line-count>9</line-count>
<execution-milliseconds>422</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: 11/05/2009 17:39:30 Last access: 11/05/2009 17:31:54</line>
<line index="7">ANS8000I Server command: 'delete schedule standard SCHEDULE00002-1 type=client'</line>
<line index="8">ANR2501I Schedule SCHEDULE00002-1 deleted from policy domain STANDARD.</line>
<line index="9">ANS8002I Highest return code was 0.</line>
</output>
</command-output>
</commands-output>
</tsm-response>
<metadata>
<status>success</status>
<count>1</count>
</metadata>
<commands-output>
<command-output>
<metadata>
<command> dsmadmc -id=admin -password=admin delete schedule standard SCHEDULE00002-1 type=client</command>
<line-count>9</line-count>
<execution-milliseconds>422</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: 11/05/2009 17:39:30 Last access: 11/05/2009 17:31:54</line>
<line index="7">ANS8000I Server command: 'delete schedule standard SCHEDULE00002-1 type=client'</line>
<line index="8">ANR2501I Schedule SCHEDULE00002-1 deleted from 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*