Query-options operation


The query-options operation displays all or part of the elements and their current settings.

The following table describes the elements for this request:

 Adapter request elements for the query-options operation

The following figure shows a sample adapter request for the query-options operation:

Sample adapter request for the query-options operation

<tsm-request>
 <operation-name>query-options</operation-name>
 <command-request>
   <timeout-secs>120</timeout-secs>
   <command-arguments>
     <pattern>comm*</pattern>
   </command-arguments>
 </command-request>
</tsm-request>


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

Sample adapter response for the query-options operation

<tsm-response>
 <metadata>
   <status>success</status>
   <count>1</count>
 </metadata>
 <commands-output>
   <command-output>
     <metadata>
       <command>dsmc query options comm*</command>
       <line-count>12</line-count>
       <execution-milliseconds>2219</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 Backup/Archive Client Interface</line>
       <line index="3">  Client Version 5, Release 5, Level 0.0  </line>
       <line index="4">  Client date/time: 10/07/2008 15:30:18</line>
       <line index="5">(c) Copyright by IBM Corporation and other(s) 1990, 2007.         All Rights Reserved.</line>
       <line index="6">Node Name: D-13096</line>
       <line index="7">Session established with server SERVER1:         Linux/i386</line>
       <line index="8">  Server Version 5, Release 5, Level 0.0</line>
       <line index="9">  Server date/time: 10/07/2008 15:27:49  Last access:         10/07/2008 15:16:06</line>
       <line index="10">               COMMMETHOD: TCP/IP</line>
       <line index="11">      COMMRESTARTDURATION: 60</line>
       <line index="12">      COMMRESTARTINTERVAL: 15</line>
     </output>
   </command-output>
 </commands-output>
</tsm-response>

 

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