12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- <HTML>
- <HEAD>
- <!--
- Licensed Materials - Property of IBM
- IBM Cognos Products: DOCS
- (C) Copyright IBM Corp. 2005, 2008
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with
- IBM Corp.
- -->
- <TITLE>IBM Cognos Java Execute Reports 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><span class=SpellE>ExecReportsUI.java</span> - Execute, Burst and View a Report.</p>
- <p class=formtext>The Java <span class=SpellE>The ExecReportsUI</span> sample
- program runs or bursts a report and saves the output in the specified format.</p>
- <p class=MsoNormal><br>
- </p>
- <p class=formlabel>Dependent Files</p>
- <p class=formtext>Associated files are contained under the java sample folder.<br>
- Additional files required for running are identified in the CLASSPATH definitions
- in the run.bat file.</p>
- <p class=formlabel>How To Run The Sample Program</p>
- <p class=formtext>Double click on the file <span class=SpellE>run.bat</span>.<br>
- <br>
- A window will be opened containing:<br>
- - Report Type dropdown box<br>
- - Report selection dropdown box<br>
- - Burst the Report checkbox<br>
- - Execute Report command button<br>
- - URL text box<br>
- - Results Display Pane<br>
- Click on the 'Execute Report' button to run the sample program.</p>
- <p class=formlabel>Expected Results</p>
- <p class=formtext>The report is executed and the results are saved locally, in
- the file "/webcontent/samples/cmOut.xxx"
- under the installation directory. If Burst the Report checkbox is checked, the report will
- be burst to email recipients. To successfully burst the report, IBM Cognos must
- be configured to use an email server. The output for the report may then be
- checked with an appropriate application for viewing files of the selected
- output type. The report is not persisted in the content store.</p>
- <p class=formlabel>
- <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>
|