A script-enabled browser is required for this page to function properly.

rwclient

rwclient (Reports Client) parses and transfers a command line to the specified Reports Server.

All file names and paths specified in the command line refer to files and directories on the server machine, except for any file specified for the command line keywords:

The keywords that can be used with rwclient are:

ACCESSIBLE
ARRAYSIZE
AUTHID
AUTOCOMMIT
BACKGROUND
BCC
BLANKPAGES
BUFFERS
CACHELOB
CC
CELLWRAPPER
CMDFILE
COLLATE
CONTAINSHTMLTAGS
CONTAINSOLE
CONTENTAREA*
COPIES
CUSTOMIZE
DATEFORMATMASK
DELIMITED_HDR
DELIMITER
DESFORMAT
DESNAME
DESTINATION
DESTYPE
DISTRIBUTE
ENGINERESPONSETIMEOUT
ENVID
EXPIRATION
EXPRESS_SERVER
FROM
ITEMTITLE
JOBNAME
JOBTYPE
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
SCHEDULE
SERVER
SITENAME*
SQLTRACE
STATUSFOLDER*
STATUSPAGE
SUBJECT
SUPPRESSLAYOUT
TOLERANCE
TRACEOPTS
URLPARAMETER
USEJVM
USERID
USERSTYLES

* maintained for backward compatibility with Oracle9iAS Portal Release 1 and Oracle WebDB Release 2.2.

Examples

Example 1: Running a paper report to cache

rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb desformat=pdf destype=cache

Example 2: Sending report output to a file

rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb desformat=pdf 
  destype=file desname=c:\mydir\test

Example 3: Sending report output to a printer

rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb desformat=pdf 
  destype=printer desname=myprinter

Example 4: Sending report output to e-mail

rwclient server=myrepserv 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

Example 5: Sending report output to WebDAV (any WebDAV server or OracleAS Portal WebDAV)

rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb desformat=htmlcss  
  destype=webdav desname="http://myusername:mypassword@mywebdavserv.com/mydir/test.html"

Example 6: Sending report output to OracleAS Portal

rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb destype=oracleportal 
  desformat=PDF pagegroup=mypagegrp outputpage=reports_output itemtitle=pushtoportal 
  statuspage=result

Example 7: Sending XML PDS report output to a file

rwclient server=myrepserv report=myxmlpdstest.rdf destype=file desformat=PDF desname=c:\mydir\my.pdf

Example 8: Sending JDBC PDS report output to a file

rwclient server=myrepserv report=myjdbcpdstest.rdf destype=file desformat=PDF desname=c:\mydir\myxml.pdf 
  p_jdbcpds=sybuser/sybpwd@server1.mydomain.com:1300

Example 9: Distributing report output to multiple destinations:

rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb distribute=yes 
  destination=c:\mydistribute.xml

Example 10: Running scheduled reports

rwclient server=myrepserver report=test.rdf schedule="every first fri of month from 15:53 
  Oct 23, 1999 retry 3 after 1 hour" destype=file desformat=pdf desname=test.pdf

Example 11: Using a secured Reports Server

rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb desformat=pdf destype=file 
  desname=test.pdf authid=myadmin/myadmin

Example 12: Running a report with e-mail notification

rwclient server=myrepserver report=test.rdf userid=scott/tiger@mydb destype=file desformat=pdf 
  desname=test.pdf notifysuccess=emp@comp.com notifyfailure=admin@comp.com

Example 13: Running a report that specifies a URL to be fetched with the URL engine

rwclient server=myrepserver report=test.rdf userid=scott/tiger@mydb destype=file desformat=pdf 
  desname=test.pdf jobType=rwurl urlParameter="http://www.oracle.com"

Example 14: Running a report with traces

rwserver server=myrepserver report=test.rdf userid=scott/tiger@mydb destype=file desformat=pdf 
  desname=test.pdf traceopts=trace_all

See also

rwbuilder

rwrun

rwcgi

rwserver

rwservlet

rwconverter

rwbridge

Command line keywords

Using the command line

Running a report from the command line