01.02.2013 Views

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Command Line Keywords<br />

A.4.15 CMDKEY<br />

Syntax CMDFILE=filename<br />

Values<br />

filename Any valid command file name.<br />

Default None<br />

Usage Notes<br />

■ With rwservlet and rwcgi, use <strong>the</strong> CMDKEY keyword <strong>to</strong> refer <strong>to</strong> a key in <strong>the</strong><br />

cgicmd.dat file in lieu of using <strong>the</strong> CMDFILE keyword.<br />

■ A command file can reference ano<strong>the</strong>r command file.<br />

■ The syntax for a command line you specify in <strong>the</strong> command file is identical <strong>to</strong> that<br />

used on <strong>the</strong> command line.<br />

■ Values entered on <strong>the</strong> command line override values specified in command files.<br />

For example, suppose you specify rwclient from <strong>the</strong> command line with<br />

COPIES set <strong>to</strong> 1 and CMDFILE set <strong>to</strong> RUNONE (a command file). The RUNONE file<br />

also specifies a value for COPIES, but it is set <strong>to</strong> 2. The value specified for COPIES<br />

in <strong>the</strong> command line (1) overrides <strong>the</strong> value specified for COPIES in <strong>the</strong> RUNONE<br />

file (2). Only one copy of <strong>the</strong> report will be generated.<br />

■ The value for this keyword might be operating system-specific.<br />

Table A–19 indicates which commands can use <strong>the</strong> CMDKEY keyword.<br />

Table A–19 Commands that can use CMDKEY<br />

rwclient rwrun rwbuilder rwconverter rwservlet rwcgi rwserver<br />

no no no no yes no no<br />

Description Use CMDKEY <strong>to</strong> call a key-identified command line in <strong>the</strong> cgicmd.dat<br />

file. For example:<br />

http://yourwebserver/reports/rwservlet?cmdkey=key& …<br />

Syntax CMDKEY=key<br />

Values<br />

key The name of any key associated with a command line specified in <strong>the</strong><br />

cgicmd.dat file.<br />

Default None<br />

Usage Notes<br />

■ When you use CMDKEY with rwservlet, you can use it in any order in <strong>the</strong><br />

command line (or <strong>the</strong> URL, following <strong>the</strong> question mark). With rwservlet, you<br />

can use additional command line keywords along with CMDKEY.<br />

■ CMDKEY can be used when running JSP-based <strong>Web</strong> reports from <strong>the</strong> command<br />

line.<br />

A-22 <strong>Oracle</strong> Application Server <strong>Reports</strong> Services <strong>Publishing</strong> <strong>Reports</strong> <strong>to</strong> <strong>the</strong> <strong>Web</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!