rwrun
rwrun
(Reports Runtime) runs a report using the OracleAS Reports
Services in-process server. When you run a .rep
file, the PL/SQL
is already compiled and will not be recompiled. If you are running an .rdf
file, the PL/SQL is automatically recompiled, if necessary (if the report wasn't
compiled and saved from Reports Builder or the platform or version on which
you were running the report is incompatible with the platform on which it was
last compiled and saved).
Note: It is recommended that you use rwrun
for
testing purposes, and rwclient
in
a production environment. Using rwrun
in a production environment
may generate intermittent errors.
The keywords that can be used with rwrun
are:
ACCESSIBLE
ARRAYSIZE
AUTHID
AUTOCOMMIT
BCC
BLANKPAGES
BUFFERS
CACHELOB
CC
CELLWRAPPER
CMDFILE
COLLATE
CONTAINSHTMLTAGS
CONTAINSOLE
CONTENTAREA
*
COPIES
CUSTOMIZE
DATEFORMATMASK
DELIMITED_HDR
DELIMITER
DESFORMAT
DESNAME
DESTINATION
DESTYPE
DISTRIBUTE
EXPRESS_SERVER
FROM
ITEMTITLE
JVMOPTIONS
LONGCHUNK
MODE
MODULE|REPORT
NONBLOCKSQL
NOTIFYFAILURE
NOTIFYSUCCESS
NUMBERFORMATMASK
OLAP_CON
ONFAILURE
ONSUCCESS
ORIENTATION
OUTPUTFOLDER
*
OUTPUTIMAGEFORMAT
OUTPUTPAGE
PAGEGROUP
PAGESIZE
PAGESTREAM
PDFCOMP
PDFEMBED
READONLY
RECURSIVE_LOAD
REPLYTO
REPORT|MODULE
ROLE
RUNDEBUG
SAVE_RDF
SITENAME
*
SQLTRACE
SQLTRACE
STATUSFOLDER
*
STATUSPAGE
SUBJECT
SUPPRESSLAYOUT
TRACEFILE
TRACEMODE
TRACEOPTS
USERID
USERSTYLES
* maintained for backward compatibility with Oracle9iAS Portal Release
1 and Oracle WebDB Release 2.2.
rwrun userid=scott/tiger@mydb report=emp.rdf customize=empcustomize.xml destype=file desformat=pdf desname=emp.pdf
rwrun report=test.rdf userid=scott/tiger@mydb desformat=pdf destype=file desname=c:\mydir\test.pdf
rwrun report=test.rdf userid=scott/tiger@mydb desformat=pdf destype=printer desname=myprinter
rwrun report=test.rdf userid=scott/tiger@mydb desformat=pdf destype=mail desname="emp1@comp.com, emp2@comp.com" cc="emp3@comp.com" bcc="mgr@comp.com" replyto="me@comp.com" from="me@comp.com"
rwrun report=test.rdf userid=scott/tiger@mydb desformat=htmlcss destype=webdav desname="http://myusername:mypassword@mywebdavserv.com/mydir/test.html"
rwrun report=myxmlpdstest.rdf destype=file desformat=PDF desname=c:\mydir\my.pdf
rwrun report=myjdbcpdstest.rdf destype=file desformat=PDF desname=c:\mydir\myxml.pdf p_jdbcpds=sybuser/sybpwd@server1.mydomain.com:1300
rwrun report=test.rdf userid=scott/tiger@mydb distribute=yes destination=c:\mydistribute.xml
rwrun report=test.rdf userid=scott/tiger@mydb desformat=pdf destype=file desname=test.pdf authid=myadmin/myadmin
rwrun report=test.rdf userid=scott/tiger@mydb destype=file desformat=pdf desname=test.pdf notifysuccess="emp@comp.com" notifyfailure="admin@comp.com"
rwrun report=test.rdf userid=scott/tiger@mydb destype=file desformat=pdf desname=test.pdf traceopts=trace_prf tracemode=trace_replace
Running a report from the command line
Copyright © 1984, 2005, Oracle. All rights reserved.