Find-completed-schedule-jobs operation


The find-completed-schedule-jobs operation shows the status of the scheduled events associated to some node. Events must be associated to some node or nodes otherwise they are not listed after executing the operation.

The time and date attributes act as filters and enables you to limit the query to events that were scheduled to occur within the specified time and dates. Limiting the output to events whose scheduled start times fall within a date and time range also minimizes the time it takes to process this query.

The following table describes the elements for the adapter request:

 Adapter request elements for the find-completed-schedule-jobs operation

The following figure shows a sample adapter request for the find-completed-schedule operation:

Sample adapter request for the find-completed-schedule-jobs operation

<tsm-request>
 <operation-name>find-job-schedule-status</operation-name>
 <command-request>
   <timeout-secs>30</timeout-secs>
   <command-options>
     <status>Completed</status>
     <domain-name>standard</domain-name>
     <schedule-name>'*'</schedule-name>
     <type>client</type>
   </command-options>
   <command-arguments />
 </command-request>
</tsm-request>


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

Sample adapter response for the find-completed-schedule-jobs operation

 <tsm-response>
 <metadata>
   <status>success</status>
   <count>1</count>
 </metadata>
 <commands-output>
   <command-output>
     <metadata>
       <command> dsmadmc -displaymode=list -id=admin -password=admin query event         standard '*' type=client</command>
       <line-count>458</line-count>
       <execution-milliseconds>193</execution-milliseconds>
       <exit-code>0</exit-code>
       <status>success</status>
     </metadata>
     <output>
       <events>
         <event>
           <scheduled-start>08/18/09   00:31:56</scheduled-start>
           <actual-start>08/18/09   00:32:50</actual-start>
           <schedule-name>JOB3</schedule-name>
           <node-name>LINUX114</node-name>
           <status>Completed</status>
         </event>
...
        </events>
     </output>
   </command-output>
 </commands-output>
</tsm-response>

 

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