Java_ExecReportsUI_Explain.html 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <HTML>
  2. <HEAD>
  3. <!--
  4. Licensed Materials - Property of IBM
  5. IBM Cognos Products: DOCS
  6. (C) Copyright IBM Corp. 2005, 2008
  7. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with
  8. IBM Corp.
  9. -->
  10. <TITLE>IBM Cognos Java Execute Reports Program Sample</TITLE>
  11. <link rel="STYLESHEET" type="text/css" href="../../../webcontent/samples/samplesFonts.css"></HEAD>
  12. <BODY>
  13. <p class=headertitle><img src="../../../webcontent/samples/sdk/asp/images/go_logo_small.gif">&nbsp;IBM Cognos Sample Programs</p>
  14. <p class=formlabel><span class=SpellE>ExecReportsUI.java</span> - Execute, Burst and View a Report.</p>
  15. <p class=formtext>The Java <span class=SpellE>The ExecReportsUI</span> sample
  16. program runs or bursts a report and saves the output in the specified format.</p>
  17. <p class=MsoNormal><br>
  18. </p>
  19. <p class=formlabel>Dependent Files</p>
  20. <p class=formtext>Associated files are contained under the java sample folder.<br>
  21. Additional files required for running are identified in the CLASSPATH definitions
  22. in the run.bat file.</p>
  23. <p class=formlabel>How To Run The Sample Program</p>
  24. <p class=formtext>Double click on the file <span class=SpellE>run.bat</span>.<br>
  25. <br>
  26. A window will be opened containing:<br>
  27. &nbsp;&nbsp;&nbsp;&nbsp;- Report Type dropdown box<br>
  28. &nbsp;&nbsp;&nbsp;&nbsp;- Report selection dropdown box<br>
  29. &nbsp;&nbsp;&nbsp;&nbsp;- Burst the Report checkbox<br>
  30. &nbsp;&nbsp;&nbsp;&nbsp;- Execute Report command button<br>
  31. &nbsp;&nbsp;&nbsp;&nbsp;- URL text box<br>
  32. &nbsp;&nbsp;&nbsp;&nbsp;- Results Display Pane<br>
  33. Click on the 'Execute Report' button to run the sample program.</p>
  34. <p class=formlabel>Expected Results</p>
  35. <p class=formtext>The report is executed and the results are saved locally, in
  36. the file &quot;/webcontent/samples/cmOut.xxx&quot;
  37. under the installation directory. If Burst the Report checkbox is checked, the report will
  38. be burst to email recipients. To successfully burst the report, IBM Cognos must
  39. be configured to use an email server. The output for the report may then be
  40. checked with an appropriate application for viewing files of the selected
  41. output type. The report is not persisted in the content store.</p>
  42. <p class=formlabel>
  43. <p class=formtext>The IBM Cognos Software Development Kit Developer Guide contains additional
  44. information about the samples. See the chapter titled 'Methods' and the
  45. appendix titled 'Code Samples and Language-Specific Coding Practices'.</p>
  46. <p class=formtext>Please note that the samples are not intended to be treated
  47. as end-user applications. Refer to the sample code for examples of how to use
  48. the API when developing your own applications.</p>
  49. </body>
  50. </html>