Skip Headers

Oracle Application Server Reports Services Publishing Reports to the Web
10g (9.0.4)

Part Number B10314-01
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to next page

B
Reports-Related Environment Variables

Environment variables are parameters that configure the environment that hosts Oracle Reports. The Oracle Application Server installer automatically defines default values for relevant environment variables. If you want something other than the default environment, you can edit the environment variable settings:

The information in this appendix is also documented in the Reports Builder online help, which you can access in two ways:

B.1 Environment Variables

This sections lists all the environment variables that you can set in Oracle Reports.

B.1.1 CA_GPREFS

Description

This environment variable specifies the location of the global preferences file, CAGPREFS.ORA. Global preferences are shared among networked users. In addition to searching the directory specified by CA_GPREFS, products will also search the current directory for the CAGPREFS.ORA file.

The CAGPREFS.ORA file is automatically created by the Oracle Installer. To modify the global preference settings, use a text editor such as Notepad to manually edit this file. Global preferences set in the CAGPREFS.ORA file can be overridden by the local preference file, CAUPREFS.ORA, which is defined by CA_UPREFS.

Valid Values

Any directory on any drive.

Default

ORACLE_HOME

Example

CA_GPREFS=C:\orawin90

B.1.2 CA_UPREFS

Description

This environment variable specifies the location of the user preferences file, CAUPREFS.ORA. The CAUPREFS.ORA file maintains the preferences that you set via Tools >Tools Options within your products. In addition to searching the directory specified by CA_UPREFS, the product will also search the current directory for the CAUPREFS.ORA file.

Several Oracle products write their preference information to the CAUPREFS.ORA file. To manually modify the user preference settings, use a text editor such as Notepad to edit this file. User preferences set in the CAUPREFS.ORA file override global preferences set in the CAGPREFS.ORA file, which is defined by CA_GPREFS.

Valid Values

Any directory on any drive.

Default

ORACLE_HOME

Example

CA_UPREFS=C:\orawin90

B.1.3 DELIMITED_LINE_END

Description

This environment variable specifies whether to print the delimited character at the end of the line for delimited output.

Valid Values

YES|NO

Default

YES

Usage Notes

B.1.4 DOC

Description

This environment variable specifies the location of the online documentation files, including online help.

Valid Values

Any directory on any drive.

Default

ORACLE_HOME\tools\doc

Example

DOC=C:\orawin90\tools\doc

B.1.5 INTERRUPT

Description

(DOS SQL*Net users only) This environment variable specifies the interrupt vector address that DOS Oracle products will use. If you use a DOS SQL*Net driver for Windows, check your CONFIG.ORA file located in the DOS Oracle home directory. If INTERRUPT is set in CONFIG.ORA, you must set it to the same value in registry. If this variable is not set in your DOS CONFIG.ORA files, you do not need to set it in the registry.


Note:

Do not set INTERRUPT to 103 when using a third-party memory management product such as QEMM, 386MAX, CEMM, or EMM386. Doing so will result in unexpected behavior after you start SQLPME and SQL*Net.


Valid Values

Same value specified in your DOS CONFIG.ORA file.

Default

Not defined.

B.1.6 DEVELOPER_NLS_LANG

Description

This environment variable specifies the language for the Reports Builder. Chapter 18, "Implementing NLS and Bidirectional Support" contains additional detailed information about this environment variable, including a table of valid values.

B.1.7 NLS_CALENDAR

Description

This environment variable specifies the calendar system used.

B.1.8 NLS_CREDIT

Description

This environment variable specifies the string used to indicate a positive monetary value.

B.1.9 NLS_CURRENCY

Description

This environment variable specifies the local currency symbol.

B.1.10 NLS_DATE_FORMAT

Description

This environment variable specifies the default format used for dates.

B.1.11 NLS_DATE_LANGUAGE

Description

This environment variable specifies the default language used for dates.

B.1.12 NLS_DEBIT

Description

This environment variable specifies the string used to indicate a negative monetary value.

B.1.13 NLS_ISO_CURRENCY

Description

This environment variable specifies the ISO currency symbol.

B.1.14 NLS_LANG

Description

This environment variable specifies the language, settings used, including:

Chapter 18, "Implementing NLS and Bidirectional Support" contains additional detailed information about this environment variable, including a table of valid values.

Valid Values

See the NLS Reference Manual for a current list of available values, or see the Oracle Application Server 10g Globalization Guide on the Oracle Technology Network, (http://otn.oracle.com).

Default

AMERICAN_AMERICA.WE8ISO8859P1

Usage Notes
Example

Suppose you want your application to run in French. The application will be used in France and data will be displayed using the WE8ISO8895P1 character set. You would set NLS_LANG as follows:

NLS_LANG=French_France.WE8ISO8895P1

Now, suppose you still want your application to run in French, but this time it will be used in Switzerland. You would set NLS_LANG as follows:

NLS_LANG=French_Switzerland.WE8ISO8895P1

B.1.15 NLS_LIST_SEPARATOR

Description

This environment variable specifies the character used to separate items in a list.

B.1.16 NLS_MONETARY_CHARACTERS

Description

This environment variable specifies the decimal character and thousands separator for monetary values.

B.1.17 NLS_NUMERIC_CHARACTERS

Description

This environment variable specifies the decimal character and grouping separator for numeric values.

B.1.18 NLS_SORT

Description

This environment variable specifies the type of sort used for character data.

B.1.19 ORACLE_AFM

Description

This environment variable specifies the location of AFM files. TK90_AFM is considered first, then ORACLE_AFM.

Valid Values

Any directory on any drive.

Default

Not defined.

Usage Notes

B.1.20 ORACLE_HOME

Description

This environment variable specifies the home directory in which Windows Oracle products are installed. This directory is the top directory in the Oracle directory hierarchy.

Valid Values

Any directory on any drive.

Default

C:\orawin90

Usage Notes
Example

ORACLE_HOME=C:\orawin90

B.1.21 ORACLE_HPD

Description

This environment variable specifies the location of HPD files. TK90_HPD is considered first, then ORACLE_HPD.

Valid Values

Any directory on any drive.

Default

Not defined.

Usage Notes

B.1.22 ORACLE_PATH

Description

This environment variable specifies the search path for files referenced by Reports Runtime. Note that the directories specified by ORACLE_PATH are searched after those specified by REPORTS_PATH.

ORACLE_PATH can specify multiple directories. Use a semi-colon (;) to separate directory names in a list of paths.

Valid Values

Any directory on any drive.

Default

Not defined.

Usage Notes
Example

ORACLE_PATH=C:\oracle\apps\forms;C:\oracle\apps\reports

B.1.23 ORACLE_PPD

Description

This environment variable specifies the location of PPD files. TK90_PPD is considered first, then ORACLE_PPD.

Valid Values

Any directory on any drive.

Default

Not defined.

Usage notes

B.1.24 ORACLE_TFM

Description

This environment variable specifies the location of TFM files. TK90_TFM is considered first, then ORACLE_TFM.

Valid Values

Any directory on any drive.

Default

Not defined.

Usage notes

B.1.25 ORAINFONAV_DOCPATH

Description

This environment variable specifies the location of the table of contents and index for your online documentation.

Valid Values

Any directory on any drive.

Default

Not defined.

Example

ORAINFONAV_DOCPATH=C:\orawin90\oin

B.1.26 PRINTER

Description

This environment variable specifies the default printer's name.

Valid Values

Name of default printer

Default

Not defined.

Usage Notes

B.1.27 REMOTE

Description

This environment variable specifies the default and remote SQL*Net driver to use when connecting via a local database. The parameter can include the default SQL*Net parameters (complete database string).

If a user logs on and specifies a connection with an explicit driver prefix matching the one specified in REMOTE, but specifies no SQL*Net parameters, the parameters specified in REMOTE are used. This parameter enables the DBA to define a "normal" network connection for which the SQL*Net user need not specify connection parameters. You can reset this parameter on the command line at any time.


Note:

If you use a DOS SQL*Net driver for Windows, check to see whether the REMOTE parameter is set in your CONFIG.ORA file located in the DOS Oracle home directory. If REMOTE is set in CONFIG.ORA, you must set it to the same value in the registry.


Syntax

REMOTE netPrefix:databaseName

where

netPrefix is the network prefix for Named Pipes

databaseName is the name of the local database

Valid Values

Any valid SQL*Net driver prefix and parameters.

Default

Not defined.

Example

REMOTE=P:PIPER

where

P: is the network prefix for Named Pipes

PIPER is the database name.

B.1.28 REPORTS_ADD_HWMARGIN

Description

(Windows only) This environment variable specifies whether to include the printer hardware-based left margin. Oracle Reports has been changed to generate the report output relative to the top-left corner of the physical paper. In the past, the printer's printable area was used, causing inconsistencies in the location of the report output when moving across different printer models.

If required, you can revert to the previous behavior by setting the registry variable REPORTS_ADD_HWMARGIN to YES.

To set the REPORTS_ADD_HWMARGIN registry variable :

  1. Edit the Windows registry using a registry editor (for example, regedit.exe).


    Note:

    Before you edit the registry, back it up.


  2. Navigate to the following key:

    HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOMEn
    
    

    where n is the number of the ORACLE_HOME containing the installation.

  3. Add a new String value named REPORTS_ADD_HWMARGIN and set the value to YES.

Valid Values

YES|NO

Default

NO

Usage Notes

B.1.29 REPORTS_ARABIC_NUMERAL

Description

This environment variable specifies the numeric format for Arabic PDF output. Valid values for this environment are: ARABIC (Arabic numerals), HINDI (Hindi numerals), or CONTEXT (Arabic or Hindi depending on the context). This environment variable is case insensitive.

Valid Values

ARABIC|HINDI|CONTEXT

Default

ARABIC

B.1.30 REPORTS_BIDI_ALGORITHM

Description

This environment variable switches the bidirectional (BiDi) layout algorithm for BiDi languages (for example, Arabic or Hebrew). This environment variable is case insensitive.

Valid Values

ORACLE|UNICODE

where

ORACLE Oracle Reports follows the Oracle BiDi algorithm. The Oracle algorithm is used in Oracle Application Server Forms Services.

UNICODE Oracle Reports follows the Unicode BiDi algorithm.

Refer to: http://unicode.org/unicode/reports/tr9/index.html, for more information on the Unicode BiDi algorithm.

Default

ORACLE

B.1.31 REPORTS_CGIDIAGBODYTAGS *

Description

This environment variable specifies the HTML attributes to add to the <BODY> tag in the rwcgi diagnostic and debugging output. For example, you can use this environment variable to set up text and background color or image.

Valid Values

Any valid HTML attributes for the <BODY> tag.

Default

Not defined.

Usage Notes

This environment variable is supported in Oracle Reports for backward compatibility for Common Gateway Interface (CGI) reports, or when Single Sign-On is not used.


Note:

The functionality of JavaServer Pages (JSPs) or servlets replaces support for CGI.


Example

REPORTS_CGIDIAGBODYTAGS="bgcolor="#CC3366""

B.1.32 REPORTS_CGIDIAGHEADTAGS *

Description

This environment variable specifies the HTML tags to insert between the <HEAD> and </HEAD> tags in the rwcgi diagnostic and debugging output. For example, you can use this environment variable to set up <TITLE> or <META> tags.

Valid Values

Any HTML tags that are valid between the <HEAD> and </HEAD> tags.

Default

Not defined.

Usage Notes
Example

REPORTS_CGIDIAGHEADTAGS="<title>Employee List</title>"

B.1.33 REPORTS_CGIHELP *

Description

This environment variable specifies the URL and URI of the rwcgi help file that should display when rwcgi is invoked with the following empty request:

http://your_webserver/rwcgi?

Valid Values

Any valid URL to a Web page or HTML file.

Default

A default help screen is displayed in your browser.

Usage Notes
Examples

To display the www.yahoo.com page in your browser:

REPORTS_CGIHELP=http://www.yahoo.com

To display an HTML file named myhelpfile.htm in your browser:

REPORTS_CGIHELP=http://your_webserver/myhelpfile.htm

B.1.34 REPORTS_CGIMAP *

Description

This environment variable specifies the fully qualified file name and location of the rwcgi map file, if map file configuration is used.

Valid Values

A valid path to the map file.

Default

ORACLE_HOME\reports\conf\cgicmd.dat

Usage Notes
Example

REPORTS_CGIMAP=c:\ora9ias\reports\conf\cgicmd.dat

B.1.35 REPORTS_CGINODIAG *

Description

This environment variable specifies whether to disable all debugging and diagnostic output, such as help and showmap, from rwcgi.

Valid Values

YES|NO

Default

NO

Usage Notes
Example

The following request does not work when REPORTS_CGINODIAG=YES:

http://your_webserver/rwcgi/help?

B.1.36 REPORTS_CLASSPATH

Description

This environment variable specifies the list of JAR files and directories for the Java Virtual Machine (JVM) when started by the Oracle Reports executables. You would typically add to this list when you need to include your own classes when designing reports (for example, when adding additional pluggable data sources (PDSs) or using the PL/SQL to Java bridge).


Caution:

Reports Builder will fail if the value of the REPORTS_CLASSPATH environment variable (registry) exceeds 511 characters. To work around this issue, you can use the CLASSPATH environment variable (system) to specify a value in excess of 511 characters.


Valid Values

The default values are mandatory. If any of the entries are removed, the Oracle Reports executables may not behave correctly. Any additional user-defined directory or JAR file that contains Java Classes may be appended to the path.

Default

%ORACLE_HOME%\reports\jlib\rwbuilder.jar;%ORACLE_HOME%\reports\jlib\rwrun.jar;%ORACLE_HOME%\jlib\zrclient.jar;%ORACLE_HOME%\j2ee\home\oc4j.jar;%ORACLE_HOME%\j2ee\home\lib\ojsp.jar

Usage Notes

B.1.37 REPORTS_COOKIE_EXPIRE *

Description

This environment variable specifies the lifetime of a cookie within a given Reports Server session.

If Single Sign-On is not being used, then any user accessing a secured instance of the Reports Server is challenged to identify themselves by rwservlet via its own authentication mechanism (identical to the behavior of Oracle Reports6i). Because the HTTP 1.0 protocol is stateless (i.e., each call to the server is effectively independent of all others), users might need to authenticate themselves for each report request unless a cookie is maintained.

To allow users to authenticate themselves only once per session, rwservlet has its own client-side cookie, the authid cookie, in which it stores the required authentication information for the current session. Once the user is authenticated, an encrypted cookie is created in the browser to enable the user to submit multiple report jobs without re-authenticating for each request. The authid cookies are terminated when the user closes their browser session, but you should not rely strictly on this method of terminating the cookie. You should limit the lifetime of the cookie within a given session using the REPORTS_COOKIE_EXPIRE environment variable. For example, a user might log on and then go to lunch, leaving the browser session open. To minimize the potential for a security breach in this situation, the administrator may define the REPORTS_COOKIE_EXPIRE environment variable on the Reports Server. When rwservlet receives a job request, it compares the time saved in the cookie with the current system time. If the time is longer than the number of minutes defined in the environment variable (e.g., 30 minutes), the cookie is rejected and the user is challenged to provide authentication information.


Note:

If you want to force users to authenticate themselves for a specific report, you can use the SHOWAUTH command line keyword. Alternatively, you can include a %S in the corresponding report entry in the key map file. This file is usually called cgicmd.dat and is located in ORACLE_HOME\reports\conf. %S forces users to enter their user name and password each time the report is called.


Valid Values

Any number of minutes.

Default

30

Usage Note

This environment variable is supported in Oracle Reports for backward compatibility for Common Gateway Interface (CGI) reports, or when Single Sign-On is not used.


Note:

The functionality of JavaServer Pages (JSPs) or servlets replaces support for CGI.


Example

REPORTS_COOKIE_EXPIRE=30

B.1.38 REPORTS_DB_AUTH *

Description

This environment variable specifies the database authentication template used to log on to the database.

Valid Values

Any HTML file that contains special authentication actions. It is recommended that you keep the default.

Default

dbauth.htm

Usage Note

This environment variable is supported in Oracle Reports for backward compatibility for Common Gateway Interface (CGI) reports, or when Single Sign-On is not used.


Note:

The functionality of JavaServer Pages (JSPs) or servlets replaces support for CGI.


Example

REPORTS_DB_AUTH=dbauth.htm

B.1.39 REPORTS_DEFAULT_DISPLAY

Description

This environment variable specifies whether to implement the following features introduced with 10g (9.0.4):

Valid Values

YES|NO

Default

YES

Usage Notes

B.1.40 REPORTS_DEFAULT_PIXEL_SIZE

Description

This environment variable specifies a pixel size that overrides the operating system's default pixel size when generating a report to HTML output. Normally, Oracle Reports takes its pixel size from the operating system. If you are working with older reports that rely upon a pixel size that is different from that of the operating system (for example, a pixel size of 80), you can use this variable to maintain the same behavior in your older reports.

Valid Values

Any value ranging from 72 through 200.

Default

Surface resolution determined by Oracle Reports.

Usage Notes

B.1.41 REPORTS_ENCRYPTION_KEY *

Description

This environment variable specifies the encryption key used to encrypt the user name and password.

Valid Values

Any encryption key

Default

reports9.0

Usage Note

This environment variable is supported in Oracle Reports for backward compatibility for Common Gateway Interface (CGI) reports, or when Single Sign-On is not used.


Note:

The functionality of JavaServer Pages (JSPs) or servlets replaces support for CGI.


Example

REPORTS_ENCRYPTION_KEY=reports9.0

B.1.42 REPORTS_GRAPH_IMAGE_DPI

Description

The REPORTS_GRAPH_IMAGE_DPI environment variable specifies a dots per inch (DPI) value for graphs output to a PDF file or a printer. The default value for this environment variable is set at 72 DPI to minimize the time taken to generate the report as well as to reduce the report file size.

If you specify a value higher than 72 DPI, you will see an improvement in the image resolution for graphs sent to a PDF file or a printer. However, this affects the time taken to generate the report output as well as the file size.


Note:

With the value of 250:

  • The time taken to generate a report with an Oracle Reports graph increases 5 to 6 times when compared to the time taken to generate the same report with the value set to 72dpi.

  • The PDF file size also increases 5 to 6 times.


Valid Values

72 through 300

Default

72

Usage Notes

B.1.43 REPORTS_JVM_OPTIONS

Description

This environment variable specifies any JVM options that you want Reports Builder, Reports Runtime, or OracleAS Reports Services to consider when it starts its JVM. For example, you can use this environment variable to specify the starting heap size and maximum heap size for the JVM, additional classpath entries, and so on.

Valid Values

List of JVM options in the JVM command line syntax.

Default

-Xmx256M

Usage Notes

B.1.44 REPORTS_NLS_XML_CHARSETS

Description

This environment variable provides an override option to enable you to define the character set encoding used when saving a report in XML format. This is only required where the required character set mapping for Reports NLS_LANG to XML IANA character sets do not produce the required results.

To enable your XML parser to understand the characters within the XML files, Oracle Reports does the following:

  1. Adds an encoding attribute to the XML declaration based on the value in NLS_CHARACTERSET, the character set part of the NLS_LANG variable.

  2. Translates the value set as the NLS_LANG character set (e.g., JA16SJIS) to what is expected in the XML specification (e.g., Shift_JIS).

You can override this mapping by adding entries to the REPORTS_NLS_XML_CHARSET.

Valid Values

Set of mapping pairs separated by semicolons. The first value is the encoding that is being produced and the second mapped value is the value that should be used for these cases.

<old_name>=<new_name>[;<old_name>=<new_name>][;<old_name>=<new_name>]...
Default

Not defined.

Usage notes

This environment variable should not be required and is currently only used as a workaround to Bug 2224413:

NLS:NEED STABLE MAPPING FROM ORACLE'S NLS_CHARACTER_SET TO IANA ENCODING

Example
ISO-8859-8=ISO-8859-8-1;CSEUCKR=EUC-KR;WINDOWS-949=EUC-KR;EUC-CN=GBK;WINDOWS-936=GBK

B.1.45 REPORTS_NO_DUMMY_PRINTER

Description

This environment variable specifies whether the system's surface and fonts should be used instead of the printer's.

Valid Values

TRUE|not set

Default

TRUE

Usage Notes

B.1.46 REPORTS_NO_HTML_SPACE_REPLACE

Description

This environment variable specifies whether spaces should not be replaced with &nbsp; in HTML or HTMLCSS output.

Oracle Reports will map HTML metadata characters in the data retrieved for a field to the appropriate encoding. That is, Oracle Reports automatically maps: < to &lt; and " to &quot;. In most cases, the browser produces the correct results and handles the spaces correctly. In some cases, the browser's handling of spaces does not produce the required output. This happens in such cases as where the user has padded the front of the data to produce indentation. Since the browser will treat multiple spaces as single space, the indentation is lost.

Valid Values

YES|not set

Default

not set

Usage Notes
Example

If REPORTS_NO_HTML_SPACE_REPLACE is set to YES, then the output for the sentence [ Typical data output] will be:

[ Typical data output]

and display as (ignoring preceding spaces):

[Typical data output]

Not setting the environment variable will cause the output to change to:

[&nbsp;&nbsp;Typical&nbsp;data&nbsp;output]

and display as (maintaining preceding spaces):

[ Typical data output]


Note:

Brackets in the above example are used to show preceding spaces; they are not part of the sentence.


B.1.47 REPORTS_OUTPUTIMAGEFORMAT

Description

This environment variable specifies the default image format used in the report.

Valid Values

GIF|JPEG|JPG|PNG|BMP

Default

JPEG

Usage Notes

B.1.48 REPORTS_PATH

Description

This environment variable specifies the search path for files referenced by Reports Runtime. The directories specified by REPORTS_PATH are searched first, then those specified by ORACLE_PATH. This environment variable is used to locate reports and external objects that you use in your reports, such as PL/SQL libraries, external queries, and external boilerplate. It enables you to create reports that are easily portable across operating systems by preventing the need to hard-code directory paths.

Define REPORTS_PATH in the same fashion you define other environment variables on your operating system, keeping in mind such platform-specific rules as path length, etc.

In addition to directory paths, you can specify the keyword DB when you define REPORTS_PATH. This instructs Reports Builder to search the database to which you are currently connected.

Suppose you specified the following on a UNIX platform:

setenv REPORTS_PATH /home/tkostin/pay:/home/tkostin/receive:DB

Reports Builder will first search the directory /home/tkostin/pay. If it cannot find the file in question, it will search /home/tkostin/receive. If it still cannot find the file, it will search the database to which you connected when you began your Reports Builder session.

Valid Values

Any directory on any drive.

Default

%ORACLE_HOME%\REPORT\DEMO; %ORACLE_HOME%\REPORT\DEMO\BITMAP; %ORACLE_HOME%\REPORT\DEMO\REQFILES

Usage Note
Example

REPORTS_PATH=C:\oracle\apps\reports;C:\myfiles

B.1.49 REPORTS_RESOURCE

This environment variable specifies the location of the resource files required for reports. This path must include the NLS directory extension when specifying the location of the resource files.

Valid Values

Any directory on any drive.

Default

%ORACLE_HOME%\reports\res\US\

Usage Note

To change locales, you must modify this environment variable, in addition to NLS_LANG.

Examples

For US files:

REPORTS_RESOURCE = %ORACLE_HOME%\reports\res\US\

For Japanese files:

REPORTS_RESOURCE = %ORACLE_HOME%\reports\res\JA\

B.1.50 REPORTS_SERVER *

Description

This environment variable specifies the default Reports Server for Web Cartridge or Web CGI requests. When this parameter is set, you can omit the SERVER command line keyword in report requests to process them using the default server, or you can include the SERVER command line keyword to override the default.

Valid Values

Any Reports Server service entry name.

Usage Note

This environment variable is supported in Oracle Reports for backward compatibility for Common Gateway Interface (CGI) reports, or when Single Sign-On is not used.


Note:

The functionality of JavaServer Pages (JSPs) or servlets replaces support for CGI.


Example

REPORTS_SERVER=my_rep_server

B.1.51 REPORTS_SPACE_BREAK

Description

This environment variable specifies whether to consider white spaces as a delimiter. Oracle Reports employs an algorithm to properly wrap a line, when a word cannot fit in the same line. By default the word wrapping algorithm considers white spaces as a delimiter.

Valid Values

YES|NO

Default

YES

Usage Note

Set this environment variable to NO only for Asian languages with multibyte character sets, such as Chinese. This ensures that Oracle Reports does not consider white spaces as delimiters and will enable appropriate word wrapping functionality required by languages with multibyte character sets.

B.1.52 REPORTS_SSLPORT *

Description

This environment variable specifies the port number when using SSL.

Valid Values

Any valid port number.

Default

443

Usage Note

This environment variable is supported in Oracle Reports for backward compatibility for Common Gateway Interface (CGI) reports, or when Single Sign-On is not used.


Note:

The functionality of JavaServer Pages (JSPs) or servlets replaces support for CGI.


Example

REPORTS_SSLPORT=442

B.1.53 REPORTS_SYS_AUTH

Description

This environment variable specifies the authentication template used to authenticate the username and password when users run report requests to a restricted Reports Server.

Valid Value

Any HTML file that contains special authentication actions. It is recommended that you keep the default.

Default

sysauth.htm

Usage Note

This environment variable is supported in Oracle Reports for backward compatibility for Common Gateway Interface (CGI) reports, or when Single Sign-On is not used.


Note:

The functionality of JavaServer Pages (JSPs) or servlets replaces support for CGI.


Example

REPORTS_SYS_AUTH=sysauth.htm

B.1.54 REPORTS_TAGLIB_URI

Description

This environment variable specifies the location of the tag prefix used in the Web source of a JSP-based report. It defines the Reports URI of the tag library (TAGLIB) declarations of the .jsp file. This is typically:

<%@ taglib uri="/WEB-INF/lib/reports_tld.jar" prefix="rw" %>

When Oracle Reports finds a "uri" that matches the environment variable, it will use the corresponding "prefix" attribute to identify Oracle Reports tags within the .jsp file.

Valid Values

Any "uri" that references the Oracle Reports tag library.

Default

/WEB-INF/lib/reports_tld.jar

Usage Note

The default value is typically unchanged. It is the same for both Reports files in both JDeveloper and Reports. The "prefix" attribute can be changed to avoid naming conflicts independent of the "uri" attribute.

B.1.55 REPORTS_TMP

Description

This environment variable specifies the directory in which you wish to store Reports Builder temporary files. Reports Builder will use only one directory for this purpose; do not define more than one.

Define REPORTS_TMP in the same fashion you define other environment variables on your base operating system, keeping in mind such platform-specific rules as path length, and so on. If you don't define REPORTS_TMP, it will default to the current working directory.

Valid Values

Any directory on any drive.

Default

Not defined.

Example

REPORTS_TMP=C:\tmp

B.1.56 REPORTS_USEREXIT

Description

This environment specifies the DLLs for use by Reports Builder and its related executables (e.g., Reports Runtime). These DLLs are program modules created by you to be called by the Reports Builder executables.

REPORTS_USEREXIT can specify multiple DLLs. Use a backslash (\) to separate directories in a path, and a semicolon (;) to separate complete paths.

If this value is not explicitly set, Reports Builder looks for 60xtb32.dll according to the path variable of the system.

Valid Values

Any user exit dynamic link library (along with its absolute path).

Default

Not defined.

Example

REPORTS_USEREXIT=C:\mydll.dll;d:\mynew.dll;e:\bin\speed.dll

B.1.57 RW

This environment variable specifies the reports-specific directory within the ORACLE_HOME.

Valid Values

A valid directory name.

Default

%ORACLE_HOME%\reports (Windows)

$ORACLE_HOME/reports (UNIX)

B.1.58 TK_PRINT

Description

(UNIX only) This environment variable specifies the print command to be executed on UNIX for Oracle Reports 6i. In Oracle Reports, TK_PRINT is obsolete; you can achieve the same results by using the printing script file: ORACLE_HOME/bin/rwlpr.sh. This script supports lp and lpr commands by default. If you use some other printing command for your machine, this file needs to be modified accordingly.

Valid Values

The PRINT command and all necessary keywords for your flavor of UNIX, including the following elements:

This string is much like a printf() format. If this environment variable is not set, Oracle Reports 6i uses the standard default value for the platform. Examples of default values on various platforms are as follows:

System V: lp -s -d'%n' -n%c

UnixWare: lp -s -Tpostscript -d'%n' -n%c

Solaris: lpr -P'%n' -#%c -s

Default

Not defined.

Usage Notes

B.1.59 TK_PRINT_STATUS

Description

(UNIX only) This environment variable specifies the command executed to validate the printer. To make sure the printer is valid, this command is executed and its output is searched for the strings unknown, non-existent, or invalid. If one of these strings appears in the output, the printer is considered invalid and cannot be selected. Otherwise, the printer is accepted by Oracle Reports.

Valid Values

Should include %n for the printer name (see also TK_PRINT).

If this environment variable is not set, Oracle Reports uses the built-in default values:

System V: /usr/bin/lpstat -p'%n' 2>&1

Other: /usr/etc/lpc status '%n' 2>&1

Default

Not defined.

Usage Notes

B.1.60 TK_PRINTER

Description

(UNIX only) This environment variable specifies the default printer's name.

Valid Values

Name of default printer.

Default

Not defined.

Usage Notes

B.1.61 TK90_AFM

Description

This environment variable specifies the location of AFM files. TK90_AFM is considered first, then ORACLE_AFM.

Valid Values

Any directory on any drive.

Default

Not defined.

Usage Notes

B.1.62 TK90_HPD

Description

This environment variable specifies the location of HPD files. TK90_HPD is considered first, then ORACLE_HPD.

Valid Values

Any directory on any drive.

Default

Not defined.

Usage Notes

B.1.63 TK90_PPD

Description

This environment variable specifies the location of PPD files. TK90_PPD is considered first, then ORACLE_PPD.

Valid Values

Any directory on any drive.

Default

Not defined.

Usage notes

B.1.64 TK90_TFM

Description

This environment variable specifies the location of TFM files. TK90_TFM is considered first, then ORACLE_TFM.

Valid Values

Any directory on any drive.

Default

Not defined.

Usage notes

B.1.65 USERNAME

Description

This environment variable specifies the variable part of a default logon account. See your database documentation for more information on setting USERNAME.

Valid Values

Any valid Oracle username (without the OPS$ prefix).

Default

Not defined.

Example

USERNAME=dsanvita

B.1.66 USER_NLS_LANG

Description

This environment variable specifies the language for the Oracle Reports Runtime component. Chapter 18, "Implementing NLS and Bidirectional Support" contains additional detailed information about this environment variable, including a table of valid values.

B.1.67 WIN_REMOTE_SESSIONS

Description

This environment variable specifies the number of connections to a remote server for which NETINIT7 should reserve memory.

Valid Values

0 - 33

Default

Not defined.

Usage Notes
Configuring a Remote Session

To use NETINIT7:

  1. Configure the number of sessions by adding the WIN_REMOTE_SESSIONS parameter.

  2. Create the NETINIT7 icon in your Oracle program group. (For more information about creating icons, see your Microsoft Windows documentation.) Enter the following path in the Command Line field of the Windows Program Item Properties dialog box:

    %ORACLE_HOME%\bin\netinit7.exe
    
    
  3. Start NETINIT7 by double-clicking the icon in the Oracle program group. Make sure that you start NETINIT7 before you start a product. If you want NETINIT7 to run automatically at Windows startup, include the NETINIT7 icon in the Windows Startup program group.

    NETINIT7 attempts to reserve real memory for the configured number of server connections. If NETINIT7 cannot allocate the required memory, it displays a warning message and indicates the actual number of sessions for which it has allocated memory.

    After allocating memory, NETINIT7 minimizes itself. Restoring NETINIT7 displays the total number of sessions configured and the total amount of memory used. Closing NETINIT7 releases all unused session memory. If an application is still using session memory, NETINIT7 notifies you that applications must log off before session memory can be freed.


    Note:

    If you start a product before NETINIT7, it will allocate its own session memory, which is not recognized by NETINIT7. NETINIT7 attempts to allocate the configured session memory in addition to memory already allocated by the product you started.


B.1.68 XMMITR

Description

(DOS users only) This environment variable applies only to users of Oracle DOS protected mode executables. Check your CONFIG.ORA file, located in the DOS Oracle home directory. If the XMMITR parameter is set in CONFIG.ORA, you must set it to the same value in the registry. If this variable is not set in your DOS CONFIG.ORA files, you do not need to set it in the registry.

XMMITR (Extended Memory Manager Interrupt Vector) specifies the interrupt vector to be used for the extended memory manager/mode transition driver XMM/MTD interrupt services entry point. To set a different vector, the new interrupt vector is expressed as a decimal number. XMMITR should be used only if another program in your system needs to use interrupt 100 decimal, or 64 hexadecimal.

Valid Values

The same value specified in your DOS CONFIG.ORA file.

Default

Not defined.


Go to previous page Go to next page
Oracle
Copyright © 2003 Oracle Corporation.

All Rights Reserved.
Go To Table Of Contents
Contents
Go To Index
Index