DESTINATION
command line keywordDESTINATION
specifies the name of an XML file
that defines the distribution for the current run of the report.
Note: XML-based distribution files must have the .xml
extension.
For more information on specifying the distribution for a report using XML,
refer to "Creating Advanced Distributions" in the Oracle Application
Server Reports Services Publishing Reports to the Web manual, available
on the Oracle Technology
Network Oracle Reports Documentation page (http://www.oracle.com/technology/documentation/reports.html
).
The executables that can use this keyword are:
rwbuilder |
no |
rwrun |
yes |
rwclient |
yes |
rwcgi |
yes |
rwserver |
no |
rwservlet |
yes |
rwconverter |
no |
DESTINATION=filename.xml
Values |
Values |
|
The name of an XML file that defines a report or report section distribution. |
To enable the DESTINATION
keyword, you must specify DISTRIBUTE
=YES
on the command line. If both these keywords are specified, DESTYPE
,
DESNAME
, and DESFORMAT
are ignored if they are
also specified.
DESTINATION
keyword. For example:
...DISTRIBUTE=yes
DESTINATION
=c:\oracle/reports/distribution\mydist.xml
In this scenario, the URL ends with the extension .xml
and
Internet Explorer treats the return stream as XML, when in fact it is HTML.
As a result, you will receive a browser error. To work around this issue,
you should never use recognized file extensions at the end of a URL. In
the example above, you could switch the positions of the DISTRIBUTE
and DESTINATION
keywords in your URL.
rwrun report=test.rdf userid=scott/tiger@mydb distribute=yes destination=c:\mydistribute.xml
http://myias.mycomp.com:7779/reports/rwservlet?server=myrepserv+report=test.rdf+userid=scott/tiger@mydb+distribute=yes+destination=c:\mydistribute.xml
http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserv+report=test.rdf+userid=scott/tiger@mydb+distribute=yes+destination=c:\mydistribute.xml
rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb distribute=yes destination=c:\mydistribute.xml
Running a report from the command line
Copyright © 1984, 2005, Oracle. All rights reserved.