| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 | <HTML> <HEAD><!--Licensed Materials - Property of IBMIBM Cognos Products: DOCS(C) Copyright IBM Corp. 2005, 2008US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract withIBM Corp.-->  <TITLE>IBM Cognos Software Development Kit C# CMQuery Program Sample</TITLE>	  <link rel="STYLESHEET" type="text/css" href="../../../webcontent/samples/samplesFonts.css"> </HEAD><BODY><p class="headerTitle"><img src="../../../webcontent/samples/sdk/asp/images/go_logo_small.gif"> IBM Cognos Sample Programs</p><p class="FormLabel">CMQuery.exe - Query the Content Store and Display the Results.</p><p class="formText">The C# CMQuery sample program lets you submit search paths to the content store and display the results.</p><br><!-- * * * * * * * * * --><!--                   --><!-- Dependent Files   --><!--                   --><!-- * * * * * * * * * --><p class="FormLabel">Dependent Files</p><p class="formText">All associated files are contained in the bin directory of the csharp directory.</p><!-- * * * * * * * * * --><!--                   --><!-- How To Run        --><!--                   --><!-- * * * * * * * * * --><p class="FormLabel">How To Run The Sample Program</p><p class="formText">Launch the command window and navigate to the bin directory in the csharp directory.  Type<br>cmquery.exe -sp <searchPath> [-un <userName> -pwd <userPassword> -ns <userNamepsace>]<br>  Where:<br>    searchPath      is the search path to query.  This argument is required.<br>    userName      is the user ID for logon.  (Default is anonymous).<br>    userPassword      is the password for the userName.<br>    userNamespace      is the security namespace for userName.<br><br>Results are printed to the command-line.</p><!-- * * * * * * * * * --><!--                   --><!-- Expected Results  --><!--                   --><!-- * * * * * * * * * --><p class="FormLabel">Expected Results</p><p class="formText">The objects located at the selected path aredisplayed in the window. <br><br>The default options search /* as theAnonymous user. </p><!-- * * * * * * * * * --><!--                   --><!-- Documentation     --><!--                   --><!-- * * * * * * * * * --><p class="FormLabel">Documentation</p><p class="formText">The IBM Cognos Software Development Kit Developer Guide contains additional information about the samples. See the chapter titled 'Methods' and the appendix titled 'Code Samples and Language-Specific Coding Practices'.</p><p class="formText">Please note that the samples are not intended to be treated as end-user applications. Refer to the sample code for examples of how to use the API when developing your own applications.</p></BODY></HTML>
 |