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

DESNAME command line keyword

DESNAME is the name of the cache, file, printer, WebDAV server, or e-mail ID (or distribution list) to which the report output will be sent.  

The executables that can use this keyword are:

rwbuilder no
rwrun yes
rwclient yes
rwcgi yes
rwserver no
rwservlet yes
rwconverter no

Syntax

DESNAME=desname

Values

Values

desname

Any valid cache destination, file name, printer name, WebDAV server, or e-mail ID, not to exceed 1K in length.   For printer names, you can optionally specify a port.   For example:

DESNAME=printer,LPT1:
DESNAME=printer,FILE:

(Default)

Taken from the Initial Value property of the DESNAME system parameter (defined in Reports Builder at design time).   If DESTYPE=FILE and DESNAME is an empty string, it defaults to reportname.lis at runtime.

Usage notes

Examples

Example 1: Sending report output to a file

rwrun report=test.rdf userid=scott/tiger@mydb desformat=pdf destype=file 
desname=c:\mydir\test.pdf
http://myias.mycomp.com:7779/reports/rwservlet?server=myrepserv+
report=test.rdf+userid=scott/tiger@mydb+desformat=pdf+destype=file+
desname=c:\mydir\test.pdf
http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserv+
report=test.rdf+userid=scott/tiger@mydb+desformat=pdf+destype=file+
desname=c:\mydir\test.pdf
rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb 
desformat=pdf destype=file desname=c:\mydir\test.pdf

Example 2: Sending report output to a printer

rwrun report=test.rdf userid=scott/tiger@mydb desformat=pdf destype=printer desname=myprinter
http://myias.mycomp.com:7779/reports/rwservlet?server=myrepserv+report=test.rdf+
userid=scott/tiger@mydb+desformat=pdf+destype=printer+desname=myprinter
http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserv+report=test.rdf+
userid=scott/tiger@mydb+desformat=pdf+destype=printer+desname=myprinter
rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb desformat=pdf 
destype=printer desname=myprinter

Example 3: Sending report output to e-mail

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"
http://myias.mycomp.com:7779/reports/rwservlet?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"
http://mywebserver.com:7779/cgi-bin/rwcgi.exe?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"
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 4: Sending report output to WebDAV (any WebDAV server or OracleAS Portal WebDAV)

Note: Currently there is no support for FTP and WebDAV destinations from the Reports Builder environment. However, they are supported from the Reports Runtime and the Reports Server environments.

rwrun report=test.rdf userid=scott/tiger@mydb desformat=htmlcss destype=webdav 
desname=http://myusername:mypassword@mywebdavserv.com/mydir/test.html
http://myias.mycomp.com:7779/reports/rwservlet?server=myrepserv+report=test.rdf+
userid=scott/tiger@mydb+desformat=htmlcss+destype=webdav+
desname="http://myusername:mypassword@mywebdavserv.com/mydir/test.html"
http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserv+report=test.rdf+
userid=scott/tiger@mydb+desformat=htmlcss+destype=webdav+
desname="http://myusername:mypassword@mywebdavserv.com/mydir/test.html"
rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb desformat=htmlcss 
destype=webdav desname="http://myusername:mypassword@mywebdavserv.com/mydir/test.html"

See also

Command line keywords

Using the command line

Running a report from the command line