|
Oracle® Application Server Reports Services Publishing Reports to the Web
10g (9.0.4) Part Number B13673-01 |
|
|
|
|
This appendix contains descriptions and examples of command line options that can be used with one or more of the following commands: rwclient, rwrun, rwbuilder, rwconverter, rwservlet, rwcgi, and rwserver. Each option description includes a table that indicates which commands can use which option keywords.
The following topics are discussed in this appendix:
This section provides a brief description of the commands whose keywords/options are discussed in this appendix, including:
Each command description includes a list of the keywords that can be used with it. In the command line, you must use the keyword along with its option. When you enter a command line, you can use the keywords in any order.
This section lists the various keywords and their applicability to the 7 commands in Oracle Reports.
Table A-1 Keywords and the commands they can be used with
| Kewords |
rwclient
|
rwrun
|
rwbuilder
|
rwconverter
|
rwservlet
|
rwcgi
|
rwserver
|
|---|---|---|---|---|---|---|---|
| ACCESSIBLE
|
yes | yes | yes | no | yes | yes | no |
| ARRAYSIZE
|
yes | yes | yes | no | yes | yes | no |
| AUTHID
|
yes | yes | no | no | yes | yes | yes |
| AUTOCOMMIT
|
yes | yes | yes | no | yes | yes | no |
| AUTOSTART
|
no | no | no | no | no | no | yes |
| BACKGROUND
|
yes | no | no | no | yes | yes | no |
| BATCH
|
no | no | no | yes | no | no | yes |
| BCC
|
yes | yes | no | no | yes | yes | no |
| BLANKPAGES
|
yes | yes | yes | no | yes | yes | no |
| BUFFERS
|
yes | yes | yes | no | yes | yes | no |
| CACHELOB
|
yes | yes | yes | no | yes | yes | no |
| CC
|
yes | yes | no | no | yes | yes | no |
| CELLWRAPPER
|
yes | yes | no | no | yes | yes | no |
| CMDFILE
|
yes | yes | yes | yes | no | no | no |
| CMDKEY
|
no | no | no | no | yes | no | no |
| COLLATE
|
yes | yes | no | no | yes | yes | no |
| CONTENTAREA
|
yes | yes | no | no | yes | yes | no |
| COPIES
|
yes | yes | no | no | yes | yes | no |
| CUSTOMIZE
|
yes | yes | no | yes | yes | yes | no |
| DATEFORMATMASK
|
yes | yes | no | no | yes | yes | no |
| DELAUTH
|
no | no | no | no | yes | yes | no |
| DELIMITED_HDR
|
yes | yes | no | no | yes | yes | no |
| DELIMITER
|
yes | yes | no | no | yes | yes | no |
| DESFORMAT
|
yes | yes | no | no | yes | yes | no |
| DESNAME
|
yes | yes | no | no | yes | yes | no |
| DEST
|
no | no | no | yes | no | no | no |
| DESTINATION
|
yes | yes | no | no | yes | yes | no |
| DESTYPE
|
yes | yes | no | no | yes | yes | no |
| DISTRIBUTE
|
yes | yes | no | no | yes | yes | no |
| DTYPE
|
no | no | no | yes | no | no | no |
| DUNIT
|
no | no | no | yes | no | no | no |
| ENGINERESPONSETIMEOUT
|
yes | no | no | no | yes | yes | no |
| EXPIRATION
|
yes | no | no | no | yes | yes | no |
| EXPIREDAYS
|
no | no | no | no | yes | yes | no |
| EXPRESS_SERVER
|
yes | yes | yes | no | yes | yes | no |
| FORMSIZE
|
no | no | no | yes | no | no | no |
| FROM
|
yes | yes | no | no | yes | yes | no |
| GETJOBID
|
no | no | no | no | yes | yes | no |
| GETSERVERINFO
|
no | no | no | no | yes | no | no |
| HELP
|
no | no | no | no | yes | yes | no |
| INSTALL
|
no | no | no | no | no | no | yes |
| ITEMTITLE
|
yes | yes | no | no | yes | yes | no |
| JOBNAME
|
yes | no | no | no | yes | yes | no |
| JOBTYPE
|
yes | no | no | no | yes | yes | no |
| JVMOPTIONS
|
no | yes | yes | yes | no | no | yes |
| KILLJOBID
|
no | no | no | no | yes | yes | no |
| LONGCHUNK
|
yes | yes | yes | no | yes | yes | no |
| MIMETYPE
|
no | no | no | no | yes | yes | no |
| MODE
|
yes | yes | no | no | yes | yes | no |
| MODULE|REPORT
|
yes | yes | yes | no | yes | yes | no |
| NONBLOCKSQL
|
yes | yes | yes | no | yes | yes | no |
| NOTIFYFAILURE
|
yes | yes | no | no | yes | yes | no |
| NOTIFYSUCCESS
|
yes | yes | no | no | yes | yes | no |
| NUMBERFORMATMASK
|
yes | yes | no | no | yes | yes | no |
| OLAP_CON
|
yes | yes | yes | no | yes | yes | no |
| ONFAILURE
|
yes | yes | yes | no | yes | yes | no |
| ONSUCCESS
|
yes | yes | yes | no | yes | yes | no |
| ORIENTATION
|
yes | yes | no | no | yes | yes | no |
| OUTPUTFOLDER
|
yes | yes | no | no | yes | yes | no |
| OUTPUTIMAGEFORMAT
|
yes | yes | yes | no | yes | yes | no |
| OUTPUTPAGE
|
yes | yes | no | no | yes | yes | no |
| OVERWRITE
|
no | no | no | yes | no | no | no |
| P_AVAILABILITY
|
no | no | no | yes | no | no | no |
| P_DESCRIPTION
|
no | no | no | yes | no | no | no |
| P_FORMATS
|
no | no | no | yes | no | no | no |
| P_NAME
|
no | no | no | yes | no | no | no |
| P_OWNER
|
no | no | no | yes | no | no | no |
| P_PFORMTEMPLATE
|
no | no | no | yes | no | no | no |
| P_PRINTERS
|
no | no | no | yes | no | no | no |
| P_PRIVILEGE
|
no | no | no | yes | no | no | no |
| P_SERVERS
|
no | no | no | yes | no | no | no |
| P_TRIGGER
|
no | no | no | yes | no | no | no |
| P_TYPES
|
no | no | no | yes | no | no | no |
| PAGEGROUP
|
yes | yes | no | no | yes | yes | no |
| PAGESIZE
|
yes | yes | yes | yes | yes | yes | no |
| PAGESTREAM
|
yes | yes | no | no | yes | yes | no |
| PARAMFORM
|
no | no | no | no | yes | yes | no |
| PARSEQUERY
|
no | no | no | no | yes | yes | no |
| PDFCOMP
|
yes | yes | no | no | yes | yes | no |
| PDFEMBED
|
yes | yes | no | no | yes | yes | no |
| PRINTJOB
|
no | no | yes | no | no | no | no |
| READONLY
|
yes | yes | yes | no | yes | yes | no |
| RECURSIVE_LOAD
|
yes | yes | no | yes | yes | yes | no |
| REPLACEITEM
|
yes | yes | no | no | yes | yes | no |
| REPLYTO
|
yes | yes | no | no | yes | yes | no |
| REPORT|MODULE
|
yes | yes | yes | no | yes | yes | no |
| ROLE
|
yes | yes | no | no | yes | yes | no |
| RUNDEBUG
|
yes | yes | yes | no | yes | yes | no |
| SAVE_RDF
|
no | yes | yes | no | no | no | no |
| SCHEDULE
|
yes | no | no | no | yes | yes | no |
| SERVER
|
yes | no | no | no | yes | yes | yes |
| SHOWAUTH
|
no | no | no | no | yes | yes | no |
| SHOWENV
|
no | no | no | no | yes | yes | no |
| SHOWJOBID
|
no | no | no | no | yes | no | no |
| SHOWJOBS
|
no | no | no | no | yes | yes | no |
| SHOWMAP
|
no | no | no | no | yes | yes | no |
| SHOWMYJOBS
|
no | no | no | no | yes | no | no |
| SHUTDOWN
|
no | no | no | no | no | no | yes |
| SITENAME
|
yes | yes | no | no | yes | yes | no |
| SOURCE
|
no | no | no | yes | no | no | no |
| SQLTRACE
|
yes | yes | yes | no | yes | yes | no |
| SSOCONN
|
no | no | no | no | yes | no | no |
| STATUSFOLDER
|
yes | yes | no | no | yes | yes | no |
| STATUSFORMAT
|
no | no | no | no | yes | no | no |
| STATUSPAGE
|
yes | yes | no | no | yes | yes | no |
| STYPE
|
no | no | no | yes | no | no | no |
| SUBJECT
|
yes | yes | no | no | yes | yes | no |
| SUPPRESSLAYOUT
|
yes | yes | yes | no | yes | yes | no |
| TOLERANCE
|
yes | no | no | no | yes | yes | no |
| TRACEFILE
|
yes | yes | yes | no | no | no | no |
| TRACEMODE
|
yes | yes | yes | no | yes | yes | no |
| TRACEOPTS
|
yes | yes | yes | no | yes | yes | yes |
| UNINSTALL
|
no | no | no | no | no | no | yes |
| UPGRADE_PLSQL
|
no | no | no | yes | no | no | no |
| URLPARAMETER
|
yes | no | no | no | yes | yes | no |
| USERID
|
yes | yes | yes | yes | yes | yes | no |
| WEBSERVER_DEBUG
|
no | no | yes | no | no | no | no |
| WEBSERVER_DOCROOT
|
no | no | yes | no | no | no | no |
| WEBSERVER_PORT
|
no | no | yes | no | no | no | no |
The rwclient command parses and transfers a command line to the specified (or default) Reports Server. All file names and paths specified in rwclient refer to files and directories on the server machine, except for files specified in the CMDFILE keyword. In this case, the CMDFILE specified will be read and appended to the original command line (of which CMDFILE is a part) before being sent to the Reports Server. The runtime engine will not re-read the CMDFILE.
Running a paper report to a browser (cache)
rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb DESFORMAT=pdf DESTYPE=cache
Sending a report output to a file
rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb desformat=pdf DESTYPE=file DESNAME=c:\mydir\test
Sending a report output to a printer
rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb desformat=pdf DESTYPE=printer DESNAME=myprinter
Sending a report output via 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"
Sending a 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"
Sending a report output to OracleAS Portal
rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydbDESTYPE=oracleportal desformat=PDF PAGEGROUP=mypagegrp OUTPUTPAGE=reports_output ITEMTITLE=pushtoportal STATUSPAGE=result
Sending an XML PDS report output to a file
rwclient server=myrepserv report=myxmlpdstest.rdf destype=file desformat=PDF desname=c:\mydir\my.pdf
Sending a 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
Distributing a report output to multiple destinations:
rwclient server=myrepserv report=test.rdf userid=scott/tiger@mydbDISTRIBUTE=yes DESTINATION=c:\mydistribute.xml
Running scheduled reports
rwclient server=myrepserver report=test.rdfSCHEDULE="every first fri of month from 15:53 Oct 23, 1999 retry 3 after 1 hour"destype=file desformat=pdf desname=test.pdf
Using a secured Reports Server
AUTHIDrwclient server=myrepserv report=test.rdf userid=scott/tiger@mydb desformat=pdf destype=file desname=test.pdf =myadmin/myadmin
Running a report with e-mail notification
rwclient server=myrepserver report=test.rdf userid=scott/tiger@mydb destype=file desformat=pdf desname=test.pdfNOTIFYSUCCESS="emp@comp.com" NOTIFYFAILURE="admin@comp.com"
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.pdfJOBTYPE=rwurl URLPARAMETER="http://www.oracle.com"
Running a report with the traceopts enabled
rwclient server=myrepserver report=test.rdf userid=scott/tiger@mydb destype=file desformat=pdf desname=test.pdfTRACEOPTS=trace_prf TRACEMODE=trace_replace
The rwrun command 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. It becomes 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.
Customizing a report
rwrun userid=scott/tiger@mydb report=emp.rdfCUSTOMIZE=empcustomize.xml destype=file desformat=pdf desname=emp.pdf
Running a paper report to a browser (cache)
rwrun report=test.rdf userid=scott/tiger@mydb desformat=pdf destype=cache
Sending report output to a file
rwrun report=test.rdf userid=scott/tiger@mydb desformat=pdf DESTYPE=file DESNAME=c:\mydir\test.pdf
Sending a report output to a printer
rwrun report=test.rdf userid=scott/tiger@mydb desformat=pdfDESTYPE=printer DESNAME=myprinter
Sending a report output via e-mail
rwrun report=test.rdf userid=scott/tiger@mydb desformat=pdfDESTYPE=mail DESNAME="emp1@comp.com, emp2@comp.com"cc="emp3@comp.com"bcc="mgr@comp.com" replyto="me@comp.com" from="me@comp.com"
Sending a report output to WebDAV (any WebDAV server or OracleAS Portal WebDAV)
rwrun report=test.rdf userid=scott/tiger@mydb desformat=htmlcssDESTYPE=webdav DESNAME="http://myusername:mypassword@mywebdavserv.com/mydir/test.html"
Sending a report output to OracleAS Portal
rwrun report=test.rdf userid=scott/tiger@mydbDESTYPE=oracleportal desformat=PDF PAGEGROUP=mypagegrp OUTPUTPAGE=reports_output ITEMTITLE=pushtoportal STATUSPAGE=result
Sending an XML PDS report output to a file
rwrun report=myxmlpdstest.rdf destype=file desformat=PDF desname=c:\mydir\my.pdf
Sending a JDBC PDS report output to a file
rwrun report=myjdbcpdstest.rdf destype=file desformat=PDF desname=c:\mydir\myxml.pdf p_jdbcpds=sybuser/sybpwd@server1.mydomain.com:1300
Distributing a report output to multiple destinations
rwrun report=test.rdf userid=scott/tiger@mydbDISTRIBUTE=yes DESTINATION=c:\mydistribute.xml
Using a secured Reports Server
rwrun report=test.rdf userid=scott/tiger@mydb desformat=pdf destype=file desname=test.pdfAUTHID=myadmin/myadmin
Running a report with e-mail notification
rwrun report=test.rdf userid=scott/tiger@mydb destype=file desformat=pdf desname=test.pdfNOTIFYSUCCESS="emp@comp.com" NOTIFYFAILURE=Òadmin@comp.com"
Running a report with the traceopts enabled
rwrun report=test.rdf userid=scott/tiger@mydb destype=file desformat=pdf desname=test.pdf TRACEOPTS=trace_prf TRACEMODE=trace_replace
The rwbuilder command invokes Reports Builder. When you include a REPORT|MODULE keyword with the rwbuilder command at the command prompt, then press Enter, Reports Builder opens with the specified report highlighted in the Object Navigator. When no report is specified, Reports Builder opens with a Welcome dialog offering you the choice of opening an existing report or creating a new one.
rwbuilder report=myrep.rdf userid=scott/tiger@mydb
The rwconverter command enables you to convert one or more report definitions or PL/SQL libraries from one storage format to another. For example, you can use rwconverter to:
Combine a report file with an XML file to create a new report
Convert a report stored in an .rdf file to a .rep,.rex,.jsp, or .tdf (template) file.
|
Note: When a report is converted to a template, only objects in the report's header and trailer sections and margin area are used in the template. Objects in the main section are ignored. |
Convert a report stored in a .rex file to an .rdf or a template (.tdf file)
Convert a library stored in the database to a .pld or .pll file
Convert a library stored in a .pld file into a database library or a .pll file
Convert a library stored in a .pll file into a database library of a .pld file
|
Note: When you convert a report that has an attached library, convert the .pll files attached to the report before converting the .rdf/.rex file.
|
Batch create a PL/SQL script that batch registers reports in OracleAS Portal
In some cases, rwconverter will automatically compile the report's PL/SQL as part of the conversion process. Provided your conversion destination is not a .rex file, rwconverter automatically compiles PL/SQL under the following conditions:
Converting to a .rep file. If there are compile errors, rwconverter displays an error message and the .rep file is not created.
Using a .rex file as the source
Using a report created on another platform as the source
In all other situations, you must compile the report's PL/SQL yourself (e.g., using Program >> Compile >> All in Reports Builder).
|
Note: Fonts are mapped when a report is opened by Reports Builder or Reports Runtime, not during the conversion. |
rwconverter scott/tiger@mydb stype=rdffile source=inven1.rdf dtype=xmlfile dest=inven1_new.xml
rwservlet translates and delivers information between either a Web server or a J2EE Container (for example, OC4J) and the Reports Server, enabling you to run a report dynamically from your Web browser. Optionally, it can use the In-Process Server, which reduces the maintenance and administration of the Reports Server by providing a means for starting the server automatically, whenever it receives the first request from the client.
|
Note: When you use therwservlet command to run a JSP, you can use all keywords applicable to rwservlet. For more information on running a JSP with rwservlet, see Running Report Requests .
|
|
Note: The following keywords are commands rather than keyword-value pairs, i.e., commands are entered by themselves without a corresponding value: SHOWENV, SHOWJOBSSHOWMAP, , SHOWMYJOBS, KILLJOBID, PARSEQUERYDELAUTH, , GETJOBID, and GETSERVERINFO. |
http://myiasFoot 1 .mycomp.com:7779Foot 2 /reports/rwservlet?server=myrepserver+report=myrepo.rdf+desname=sample.pdf+desformat=pdf+destype=filehttp://myias.mycomp.com:7779/reports/rwservlet?server=myrepserver+authidFoot 3 =myrepuser/myreppassword+report=myrepo.rdf+desname=sample.pdf+desformat=pdf+destype=file
Running a paper report to a browser (cache)
http://myias.mycomp.com:7779/reports/rwservlet?server=myrepserv+report=test.rdf+userid=scott/tiger@mydb+desformat=pdf+DESTYPE=cache
Sending a report output to a file
http://myias.mycomp.com:7779/reports/rwservlet?server=myrepserv+report=test.rdf+userid=scott/tiger@mydb+desformat=pdf+DESTYPE=file+DESNAME=c:\mydir\test.
Sending a report output to a printer
http://myias.mycomp.com:7779/reports/rwservlet?server=myrepserv+report=test.rdf+userid=scott/tiger@mydb+desformat=pdf+DESTYPE=printer+DESNAME=myprinter
Sending a report output via e-mail
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"
Sending a report output to WebDAV (any WebDAV server or OracleAS Portal WebDAV)
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"
Sending a report output to OracleAS Portal
http://myias.mycomp.com:7779/reports/rwservlet?server=myrepserv+report=test.rdf+userid=scott/tiger@mydb+destype=oracleportal+desformat=PDF+PAGEGROUP=mypagegrp+OUTPUTPAGE=reports_output+ITEMTITLE=pushtoportal+STATUSPAGE=result
Sending an XML PDS report output to a file
http://myias.mycomp.com:7779/reports/rwservlet?server=myrepserv+report=myxmlpdstest.rdf+destype=file+desformat=PDF+DESNAME=c:\mydir\my.pdf
Sending a JDBC PDS report output to a file
http://myias.mycomp.com:7779/reports/rwservlet?server=myrepserv+report=myjdbcpdstest.rdf+destype=file+desformat=PDF+desname=c:\mydir\myxml.pdf+p_jdbcpds=sybuser/sybpwd@server1.mydomain.com:1300
Distributing a report output to multiple destinations
http://myias.mycomp.com:7779/reports/rwservlet?server=myrepserv+report=test.rdf+userid=scott/tiger@mydb+DISTRIBUTE=yes+DESTINATION=c:\mydistribute.xml
Running scheduled reports
http://myias.mycomp.com:7779/reports/rwservlet?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
Using a secured Reports Server
http://myias.mycomp.com:7779/reports/rwservlet?server=myrepserv+report=test.rdf+userid=scott/tiger@mydb+desformat=pdf+destype=file+desname=test.pdf+AUTHID=myadmin/myadmin
Using a key file
http://myias.mycomp.com:7779/report/rwservlet?key1
where
key1=key defined in the cgicmd.dat file (the keyname should be the first parameter)
or
http://myias.mycomp.com:7779/report/rwservlet?server=myrepserv+userparam=12+CMDKEY*=keyname
*when used with cmdkey, it can be anywhere in the URL
Running a report with a Parameter Form
http://myias.mycomp.com:7779/rwservlet?server=myrepserver+report=test.rdf+userid=scott/tiger@mydb+destype=cache+desformat=htmlcss+PARAMFORM=yes
Running a report with e-mail notification
http://myias.mycomp.com:7779/rwservlet?server=myrepserver+report=test.rdf+userid=scott/tiger@mydb+destype=file+desformat=pdf+desname=test.pdf+NOTIFYSUCCESS="emp@comp.com"+NOTIFYFAILURE="admin@comp"
Running a report that specifies a URL to be fetched with the URL engine
http://myias.mycomp.com:7779/rwservlet?server=myrepserver+report=test.rdf+userid=scott/tiger@mydb+destype=file+desformat=pdf+desname=test.pdf+JOBTYPE=rwurl+URLPARAMETER="http://www.oracle.com"
Running a report with the traceopts enabled
http://myias.mycomp.com:7779/rwservlet?server=myrepserver+report=test.rdf+userid=scott/tiger@mydb+destype=file+desformat=pdf+desname=test.pdf+TRACEOPTS=trace_prf+TRACEMODE=trace_replace
Like rwservlet, rwcgi (the Common Gateway Interface (CGI) translates and delivers information between either a Web server or a J2EE Container (for example, OC4J) and the Reports Server, enabling you to run a report dynamically from your Web browser.
|
Note: With Oracle Reports 10g,rwcgi is deprecated (maintained only for backward compatibility); instead, use JSPs or servlets (rwservlet).
|
http://mywebserver.comFoot 4 :7779Foot 5 /cgi-bin/rwcgi.exeFoot 6 ?server=myrepserver+report=myrepo.rdf+desname=sample.pdf+desformat=pdf+destype=file
http://mywebserver.com:7779/cgi-bin/rwcgi.shFoot 7 ?server=myrepserver+authidFoot 8 =myrepuser/myreppassword+report=myrepo.rdf+desname=sample.pdf+desformat=pdf+destype=file
Running a paper report to a browser (cache)
http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserv+report=test.rdf+userid=scott/tiger@mydb+DESFORMAT=pdf+DESTYPE=cache
Sending a report output to a file
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
Sending a report output to a printer
http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserv+report=test.rdf+userid=scott/tiger@mydb+desformat=pdf+DESTYPE=printer+DESNAME=myprinter
Sending a report output via e-mail
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"
Sending report output to WebDAV (any WebDAV server or OracleAS Portal WebDAV)
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"
Sending a report output to OracleAS Portal
http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserv+report=test.rdf+userid=scott/tiger@mydb+DESTYPE=oracleportal+desformat=PDF+PAGEGROUP=mypagegrp+OUTPUTPAGE=reports_output+ITEMTITLE=pushtoportal+STATUSPAGE=result
Sending XML PDS report output to a file
http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserv+report=myxmlpdstest.rdf+DESTYPE=file+desformat=PDF+desname=c:\mydir\my.pdf
Sending a JDBC PDS report output to a file
http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserv+report=myjdbcpdstest.rdf+destype=file+desformat=PDF+desname=c:\mydir\myxml.pdf+p_jdbcpds=sybuser/sybpwd@server1.mydomain.com:1300
Distributing report output to multiple destinations
http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserv+report=test.rdf+userid=scott/tiger@mydb+DISTRIBUTE=yes+DESTINATION=c:\mydistribute.xml
Running scheduled reports
http://mywebserver.com:7779/cgi-bin/rwcgi.exe?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
Using a secured Reports Server
http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserv+report=test.rdf+userid=scott/tiger@mydb+desformat=pdf+destype=file+desname=test.pdf+AUTHID=myadmin/myadmin
Using a key file
http://mywebserver.com:7779/cgi-bin/rwcgi.exe?key1
where key1=key defined in the cgicmd.dat file (the keyname should be the first parameter)
or
http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserv+userparam=12+CMDKEY=key1
*when used with cmdkey, it can be anywhere in the URL
Running a report with a Parameter Form
http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserver+report=test.rdf+userid=scott/tiger@mydb+destype=cache+desformat=htmlcss+PARAMFORM=yes
Running a report with e-mail notification
http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserver+report=test.rdf+userid=scott/tiger@mydb+destype=file+desformat=pdf+desname=test.pdf+NOTIFYSUCCESS="emp@comp.com"+NOTIFYFAILURE="admin@comp.com"
Running a report that specifies a URL to be fetched with the URL engine
http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserver+report=test.rdf+userid=scott/tiger@mydb+destype=file+desformat=pdf+desname=test.pdf+JOBTYPE=rwurl+URLPARAMETER="http://www.oracle.com"
Running a report with the traceopts enabled
http://mywebserver.com:7779/cgi-bin/rwcgi.exe?server=myrepserver+report=test.rdf+userid=scott/tiger@mydb+destype=file+desformat=pdf+desname=test.pdf+TRACEOPTS=trace_prf+TRACEMODE=trace_replace
The rwserver command invokes the Reports Server. The Reports Server processes client requests, which includes ushering them through its various services, such as authentication and authorization checking, scheduling, caching, and distribution (including distribution to custom or pluggable output destinations). Reports Server also spawns runtime engines for generating requested reports, fetches completed reports from the Reports cache, and notifies the client that the job is ready.
Example: rwserver -install myrepserver batch=yes autostart=yes
Following is the syntax for a command line, where keyword=value is a valid command line option:
rwclient REPORT|MODULE=runfile USERID=username/password@database[ [keyword=]value|(value1, value2, ...) ] SERVER=server_name
Keywords must be specified and can be used in any order following the command.
All file names and paths specified in the client command line refer to files and directories on the server machine, except for any file specified for the command file keyword (CMDFILE=). In this case, the CMDFILE specified will be read and appended to the original command line (of which CMDFILE is a part) before being sent to the Reports Server. The runtime engine will not re-read the CMDFILE.
If you don’t specify a path for a keyword value that includes a file name, The Reports Server will try to find the file from the REPORTS_PATH environment variable.
This section describes the various command line keywords that can be used in Oracle Reports.
Table A-2 indicates which commands can use the ACCESSIBLE keyword.
Table A-2 Commands that can use ACCESSIBLE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | yes | yes | no |
Use ACCESSIBLE to specify whether accessibility-related features offered through Oracle Reports are enabled (YES) or disabled (NO) for PDF output.
ACCESSIBLE={YES|NO}
YES Accessibility features are enabled for PDF output.
NO Accessibility feature is not enabled for PDF output.
NO
Table A-3 indicates which commands can use the ARRAYSIZE keyword.
Table A-3 Commands that can use ARRAYSIZE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | yes | yes | no |
Use ARRAYSIZE to specify the size (in kilobytes) for use with Oracle9i array processing. Generally, the larger the array size, the faster the report will run.
ARRAYSIZE=n
n A number from 1 through 9999 (no comma is used with thousands). This means that Reports Runtime can use this number of kilobytes of memory per query in your report.
10
ARRAYSIZE can be used when running JSP-based Web reports from the command line.
Table A-4 indicates which commands can use the AUTHID keyword.
Table A-4 Commands that can use AUTHID
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | yes |
Use AUTHID to specify the user name and the password to be used to authenticate users to the restricted Reports Server. User authentication ensures that the users making report requests have access privileges to run the requested report.
AUTHID=username/password
username/password Any valid user name and password created in OracleAS Portal. See your DBA to create new users accounts in OracleAS Portal.
None
AUTHID can be used when running JSP-based Web reports from the command line.
If you have a Single Sign-On environment, then the Oracle Application Server Single Sign-On Server will perform the authentication step and pass only the user name to the Reports Server in AUTHID.
Table A-5 indicates which commands can use the AUTOCOMMIT keyword.
Table A-5 Commands that can use AUTOCOMMIT
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | yes | yes | no |
Use AUTOCOMMIT to specify whether database changes (for example, CREATE) should be automatically committed to the database. Some non-Oracle databases (for example, SQL Server) require that AUTOCOMMIT=YES.
AUTOCOMMIT={YES|NO}
YES Data changes are committed to the database automatically.
NO Data changes are not committed to the database until the COMMIT command runs or one of the PL/SQL commands that cause the data to be committed runs.
NO
AUTOCOMMIT can be used when running JSP-based Web reports from the command line.
Table A-6 indicates which commands can use the AUTOSTART keyword.
Table A-6 Commands that can use AUTOSTART
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | no | no | yes |
Use AUTOSTART to specify that the Reports Server will automatically start after initial installation and after a reboot, without requiring a user logon.
AUTOSTART={YES|NO}
YES The service will automatically start at reboot, without requiring a user logon.
NO The service will not automatically start at reboot, requiring a user logon.
NO
The AUTOSTART keyword is only recognized on Microsoft Windows platforms.
Table A-7 indicates which commands can use the BACKGROUND keyword.
Table A-7 Commands that can use BACKGROUND
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | no | no | no | yes | yes | no |
BACKGROUND specifies whether a report on the server should be run synchronously (NO) or asynchronously (YES).
|
Note: TheBACKGROUND system parameter is deprecated in Oracle Reports. BACKGROUND is used only on the command line.
|
BACKGROUND={YES|NO}
YES Runs the report asynchronously. The client sends the call to the server, then continues with other processes without waiting for the report job to complete. If the client process is killed, the job is canceled.
NO Runs the report synchronously. The client waits for the report to queue, be assigned to a runtime engine, run, and finish.
NO
If BACKGROUND=YES is used with rwbuilder or rwrun, a warning is issued and the keyword is ignored.
Table A-8 indicates which commands can use the BATCH keyword.
Table A-8 Commands that can use BATCH
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | yes | no | no | yes |
For all relevant commands, the BATCH option tells the server to run in no-UI mode. How it is used across commands is similar in that no UI is produced by the application when running from a command line that includes BATCH=YES. For example, for rwserver this allows the server to be run from scripts and remote agents so that no server dialog comes up while it is running.
With rwconverter, BATCH suppresses all terminal input and output in order to convert reports/libraries without user intervention. With rwserver, BATCH turns the server window dialog off (YES) or on (NO) to display or suppress process messages.
BATCH={YES|NO}
YES Suppresses all terminal input and output (report is run in the background). This is the default for rwrun.
NO Allows special terminal input and output. For rwconverter, the Convert dialog box is displayed, and when you accept the dialog box, the conversion is performed.
NO
If BATCH=YES, error messages are sent to SYSOUT. For more information on SYSOUT, see DESNAME.
If BATCH=YES, PARAMFORM=YES is invalid because it is not meaningful to have the Runtime Parameter Form appear in batch mode.
Table A-9 indicates which commands can use the BCC keyword.
Table A-9 Commands that can use BCC
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use BCC to specify e-mail recipient(s) of a blind courtesy copy (that is, one in which the names of specified recipients are not visible (published) to other recipients).
|
Note: A blind copy is one in which the names of specified recipients are not visible (published) to other recipients. |
BCC=emailid | ("emailid","emailid", ...)
emailid A valid e-mail address in the form someone@foo.com.
None
To specify more than one e-mail address, enclose the list of addresses in quotation marks and separate each address in the list with a comma.
Related keywords include BCC, CC, FROM, REPLYTO, and SUBJECT. Note that DESNAME is used to specify the main recipient(s) of the e-mail.
BCC can be used when running JSP-based Web reports from the command line.
Table A-10 indicates which commands can use the BLANKPAGES keyword.
Table A-10 Commands that can use BLANKPAGES
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | yes | yes | no |
Use BLANKPAGES to specify whether to suppress blank pages when you print a report. Use this keyword when there are blank pages in your report output that you do not want to print.
BLANKPAGES={YES|NO}
YES Print all blank pages.
NO Do not print blank pages.
YES
BLANKPAGES is especially useful if your logical page spans multiple physical pages (or panels), and you wish to suppress the printing of any blank physical pages.
Table A-11 indicates which commands can use the BUFFERS keyword.
Table A-11 Commands that can use BUFFERS
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | yes | yes | no |
Use BUFFERS to specify the size of the virtual memory cache in kilobytes. You should tune this setting to ensure that you have enough space to run your reports, but not so much that you are using too much of your system's resources.
BUFFERS=n
n A number from 1 through 9999 (note that thousands are not expressed with any internal punctuation, e.g., a comma or a decimal point). For some operating systems, the upper limit might be lower.
640
If this setting is changed in the middle of your session, then the change does not take effect until the next time the report is run.
BUFFERS can be used when running JSP-based Web reports from the command line.
Table A-12 indicates which commands can use the CACHELOB keyword.
Table A-12 Commands that can use CACHELOB
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | yes | yes | no |
Use CACHELOB to specify whether to cache retrieved ORACLE large object or objects in the temporary file directory on the Reports Server (specified in the environment variable REPORTS_TMP or by the tempDir property of the engine element in the Reports Server configuration file, server_name.conf; note that a tempDir setting overrides a REPORTS_TMP setting.).
CACHELOB={YES|NO}
YES The LOB will be cached in the temporary file directory.
NO The LOB will not be cached in the temporary file directory.
YES
You can only set this option on the command line.
If the location of the temporary file directory on the server does not have sufficient available disk space, then it is preferable to set this value to NO. Setting the value to NO, however, might decrease performance, as the LOB might need to be fetched from the database multiple times.
CACHELOB can be used when running JSP-based Web reports from the command line.
Table A-13 indicates which commands can use the CC keyword.
Table A-13 Commands that can use CC
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use CC to specify e-mail recipient(s) of a courtesy copy.
CC=emailid | ("emailid","emailid", ...)
emailid A valid e-mail address in the form someone@foo.com.
None
Table A-14 indicates which commands can use the CELLWRAPPER keyword.
Table A-14 Commands that can use CELLWRAPPER
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use CELLWRAPPER to specify the character or characters that displays around the delimited cells in your report output.
CELLWRAPPER=value
value Any alphanumeric character or string of alphanumeric characters.
Table A-15 Valid Values - General
| Value | Description |
|---|---|
"
|
A double quotation mark displays on each side of the cell |
'
|
A single quotation mark displays on each side of the cell |
Table A-16 Valid Values - Reserved
| Value | Description |
|---|---|
tab
|
A tab displays on each side of the cell |
space
|
A single space displays on each side of the cell |
return
|
A new line displays on each side of the cell |
none
|
No cell wrapper is used |
Table A-17 Valid Values - Escape Sequences based on the ASCII Character set
| Value | Description |
|---|---|
\t
|
A tab displays on each side of the cell |
\n
|
A new line displays on each side of the cell |
None
This keyword can only be used if you have specified DESFORMAT=DELIMITED or DESFORMAT=DELIMITEDDATA.
The cell wrapper is different from the actual delimiter. The cell wrapper specifies what character appears around delimited data. The delimiter indicates the boundary or break point between two pieces of data.
Table A-18 indicates which commands can use the CMDFILE keyword.
Table A-18 Commands that can use CMDFILE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | yes | no | no | no |
Use CMDFILE to call a file that contains one report's command line options. The file called must be an ASCII file, either .txt or any other ASCII-type file.
CMDFILE differs from the cgicmd.dat file, in that CMDFILE can contain one command line for one report, where the cgicmd.dat file can contain multiple key-identified commands for multiple reports. Additionally, the CMDFILE keyword can be used along with other arguments in a command line; while, when you use the key argument associated with cgicmd.dat, it is the only argument that appears in the command line.
The CMDFILE keyword enables you to run a report without specifying a large number of options each time you invoke a run command.
CMDFILE=filename
filename Any valid command file name.
None
With rwservlet and rwcgi, use the CMDKEY keyword to refer to a key in the cgicmd.dat file in lieu of using the CMDFILE keyword.
A command file can reference another command file.
The syntax for a command line you specify in the command file is identical to that used on the command line.
Values entered on the command line override values specified in command files. For example, suppose you specify rwclient from the command line with COPIES set to 1 and CMDFILE set to RUNONE (a command file). The RUNONE file also specifies a value for COPIES, but it is set to 2. The value specified for COPIES in the command line (1) overrides the value specified for COPIES in the RUNONE file (2). Only one copy of the report will be generated.
The value for this keyword might be operating system-specific.
Table A-19 indicates which commands can use the CMDKEY keyword.
Table A-19 Commands that can use CMDKEY
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | yes | no | no |
Use CMDKEY to call a key-identified command line in the cgicmd.dat file. For example:
http://yourwebserver/reports/rwservlet?cmdkey=key& …
CMDKEY=key
key The name of any key associated with a command line specified in the cgicmd.dat file.
None
When you use CMDKEY with rwservlet, you can use it in any order in the command line (or the URL, following the question mark). With rwservlet, you can use additional command line keywords along with CMDKEY.
CMDKEY can be used when running JSP-based Web reports from the command line.
Table A-20 indicates which commands can use the COLLATE keyword.
Table A-20 Commands that can use COLLATE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use COLLATE to control the collating behavior when a report is output to a printer.
For example, printing three copies of a three page document with COLLATE set to YES would result in output similar to the following:
1 2 3|1 2 3| 1 2 3
The order specified is the page numbers being printed. This behavior is similar to selecting the Collate check box in the Print dialog box.
Printing three copies of a three page document with COLLATE set to NO would result in output similar to the following:
1 1 1| 2 2 2| 3 3 3
COLLATE={YES|NO}
YES Collates the pages when output to a printer.
NO Does not collate the pages when output to a printer.
YES
Table A-21 indicates which commands can use the CONTENTAREA keyword.
Table A-21 Commands that can use CONTENTAREA
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use CONTENTAREA to specify the Oracle9iAS Portal Release 1 content area to which report output should be pushed. This keyword is maintained for backward compatibility with Oracle9iAS Portal Release 1; for backward compatibility with Oracle WebDB Release 2.2, see SITENAME. Beginning with OracleAS Portal Release 2, use PAGEGROUP.
CONTENTAREA=name
name The name (internal name) of any valid Oracle9iAS Portal Release 1 content area.
None
Use of this keyword is required to push Oracle Reports output to Oracle9iAS Portal Release 1.
The CONTENTAREA name should be the internal name and not the display name. The internal name is used to uniquely identify the Oracle9iAS Portal Release 1 component instance.
Relevant keywords include CONTENTAREA*, EXPIREDAYS, ITEMTITLE, OUTPUTFOLDER *, OUTPUTPAGE, PAGEGROUP, REPLACEITEM, SITENAME*, STATUSFOLDER*, STATUSPAGE.
* maintained for backward compatibility with Oracle9iAS Portal Release 1 and/or Oracle WebDB Release 2.2.
Table A-22 indicates which commands can use the COPIES keyword.
Table A-22 Commands that can use COPIES
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use COPIES to specify the number of copies of the report output to print.
COPIES=n
n Any valid integer from 1 through 9999 (note that thousands are not expressed with any internal punctuation, e.g., a comma or a decimal point).
Taken from the Initial Value property of the COPIES parameter (the Initial Value was defined in Reports Builder at design time).
This keyword is ignored if DESTYPE is not PRINTER.
If COPIES is left blank on the Runtime Parameter Form, then it defaults to one.
Table A-23 indicates which commands can use the CUSTOMIZE keyword.
Table A-23 Commands that can use CUSTOMIZE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | yes | yes | yes | no |
Use CUSTOMIZE to specify an Oracle Reports XML file to be run against the current report. The XML file contains customizations (for example, changes to the layout or data model) that change the report definition in some way.
CUSTOMIZE=filename.xml | (filename1.xml, filename2.xml, …)
filenamen.xml The names of the files that contain a valid XML report definition, with path information prefixed to the name(s) if necessary. (if the files are not located in a path specified in the REPORTS_PATH registry or SourceDir property for the engine element).
|
Note: For more information on customizing reports at runtime with XML customization files, see Customizing Reports with XML. |
None
Typically, the file extension of an XML report definition is .xml, but it does not have to be when it is used with the CUSTOMIZE keyword.
CUSTOMIZE can be used when running JSP-based Web reports from the command line.
Table A-24 indicates which commands can use the DATEFORMATMASK keyword.
Table A-24 Commands that can use DATEFORMATMASK
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use DATEFORMATMASK to specify how date values display in your delimited report output.
DATEFORMATMASK=mask
mask Any valid date format mask.
None
This keyword can only be used if you have specified DESFORMAT=DELIMITED or DESFORMAT=DELIMITEDDATA.
|
Note: For validDATEFORMATMASK values see the Reports Builder online help topic, "Date and Time Format Mask Syntax."
|
DATEFORMATMASK can be used when running JSP-based Web reports from the command line.
Table A-25 indicates which commands can use the DELAUTH keyword.
Table A-25 Commands that can use DELAUTH
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | yes | yes | no |
Use DELAUTH to delete rwservlet or rwcgi user ID cookies.
http://yourwebserver/reports/rwservlet/delauth[?][server=servername][&authid=username/password]
See Syntax.
None
Table A-26 indicates which commands can use the DELIMITED_HDR keyword.
Table A-26 Commands that can use DELIMITED_HDR
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use DELIMITED_HDR to turn off boilerplate text (such as the report header) when running a report with DESFORMAT=DELIMITED or DESFORMAT=DELIMITEDDATA.
DELIMITED_HDR={YES|NO}
YES Turn off all boilerplate text in the delimited output file.
NO Leave boilerplate text as is in the delimited output file.
YES
This keyword can be used only if you have specified DESFORMAT=DELIMITED or DESFORMAT=DELIMITEDDATA.
Table A-27 indicates which commands can use the DELIMITER keyword.
Table A-27 Commands that can use DELIMITER
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use DELIMITER to specify the character or characters to use to separate the cells in your report output.
DELIMITER=value
value Any alphanumeric character or string of alphanumeric characters, such as:
Table A-28 Valid Values - General
| Values | Description |
|---|---|
,
|
A comma separates each cell |
.
|
A period separates each cell |
Any of these reserved values:
Table A-29 Valid Values - Reserved
| Values | Description |
|---|---|
| tab | A tab separates each cell |
| space | A space separates each cell |
| return | A new line separates each cell |
| none | No delimiter is used |
Table A-30 Valid Values - Escape Sequence based on the ASCII Character set
| Values | Description |
|---|---|
\t
|
A tab separates each cell |
\n
|
A new line separates each cell |
Tab
This keyword can be used only if you have specified DESFORMAT=DELIMITED or DESFORMAT=DELIMITEDDATA.
Table A-31 indicates which commands can use the DESFORMAT keyword.
Table A-31 Commands that can use DESFORMAT
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use DESFORMAT to specify the format for the job output. Use DESFORMAT to specify the printer driver to be used when DESTYPE is FILE and DESNAME=filename.
DESFORMAT=desformat
Any valid destination format not to exceed 1 kilobyte in length. Examples of valid values for this keyword are listed and described in Table A-32.
Table A-32 Valid values for DESFORMAT
| Value | Description |
|---|---|
DELIMITED
|
The report output is sent to a file that can be read by standard spreadsheet utilities, such as Microsoft Excel. If you do not specify a delimiter (via the DELIMITER keyword), the default delimiter is a TAB. See Usage Notes.
|
DELIMITEDDATA
|
Provides the same functionality as DELIMITED, and is used when you have problems running large volume reports with DESFORMAT=DELIMITED. See Usage Notes.
|
HTML
|
This report output is sent to a file that is in HTML format. |
HTMLCSS
|
This report output is sent to a file that includes style sheet extensions. |
PDF
|
This report output is sent to a file that is in PDF format and can be read by a PDF viewer, such as Adobe Acrobat. PDF output is based upon the currently configured printer for your system. The drivers for the currently selected printer are used to produce the output; you must have a printer configured for the machine on which you are running the report. |
POSTSCRIPT
|
This report output is sent to a file that is in PostScript format. |
PRINTER DEFINITION
|
The printer definition to use when formatting the report when DESTYPE=FILE and DESNAME=filename:
If MODE=BITMAP, this is the name of the printer. If MODE=CHARACTER, this is the character-mode printer definition file (. |
RTF
|
The report output is sent to a file that can be read by word processors (such as Microsoft Word). When you open the file in Microsoft Word, you must choose View > Page Layout to view all the graphics and objects in your report. |
XML
|
This report output is saved as an XML file. This report can be opened and read in an XML-supporting browser, or your choice of XML viewing application. |
Taken from the Initial Value property of the DESFORMAT parameter (the Initial Value was defined in Reports Builder at design time). When you run a report via Reports Builder and DESFORMAT is blank or dflt, then the current printer driver (specified in File > Printer ) is used. If a Printer Name has not been selected using the drop down list, then Reports Builder defaults to PostScript.
The value or values for this keyword might be case sensitive, depending on your operating system.
When DESFORMAT=HTML or DESFORMAT=HTMLCSS, spaces are replaced with . This default behavior eliminates alignment issues for number values that are right-aligned. If you do not want spaces replaced with in your HTML and HTMLCSS output, then you must set REPORTS_NO_HTML_SPACE_REPLACE to YES. This removes the functionality of the DELIMITER command line keyword for HTML and HTMLCSS output (DELIMITER is still valid when DESFORMAT=DELIMITED).
DESFORMAT=DELIMITED is not supported in a .dst file. In this case, Oracle Reports displays error:
REP-34305: Invalid keyword setting for the destid='DEST1'
When DESFORMAT=DELIMITEDDATA, the DelimitedData driver runs off the data model and operates in much the same way as the XML driver. Since the driver runs off the data model, any formatting changes defined in the layout are not reflected in the DelimitedData output. You can set the following column properties to alter column names and exclude columns from the DelimitedData output file:
The XML Tag property can be used to enter a column alias.
The Exclude from XML Output property can be used to exclude the column from the DelimitedData output.
The DelimitedData functionality also honors the DELIMITER, CELLWRAPPER, NUMBERFORMATMASK, and DATEFORMATMASK command line options just as the DELIMITED does.
When you open RTF output generated by Oracle Reports in Microsoft Word 95 for Japanese, you may encounter anomalies in the output, such as dashes not appearing correctly. These issues are specific to Microsoft Word 95 and do not occur in Microsoft Word 97 for Japanese.
Table A-33 indicates which commands can use the DESNAME keyword.
Table A-33 Commands that can use DESNAME
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use DESNAME to specify the name of the cache, file, printer, OracleAS Portal, or e-mail ID (or distribution list) to which the report output will be sent.
DESNAME=desname
desname Any valid cache destination, file name, printer name, e-mail ID, or OraclePortal, not to exceed 1K in length. For printer names, you can optionally specify a port. For example:
DESNAME=printer,LPT1:DESNAME=printer,FILE:
Taken from the Initial Value property of the DESNAME parameter (the Initial Value was defined in Reports Builder at design time). If DESTYPE = FILE and DESNAME is an empty string, then it defaults to reportname.lis at runtime.
The value(s) for this keyword might be case sensitive, depending on your operating system.
To send the report output by e-mail, specify the e-mail ID as you do in your e-mail application (any SMTP-compliant application). You can specify multiple user names by separating them with commas, and without spaces. For example:
name,name,name
In some cases, this keyword may be overridden by your operating system.
Table A-34 indicates which commands can use the DEST keyword.
Table A-34 Commands that can use DEST
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | yes | no | no | no |
Use DEST to specify the name(s) of the converted reports or libraries.
DEST={dest_name|(dest_name1, dest_name2, …)|pathname}
dest_name Any valid report/library name or filename, or a list of valid report/library names of filenames enclosed in parentheses and separated by commas (e.g., (qanda,text,dmast)).
If the DEST keyword is not specified, rwconverter uses the following default names:
If DTYPE is PLDFILE, then the DEST default name is source.pld.
If DTYPE is PLLFILE, then the DEST default name is source.pll.
If DTYPE is RDFFILE, then the DEST default name is source.rdf.
If DTYPE is REPFILE, then the DEST default name is source.rep.
If DTYPE is REXFILE, then the DEST default name is source.rex.
If DTYPE is XMLFILE, then the DEST default name is source.xml.
If DTYPE is REGISTER, then the DEST default name is the name of the SQL*Plus script output file (e.g., output.sql).
A list of report/library names of filenames must be enclosed in parentheses with commas separating each entry. For example:
(qanda,test,dmast) or (qanda, test, dmast)
If you have more destination names than there are source names, the extra destination names are ignored. If you have fewer destination names than there are source names, default names will be used after the destination names run out.
The value(s) for the DEST keyword may be operating system-specific.
When DTYPE = REGISTER, multiple destinations are not required. If you list more than one SQL*Plus script file name for DEST, only the first one is recognized. The others are ignored.
Table A-35 indicates which commands can use the DESTINATION keyword.
Table A-35 Commands that can use DESTINATION
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use the DESTINATION keyword to specify 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.
|
DESTINATION=filename.xml
filename.xml The name of an XML file that defines a report or report section distribution.
None
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.
|
Note: For more information about creating advanced distributions, see Chapter 15, " Creating Advanced Distributions". |
Table A-36 indicates which commands can use the DESTYPE keyword.
Table A-36 Commands that can use DESTYPE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use DESTYPE to specify the type of device that will receive the report output. If you have created your own pluggable destination via the Oracle Reports Destination API, this is how the destination you created gets called.
DESTYPE={CACHE|LOCALFILE|FILE|PRINTER|SYSOUT|MAIL|ORACLEPORTAL|FTP|WEBDAV|name_of_pluggable_destination}
Table A-37 lists and describes the valid values for the DESTYPE keyword.
Table A-37 Valid values for the DESTYPE keyword
| Value | Description |
|---|---|
CACHE
|
Sends the output directly to the Reports Server cache. |
LOCALFILE
|
Valid only for rwclient, rwcgi, and rwservlet. Sends the output to a file on the client machine, synchronously or asynchronously.
|
FILE
|
Sends the output to the file on the server named in DESNAME.
|
PRINTER
|
Sends the output to the printer on the server named in DESNAME. You must have a printer that the OracleAS Reports Services can recognize installed and running. |
SYSOUT
|
Valid only for rwcgi. Sends the output to the client machine's default output device and forces a synchronous call.
|
MAIL
|
Sends the output to the mail users specified in DESNAME. You can send mail to any mail system that works with SMTP.
Note: The configuration file |
ORACLEPORTAL
|
Valid for rwservlet, rwcgi, and rwclient.
Sends the output to OracleAS Portal. Relevant keywords include CONTENTAREA*, EXPIREDAYS, ITEMTITLE, OUTPUTFOLDER *, OUTPUTPAGE, PAGEGROUP, REPLACEITEM, SCHEDULE, SITENAME*,STATUSFOLDER*,STATUSPAGE. * maintained for backward compatibility with Oracle9iAS Portal Release 1 and/or Oracle WebDB Release 2.2. |
FTPFoot 1
|
Valid for rwservlet,rwclient,rwcgi,and rwrun. Sends the output to the specified FTP server.
|
WEBDAVFoot 2
|
Valid for rwservlet,rwclient,rwcgi,and rwrun. Sends the output to the specified WebDAV URL so that the report can be published directly.
|
| name_of_pluggable_destination | If you have created your own pluggable destination via the Oracle Reports Destination API, this is what you use to call the destination you created. |
http://otn.oracle.com/products/reports/pluginxchange/content.html)http://otn.oracle.com/products/reports/pluginxchange/content.html)Taken from the Initial Value property of the DESTYPE parameter (the Initial Value was defined in Reports Builder at design time).
With Oracle Reports, DESTYPE values of SCREEN and PREVIEW are no longer valid because the Reports Runtime (rwrun) user interface is obsolete. In Reports Builder (rwbuilder), you can still set the DESTYPE system parameter to SCREEN or PREVIEW to format a report to display screen fonts or printer (preview) fonts in the Reports Builder user interface.
DESTYPE=printer: On Windows the hardware-based left margin is ignored, by default. The printing origin starts from the top left corner (0,0) of the physical paper and not the printable area. This is to facilitate the design of printer hardware-based margin independent reports. Printing reports without hardware-based left margins on Windows You must ensure that your report's layout contains enough margin spacing such that your data falls within the printable area. Margin fields in the Page Setup dialog have been disabled to ensure consistency with OracleAS Reports Services. To revert to the old behavior of including the hardware margin, set the REPORTS_ADD_HWMARGIN environment variable to YES.
DESTYPE=oraclePortal:
The ORACLEPORTAL destination cannot be used with distribution. Instead, you can use DESTYPE=WEBDAV for advanced XML based distribution to OracleAS Portal.
|
Note: Ensure that the OracleAS Portal instance should be WebDAV-enabled. Refer to the OracleAS Portal online help for more information on how to enable WebDAV.For more information on how to use WebDAV for distribution to OracleAS Portal, refer to the Tech note at:
|
The DESTYPE=ORACLEPORTAL destination cannot be used with the rwrun executable as it causes Reports Server to stop responding. Use this destination only with rwservlet, rwclient, or rwcgi.
Before you push Oracle Reports output to Oracle9iAS Portal Release 1 ensure that you have created the following:
A valid OUTPUTPAGE containing at least one item region
A valid PAGEGROUP containing at least one item region
Additionally, you need to edit the Reports Server configuration file as follows:
Uncomment the destype=oraclePortal element.
<destination
destype="oraclePortal"
class="oracle.reports.server.DesOraclePortal">
<!--property name="portalUserid"
value="%PORTAL_DB_USERNAME%/%PORTAL_DB_
PASSWORD%@%PORTAL_DB_TNSNAME%"
confidential="yes"
encrypted="no"/-->
</destination>
|
Note: In Oracle9i Reports 9.0.2, by default, theportalUserid property is uncommented and the connection string in the property points to the infrastructure database. In order to be able to push your reports output to Oracle9iAS Portal Release 1 the portalUserid must remain uncommented.
In Oracle Reports 10g (9.0.4), by default, the |
Substitute the values in the portalUserid property with your OracleAS Portal connection information if you do not want to push an Oracle Reports output to the default Oracle9iAS Portal Release 1 instance.
|
Note: If you do not substitute the values or uncomment thedestype entry, you will get the following error:
|
Running the request is very similar to any other out-of-the-box destinations. For example:
http://your_server:port/reports/rwservlet? report=test.rdf&userid=scott/tiger@repportal&authid=pushportal/trial&destype=oracleportal&desformat=PDF&pagegroup=PORTAL_REPORTS&outputpage=reports_output&itemtitle=pushtoportal&statuspage=result
DESTYPE=FTP: Running the request is very similar to any other out-of-the-box destinations. You need to specify the complete FTP URL location along with the file name. If the FTP server needs an authentication, that also needs to be part of the URL as shown in the following example:
http://your_server:port/reports/rwservlet?report=rep.jsp&destype=FTP&desname=ftp://user:pwd@ftpServer/dir/myreport.pdf&desformat=pdf
In the above example, the DESTYPE is FTP and the DESNAME value is a complete FTP URL location along with the report name myreport.pdf.
To use a proxy server, edit the destination element (configured for FTP out-of-the-box) in the Reports Server configuration file:
<destination destype="ftp" class="oracle.reports.plugin.destination.ftp.DesFTP"> <!--property name="proxy" value="proxyinfo.xml"/--> </destination>
To specify the proxy information, edit the proxyinfo.xml file available in the default location (ORACLE_HOME\reports\conf). Uncomment the previous property entry and specify the complete path to the proxyinfo.xml file as the value.
For example, if your ORACLE_HOME is located in D:\9iAS, then the default location for proxyinfo.xml can be specified as:
<destination destype="ftp" class="oracle.reports.plugin.destination.ftp.DesFTP"> <property name="proxy" value="D:\\9iAS\\reports\\conf\\proxyinfo.xml"/>
</destination>
DESTYPE=WEBDAV: Running the request is very similar to any other out-of-the-box destinations. You need to specify the complete WEBDAV URL location along with the file name. If the WEBDAV server needs an authentication, that also needs to be part of the URL as shown in the following example:
http://your_server:port/reports/rwservlet?report=rep.jsp&destype=WebDAV&desname=http://user:pwd@webdavServer/myreport.pdf&desformat=pdf
In the above example, the DESTYPE is WEBDAV and the DESNAME value is a complete WEBDAV URL location along with the report name myreport.pdf.
To use a proxy server, edit the destination element (configured for WEBDAV out-of-the-box) in the Reports Server configuration file:
<destination destype="WebDav" class="oracle.reports.plugin.destination.webdav.DesWebDAV"> <!--property name="proxy" value="proxyinfo.xml"/--> </destination>
To specify the proxy information, edit the proxyinfo.xml file available in the default location (ORACLE_HOME\reports\conf). Uncomment the property entry above and specify the complete path to the proxyinfo.xml file as the value.
For example, if your ORACLE_HOME is located in D:\9iAS, then the default location for proxyinfo.xml can be specified as:
<destination destype="WebDav" class="oracle.reports.plugin.destination.webdav.DesWebDAV"> <property name="proxy" value="D:\\9iAS\\reports\\conf\\proxyinfo.xml"/
</destination>
Table A-38 indicates which commands can use the DISTRIBUTE keyword.
Table A-38 Commands that can use DISTRIBUTE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use DISTRIBUTE to enable or disable distributing the report output to multiple destinations, as specified by the distribution list defined in the report distribution definition (defined in Reports Builder at design time) or a distribution XML file.
DISTRIBUTE={YES|NO}
YES Distribute the report to the distribution list.
NO Ignore the distribution list and output the report as specified by the DESNAME, DESTYPE, and DESFORMAT parameters. This is fundamentally a debug mode to allow running a report set up for distribution without actually executing the distribution.
NO
The DISTRIBUTE keyword works in close association with the DESTINATION keyword. DISTRIBUTE must have a value of YES for the DESTINATION keyword to take effect. If both these keywords are specified, DESTYPE, DESNAME, and DESFORMAT are ignored if they are also specified.
|
Note: For more information about creating advanced distributions, see Creating Advanced Distributions. |
Table A-39 indicates which commands can use the DTYPE keyword.
Table A-39 Commands that can use DTYPE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | yes | no | no | no |
Use DTYPE to specify the format to which to convert the reports or libraries.
DTYPE={PLDFILE|PLLFILE|RDFFILE|REPFILE|REXFILE|TDFFILE|XMLFILE|JSPFILE|REGISTER}
The following values apply:
PLDFILE The converted PL/SQL libraries will be stored in files in ASCII format.
PLLFILE The converted PL/SQL libraries will be stored in files containing source code and P-code (compiled PL/SQL).
RDFFILE The converted report(s) will be stored in one or more report definition files (files with the .rdf extension).
REPFILE The converted report(s) will be stored in one or more binary runfiles (files with the .rep extension).
REXFILE The converted report(s) will be stored in one or more text files (files with the .rex extension).
TDFFILE The report will be converted to a template file (files with the .tdf extension).
XMLFILE The converted report(s) will be stored in an XML file (files with the .xml extension).
JSPFILE The converted report(s) will be stored in a JSP file (files with the .jsp extension).
REGISTER A script file is created to load each report specified by SOURCE into OracleAS Portal with the RWWWVREG.REGISTER_REPORT function. Each load function is populated with the necessary information to register the report in OracleAS Portal. By running the resulting script file in SQL*Plus against the Oracle Application Server DB Provider, you can batch register multiple reports in OracleAS Portal.
REPFILE
When you try to create a .rep file using rwconverter, the source report's PL/SQL is automatically compiled. If there are compile errors, an error message is displayed and the .rep file is not created. To avoid this problem, make sure you compile the source report's PL/SQL using File > Administration > Compile Report in Reports Builder, before you try to create a .rep file.
When converting a report to a template, only objects in the report's header and trailer sections and the margin area are used in the template. Objects in the main section are ignored.
Table A-40 indicates which commands can use the DUNIT keyword.
Table A-40 Commands that can use DUNIT
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | yes | no | no | no |
Use DUNIT to specify the destination unit of measurement to which the report should be converted. If specified, DUNIT must differ from the SOURCE report's unit of measurement. If unspecified, the SOURCE report's unit of measurement is used.
DUNIT={CENTIMETER|CHARACTER|INCH|POINT}
CENTIMETER The converted reports will initially use centimeters as the unit of measurement
CHARACTER The converted reports will initially use characters as the unit of measurement.
INCH The converted reports will initially use inches as the unit of measurement.
POINT The converted reports will initially use points as the unit of measurement
Null (the report’s unit of measurement is used).
Table A-41 indicates which command can use the ENGINERESPONSETIMEOUT keyword.
Table A-41 Commands that can use ENGINERESPONSETIMEOUT
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | no | no | no | yes | yes | no |
Use ENGINERESPONSETIMEOUT to specify the maximum amount of time (in minutes) for an engine to update the status of the job while running a report in your environment. If it takes longer than this amount of time to update the job status for some reason (e.g., due to the engine hanging or a long blocking SQL query), then Reports Server terminates the job.
This parameter overrides the engineResponseTimeOut attribute of the engine element in the Reports Server configuration file. Refer to engine for further information about the engine element.
ENGINERESPONSETIMEOUT=number
number A number of minutes (e.g., 5).
None
Table A-42 indicates which command can use the EXPIRATION keyword.
Table A-42 Commands that can use EXPIRATION
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | no | no | no | yes | yes | no |
Use EXPIRATION to define how long report output can exist in cache before it is deleted.
See Reusing Report Output from Cache for more information on duplicate job detection.
EXPIRATION=time_string
time_string Is in one of two formats:
n{unit}, for a number with an optional unit. The unit can be minute(s), hour(s), or day(s). The default unit is minute(s) if no unit is specified.
{Mon DD, YYYY} hh:mi:ss am|pm {timezone}, for a date/time format. Date information is optional. If it isn’t specified, today is assumed. Time zone is also optional. If it isn’t specified, the Reports Server’s timezone is used. The date/time is always in a US locale. This format is the same as defined in the Java DateFormat.MEDIUM type.
None
Table A-43 indicates which commands can use the EXPIREDAYS keyword.
Table A-43 Commands that can use EXPIREDAYS
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | yes | yes | no |
Use EXPIREDAYS to specify the number of days after which the Oracle Reports output pushed to Oracle9iAS Portal Release 1 should be expired.
EXPIREDAYS={PERMANENT|1 day|2 days|3 days|7 days|14 days|31 days|60 days|90 days|120 days}
PERMANENT Does not expire.
ndaysExpires after n days.
None
Use of this keyword is optional to push Oracle Reports output to Oracle9iAS Portal Release 1.
Relevant keywords include CONTENTAREA*, EXPIREDAYS, ITEMTITLE, OUTPUTFOLDER *, OUTPUTPAGE, PAGEGROUP, REPLACEITEM, SITENAME*, STATUSFOLDER*, STATUSPAGE.
* maintained for backward compatibility with Oracle9iAS Portal Release 1 and/or Oracle WebDB Release 2.2.
Table A-44 indicates which commands can use the EXPRESS_SERVER keyword.
Table A-44 Commands that can use EXPRESS_SERVER
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | yes | yes | no |
Use EXPRESS_SERVER to specify the Express Server to which you want to connect.
EXPRESS_SERVER="server=server/domain=domain/user=userid/password=passwd"
EXPRESS_SERVER="server=server/domain=domain/user=userid/password=passwd/ramuser=ramuserid/rampassword=rampasswd/ramexpressid=ramexpid/ramserverscript=ramsscript/rammasterdb=ramdb/ramconnecttype=ramconn"
A valid connect string enclosed in double quotes (") where:
Table A-45 Connect String Values
| Values | Description |
|---|---|
server
|
The Express Server string (for example, ncacn_ip_tcp:olap2-pc/sl=x/st=x/ct=x/sv=x/). See below for more details on the server string.
|
domain
|
The Express Server domain. |
user
|
The user ID to log on to the Express Server. |
password
|
The password for the user ID. |
ramuser
|
The user ID to log into the RDBMS. |
rampassword
|
The password for the RDBMS. |
ramexpressid
|
The Oracle Sales Analyzer database user ID. This is required for Oracle Sales Analyzer databases only. |
ramserverscript
|
The complete file name (including the full path) of the remote database configuration file (RDC) on the server. This file specifies information such as the location of code and data databases. Using UNC (Universal Naming Convention) syntax allows multiple users to use the same connection to access the data without having to map the same drive letter to that location. UNC syntax is \\ServerName\ShareName\ followed by any subfolders or files.
|
rammasterdb
|
The name of the Relational Access Manager database to attach initially. You must specify only the database file name. This database must reside in a directory that is included in the path list in ServerDBPath for Express Server. You can check the ServerDBPath in the File I/O tab of the Express Configuration Manager dialog box. |
ramconnecttype
|
The type of Express connection. Always specify 0 for a direct connection. |
The server value contains four parameters that correspond to settings that are made in the Oracle Express Connection Editor and stored in connection (XCF) files. All four parameters are required and can be specified in any order. Table A-46 describes the parameters and their settings:
Table A-46 Settings for parameters used with EXPRESS_SERVER’s server value
| Parameter | Description | Setting |
|---|---|---|
| sl | Server Login | -2: Host (Domain Login)
-1: Host (Server Login) 0: No authentication required 1: Host (Domain Login) and Connect security 2: Host (Domain Login) and Call security 3: Host (Domain Login) and Packet security 4: Host (Domain Login) and Integrity security 5: Host (Domain Login) and Privacy security Note: Windows NT uses all the settings. UNIX systems use only the settings 0, -1, and -2. See the Express Connection Editor Help system for information on these settings. |
| st | Server Type | :1: Express Server |
| ct | Connection Type | 0: Express connection |
| sv | Server Version | 1: Express 6.2 or greater |
None
You can have spaces in the string if necessary (for example, if the user ID is John Smith) because the entire string is enclosed in quotes.
If a forward slash (/) is required in the string, then you must use another forward slash as an escape character. For example, if the domain were tools or reports, then the command line should be as follows:
EXPRESS_SERVER="server=ncacn_ip_tcp:olap2-pc/sl=0/st=1/ct=0/sv=1/domain=tools//reports"
You can use single quotes within the string. They are not treated specially because the entire string is enclosed in double quotes.
Table A-47 indicates which commands can use the FORMSIZE keyword.
Table A-47 Commands that can use FORMSIZE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | yes | no | no | no |
Use FORMSIZE to specify the size of the Runtime Parameter Form for the converted report in terms of the destination unit of measurement (specified using DUNIT).
FORMSIZE=width x height
width/height Any valid values in the specified unit of measurement.
None
Table A-48 indicates which commands can use the FROM keyword.
Table A-48 Commands that can use FROM
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use FROM to specify the e-mail address of the sender of an e-mail.
FROM=emailid
emailid Any valid e-mail address in the form someone@foo.com.
loginid@machine_name
Related keywords include BCC,CC, FROM, REPLYTOSUBJECT, and . Note that DESNAME is used to specify the main recipient(s) of the e-mail.
Table A-49 indicates which commands can use the GETJOBID keyword.
Table A-49 Commands that can use GETJOBID
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | yes | yes | no |
Use GETJOBID to retrieve the result output of the Reports Server job with job ID n.
http://yourwebserver/reports/rwservlet/getjobidn[?][server=server_name][&authid=username/password]
See Syntax.
None
Table A-50 indicates which commands can use the GETSERVERINFO keyword.
Table A-50 Commands that can use GETSERVERINFO
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | yes | no | no |
Use GETSERVERINFO to display Reports Server information. You can choose the format (HTML or XML) in which the information is returned via &statusformat.
http://yourwebserver/reports/rwservlet/getserverinfo[?][server=server_name][&authid=username/password][&statusformat={html|xml}]
See Syntax.
None
Table A-51 indicates which commands can use the HELP keyword.
Table A-51 Commands that can use HELP
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | yes | yes | no |
Use HELP to display a help topic that lists the keywords you can use with the rwservlet command. For example:
http://yourwebserver/reports/rwservlet/help?command=keyword
http://yourwebserver/reports/rwservlet/help
or
http://yourwebserver/reports/rwservlet/help?command=keyword
See Syntax.
None
Table A-52 indicates which commands can use the INSTALL keyword
Table A-52 Commands that can use INSTALL
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | no | no | yes |
Use INSTALL to configure an instance of the Reports Server on Microsoft Windows as a service. This keyword does not work on UNIX platforms.
INSTALLreports_server_name
reports_server_name A valid name for the Reports Server instance.
None
If you use the AUTOSTART keyword with INSTALL, the Reports Server service will be started automatically after installation and whenever the system is restarted.
If you use BATCH=YES with INSTALL, then none of the prompts and dialogs that normally display during installation will appear.
Table A-53 indicates which commands can use the ITEMTITLE keyword.
Table A-53 Commands that can use ITEMTITLE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use ITEMTITLE to specify the display name Oracle9iAS Portal Release 1 should use for Oracle Reports output. The name will display in Oracle9iAS Portal Release 1 and link to Oracle Reports output.
ITEMTITLE=title
title Any text. Put quotation marks around the value if the value has any character spaces in it or you are specifying the option in the cgicmd.dat file.
The report file name
Use of this keyword is optional to push
Oracle Reports output to Oracle9iAS Portal Release 1.
Relevant keywords include CONTENTAREA*, EXPIREDAYS, ITEMTITLE, OUTPUTFOLDER *, OUTPUTPAGE, PAGEGROUP, REPLACEITEM, SITENAME*, STATUSFOLDER*, STATUSPAGE.
* maintained for backward compatibility with Oracle9iAS Portal Release 1 and/or Oracle WebDB Release 2.2.
Table A-54 indicates which commands can use the JOBNAME keyword.
Table A-54 Commands that can use JOBNAME
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | no | no | no | yes | yes | no |
Use JOBNAME to specify the name for a job to appear in Reports Queue Manager. It is treated as a comment and has nothing to do with running the job. If JOBNAME is not specified, then Reports Queue Manager shows the report name as the job name.
JOBNAME=string
Any job name.
None
JOBNAME can be used when running JSP-based Web reports from the command line.
Table A-55 indicates which commands can use the JOBTYPE keyword.
Table A-55 Commands that can use JOBTYPE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | no | no | no | yes | yes | no |
Use JOBTYPE to specify the type of job to be processed by the server. You can enter any type of job, as long as the Reports Server has an engine to process it.
JOBTYPE=jobtype
jobtype A job for which the Reports Server has an engine.
REPORT
Table A-56 indicates which commands can use the JVMOPTIONS keyword.
Table A-56 Commands that can use JVMOPTIONS
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | yes | yes | yes | no | no | yes |
Use JVMOPTIONS to set options for either Reports Runtime, Reports Builder, Reports Converter, or Reports Server's Java Virtual Machine (JVM). For example, you could use the following command line to start the Reports Server with a 512Mb heap space:
rwserver server= servername jvmoptions=-Xmx512M
Multiple options can be passed, in which case the options must be enclosed in quotes:
rwserver server=servername jvmoptions="-Xmx256M -Xms=128M"
You could also use the following command line to start Reports Builder with a 512Mb heap space:
rwbuilder jvmoptions=-Xmx512M
JVMOPTIONS={options in the server’s JVM}
rwbuilder jvmoptions="-Xmx256M -Xms=128M"
Table A-57 indicates which commands can use the KILLJOBID keyword.
Table A-57 Commands that can use KILLJOBID
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | yes | yes | no |
Use KILLJOBID to kill a Reports Server job with the specified job ID n.
http://yourwebserver/reports/rwservlet/killjobidn[?][server=server_name][&authid=username/password][&statusformat={html|xml|xmldtd}]
See Syntax.
None
This keyword is a command that does not require a value; i.e., commands are entered by themselves without a corresponding value.
The job must be current (enqueued or scheduled).
Use SHOWJOBS to see the current list of jobs. The STATUSFORMAT can be set to html (default), xml , or xmldtd to return status in that format. The status information is generated in html, xml, or xmldtd (with an internal dtd subset).
Related keywords are SHOWJOBS,SERVER, AUTHID, and STATUSFORMAT.
The STATUSFORMAT parameter is only valid for rwservlet, not for rwcgi.
Table A-58 indicates which commands can use the LONGCHUNK keyword.
Table A-58 Commands that can use LONGCHUNK
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | yes | yes | no |
LONGCHUNK is the size (in kilobytes) of the increments in which Reports Builder retrieves a LONG column value. When retrieving a LONG value, you might want to retrieve it in increments rather than all at once because of memory size restrictions. LONGCHUNK applies only to Oracle databases.
LONGCHUNK=n
n A number from 1 through 9999 (note that thousands are not expressed with any internal punctuation, e.g., a comma or a decimal point). For some operating systems, the upper limit might be lower.
10
LONGCHUNK can be used when running JSP-based Web reports from the command line.
Table A-59 indicates which commands can use the MIMETYPE keyword.
Table A-59 Commands that can use MIMETYPE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | yes | yes | no |
Use MIMETYPE to override the MIME type assigned by the Reports Server when it returns output for the Web. In most cases, the default MIME type is correct, but, in cases where it is not, you can override it with this keyword. For example:
mimetype=application/vnd.ms-excel
MIMETYPE=string
string A valid MIME type specification.
None
OracleAS Reports Services does not verify the string you enter for MIMETYPE. You must ensure yourself that the string is correct for the returned report output.
Table A-60 indicates which commands can use the MODE keyword.
Table A-60 Commands that can use MODE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use MODE to specify whether to run the report in character mode or bitmap. This enables you to run a character-mode report from Reports Builder.
MODE={BITMAP|CHARACTER|DEFAULT}
The following values apply:
BITMAP Run the report in bitmap mode.
DEFAULT Run the report in the mode of the current executable being used.
CHARACTER On Windows - the Reports Builder ASCII driver will be used to produce editable ASCII output.
DEFAULT
Table A-61 indicates which commands can use the MODULE|REPORT keyword.
Table A-61 Commands that can use MODULE|REPORT
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | yes | yes | no |
Use MODULE or REPORT to specify the name of the report to run.
REPORT|MODULE=runfile
runfile Any valid runfile (that is, a file with an extension of .rep,.rdf,.jsp, or .xml).
None
If you specify a character-mode report, Reports Builder displays a warning, then opens the report using a page size of 8.5" x 11" and a form size of 7" x 6".
To run the report (e.g., display it in the Paper Design View), it must be a complete report definition (i.e., contain its own data model and layout definition). You cannot run a partial report definition.
An XML report definition must have an .xml file extension when specified with the MODULE|REPORT keyword.
If you do not enter a file extension, the executable searches first for a file with extension .rep, then extension .rdf, then .jsp, and then no extension, using the file path search order to find the file.
Table A-62 indicates which commands can use the NONBLOCKSQL keyword.
Table A-62 Commands that can use NONBLOCKSQL
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | yes | yes | no |
Use NONBLOCKSQL to specify whether to allow other programs to execute while data is fetched from the database.
NONBLOCKSQL={YES|NO}
YES Other programs can execute while data is being fetched.
NO Other programs cannot execute while data is being fetched.
YES
NONBLOCKSQL can be used when running JSP-based Web reports from the command line.
Table A-63 indicates which commands can use the NOTIFYFAILURE keyword.
Table A-63 Commands that can use NOTIFYFAILURE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use NOTIFYFAILURE to specify the recipient(s) of a notification e-mail should a report request fail. Use this keyword when you configure your Reports Server to use the notification class. For more information, see the notification discussion in Configuring OracleAS Reports Services.
|
Note: Refer to notificationfor more information on thesender property. This property rectifies the issue faced with some SMTP servers on validating the domain name.
|
NOTIFYFAILURE=emailid|(emailid,emailid,...)
emailid A valid e-mail address in the form someone@foo.com.
None
The default notification e-mail templates that are used for the body of the notification e-mail are included with your installation of Oracle Application Server. The NOTIFYFAILURE template is named failnote.txt, and is located at ORACLE_HOME\reports\template.
NOTIFYFAILURE can be used when running JSP-based Web reports from the command line.
Table A-64 indicates which commands can use the NOTIFYSUCCESS keyword.
Table A-64 Commands that can use NOTIFYSUCCESS
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use NOTIFYSUCCESS to specify the recipient(s) of a notification e-mail should a report request succeed. Use this keyword when you configure your Reports Server to use the notification class. For more information, see the notification discussion in Configuring OracleAS Reports Services.
|
Note: Refer to the notificationfor more information on thesender property. This property rectifies the issue faced with some SMTP servers on validating the domain name.
|
NOTIFYSUCCESS=emailid|(emailid,emailid,...)
emailid A valid e-mail address in the form someone@foo.com.
None
The default notification e-mail templates that are used for the body of the notification e-mail are included with your installation of Oracle Application Server. The NOTIFYSUCCESS template is named succnote.txt, and is located at ORACLE_HOME\reports\template.
NOTIFYSUCCESS can be used when running JSP-based Web reports from the command line.
Table A-65 indicates which commands can use the NUMBERFORMATMASK keyword.
Table A-65 Commands that can use NUMBERFORMATMASK
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use NUMBERFORMATMASK to specify how number values display in your delimited report output.
NUMBERFORMATMASK=mask
Any valid number format mask.
None
This keyword can only be used if you have specified DESFORMAT=DELIMITED or DESFORMAT=DELIMITEDDATA.
|
Note: For validNUMBERFORMATMASK values see the Reports Builder online help topic, "Number Format Mask Syntax."
|
NUMBERFORMATMASK can be used when running JSP-based Web reports from the command line.
Table A-66 indicates which commands can user the OLAP_CON keyword.
Table A-66 Commands that can use OLAP_CON
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | yes | yes | no |
OLAP_CON specifies the Oracle OLAP (on-line analytical processing) connection string to connect to a database that contains multidimensional Oracle OLAP data.
OLAP_CON=userid/password/hostname/SID/portnumber
A valid OLAP connection string where:
userid The user ID for connecting to Oracle OLAP.
password The password for the user ID.
hostname The host name for the database.
SID The system identifier (SID) for connecting to the database.
portnumber The port number for connecting to the database.
For example:
OLAP_Con="user1/secret1/mypc.us.oracle.com/mySID/9201
Table A-67 indicates which commands can use the ONFAILURE keyword.
Table A-67 Commands that can use ONFAILURE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | yes | yes | no |
Use ONFAILURE to specify whether you want a COMMIT or ROLLBACK performed if an error occurs and the report fails to complete.
ONFAILURE={COMMIT|ROLLBACK|NOACTION}
COMMIT Perform a COMMIT if the report fails.
ROLLBACK Perform a ROLLBACK if the report fails.
NOACTION Do nothing if the report fails.
ROLLBACK, if a USERID is provided.
NOACTION, if called from an external source (for example, OracleAS Forms Services) with no USERID provided.
The COMMIT or ROLLBACK for ONFAILURE is performed after the report fails. Other COMMITs and ROLLBACKs can occur prior to this one. For more information, see the READONLY command.
ONFAILURE can be used when running JSP-based Web reports from the command line.
Table A-68 indicates which commands can use the ONSUCCESS keyword.
Table A-68 Commands that can use ONSUCCESS
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | yes | yes | no |
Use ONSUCCESS to specify that either a COMMIT or ROLLBACK should be performed when a report is finished running.
ONSUCCESS={COMMIT|ROLLBACK|NOACTION}
COMMIT Perform a COMMIT when a report is done.
ROLLBACK Perform a ROLLBACK when a report is done.
NOACTION Do nothing when a report is done.
COMMIT, if a USERID is provided.
NOACTION, if called from an external source (for example, OracleAS Forms Services) with no USERID provided.
The COMMIT or ROLLBACK for ONSUCCESS is performed after the after-report trigger fires. Other COMMITs and ROLLBACKs can occur prior to this one. For more information, see the READONLY command.
ONSUCCESS can be used when running JSP-based Web reports from the command line.
Table A-69 indicates which commands can use the ORIENTATION keyword.
Table A-69 Commands that can use ORIENTATION
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
ORIENTATION controls the direction in which the pages of the report will print.
ORIENTATION={DEFAULT|LANDSCAPE|PORTRAIT}
DEFAULT Use the current printer setting for orientation.
LANDSCAPE Landscape orientation (long side at top and bottom).
PORTRAIT Portrait orientation (short side at top and bottom).
DEFAULT
If ORIENTATION=LANDSCAPE for a character mode report, then you must ensure that your printer definition file contains a landscape clause.
Not supported when output to a PCL printer on Motif.
Table A-70 indicates which commands can use the OUTPUTFOLDER keyword.
Table A-70 Commands that can use OUTPUTFOLDER
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use OUTPUTFOLDER to specify the name of the Oracle WebDB Release 2.2 or OracleAS Portal folder to push Oracle Reports output. This keyword is maintained for backward compatibility with Oracle WebDB Release 2.2 and Oracle9iAS Portal Release 1. Beginning with OracleAS Portal 10g (9.0.4), use OUTPUTPAGE.
OUTPUTFOLDER=folder
folder Any valid folder name (internal name) used in Oracle WebDB Release 2.2 or Oracle9iAS Portal Release 1.
Oracle_Reports_Output
The value for this keyword is case sensitive.
Use of this keyword is optional to push Oracle Reports output to Oracle WebDB Release 2.2 or Oracle9iAS Portal Release 1.
Relevant keywords include CONTENTAREA*, EXPIREDAYS, ITEMTITLE, OUTPUTFOLDER *, OUTPUTPAGE, PAGEGROUP, REPLACEITEM, SITENAME*, STATUSFOLDER*, STATUSPAGE.
* maintained for backward compatibility with Oracle9iAS Portal Release 1 and/or Oracle WebDB Release 2.2.
Table A-71 indicates which commands can use the OUTPUTIMAGEFORMAT keyword.
Table A-71 Commands that can use OUTPUTIMAGEFORMAT
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | yes | yes | no |
Use OUTPUTIMAGEFORMAT to choose the format for images in your report output.
OUTPUTIMAGEFORMAT={PNG|JPEG|JPG|GIF|BMP}
PNG,JPEG,JPG Supported image formats when DESFORMAT value is PDF, HTML, HTMLCSS, or RTF
GIF Supported image format when DESFORMAT value is PDF, HTML, or HTMLCSS
BMP Supported image formats when DESFORMAT value is RTF
This command line keyword overrides the setting of the REPORTS_OUTPUTIMAGEFORMAT environment variable.
This command line keyword is not supported if the REPORTS_DEFAULT_DISPLAY environment variable is explicitly set to NO (default is YES). In this case, image rendering defaults to GIF for HTML, HTMLCSS, and PDF output, and BMP for RTF output.
You must ensure the format that you specify matches the output type. For example, BMP only works for RTF output. It will not work for HTML, HTMLCSS or PDF output.
The following command lines generate PNG images with HTML output:
rwclient server=my_rep_server report=images.rdf destype=file desformat=html desname=images.html userid=user_id outputimageformat=PNG
rwrun report=images.rdf destype=file desformat=html desname=images.html userid=user_id outputimageformat=PNG
Similarly when DESFORMAT=pdf, images are embedded in PNG format in the generated PDF document.
An error is displayed if an invalid value is specified for the OUTPUTIMAGEFORMAT. The following command lines generate an error message:
rwclient server=my_rep_server report=images.rdf destype=file desformat=html desname=images.html userid=user_id outputimageformat=ABCD
rwrun report=images.rdf destype=file desformat=html desname=images.html userid=user_id outputimageformat=ABCD
The invalid image format ABCD generates the following error message:
REP-35000: The image output format specified is not supported.
Table A-72 indicates which commands can use the OUTPUTPAGE keyword.
Table A-72 Commands that can use OUTPUTPAGE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use OUTPUTPAGE to specify the name of the Oracle Reports page to push a report output information to. For backward compatibility with earlier versions (Oracle WebDB Release 2.2 and Oracle9iAS Portal Release 1), see OUTPUTFOLDER .
OUTPUTPAGE=page
page Any valid page name (internal name) used in Oracle9iAS Portal Release 1.
Oracle_Reports_Output
Use of this keyword is optional to push Oracle Reports output to Oracle9iAS Portal Release 1:
If you do not specify an output page, OracleAS Portal will create a default page named Oracle_Reports_Output.
If you specify an output page, use the internal name and not the display name. The internal name is used to uniquely identify the OracleAS Portal component instance.
The value for this keyword is case sensitive.
The page should contain at least one item region when used with DESTYPE=ORACLEPORTAL.
Relevant keywords include CONTENTAREA*, EXPIREDAYS, ITEMTITLE, OUTPUTFOLDER *, OUTPUTPAGE, PAGEGROUP, REPLACEITEM, SITENAME*, STATUSFOLDER*, STATUSPAGE.
* maintained for backward compatibility with Oracle9iAS Portal Release 1 and/or Oracle WebDB Release 2.2.
Table A-73 indicates which commands can use the OVERWRITE keyword.
Table A-73 Commands that can use OVERWRITE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | yes | no | no | no |
Use OVERWRITE to specify whether to overwrite existing files with the converted files.
OVERWRITE={YES|NO|PROMPT}
YES Automatically overwrite any existing files of the same name.
NO Do not to convert reports if there are existing files of the same name and display a warning message
PROMPT Prompt you before overwriting any existing files.
NO
Table A-74 indicates which commands can use the P_AVAILABILITY keyword.
Table A-74 Commands that can use P_AVAILABILITY
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | yes | no | no | no |
Use P_AVAILABILITY to specify the name of the availability calendar that determines when the reports specified will be available for processing. This keyword is only used when DTYPE=REGISTER.
P_AVAILABILITY=calendar_name
calendar_name Any valid availability calendar name.
None
The availability calendar must exist in OracleAS Portal before running the SQL*PLUS script. If it does not, an invalid package may be created.
Table A-75 indicates which commands can use the P_DESCRIPTION keyword.
Table A-75 Commands that can use P_DESCRIPTION
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | yes | no | no | no |
Use P_DESCRIPTION to specify the text that provides additional information about the report. This keyword is only used when DTYPE=REGISTER.
P_DESCRIPTON=description_text
description_textAny text string.
None
Table A-76 indicates which commands can use the P_FORMATS keyword.
Table A-76 Commands that can use P_FORMATS
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | yes | no | no | no |
Use P_FORMATS to specify the allowable destination formats for the specified reports. This keyword is only used when DTYPE=REGISTER.
P_FORMATS=destination_format|(destination_format1,destination_format2,...)
destination_format Any valid destination format (e.g., HTML), or a list of valid destination formats enclosed by parentheses with a comma separating the names (e.g., HTMLCSS,PDF,RTF).
None
Table A-77 indicates which commands can use the P_NAME keyword.
Table A-77 Commands that can use P_NAME
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | yes | no | no | no |
Use P_NAME to specify the report name displayed in OracleAS Portal. This keyword is only used when DTYPE=REGISTER.
P_NAME=report_name
report_name Any report name.
If P_NAME is not specified, the PL/SQL function is populated with the report definition file name.
If P_NAME is not specified, the PL/SQL function is populated with the report definition file name.
Specify P_NAME only when you want to use the same report name for each report definition file being registered in OracleAS Portal. This option is typically left blank.
The report name cannot be prefaced with numeric characters (e.g., 401K_ report is an invalid file name and my_401K_report is valid).
Table A-78 indicates which commands can use the P_OWNER keyword.
Table A-78 Commands that can use P_OWNER
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | yes | no | no | no |
Use P_OWNER to specify the OracleAS Portal DB Provider that owns a report's package, which is created when the report definition files are registered. This keyword is only used when DTYPE=REGISTER.
P_OWNER=portal_dbprovider
portal_dbprovider Any valid OracleAS Portal DB Provider name.
The name of the OracleAS Portal DB Provider to which you are connected when you run the SQL*PLUS script file.
Table A-79 indicates the commands that can use the P_PFORMTEMPLATE keyword.
Table A-79 Commands that can use P_PFORMTEMPLATE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | yes | no | no | no |
Use P_PFORMTEMPLATE to specify the name of the OracleAS Portal template that determines the style of the Runtime Parameter Form. This keyword is only used when DTYPE=REGISTER.
P_PFORMTEMPLATE=template_name
template_name Any valid OracleAS Portal template name.
None
Table A-80 indicates the commands that can use the P_PRINTERS keyword.
Table A-80 Commands that can use P_PRINTERS
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | yes | no | no | no |
Use P_PRINTERS to specify the allowable printers for the specified reports. This keyword is only used when DTYPE=REGISTER.
P_PRINTERS=printer_name
printer_name Any valid printer (e.g., PRT1), or a list of valid printers enclosed by parentheses with a comma separating the names (e.g., (PRT1,PRT2,PRT3)).
None
Access to the printer(s) should already exist in OracleAS Portal before running the SQL*Plus script.
Table A-81 indicates which commands can use the P_PRIVILEGE keyword.
Table A-81 Commands that can use P_PRIVILEGE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | yes | no | no | no |
Use P_PRIVILEGE to specify the users or roles who have access privileges to run the specified reports. This keyword is only used when DTYPE=REGISTER.
P_PRIVILEGE=user_name
user_name Any user name or role that OracleAS Portal can recognize (e.g., SCOTT), or a list of user names or roles enclosed by parentheses with a comma separating the names (e.g., (SCOTT,JABERS,PMARTIN)).
None
Table A-82 indicates which commands can use the P_SERVERS keyword.
Table A-82 Commands that can use P_SERVERS
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | yes | no | no | no |
Use P_SERVERS to specify the names of the restricted Reports Servers that can run the report. This keyword is only used when DTYPE=REGISTER.
P_SERVERS=tnsname
tnsname Any valid TNS name of the Reports Server (e.g., repserver), or a list of valid Reports Server TNS names enclosed by parentheses with a comma separating the names (e.g., repserver, acct_server, sales_server).
None
Access to the Reports Server(s) should already exist in OracleAS Portal.
Table A-83 indicates the commands that can use the P_TRIGGERS keyword.
Table A-83 Commands that can use P_TRIGGER
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | yes | no | no | no |
Use P_TRIGGER to specify the PL/SQL function that is executed when parameter values are specified on the command line and when users accept the Runtime Parameter Form. The function must return a boolean value (TRUE or FALSE). For example:
P_TRIGGER=Is begin IF UPPER(DESTYPE) = 'PRINTER' AND EMPNAME = 'SMITH' THEN RETURN(TRUE); ELSE RETURN(FALSE); END IF; end;
This keyword is only used when DTYPE=REGISTER.
P_TRIGGER=plsql_function
plsql_function Any valid PL/SQL function that returns a boolean value.
None
Table A-84 indicates which commands can use the P_TYPES keyword.
Table A-84 Commands that can use P_TYPES
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | yes | no | no | no |
Use P_TYPES to specify the allowable destination types for the specified reports. This keyword is only used when DTYPE=REGISTER.
P_TYPES=destination_type
destination_type Any valid destination type (e.g., CACHE), or a list of valid destination types enclosed by parentheses with a comma separating the names (e.g., CACHE,MAIL,PRINTER).
None
Table A-85 indicates which commands can use the PAGEGROUP keyword.
Table A-85 Commands that can use PAGEGROUP
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use PAGEGROUP to specify the name of the Oracle9iAS Portal Release 1 page group to which report output should be pushed. For backward compatibility with earlier versions, see SITENAME (for Oracle WebDB Release 2.2) and CONTENTAREA (for Oracle9iAS Portal Release 1). The page group must be created in Oracle9iAS Portal Release 1 before you can use this keyword.
PAGEGROUP=pagegroup
pagegroup Any valid page group name (internal name) used in Oracle9iAS Portal Release 1.
None
Use of this keyword is required to push Oracle Reports output to Oracle9iAS Portal Release 1.
The page group name should be the internal name and not the display name. The internal name is used to uniquely identify the Oracle9iAS Portal Release 1 page instance.
Relevant keywords include CONTENTAREA*, EXPIREDAYS, ITEMTITLE, OUTPUTFOLDER *, OUTPUTPAGE, PAGEGROUP, REPLACEITEM, SITENAME*, STATUSFOLDER*, STATUSPAGE.
* maintained for backward compatibility with Oracle9iAS Portal Release 1 and/or Oracle WebDB Release 2.2.
Table A-86 indicates which commands can use the PAGESIZE keyword.
Table A-86 Commands that can use PAGESIZE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | yes | yes | yes | no |
Use PAGESIZE to set the dimensions of the physical page (that is, the size of the page that the printer outputs). The page must be large enough to contain the report. For example, if a frame in a report expands to a size larger than the page dimensions, then the report is not run.
PAGESIZE=width x height
Any valid page dimensions of the form: page width x page height, where page width and page height are more than zero. The maximum width and height depends which unit of measurement was set in Reports Builder (Edit > Preferences > General tab). For inches, the maximum width and height is 512 inches. For centimeters, it is 1312 centimeters. For picas, it is 36,864 picas.
For bitmap, 8.5 x 11 inches. For character mode, 80 x 66 characters. If the report was designed for character mode and is being run or converted on bitmap, then the following formula is used to determine page size if none is specified: (default page size * character page size)/default character page size. For example, if the character page size is 80 x 20, then the bit-mapped page size would be: ( (8.5 * 80)/80) x ((11 * 20)/66) = (680/80) x (220/66) = 8.5 x 3.33.
On some printers the printable area of the physical page is restricted. For example, the sheet of paper a printer takes might be 8.5 x 11 inches, but the printer might only be able to print on an area of 8 x 10.5 inches. If you define a page width x page height in Reports Builder that is bigger than the printable area your printer allows, then clipping might occur in your report output. To avoid clipping, you can either increase the printable area for the printer (if your operating system allows it), or you can set the page width x page height to be the size of the printable area of the page.
Letter size is 8.5 inches x 11 inches. A4 size is 210mm x 297mm, or 8.25 inches x 11.75 inches.
If you use the PAGESIZE keyword, then its value overrides the page dimensions of the report definition.
A PAGESIZE value entered on the Runtime Parameter Form overrides any PAGESIZE value entered on the command line.
Table A-87 indicates which commands can use the PAGESTREAM keyword.
Table A-87 Commands that can use PAGESTREAM
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
PAGESTREAM enables or disables page streaming (pagination) for the report when formatted as HTML or HTMLCSS output, using the navigation controls set by either of the following:
The Page Navigation Control Type and Page Navigation Control Value properties in the Report Property Palette.
PL/SQL in a Before Report trigger (SRW.SET_PAGE_NAVIGATION_HTML)
PAGESTREAM={YES|NO}
YES Paginate the report output.
NO Output the report without pagination.
NO
Table A-88 indicates which commands can use the PARAMFORM keyword.
Table A-88 Commands that can use PARAMFORM
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | yes | yes | no |
Use PARAMFORM to specify whether to display the Runtime Parameter Form when you execute a report via CGI or a servlet. PARAMFORM is used only to supply parameters to paper layout reports, not Web source reports.
PARAMFORM=YES|NO|HTML
YES Display the Parameter Form.
NO Do not display the Parameter Form.
HTML Display the Parameter Form in HTML format.
NO
PARAMFORM=YES is incompatible with BATCH=YES because it is not meaningful to have the Runtime Parameter Form appear in batch mode.
Do not use this keyword when running a report in an OracleAS Portal environment. This is because OracleAS Portal allows you to set up a Reports runtime parameter form, which may conflict with a form you specify with the PARAMFORM keyword.
Table A-89 indicates which commands can use the PARSEQUERY keyword.
Table A-89 Commands that can use PARSEQUERY
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | yes | yes | no |
Use PARSEQUERY to parse an rwservlet query and display the constructed Reports Server command line.
http://yourwebserver/reports/rwservlet/parsequery[?][server=servername][&authid=username/password]
See Syntax.
None
Table A-90 indicates which commands can use the PDFCOMP keyword.
Table A-90 Commands that can use PDFCOMP
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use PDFCOMP to specify whether PDF output should be compressed.
PDFCOMP=value|{YES|NO}
value Any value 0 though 9. A value of 0 means PDF output will not be compressed. A value of 1 through 9 will compress the PDF output and permit users to control the compression level.
YES Compresses output at compression level 6.
NO Compresses output at compression level 0 (no compression).
6
Table A-90 indicates which commands can use the PDFEMBED keyword.
Table A-91 Commands that can use PDFEMBED
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use PDFEMBED to specify whether Oracle Reports will embed the Type1 PostScript font file(s) specified in the uifont.ali file into PDF output.
PDFEMBED={YES|NO}
YES The PDF driver will embed the font(s) specified in the [PDF:Embed] header of the uifont.ali file into the PDF output.
NO The font(s) will not be added to PDF output.
YES
Table A-92 indicates which commands can use the PRINTJOB keyword.
Table A-92 Commands that can use PRINTJOB
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | yes | no | no | no | no |
Use PRINTJOB to specify whether the Print Job dialog box should be displayed before running a report.
PRINTJOB={YES|NO}
YES The Print Job dialog box is displayed before the report is run.
NO The report is run without displaying the Print Job dialog box.
NO
When a report is run as a spawned process (that is, one executable, such as rwrun, is called from within another executable, such as rwbuilder), the Print Job dialog box does not appear, regardless of PRINTJOB.
When DESTYPE=MAIL, the Print Job dialog box does not appear, regardless of PRINTJOB.
Table A-93 indicates which commands can use the READONLY keyword.
Table A-93 Commands that can use READONLY
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | yes | yes | no |
Use READONLY to request read consistency across multiple queries in a report. When accessing data from Oracle 9i, read consistency is accomplished by a SET TRANSACTION READ ONLY statement.
|
Note: Refer to Oracle9i SQL documentation (available on the Oracle Technology Network, (http://otn.oracle.com) for more information on SET TRANSACTION READ ONLY.
|
READONLY={YES|NO}
YES Requests read consistency.
NO Do not provide read consistency.
NO
This keyword is only useful for reports using multiple queries. Oracle 9i automatically provides read consistency, without locking, for single query reports.
In the Report trigger order of execution, SET TRANSACTION READ ONLY must be set up before the data fetch occurs.
READONLY can be used when running JSP-based Web reports from the command line.
Table A-94 indicates which commands can use the RECURSIVE_LOAD keyword.
Table A-94 Commands that can use RECURSIVE_LOAD
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | yes | yes | yes | no |
Use RECURSIVE_LOAD to specify whether to validate external references in program units when running a report. If any of the references become invalid, the program unit is automatically recompiled. Setting RECURSIVE_LOAD to NO is useful when running your report against a different database than the one against which its PL/SQL was originally compiled.
RECURSIVE_LOAD={YES|NO}
YES Validates external references when running a report. If any of the references become invalid, the program unit is recompiled (whether it be in .rdf or .pll).
NO Does not validate external references when running a report. This setting is useful when running a report against a different database than the one against which its PL/SQL was originally compiled.
YES
Table A-95 indicates which commands can use the REPLACEITEM keyword.
Table A-95 Commands that can use REPLACEITEM
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use REPLACEITEM to specify that the current report output being pushed to Oracle9iAS Portal Release 1 should replace an earlier version of the same item stored in the same output target.
REPLACEITEM={YES|NO}
YES Earlier report output should be replaced.
NO Do not replace previous version. In this case, a link to the new output will be added to a list of links to previous versions of the same report.
None
Use of this keyword is optional to push Oracle Reports output to Oracle9iAS Portal Release 1.
Relevant keywords include CONTENTAREA*, EXPIREDAYS, ITEMTITLE, OUTPUTFOLDER *, OUTPUTPAGE, PAGEGROUP, REPLACEITEM, SITENAME*, STATUSFOLDER*, STATUSPAGE.
* maintained for backward compatibility with Oracle9iAS Portal Release 1 and/or Oracle WebDB Release 2.2.
Table A-96 indicates which commands can use the REPLYTO keyword.
Table A-96 Commands that can use REPLYTO
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use REPLYTO to specify the e-mail address to which replies should be sent when the sender wants replies to go to someone other than the sender (specified by the FROM keyword).
REPLYTO=emailid
emailid A valid e-mail address in the form of someone@foo.com.
None
Related keywords include BCC,CC,FROM,REPLYTO, and SUBJECT. Note that DESNAME is used to specify the main recipient(s) of the e-mail.
Table A-97 indicates which commands can use the ROLE keyword.
Table A-97 Commands that can use ROLE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use ROLE to specify the database role to be checked for the report at runtime. This keyword is useful for giving you the ability to run reports that query database tables to which you would not normally have access privileges.
ROLE={rolename[/rolepassword]}
rolename A valid role.
rolepassword (Optional) The matching role password.
None
ROLE can be used when running JSP-based Web reports from the command line.
Table A-98 indicates which commands can use the RUNDEBUG keyword.
Table A-98 Commands that can use RUNDEBUG
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | yes | yes | no |
Use RUNDEBUG to specify that you want extra runtime checking for logical errors in the report. RUNDEBUG checks for things that are not errors but might result in undesirable output, and displays these as warnings at runtime, before displaying the report output. Using RUNDEBUG to run a report in debug mode is not the same as debugging a report using the PL/SQL Interpreter.
RUNDEBUG checks for the following:
Frames or repeating frames that overlap but do not enclose another object. This can lead to objects overwriting other objects in the output.
Layout objects with page-dependent references that do not have fixed sizing. Such objects will be fixed in size regardless of the Vertical Elasticity and Horizontal Elasticity property settings.
Bind variables referenced at the wrong frequency in PL/SQL.
RUNDEBUG={YES|NO}
YES Perform extra runtime error checking.
NO Do not perform extra runtime error checking.
YES
RUNDEBUG can be used when running JSP-based Web reports from the command line.
Table A-99 indicates which commands can use the SAVE_RDF keyword.
Table A-99 Commands that can use SAVE_RDF
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | yes | yes | no | no | no | no |
Use SAVE_RDF to specify a filename for a combined RDF file and XML customization file. This keyword is useful when you combine an existing RDF file with a Oracle Reports XML customization file using the CUSTOMIZE keyword, and you wish to save the combination to a new RDF file.
SAVE_RDF=filename.rdf
filename.rdf Any valid file name.
None
You can use SAVE_RDF with a JSP file, but only the paper layout part, not the Web source.
Table A-100 indicates which commands can use the SCHEDULE keyword.
Table A-100 Commands that can use SCHEDULE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | no | no | no | yes | yes | no |
Use SCHEDULE to set the day, time, and frequency a report should be run. The default is to run the report once, now. Time values are expressed according to a 24-hour day (i.e., one o'clock is expressed 13:00). To eliminate the need for quoting the scheduling command, use underscores (_) instead of spaces. You can also specify an expiration for a report job after a number of runs or on a particular date/time. For example, use:
SCHEDULE=every_first_fri_of_month_from_15:53_Oct_23,_1999_retry_3_after_1_hour_expires_on_15:53_Oct_23,_2003
SCHEDULE=last_weekday_before_15_from_15:53_Oct_23,_1999_retry_after_1_hour_expires_after_100
Or:
SCHEDULE="every first fri of month from 15:53 Oct 23, 1999 retry 3 after 1 hour expires on 15:53 Oct 23, 2003"
SCHEDULE="last weekday before 15 from 15:53 Oct 23, 1999 retry after 1 hour expires after 100"
SCHEDULE=string
where the string is:
[FREQ from] TIME [retry {n} after LEN expires {on|after} time|n]
Table A-101 lists and explains the values used in this string.
Table A-101 Values for string used with the SCHEDULE keyword
| FREQ | hourly | daily | weekly | monthly | {every {LEN | DAYREPEAT}} | {last {WEEKDAYS | weekday | weekend} before {n}+} |
|---|---|
| LEN | {n}+ {minute[s] | hour[s] | day[s] | week[s] | month[s]} |
| DAYREPEAT | {first | second | third | fourth | fifth} WEEKDAYS of month |
| WEEKDAYS | mon | tue | wed | thu | fri | sat | sun |
| TIME | now | CLOCK [DATE] |
| CLOCK | h:m | h:mm | hh:m | hh:mm |
| DATE | today | tomorrow | {MONTHS {d | dd} [,year]} |
| MONTHS | jan | feb | mar | apr | may | jun | jul | aug | sep | oct | nov | dec |
| EXPIRES | on {today | tomorrow | {MONTHS {d | dd} [,year]}}|after n |
None
Table A-102 indicates which commands can use the SERVER keyword.
Table A-102 Commands that can use SERVER
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | no | no | no | yes | yes | yes |
Use SERVER to specify the name of the Reports Server you want to use to run this report.
SERVER=servername
The server name or a TNS service entry name if you're using a 6i compatible server.
The server name specified in the REPORTS_SERVER environment variable for rwcgi.
For jobs run with rwcgi, you can set the REPORTS_SERVER environment variable on your Web server machine and omit the SERVER keyword to process requests using the default server, or you can include the SERVER keyword to override the default. For jobs run with rwservlet or as a JSP, you can omit the SERVER keyword if you have specified a default server in the servlet configuration file, rwservlet.properties; or you can include the SERVER keyword to override the default.
SERVER can be used when running JSP-based Web reports from the command line.
Table A-103 indicates which commands can use the SHOWAUTH keyword.
Table A-103 Commands that can use SHOWAUTH
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | yes | yes | no |
Use SHOWAUTH to display the Reports Server logon page and runs the report .
http://yourwebserver/reports/rwservlet/showauth[?][server=servername][&authid=username/password]][&nextpage=run report URL][&authtype={s|d}]
See Syntax.
None
This keyword is a command that does not require a value; i.e., commands are entered by themselves without a corresponding value.
When authtype=s the Reports System User Authentication dialog box is displayed. The Reports Database User Authentication dialog box is displayed when authtype=d.
Table A-104 indicates which commands can use the SHOWENV keyword.
Table A-104 Commands that can use SHOWENV
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | yes | yes | no |
Use SHOWENV to display the rwservlet configuration file (rwservlet.properties).
http://yourwebserver/reports/rwservlet/showenv[?][server=servername][&authid=username/password]
See Syntax.
None
Table A-105 indicates which commands can use the SHOWJOBID keyword.
Table A-105 Commands that can use SHOWJOBID
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | yes | no | no |
SHOWJOBID shows the status of the Reports Server job with job ID n.
http://yourwebserver/reports/rwservlet/showjobidn[?][server=server_name][&authid=username/password][&statusformat={html|xml|xmldtd}]
See Syntax.
None
This keyword is a command that does not require a value; i.e., commands are entered by themselves without a corresponding value.
The job must be current (enqueued or scheduled).
Use SHOWJOBS to see the current list of jobs. The STATUSFORMAT can be set to html (default), xml , or xmldtd to return status in that format. The status information is generated in html, xml, or xmldtd (with an internal dtd subset).
Related keywords are SHOWJOBS,SERVER, AUTHID, and STATUSFORMAT.
The STATUSFORMAT parameter is only valid for rwservlet, not for rwcgi.
Table A-106 indicates which commands can use the SHOWJOBS keyword.
Table A-106 Commands that can use SHOWJOBS
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | yes | yes | no |
Use SHOWJOBS to display a Web view of Reports Server queue status.
http://yourwebserver/reports/rwservlet/showjobs[n][?][server=server_name][&authid=username/password][&queuetype=current | past |future][&startrow=start_position_in_job_queue][&count=number_of_jobs_to_display][&statusformat={html|xml|xmldtd}]
See Syntax
None
This keyword is a command that does not require a value; i.e., commands are entered by themselves without a corresponding value.
The name of the Reports Server must be specified implicitly by environment variable or servlet configuration file, or explicitly in the URL request. The refresh number n is optional. When it is specified, the report’s queue status will be updated every n seconds.
The STATUSFORMAT can be set to html (default), xml , or xmldtd to return status in that format. The status information is generated in html, xml, or xmldtd (with an internal dtd subset).
The QUEUETYPE,STARTROW,COUNT, and STATUSFORMAT parameters are valid only for rwservlet and not for rwcgi.
Related keywords are SERVER, AUTHID, and STATUSFORMAT.
Table A-107 indicates which commands can use the SHOWMAP keyword.
Table A-107 Commands that can use SHOWMAP
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | yes | yes | no |
Use SHOWMAP to display rwservlet key mappings.
http://yourwebserver/reports/rwservlet/showmap[?][server=servername][&authid=username/password]
See Syntax.
None
Table A-108 indicates which commands can use the SHOWMYJOBS keyword.
Table A-108 Commands that can use SHOWMYJOBS
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | yes | no | no |
Use SHOWMYJOBS to display the Reports Server queue status for a particular user.
http://yourwebserver/reports/rwservlet/showmyjobs[?][server=server_name][&authid=username/password][&statusformat={html|xml|xmldtd}]
See Syntax.
None
This keyword is a command that does not require a value; i.e., commands are entered by themselves without a corresponding value.
The STATUSFORMAT can be set to html (default), xml , or xmldtd to return status in that format. The status information is generated in html, xml, or xmldtd (with an internal dtd subset).
Related keywords are SERVER, AUTHID, and STATUSFORMAT.
The STATUSFORMAT parameter is only valid for rwservlet, not for rwcgi.
Table A-109 indicates which commands can use the SHUTDOWN keyword.
Table A-109 Commands that can use SHUTDOWN
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | no | no | yes |
Use SHUTDOWN to shut down a previously running server. You must also use AUTHID to supply a user name and password.
SHUTDOWN={NORMAL|IMMEDIATE}
NORMAL or IMMEDIATE
NORMAL
The user of the SHUTDOWN keyword must be an Oracle Reports Administrative user. If the server has security enabled, it will query the security API to determine the user’s role eligibility to execute the shutdown (in other words, the user must be an Oracle Reports Administrative user). If security is not enabled, then the user must nonetheless be an Oracle Reports Administrative user defined for that server.
Table A-110 indicates which commands can use the SITENAME keyword.
Table A-110 Commands that can use SITENAME
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use SITENAME to specify the name of the WebDB site to push a report’s output to. This keyword is maintained for backward compatibility with Oracle WebDB Release 2.2; for backward compatibility with Oracle9iAS Portal Release 1, see CONTENTAREA. Beginning with OracleAS Portal Release 2, use PAGEGROUP.
SITENAME=name
name Any valid site name used in Oracle WebDB Release 2.2.
None
Use of this keyword is required to push Oracle Reports output to Oracle9iAS Portal Release 1.
Relevant keywords include CONTENTAREA*, EXPIREDAYS, ITEMTITLE, OUTPUTFOLDER *, OUTPUTPAGE, PAGEGROUP, REPLACEITEM, SITENAME*, STATUSFOLDER*, STATUSPAGE.
* maintained for backward compatibility with Oracle9iAS Portal Release 1 and/or Oracle WebDB Release 2.2.
Table A-111 indicates which commands can use the SOURCE keyword.
Table A-111 Commands that can use SOURCE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | yes | no | no | no |
Use SOURCE to specify the report/library or list of reports/libraries to be converted. The rwconverter command requires that you specify a source report or library.
SOURCE={source_name|(source_name1, source_name2, …)}
Any valid report/library name or filename, or a list of valid report/library names or filenames enclosed in parentheses and separated by commas (e.g., (qanda, test, dmast)).
None
SQL wildcard characters (% and _) may be used for reports or libraries that are stored in the database. For example, R% would fetch all reports stored in the database that begin with R. All reports that match will be converted.
A list of report/library names or filenames must be enclosed in parentheses, with commas separating the names. For example:
(qanda,test,dmast) OR (qanda, test, dmast)
Wildcard characters are invalid for reports/libraries stored in files (i.e., with extensions of rdf, rep, rex, pld, pll, or xml).
The value(s) for the SOURCE keyword may be operating system-specific.
If you are using user-owned Reports Builder tables, reports/libraries from multiple users must be converted for each user individually.
To convert reports/libraries, you must have created them or been granted access to the ones you did not create. If no userid is prefixed to the report/library name, the userid is assumed to be the current user.
When DTYPE=REGISTER, you may only want to list report definition files with common parameters, such as destination types and formats, user access, and availability calendars.
Table A-112 indicates which commands can use the SQLTRACE keyword.
Table A-112 Commands that can use SQL_TRACE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | yes | yes | no |
Use SQLTRACE to specify whether to perform SQL tracing on your report without modifying the report definition.
SQLTRACE=[YES|NO]
YES SQL tracing will be performed on the report.
NO SQL tracing will not be performed on the report.
NO
Table A-113 indicates which commands can use the SSOCONN keyword.
Table A-113 Commands that can use SSOCONN
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | yes | no | no |
Use SSOCONN to specify one or more connect strings to use to connect to one or more data sources in a Single Sign-On environment.
SSOCONN=key[/type[/conn_str]][,key[/type[/conn_str]]]
For example:
ssoconn=mykey/OracleDB/userid
The following information describes the variable values expressed in the SSOCONN syntax:
key refers to a connection string value stored in the Oracle Internet Directory (OID).
type is a predefined character string that specifies a Reports data source type. Types provided with your Oracle Application Server installation include OracleDB, JDBCPDS (Java Database Connectivity Pluggable Data Source), and ExpressPDS (Oracle Express Pluggable Data Source).
conn_str is the name of the connection string parameter that rwservlet will compose to run the report
None
If multiple data sources are used in the report, use a comma to separate data source connection strings. For example:
ssoconn=key1/type1/conn_str,key2/type2/conn_str2,key3/type3/conn_str3
Simplified versions of the SSOCONN option are also available. Table A-114 provides examples.
When you use SSOCONN in a command line, you cannot:
Specify authid in the same command line.
Run against a Reports Server that is not secure.
Have SINGLESIGNON set to NO in rwservlet.properties.
Doing any of the above with SSOCONN in the command line results in an error.
Table A-114 Simplified versions of the SSOCONN option
| option | Description |
|---|---|
| ssoconn=mkey | When only the key name is specified, the default type (Oracle DB) will be used, and the connect parameter is the USERID keyword. |
| ssoconn=mkey/PDSApp | When both key name and application type are specified, the connection parameter is the USERID keyword. |
| ssoconn=mkey/PDSApp/P_1 | When everything is specified, the specified values are used. |
SSOCONN can be used when running JSP-based Web reports from the command line. If you are using the SSOCONN keyword with a report run as a JSP, use an ampersand(&) to separate connection strings. For example:
http://…:8888/myjsp/foo.jsp?name1=value1&name2=value2 …
|
Note: For more information about Oracle Reports and Single Sign-On (SSO), see Chapter 10, " Configuring and Administering OracleAS Single Sign-On ". |
Table A-115 indicates which commands can use the STATUSFOLDER keyword.
Table A-115 Commands that can use STATUSFOLDER
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use STATUSFOLDER to specify the name of the Oracle WebDB Release 2.2 or Oracle9iAS Portal Release 1 folder to push status information into. If this is omitted, a new folder is created called Oracle_Reports_Status. This keyword is maintained for backward compatibility with Oracle WebDB Release 2.2 and Oracle9iAS Portal Release 1. Beginning with OracleAS Portal Release 2, use STATUSPAGE.
STATUSFOLDER=folder
folder Any valid folder name (internal name) used in Oracle WebDB Release 2.2 or Oracle9iAS Portal Release 1.
Oracle_Reports_Status
Use of this keyword is optional to push Oracle Reports output to Oracle WebDB Release 2.2 or Oracle9iAS Portal Release 1.
The value for this keyword is case sensitive.
Relevant keywords include CONTENTAREA*, EXPIREDAYS, ITEMTITLE, OUTPUTFOLDER *, OUTPUTPAGE, PAGEGROUP, REPLACEITEM, SITENAME*, STATUSFOLDER*, STATUSPAGE.
* maintained for backward compatibility with Oracle9iAS Portal Release 1 and/or Oracle WebDB Release 2.2.
Table A-116 indicates which commands can use the STATUSFORMAT keyword.
Table A-116 Commands that can use STATUSFORMAT
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | yes | no | no |
Use STATUSFORMAT to specify the format for the Web view of Reports Server queue status.
http://yourwebserver/rwservlet/showjobs?server=server_name&statusformat={html|xml|xmldtd}
HTML Specify that the Reports queue status output should be in HTML format.
XML Specify that it should be in XML format.
XMLDTD Specify that it should be in XML format with in-line Data Type Definition information.
HTML
Use STATUSFORMAT in conjunction with the SHOWJOBS and SHOWMYJOBS keywords.
Table A-117 indicates which commands can use the STATUSPAGE keyword.
Table A-117 Commands that can use STATUSPAGE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use STATUSPAGE to specify the name of the Oracle9iAS Portal Release 1 page to push job status information into. If this is omitted, a new page is created called Oracle_Reports_Status. For backward compatibility with earlier versions (Oracle WebDB Release 2.2 and Oracle9iAS Portal Release 1), see STATUSFOLDER.
STATUSPAGE=page
page Any valid page name (internal name) used in Oracle9iAS Portal Release 1.
Oracle_Reports_Status
Use of this keyword is optional to push Oracle Reports output to Oracle9iAS Portal Release 1.
The value for this keyword is case sensitive.
Relevant keywords include CONTENTAREA*, EXPIREDAYS, ITEMTITLE, OUTPUTFOLDER *, OUTPUTPAGE, PAGEGROUP, REPLACEITEM, SITENAME*, STATUSFOLDER*, STATUSPAGE.
* maintained for backward compatibility with Oracle9iAS Portal Release 1 and/or Oracle WebDB Release 2.2.
Table A-118 indicates which commands can use the STYPE keyword.
Table A-118 Commands that can use STYPE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | yes | no | no | no |
Use STYPE to specify the format of the report(s) or libraries to be converted.
STYPE={PLDFILE|PLLFILE|RDFFILE|REXFILE|XMLFILE|JSPFILE}
Use any one of the following values:
PLDFILE Source PL/SQL libraries are stored in files in ASCII format.
PLLFILE Source PL/SQL libraries are stored in files containing source code and P-code (compiled PL/SQL).
RDFFILE Source report(s) are stored in one or more report definition files (files with the rdf extension).
REXFILE Source report(s) are stored in one or more text files (files with the rex extension).
XMLFILE Source report(s) are stored in one or more XML files.
JSPFILE Source report(s) are stored in one or more JSP files.
RDFFILE
When DTYPE=REGISTER, choose RDDFILE,REXFILE,XML, or JSPFILE for STYPE.
Table A-119 indicates which commands can use the SUBJECT keyword.
Table A-119 Commands that can use SUBJECT
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | no | no | yes | yes | no |
Use SUBJECT to specify the subject line of an e-mail.
SUBJECT=any text
Any text.
None
Table A-120 indicates which commands can use the SUPPRESSLAYOUT keyword.
Table A-120 Commands that can use SUPPRESSLAYOUT
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | yes | yes | no |
Use SUPPRESSLAYOUT to specify whether to suppress the formatting of the paper layout at runtime. The keyword allows users to control whether the paper layout in a report is executed at runtime. The most common use of this keyword is to increase the performance of JSP reports. Since a JSP report may have a paper layout and reference objects in it via an <rw:include tag, Oracle Reports formats the paper layout before running the JSP section of the report. To improve the performance of single source JSP reports that store both paper and Web layouts but do not reference paper layout objects, set SUPPRESSLAYOUT=YES on the command line.
|
Note: If there is an<rw:include> tag, then no output will be created for the tag.
|
SUPPRESSLAYOUT=[YES|NO]
YES Paper layout objects will not be formatted at runtime
NO Paper layout objects will be formatted at runtime.
NO
Table A-121 indicates which commands can be used with the TOLERANCE keyword.
Table A-121 Commands that can use TOLERANCE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | no | no | no | yes | yes | no |
Use TOLERANCE to set the maximum acceptable time (in minutes) for reusing a report's cached output when a duplicate job is detected. Setting the time tolerance on a report reduces the processing time when duplicate jobs are found.
See Reusing Report Output from Cache for more information on duplicate job detection.
TOLERANCE=time_string
time_string Can be in one of two formats:
n{unit}, for a number with an optional unit. The unit can be minute(s), hour(s), or day(s). The default unit is minute(s) if no unit is specified.
{Mon DD, YYYY} hh:mi:ss am|pm {timezone}, for a date/time format. Date information is optional. If it isn’t specified, today is assumed. Time zone is also optional. If it isn’t specified, the Reports Server’s timezone is used. The date/time is always in a US locale. This format is the same as defined in the Java DateFormat.MEDIUM type.
None
If TOLERANCE is not specified, then OracleAS Reports Services reruns the report even if a duplicate report is found in the cache.
If a report is being processed (that is, in the current job queue) when an identical job is submitted, then OracleAS Reports Services reuses the output of the currently running job even if TOLERANCE is not specified or is set to zero.
Table A-122 indicates which commands can use the TRACEFILE keyword.
Table A-122 Commands that can use TRACEFILE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | no | no | no |
TRACEFILE is the name of the file in which trace information is logged.
TRACEFILE=tracefile
Any valid file name.
None
In a runtime environment, or when you are monitoring Reports Services components, you can use all three TRACE keywords. But for server security, in a server environment you can use only TRACEOPTS. This is to prevent files from being written arbitrarily to the Reports Server’s file system.
Tracing for the Reports Server is configured in the server configuration file, server_name.conf (see Configuring OracleAS Reports Services). Tracing for the Reports Servlet is configured in the servlet configuration file, rwservlet.properties (see Configuring OracleAS Reports Services). Tracing for individual jobs is specified from the runtime command line, via the TRACEOPTS command line option.
Whether an existing file will be overwritten or appended to depends on the TRACEMODE setting.
Trace information can only be generated when running a .rdf file. You cannot specify logging when running a .rep file.
If you specify TRACEOPTS=TRACELOG or TRACEOPTS=TRACEERR as well as TRACEFILE, all of the trace information will be placed in the most recently specified file. For example, in the following case, all of the specified trace information would be placed in err.log because it is the last file specified in the RWRUN command.
RWRUN MODULE=order_entry USERID=scott/tiger
TRACEFILE=trace.log LOGFILE=mylog.log
ERRFILE=err.log
Table A-123 indicates which commands can use the TRACEMODE keyword.
Table A-123 Commands that can use TRACEMODE
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | yes | yes | no |
TRACEMODE specifies whether to append new trace information to existing information in the file specified by TRACEFILE, or overwrite the entire file.
TRACEMODE={TRACE_APPEND|TRACE_REPLACE}
TRACE_APPEND Adds the new information to the end of the file.
TRACE_REPLACE Overwrites the file.
TRACE_APPEND
In a runtime environment, or when you are monitoring Reports Services components, you can use all three TRACE keywords. But for server security, in a server environment you can use only TRACEOPTS. This is to prevent files from being written to the server.
Tracing for the Reports Server is configured in the server configuration file, server_name.conf. Tracing for the Reports Servlet is configured in the servlet configuration file, rwservlet.properties. Tracing for individual jobs is specified from the runtime command line, via the TRACE command line arguments. See Report Trace for additional information about how tracing works with Oracle Reports.
Trace information can only be generated when running a .rdf file. You cannot specify logging when running a .rep file.
Table A-124 indicates which commands can use the TRACEOPTS keyword.
Table A-124 Commands that can use TRACEOPTS
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | no | yes | yes | yes |
TRACEOPTS indicates the tracing information that you want to be logged in the trace file when you run the report.
TRACEOPTS={TRACE_ALL|TRACE_APP|TRACE_BRK|TRACE_DBG|TRACE_DST|TRACE_ERR|TRACE_EXC|TRACE_INF|TRACE_LOG|TRACE_PLS|TRACE_PRF|TRACE_SQL|TRACE_STA|TRACE_TMS|TRACE_WRN}
The following values apply:
TRACE_ALL Log all possible trace information in the trace file.
TRACE_APP Log trace information on all the report objects in the trace file.
TRACE_BRK List all breakpoints in the trace file.
TRACE_DBG Log debug information.
TRACE_DST List distribution lists in the trace file. You can use this information to determine which section was sent to which destination.
TRACE_ERR List error messages and warnings in the trace file.
TRACE_EXC List Reports Server exceptions.
TRACE_INF Dumps any information not covered by the other options into the trace file.
TRACE_LOG Duplicate log information in your trace file. If you have specified a log element, in addition to a trace element, in your server configuration file, this value will cause information that is sent to the log file to also be sent to the trace file.
TRACE_PLS Log trace information on all the PL/SQL objects in the trace file.
TRACE_PRF Log performance statistics in the trace file.
TRACE_SQL Log trace information on all the SQL in the trace file.
TRACE_STA Provide server and engine state information, such as initialize, ready, run, and shut-down.
TRACE_TMS Enter a timestamp for each entry in the trace file.
TRACE_WRN List server warning messages.
TRACE_ALL
In a runtime environment, or when you are monitoring Reports Services components, you can use all three TRACE keywords. But for server security, in a server environment you can use only TRACEOPTS. This is to prevent files from being written to the server.
Tracing for the Reports Server is configured in the server configuration file, server_name.conf. Tracing for the Reports Servlet is configured in the servlet configuration file, rwservlet.properties. Tracing for individual jobs is specified from the runtime command line, via the TRACExxx command line arguments. See Report Trace for additional information about how tracing works with Oracle Reports.
To use multiple options, list the options in parentheses. For example, TRACE_OPTS=(TRACE_APP, TRACE_PRF) means you want both TRACE_APP and TRACE_PRF applied.
Trace information can only be generated when running a .rdf file. You cannot specify logging when running a .rep file.
TRACEOPTS can be used when running JSP-based Web reports from the command line.
Table A-125 indicates which commands can use the UNINSTALL keyword
Table A-125 Commands that can use UNINSTALL
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | no | no | no | yes |
Use UNINSTALL to remove an instance of the Reports Server from Microsoft Windows. This process removes the Reports Server service from the system. This keyword is ignored on UNIX.
UNINSTALL reports_server_name
reports_server_name The name of an existing Reports Server instance
None
If you use BATCH=YES with INSTALL, then none of the prompts and dialogs that normally display during the removal process will appear.
Table A-126 indicates which commands can use the UPGRADE_PLSQL keyword.
Table A-126 Commands that can use UPGRADE_PLSQL
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | no | yes | no | no | no |
Use UPGRADE_PLSQL to specify whether to upgrade any PL/SQL code in the report to the latest version required by Oracle Reports Developer.
UPGRADE_PLSQL=[YES|NO]
YES PL/SQL code will be upgraded automatically if necessary.
NO PL/SQL code will not be updated.
YES
Table A-127 indicates which commands can use the URLPARAMETER keyword.
Table A-127 Commands that can use URLPARAMETER
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | no | no | no | yes | yes | no |
Use URLPARAMETER to specify the URL that is to be fetched with the URL engine.
URLPARAMETER=http://webserver_name/pagename.html
Any valid URL.
None
This keyword is relevant when the jobType parameter of the job element in the Reports Server configuration file is rwurl, and a URL engine is in place.
Table A-128 indicates which commands can use the USERID keyword.
Table A-128 Commands that can use USERID
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| yes | yes | yes | yes | yes | yes | no |
Use USERID only if you're not using Single Sign-On. Use USERID to specify your Oracle user name and password, with an optional database name for accessing a remote database. If the password is omitted, then a database logon form opens automatically before the user is allowed to run the report.
If you want users to log on to the database, then omit the password portion of the USERID keyword from the report request. If you want users to log on every time they run report requests, then use the Oracle Reports key mapping file, cgicmd.dat, to specify the runtime command, and include the %D option in the relevant key mapping entry.
userid=username[/password][@database]
username Username assigned by the database administrator.
password Password for the username.
database The name of the database you are accessing.
None
The logon definition cannot exceed 512 bytes in length.
USERID can be used when running JSP-based Web reports from the command line.
Table A-129 indicates which commands can use the WEBSERVER_DEBUG keyword.
Table A-129 Commands that can use WEBSERVER_DEBUG
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | yes | no | no | no | no |
Use WEBSERVER_DEBUG for JSP debugging. It creates the stderr.log and stdout.log files under the docroot/port# directory, and leaves temporary JSP files under docroot/port#/default and log files under docroot/port#/log for your inspection.
WEBSERVER_DEBUG={YES|NO}
YES Create debugging files.
NO Do not create debugging files.
NO
Use this keyword only when you’re running a job as a JSP.
Relevant keywords include WEBSERVER_DEBUG,WEBSERVER_DOCROOT,WEBSERVER_PORT.
Table A-130 indicates which commands can use the WEBSERVER_DOCROOT keyword.
Table A-130 Commands that can use WEBSERVER_DOCROOT
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | yes | no | no | no | no |
Use WEBSERVER_DOCROOT to set the Reports Builder document root directory. All files you reference in your JSP, such as images, HTML, and the like, should be relative to this directory. By setting the document root to your working directory, you avoid having to copy these files around.
WEBSERVER_DOCROOT=REPORTS_TMP/docroot
For example:
WEBSERVER_DOCROOT=c:/temp/docroot
The directory to the document root folder in your Oracle Reports temporary folder.
None
Use this keyword only when you’re running a job as a JSP.
Relevant keywords include WEBSERVER_DEBUG,WEBSERVER_DOCROOT,WEBSERVER_PORT.
Table A-131 indicates which commands can use the WEBSERVER_PORT keyword.
Table A-131 Commands that can use WEBSERVER_PORT
| rwclient | rwrun | rwbuilder | rwconverter | rwservlet | rwcgi | rwserver |
|---|---|---|---|---|---|---|
| no | no | yes | no | no | no | no |
Use WEBSERVER_PORT to specify the port number an internal Web server listens to. You can specify a port number (e.g., 3002) or a range of port numbers (e.g., 3100-3200). If a single port number is specified, Oracle Reports tries to start the internal Web server listening on that port. If that port is in use, it tries to get the next available port. If a range of port numbers is specified, Oracle Reports tries to look for a free port in that range.
WEBSERVER_PORT=port num
port num Any valid port number or range of port numbers.
Port = 3000
Range of ports = 3000-3010.
Use this keyword only when you’re running a job as a JSP.
Relevant keywords include WEBSERVER_DEBUG,WEBSERVER_DOCROOT,WEBSERVER_PORT.