Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Reports Guide To Changed Functionality

Download as pdf or txt
Download as pdf or txt
You are on page 1of 26

A GUIDE TO CHANGED FUNCTIONALITY

BETWEEN ORACLE REPORTS 6i AND 10g


An Oracle White Paper
August 2005
Introduction

INTRODUCTION
Successful businesses know that presenting their data in a timely and meaningful way
provides a powerful advantage over the competition. To that end, businesses continue
to need ever more powerful tools for producing high quality reports from the mass of
disparate data sources kept in every major corporation today.
Oracle Reports has maintained its position as a premier enterprise reporting tool by
keeping pace with rapid shifts in technology. As rapidly as technology has shifted,
Oracle Reports has moved from character-based, to graphical-based, to client/server,
and now to multi-tier Web-based development and deployment.
Oracle6i Reports was the last version of Oracle Reports to support both a character-
mode and a client/server GUI reports viewer. With Oracle9i Reports, users moved to a
Java 2 Enterprise Edition (J2EE) Web-based multi-tier environment. Oracle Reports
10g (9.0.4) and Oracle Reports 10g Release 2 (10.1.2) have improved the performance
and scalability of Reports in the Web-based environment, and have also provided a host
of new features.
It is recommended that Oracle6i Reports customers migrate to Oracle Reports 10g
Release 2 (10.1.2) as soon as possible, and that Oracle9i Reports customers start
planning their migration to Oracle Reports 10g Release 2 (10.1.2). Refer to Metalink for
the latest information on the desupport dates for Oracle6i Reports and Oracle9i
Reports.

2
OBJECTIVE AND SCOPE
The objective of this white paper is to provide one-stop information about the
availability of features from earlier releases (6i, 9i, and 10g (9.0.4)) in Oracle Reports 10g
Release 2 (10.1.2). In other words, this white paper is for you if you describe yourself as
follows:

I am using Oracle6i Reports / Oracle9i Reports / Oracle


Reports 10g (9.0.4). I would like to know which features are
deprecated, obsolete, or changed in Oracle Reports 10g
Release 2 (10.1.2), and how I can migrate existing reports
that use these features.
The earlier version of this white paper, Statement of Direction, for Oracle Reports 10g
(9.0.4) explained:
• Functionality that changed between Oracle6i Reports and Oracle9i Reports,
and between Oracle9i Reports and Oracle Reports 10g (9.0.4).
In addition to that information, this white paper covers:
• The Oracle Reports 10g (9.0.4) functionality that changed in Oracle Reports
10g Release 2 (10.1.2)
As stated above, this white paper covers the functionality that was available in earlier
releases, and is now deprecated, obsolete, or has changed its behavior. If you would like
to know Oracle Corporation’s strategy towards Oracle Reports, refer to the new
document Oracle Forms - Oracle Reports - Oracle Designer Statement of Direction available on
the Oracle Technology Network (OTN). If you want to take a look at the new features
introduced in Oracle9i Reports, Oracle Reports 10g (9.0.4), and Oracle Reports 10g
Release 2 (10.1.2), refer to the Oracle Technology Network (OTN).

SECTIONS
This white paper is divided into the following sections:
• Deprecated Functionality
• Obsolete Functionality
• Changed Behavior and Naming
• Resources
Here is a glossary of the terms used:
Obsolete functionality: Obsolete functionality is no longer available in Oracle Reports
10g Release 2 (10.1.2). By continuing to remove obsolete functionality and replacing it
with new technology, Oracle Reports ensures that our customers always have the latest
functionality they need for successful e-Business development and deployment.
Deprecated functionality: Deprecated functionality is at a point where it no longer
contributes significantly to the usefulness of the product. As a result, it is no longer
documented and its use is discouraged, as it will be made obsolete in a subsequent release
of Oracle Reports. The deprecation phase is provided so that customers can gradually
migrate to new functionality, before the deprecated functionality is made obsolete.

3
Deprecated Functionality

The following functionality is deprecated in Oracle Reports 10g Release 2 (10.1.2):


• Oracle Express data source and related options
• Reports Server clustering
• Import Portal component
• Backward compatibility with Oracle6i Reports clients
• Using keywords SERVER and USERID with SRW.RUN_REPORT
The following functionality was deprecated in earlier releases (Oracle9i Reports or
Oracle Reports 10g (9.0.4)):
• User exits
• Selected executables
• Selected environment variables
• SRW.SET_ATTR built-in function
• Formatting-related SRW built-in parameters
• Tracing-related SRW built-in procedures and parameters
• Embedding an OLE2 object

EXPRESS DATA SOURCE AND RELATED OPTIONS


Oracle Express Server is an advanced calculation engine and data cache that delivers on-
line analytical processing (OLAP) via a range of Web-based and client/server platforms.
Based on a multidimensional data model, Express Server is optimized to support
mathematical, financial, statistical, and time-series manipulations, as well as forecasting,
modeling, and multi-user what-if scenarios.
The OLAP option to the Oracle Database is the successor to Oracle Express Server.
The OLAP option fulfills the same purpose as Express Server and it provides the same
general feature set. It does so by including Express Server’s multidimensional
calculation engine and data types directly in the context of the Oracle Database. In
addition, the OLAP option to the Oracle Database provides several new features.
Oracle Express customers are advised to migrate to the OLAP option of the Oracle
Database.
Oracle Reports 10g Release 2 (10.1.2) provides an OLAP data source that can be used to
create reports based on OLAP data. As a result, the Oracle Express data source is now
deprecated. Additionally, any related options, such as the command line keyword
EXPRESS_SERVER, are deprecated.
4
Action Required
Migrate your Express data to the OLAP option provided with the Oracle Database. Use
the OLAP data source in Oracle Reports 10g Release 2 (10.1.2) to create your reports
based on OLAP data.

REPORTS SERVER CLUSTERING


A cluster is a virtual grouping of servers into a community for the purpose of sharing
the request-processing load efficiently across members of the cluster. Reports Server
clustering provides the following benefits:
• Load balancing: The load is shared equally across multiple Reports Servers.
• Failover: If one member is shut down, the other members carry on managing
the request load. There is no single-point-of-failure, where one machine's
malfunction brings the whole system down.
However, since modern IT environments require high availability of the entire IT
infrastructure, it is better to have a centralized high availability solution at the level of
the application server, instead of a separate clustering solution for each component.
Oracle Application Server High Availability provides the industry’s most reliable,
resilient, and fault-tolerant application server platform. Oracle Reports’ integration with
OracleAS High Availability makes sure that your enterprise-reporting environment is
extremely reliable and fault-tolerant. Since using OracleAS High Availability provides a
centralized clustering mechanism and several cutting-edge features, Oracle Reports
clustering is now deprecated.
Action Required
If you are using Reports Server clustering, switch to OracleAS High Availability. Refer
to Oracle Application Server Enterprise Deployment Guide for information on how to
configure your reporting environment to use OracleAS High Availability.
If you are using an OracleAS Forms Services application from prior releases that
includes a Reports Server cluster name, this application will fail to bind to the Reports
Server cluster it references. To resolve this issue, use the new Reports Servlet property
REPORTS_SERVERMAP, which enables you to map a cluster name to a Reports
Server name. For more information on this property, refer to the chapter Configuring
Oracle Reports Services available in Oracle Application Server Reports Services Publishing
Reports to the Web.

IMPORT PORTAL COMPONENT


You can create simple reports in Oracle Portal using its browser-based wizard. This
wizard does not offer all the powerful capabilities available inside Reports Builder, but
allows you to develop and deploy simple reports. If you need to apply advanced
formatting to these reports, you can import those reports into Reports Builder by
choosing File > Import Portal Component.
However, since it is possible to create simple as well as complex reports inside Reports
Builder and then deploy them in Oracle Portal, it is not necessary to use the browser-
based wizard of Oracle Portal. As a result, the functionality to import reports developed
with the Oracle Portal wizard into Reports Builder is deprecated in Oracle Reports 10g
Release 2 (10.1.2).

5
Action Required
Instead of using the browser-based wizard, develop reports in Reports Builder, and
deploy them in Oracle Portal.

BACKWARD COMPATIBILITY WITH ORACLE6i REPORTS


CLIENTS
Oracle9i Reports and Oracle Reports 10g (9.0.4) allowed backward compatibility with
Oracle6i Reports clients if the compatible element was configured appropriately in
the Reports Server configuration file. Specifically, when the compatible element was
set, Oracle6i Reports client requests were forwarded to the Reports Server. This
backward compatibility feature, and thus the compatible element, is deprecated in
Oracle Reports 10g Release 2 (10.1.2). Refer to Oracle Application Server Reports Services
Publishing Reports to the Web for more information on the compatible element.
Action Required
Switch to using Oracle Reports 10g Release 2 (10.1.2) clients.

USING KEYWORDS SERVER AND USERID WITH


SRW.RUN_REPORT
In Oracle Reports 10g Release 2 (10.1.2), the use of keywords SERVER and USERID
with SRW.RUN_REPORT is deprecated. Reports created in prior releases that use these
keywords with SRW.RUN_REPORT will continue to run in Oracle Reports 10g Release
2 (10.1.2), but the values specified in these keywords will be ignored. If you need these
keyword values to be honored, set the environment variable
REPORTS_SRWRUN_TO_SERVER=YES.
In general, it is recommended not to use the keywords SERVER and USERID with
SRW.RUN_REPORT, because the values for these keywords should be inherited from
the parent report request.
Action Required
In existing reports, it is recommended that you remove the keywords SERVER and
USERID in SRW.RUN_REPORT commands. If you need to use these keywords with
SRW.RUN_REPORT, set the environment variable
REPORTS_SRWRUN_TO_SERVER=YES. However, note that this environment
variable is available only for backward compatibility, and may not be available in later
releases.

USER EXITS
A user exit is a call to an external function executed within Oracle Reports. User exits
provide a way to pass control (and possibly arguments) from Oracle Reports to another
Oracle product or 3GL program, and then return control (and possibly arguments) back
to Oracle Reports. However, user exits require you to re-make the executables to link in
all the user exits. This makes troubleshooting and upgrades to new releases of the
product difficult.
In Oracle Reports 10g Release 2 (10.1.2), you can call Java methods using the
ORA_JAVA package and the Java Importer. This reduces the need to have user exits in
a report and allows for a more open and portable deployment. You may also use the
ORA_FFI package, which provides a foreign function interface for invoking C
functions in a dynamic library. With the availability of these new built-ins, the use of
user exits is deprecated in Oracle Reports 10g Release 2 (10.1.2), though makefiles will
still be supplied to permit you to continue to work with existing user exits.

6
Action Required
If you are using user exits, switch to using either the ORA_JAVA package or the Java
Importer utility. Refer to Oracle Reports online Help for more information on how to use
the Java Importer.
Refer to Table 1 to replace deprecated SRW user exit built-in procedures with new
functionality.
Table 1: Deprecated user exit built-in procedures

Built-in Procedure Action Required


SRW.UNKNOWN_USER_EXIT Replace with ORA_FFI, or ORA_JAVA calls.
SRW.USER_EXIT Replace with ORA_FFI, or ORA_JAVA calls.
SRW.USER_EXIT20 Replace with ORA_FFI, or ORA_JAVA calls.
SRW.USER_EXIT_FAILURE Replace with ORA_FFI, or ORA_JAVA calls.

SELECTED EXECUTABLES
In Oracle6i Reports, rwcgi60 was the Reports Web CGI (Common Gateway
Interface) executable that provided a connection between a Web Server and the Reports
Server, allowing you to run reports dynamically from your Web browser.
Oracle Reports 10g Release 2 (10.1.2) provides you with two executables that perform
the same function as rwcgi60: rwcgi.exe (on Win32) and rwcgi (on UNIX).
However, all of these CGI executables are deprecated. Instead, use standard Java 2
Enterprise Edition (J2EE) methods of making a Web connection: use either a servlet
URL or a JSP URL.
Action Required
If you are using any of the CGI executables, use either a servlet or a JSP URL instead.
Refer to Oracle Application Server Reports Services Publishing Reports to the Web for more
information on how to submit requests to the Reports Server.

SELECTED ENVIRONMENT VARIABLES


Some environment variables have been deprecated either because the basic functionality
which these environment variables controlled has been deprecated, or because newer
ways of setting the values are available.
Action Required
Refer to Table 2 to replace deprecated environment variables with new functionality.
Table 2: Deprecated environment variables

Environment Variable Action required


REPORTS_CGIDIAGBODYTAGS CGI functionality is deprecated. As a result,
these environment variables are no longer
REPORTS_CGIDIAGHEADTAGS
needed. Refer to the section Deprecated
REPORTS_CGIHELP Executables for a description of CGI
REPORTS_CGIMAP functionality, and the action required.

REPORTS_CGINODIAG

7
Environment Variable Action required
REPORTS_COOKIE_EXPIRE This environment variable specifies the lifetime
of a cookie within a given Reports Server
session. This cookie is set by rwservlet so
that users need to authenticate only once per
session. In Oracle Reports 10g Release 2
(10.1.2), by default the security mechanism is
handled by Oracle Single Sign-On, and there is
no need for rwservlet to set a cookie. As a
result, this environment variable is not needed.
REPORTS_DB_AUTH REPORTS_DB_AUTH specifies the HTML
REPORTS_SYS_AUTH template used to show the database
authentication page to the user.
REPORTS_SYS_AUTH specifies the HTML
template used to show the Reports Server
authentication page. In Oracle Reports 10g
Release 2 (10.1.2), Oracle Single Sign-On shows
its own authentication page. As a result, these
environment variables are not needed.
REPORTS_ENCRYPTION_KEY This environment variable specifies the
encryption key used to encrypt the user name
and password. This was needed in Oracle6i
Reports because the username and password
were stored in the Reports Server configuration
file. Since Oracle9i Reports and Oracle Reports
10g store the username and password in Oracle
Internet Directory (OID), this environment
variable is no longer needed.
REPORTS_SERVER This environment variable specifies the default
Reports Server for Web Cartridge or Web CGI
requests. In Oracle Reports 10g Release 2
(10.1.2), you should specify the default server
(in-process server) name in the
rwservlet.properties file.
REPORTS_SSLPORT This environment variable specifies the port
number when using SSL while using CGI. Since
CGI is deprecated in Oracle Reports 10g Release
2 (10.1.2), this environment variable is no longer
needed. When using servlet or JSP URL over
SSL, the Oracle HTTP Server’s SSL port is used.
So you need to configure the SSL port in Oracle
HTTP Server. See Oracle HTTP Server
Administrator's Guide for more information.

SRW.SET_ATTR BUILT-IN FUNCTION


The SRW.SET_ATTR built-in function was originally designed to save time and
resources by allowing report developers to set attributes like font face, foreground and
background colors, border width, and so on in a single built-in function. However, each
of these attributes has evolved into a separate built-in procedure (for example,
SRW.SET_FONT_FACE, SRW.SET_BORDER_WIDTH). As a result,
SRW.SET_ATTR is now deprecated, and it is recommended that you use the new
built-in procedures.

8
For example, using SRW.SET_ATTR, your code might look like this:
If :sal > 2000 then
srw.attr.mask := srw.face_attr +
srw.sz_attr +
srw.weight_attr +
srw.style_attr +
srw.gcolor_attr;
srw.attr.face := ‘times’;
srw.attr.sz := 18;
srw.attr.weight := srw.bold_weight;
srw.attr.style := srw.underline_style;
srw.attr.gcolor := ‘blue’;
srw.set_attr (0, srw.attr);
end if;
RETURN (TRUE);
You can change your code to perform the same function as above by using the new
built-in procedures, as follows:
If :sal > 2000 then
srw.set_font_face(‘times’)
srw.set_font_size(18)
srw.set_font_weight(srw.bold_weight)
srw.set_font_style(srw.underline_style)
srw.set_text_color(‘blue’)
end if;
RETURN (TRUE);

Action Required
Refer to Table 3 to replace deprecated SRW.SET_ATTR functionality and attributes
with new SRW built-in procedures in the PL/SQL code in your report.
Table 3: Deprecated SRW.SET_ATTR functionality

Deprecated Attribute affected Action Required


SRW.SET_ATTR
functionality
srw.action_attr srw.attr.action Use srw.set_pdf_action
srw.aftcode_attr srw.attr.aftcode Use
srw.set_after_printing_co
de
srw.aftform_escape_a srw.attr.aftform_e Use
ttr scape srw.set_after_form_html
srw.aftpage_escape_a srw.attr.aftpage_e Use
ttr scape srw.set_after_page_html
srw.aftreport_escape srw.attr.aftreport Use
_attr srw.set_after_report_html
srw.bbcolor_attr srw.attr.bbcolor Use
srw.set_background_border
_color
srw.befcode_attr srw.attr.befcode Use
srw.set_before_printing_c
ode
srw.befform_escape_a srw.attr.befform_e Use
ttr scape srw.set_before_form_html

9
Deprecated Attribute affected Action Required
SRW.SET_ATTR
functionality
srw.befpage_escape_a srw.attr.befpage_e Use
ttr scape srw.set_before_page_html
srw.befreport_escape srw.attr.befreport Use
_attr _escape srw.set_before_report_htm
l
srw.bfcolor_attr srw.attr.bfcolor Use
srw.set_background_fill_c
olor
srw.bookmark_attr srw.attr.bookmark Use srw.set_bookmark
srw.borderwidth_attr srw.attr.borderwid Use srw.set_border_width
th
srw.borderpatt_attr srw.attr.borderpat Use
t srw.set_border_pattern
srw.face_attr srw.attr.face Use srw.set_font_face
srw.fbcolor_attr srw.attr.fbcolor Use
srw.set_foreground_border
_color
srw.ffcolor_attr srw. attr.ffcolor Use
srw.set_foreground_fill_c
olor
srw.fillpatt_attr srw.attr.fillpatt Use srw.set_fill_pattern
srw.formatmask_attr srw.attr.formatmas Use srw.set_format_mask
k
srw.gcolor_attr srw.attr.gcolor Use srw.set_text_color
srw.gspacing_attr srw.attr.gspacing Use
srw.set_custom_spacing or
srw.set_spacing
srw.hjust_attr srw.attr.hjust Use srw.set_justification
srw.hyperlink_attr srw.attr.hyperlink Use srw.set_hyperlink
srw.linktag_attr srw.attr.linktag Use srw.set_linktag
srw.printer_intray_a srw.attr.printer_i Use srw.set_printer_tray
ttr ntray
srw.plain_style srw.attr.plain_sty Use
le srw.set_font_style(srw.pl
ain_style)
srw.italic_style srw.attr.italic_st Use
yle srw.set_font_style(srw.it
alic_style)
srw.oblique_style srw.attr.oblique_s No longer applicable
tyle
srw.underline_style srw.attr.underline Use
_style srw.set_font_style(srw.un
derline_style)
srw.outline_style srw.attr.outline_s No longer applicable
tyle
srw.shadow_style srw.attr.shadow_st No longer applicable
yle

10
Deprecated Attribute affected Action Required
SRW.SET_ATTR
functionality
srw.inverted_style srw.attr.inverted_ No longer applicable
style
srw.overstrike_style srw.attr.overstrik No longer applicable
e_style
srw.blink_style srw.attr.blink_sty No longer applicable
le
srw.sz_attr srw.attr.sz Use
srw.set_font_size(size)
srw.plain_texta srw.attr.plain_tex Use
ta srw.set_charmode_text(srw
.plain_texta)
srw.reverse_texta srw.attr.reverse_t Remove srw.set_attr built-
exta in
srw.bold_texta srw.attr.bold_text Use
a srw.set_charmode_text(srw
.bold_texta)
srw.reversebold_text srw.attr.reversebo No longer applicable
a ld_texta
srw.underline_texta srw.attr.underline Use
_texta srw.set_charmode_text(srw
.underline_texta)
srw.underlinereverse srw.attr.underline No longer applicable
_texta reverse_texta
srw.underlinebold_te srw.attr.underline No longer applicable
xta bold_texta
srw.reverseboldunder srw.attr. No longer applicable
line_texta reverseboldunderli
ne_texta
srw.ultralight_weigh srw.attr.ultraligh No longer applicable
t t_weight
srw.extralight_weigh srw.attr.extraligh No longer applicable
t t_weight
srw.light_weight srw.attr.light_wei No longer applicable
ght
srw.demilight_weight srw.attr.demilight No longer applicable
_weight
srw.medium_weight srw.attr.medium_we Use
ight srw.set_font_weight(srw.m
edium_weight)
srw.demibold_weight srw.attr.demibold_ No longer applicable
weight
srw.bold_weight srw.attr.bold_weig Use
ht srw.set_font_weight(srw.b
old_weight)
srw.extrabold_weight srw.attr.extrabold No longer applicable
_weight

11
FORMATTING-RELATED SRW BUILT-IN PARAMETERS
The formatting-related SRW built-in parameters that were applicable only to client-
server environments (for example, SRW.BLINK_STYLE) are deprecated in Oracle
Reports 10g Release 2 (10.1.2). Since they are not applicable to a Web environment,
there is no replacement for such built-in parameters.
Action Required
Refer to Table 4 to remove formatting-related SRW built-in parameters from the
PL/SQL code in your report.
Table 4: Deprecated formatting-related SRW built-in parameters

Deprecated parameter Built-in parameter Description


affected
srw.oblique_style srw.set_font_style Applicable for client-server only
Note: Font styles to remain:
srw.underline_style
srw.plain.style
srw.italic_style
srw.outline_style srw.set_font_style Applicable for client/server only
srw.shadow_style srw.set_font_style Applicable for client/server only
srw.inverted_style srw.set_font_style Applicable for client/server only
srw.blink_style srw.set_font_style Applicable for client/server only
srw.ultralight_weight srw.set_font_weight Applicable for client/server only
Note: Font weights to remain:
srw.medium_weight
srw.bold_weight
srw.extralight_weight srw.set_font_weight Applicable for client/server only
srw.light_weight srw.set_font_weight Applicable for client/server only
srw.demilight_weight srw.set_font_weight Applicable for client/server only
srw.demibold_weight srw.set_font_weight Applicable for client/server only
srw.extrabold_weight srw.set_font_weight Applicable for client/server only

TRACING-RELATED SRW BUILT-IN PROCEDURES AND


PARAMETERS
Before Oracle Reports 10g Release 2 (10.1.2), it was possible to specify trace options
during the report execution using SRW built-in procedures. For example, you could
turn on tracing in one of the report triggers, and turn it off at a later point in the report
execution using SRW built-ins. Within the command that turned on the tracing, you
could specify various trace options using SRW trace parameters. These SRW built-ins
and the related SRW parameters are deprecated in Oracle Reports 10g Release 2 (10.1.2).
Action Required
Refer to Table 5 to remove deprecated tracing-related SRW built-in procedures in the
PL/SQL code in your report. Instead, specify the trace options in the Reports Server
configuration file or on the command line using the TRACEFILE, TRACEMODE,
and TRACEOPTS keywords. Refer to Oracle Application Server Reports Services Publishing
Reports to the Web for more information on tracing.

12
Table 5: Deprecated tracing-related SRW built-in procedures

Deprecated SRW built-in Description


procedure
srw.trace_start Was used to begin the tracing
srw.traceopts.mask Was used to specify the tracing options while starting
the trace
srw.trace_add_option Was used to add trace options
srw.trace_rem_option Was used to remove trace options
srw.trace_end Was used to end the tracing

Since the above SRW built-in procedures are deprecated, the following tracing-related
SRW parameters used to specify the trace options are also deprecated:
srw.trace_all srw.trace_app srw.trace_brk srw.trace_dst
srw.trace_err srw.trace_pls srw.trace_prf srw.trace_sql

EMBEDDING AN OLE2 OBJECT


Oracle6i Reports allowed users to embed an Object Linking and Embedding (OLE2)
object in the report. For example, OLE2 objects could be used to insert a company logo,
a Microsoft Word document, or a Microsoft Excel file in your report. This functionality
is deprecated in Oracle Reports 10g Release 2 (10.1.2) because it is only applicable to
client-server environments. As a result, the related command line keyword
CONTAINSOLE is also deprecated. This command line keyword specifies whether the
program units or attached libraries for the report contain any OLE calls.
Action Required
Remove the OLE2 objects from your reports. Since this functionality is not applicable
to Web environments, there is no direct replacement available. However, you can mimic
the same functionality in the following ways:
• Display images and text from external files using the File Link tool available in
the Paper Layout tool palette.
• Use the Read from File property to retrieve column information from an
external file.
• If you have access to a Java plug-in that can read and embed an object (for
example, a Microsoft Word document or Microsoft Excel file), you can use the
plug-in inside Oracle Reports using the Java Importer utility.
Refer to the Oracle Reports online Help for more information on the File Link tool, the
Read from File property, and the Java Importer utility.

13
Obsolete Functionality

The following functionality is obsolete in Oracle Reports 10g Release 2 (10.1.2):


• Running Reports Server as a Windows service
The following functionality was obsoleted in a prior release (that is, Oracle9i Reports or
Oracle Reports 10g (9.0.4)):
• Character-mode Runtime Viewer
• Graphical user interface for reports runtime
• Oracle Forms built-in RUN_PRODUCT for submitting report requests
• Oracle Graphics
• Selected executables
• Selected command line keywords
• Selected system parameters
• Miscellaneous Items

RUNNING REPORTS SERVER AS A WINDOWS SERVICE


In releases prior to Oracle Reports 10g Release 2 (10.1.2), Reports Server could be run
on the Windows platform as a Windows service with the following command:
rwserver -install server_name
This functionality is no longer available in Oracle Reports 10g Release 2 (10.1.2). As a
result, the related command line keywords INSTALL and UNINSTALL are also
obsolete.
In Oracle Reports 10g Release 2 (10.1.2), you must start, shut down, monitor, and
manage the Reports Server through the Oracle Process Manager and Notification
Server (OPMN) and Oracle Enterprise Manager. OPMN provides a centralized
mechanism for initializing, maintaining, and shutting down your Oracle Application
Server components, including the Reports Server. Oracle Enterprise Manager, included
with the Oracle Application Server, provides managing and monitoring services to
OracleAS Reports Services. You can conveniently monitor the Reports Servers through
Oracle Enterprise Manager and, if the process crashes for any reason, OPMN restarts
Reports Server for you automatically. On the Windows platform, OPMN itself will be
run as a Windows service.

14
Action Required
Instead of running the Reports Server as a Windows service, configure and run the
Reports Server through OPMN. Refer to Oracle Application Server Reports Services Publishing
Reports to the Web for more information.

CHARACTER-MODE RUNTIME VIEWER


Releases prior to Oracle9i Reports included the special character-mode runtime user
interface executable (rwrun60c), which was specific to the UNIX operating system.
This executable is no longer shipped with Oracle Reports.
Action Required
Character-mode reports can still be designed in Reports Builder 10g (10.1.2), and
character-mode output produced with Oracle Reports 10g (10.1.2), using the command
line option MODE=CHARACTER.

GRAPHICAL USER INTERFACE FOR REPORTS RUNTIME


In releases prior to Oracle9i Reports, the runtime executable (rwrun.exe) displayed
the screen preview or the Parameter Form. This functionality is obsolete. As a result,
for the command line keyword DESTYPE values of PREVIEW and SCREEN are no
longer supported. You can still use rwrun.exe to send the report output to
supported output destinations like file, printer, and email. Additionally, if the command
line option PARAMFORM=YES is used with rwrun.exe, it will be ignored. If the
report contains parameters, they must be passed on the command line.
In Oracle Reports 10g Release 2 (10.1.2), all reports are run through the Reports Server,
and you can no longer submit requests directly to the Reports Engine. This allows you
to take full advantage of the Reports Server for security and distribution functionality. It
also allows for a more streamlined architecture and consistency within the product.
Action Required
Perform the following steps:
1. When running the report using rwrun.exe, pass the parameters in the
command line. When running the report on the Web using rwservlet,
either pass the parameters in the command line, or use the command line
option PARAMFORM=YES to display the Parameter Form.
2. To view the paper layout output, run the report on the Web, and use the
command line option DESTYPE=CACHE. This will display the report output
in the browser. For a list of all supported output destinations, refer to Oracle
Application Server Reports Services Publishing Reports to the Web.
Note: 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 fonts in the Reports Builder user interface.

ORACLE FORMS BUILT-IN RUN_PRODUCT FOR SUBMITTING


REPORT REQUESTS
The Oracle Forms built-in RUN_PRODUCT is replaced by the new built-in
RUN_REPORT_OBJECT.
Action Required
Remove RUN_PRODUCT from your Oracle Forms code. Instead, use the new built-in
RUN_REPORT_OBJECT for submitting report requests. For more information, refer

15
to the white paper Oracle Application Server 10g - Integrating Oracle Reports in Oracle Forms
Services available on the Oracle Technology Network (OTN).

ORACLE GRAPHICS
In releases prior to Oracle9i Reports, Oracle Graphics was used to create charts in
reports. Oracle Graphics and its OGD image format are no longer supported. Reports
built with previous versions of Oracle Reports containing Oracle Graphics charts will
continue to run in Oracle Reports 10g Release 2 (10.1.2) if the Oracle Graphics 6i
runtime is installed on the same machine in a separate ORACLE_HOME. However, this
is not a supported configuration, and Oracle will not fix bugs that result from this
configuration.
Instead, use the Graph Wizard, which offers a much wider selection of graph types, as
well as more control over the look and feel of the graph from within Reports Builder.
It is strongly recommended that all Oracle Graphics objects be re-created using the
Graph Wizard. Due to inherent differences in the underlying technology, there is no
migration path or conversion mechanism available to convert Oracle Graphics charts to
the Graph Wizard format.
Action Required
Re-create all Oracle Graphics 6i objects using the Graph Wizard. For more information
on using the Graph Wizard, refer to the Oracle Reports online Help and the Graphing FAQ
available on the Oracle Technology Network (OTN).

SELECTED EXECUTABLES
Executables that were applicable to only client-server environments have been rendered
obsolete beginning with Oracle9i Reports. In addition, some executables have been
replaced with new executables that provide more comprehensive functionality.
Action Required
Refer to Table 6 to replace the use of obsolete executables with new functionality.
Table 6: Obsolete executables

Obsolete Executable Description Action Required


rwrbe60.exe (Win32) Reports Background Engine. Submit requests to the
and rwrbe60 (UNIX) Reports requests could be Reports Server.
directly submitted to the
background engine. Since
Oracle9i Reports, all reports
are executed through the
Reports Server. There are no
more direct calls to the
Reports Engine. As a result,
the background engine is no
longer needed.
rwisv60.exe (Win32) This executable was used to Submit requests to the
submit reports to the Reports Reports Server.
Background Engine for
execution. Since the
background engine is no
longer available, this executable
is not needed.
rwows60.dll (Win32) Oracle Application Server Use servlet or JSP URL to
and rwows60.so cartridge. This was used to submit reports requests on

16
Obsolete Executable Description Action Required
(UNIX) submit requests to the Reports the Web.
Server via the Web. Since the
same functionality is available
via J2EE-standard Servlet and
JSP URLs, the cartridge is no
longer needed.
obe60.exe (Win32) Query Builder. The Query Use Query Builder from
Builder is available from within within the Reports Builder.
Reports Builder. Since it is no
longer available as a standalone
tool, this executable is not
needed.
gorun60.exe (Win32) Oracle Graphics Runtime Oracle Graphics is no
and g60runm (UNIX) longer available since
Oracle9i Reports. Use the
gobld60.exe (Win32) Oracle Graphics Builder
Graph Wizard in Reports
and g60desm (UNIX)
Builder.
gobat60.exe (Win32) Oracle Graphics Batch
and g60batm (UNIX)

SELECTED COMMAND LINE KEYWORDS


There are a number of command line keywords that are obsolete in Oracle Reports 10g
Release 2 (10.1.2). The functionality provided by these command line keywords is either
now provided by new keywords or environment variables that give you more
comprehensive options, or they are no longer needed.
Action Required
Refer to Table 7 to replace the use of obsolete command line keywords with new
functionality.
Table 7: Obsolete command line keywords

Obsolete Keyword Action required


INSTALL Since Oracle Reports can no longer be run as a
Windows service, these keywords are not needed. See
UNINSTALL
the section Running Reports Server as a Windows
Service for action required.
CURRENCY - The currency Set the NLS_CURRENCY environment variable. If
character to be used in not set, the default value is based on the language
number formats. derived from the NLS_LANG environment variable.
THOUSANDS – The Set the NLS_NUMERIC_CHARACTERS
thousands character to be environment variable for both the thousands
used in number formats. separator and the decimal character. If not set, the
default value is based on the language derived from
the NLS_LANG environment variable.
DECIMAL - The decimal Set the NLS_NUMERIC_CHARACTERS
character to be used in environment variable for both the thousands
number formats. separator and the decimal character. If not set, the
default value is based on the language derived from
the NLS_LANG environment variable.

17
PROFILE - Name of file that Use TRACEOPTS=TRACE_PRF to write the
stores performance statistics. performance statistics in the trace file. See the Oracle
Reports Online Help for complete list of options.
ERRFILE - Name of file that Use TRACEOPTS=TRACE_ERR to write the error
stores error messages. messages in the trace file. See the Oracle Reports Online
Help for complete list of options.
LOGFILE - Name of file that Use a third party application to capture screen print.
stores status and error output.
KEYIN - Name of a Obsolete function with removal of client/server and
keystroke file that executes at character mode GUI.
runtime.
KEYOUT - Name of a Obsolete function with removal of client/server and
keystroke file that records at character mode GUI.
runtime.
UPGRADE_PLSQL - In Oracle Reports 10g Release 2 (10.1.2), rwconverter
Whether rwconverter should no longer converts the PL/SQL code in the report to
upgrade the PL/SQL code in the latest version. You need to manually change the
the report to the latest version PL/SQL code in your reports to make sure that it
required by Oracle Reports compiles with the latest version required by Oracle
Developer. Reports Developer.

SELECTED SYSTEM PARAMETERS


Due to changes in how some functionality is configured, the system parameters
associated with such functionality are obsolete. Instead, use the new methods of
configuration such as setting the appropriate environment variable or using command
line keywords.
Action Required
Refer to Table 8 to replace the use of obsolete system parameters with new functionality.
Table 8: Obsolete system parameters

System Parameter Action required


CURRENCY - The currency Set the NLS_CURRENCY environment variable. If
character to be used in number not set, the default value is based on the language
formats. derived from the NLS_LANG variable.

THOUSANDS – The thousands Set the NLS_NUMERIC_CHARACTERS


character to be used in number environment variable for both the thousands separator
formats. and the decimal character. If not set, the default value
is based on the language derived from the NLS_LANG
variable.
DECIMAL - The decimal Set the NLS_NUMERIC_CHARACTERS
character to be used in number environment variable for both the thousands separator
formats. and the decimal character. If not set, the default value
is based on the language derived from the NLS_LANG
variable.
BACKGROUND Use BACKGROUND as a command line keyword.

18
MISCELLANEOUS ITEMS
Since Oracle9i Reports, some functionality that is not applicable to the Web
environment or has been replaced by newer functionality is no longer available.
Action required
Refer to Table 9 to replace the use of miscellaneous obsolete functionality with new
functionality.
Table 9: Other obsolete functionalities

Obsolete Executable Description and Action Required


Functionality affected
Ability to create a rwbuilder.exe Buttons were used in client/server user
button in layout and rwrun.exe interface (for example, to launch drill-down
model. reports). Buttons are not applicable to the
Web environment, and you must use
hyperlinks instead. If you open existing 6i
reports containing buttons, the buttons are
displayed as simple text objects.
Define an external rwbuilder.exe The files created by this action contain
query stand-alone SQL queries, and are stored in
(File>New>External the file system. Instead of creating external
Query) files, you either need to define the query in
the report’s data model, or import a query
from an external file.
PVCS, Clearcase for rwbuilder.exe Instead of PVCS or Clearcase, use the Oracle
source control Software Configuration Manager for source
control. Oracle Reports provides built-in
integration with Oracle Software
Configuration Manager.
Ability to open rwbuilder.exe Reports can no longer be saved to/opened
reports from or save from the database. The report definition files
reports to the can be saved either to the file system or into
database the Oracle Software Configuration Manager.
If you currently have reports stored in the
database, you will need to open them in a
previous version of Oracle Reports and save
them to the file system.
Oracle Reports Call The Oracle Reports Call Interface was used
Interface to call Oracle Reports from within a 3GL
program (written in languages like C,
COBOL, or FORTRAN). Since Oracle
Reports has moved to the industry-standard
J2EE technology, this functionality is no
longer supported. You should call the
Reports Server via standard mechanisms like
a URL (servlet or JSP), Web services, and so
on. Refer to Oracle Application Server Reports
Services Publishing Reports to the Web for more
information on how to submit requests to
the Reports Server.

19
Obsolete Executable Description and Action Required
Functionality affected
Report on reports rwbuilder.exe Two report definition files provided with
stored in database Oracle Reports, srwdoclb.rdf and
srwdocpb.rdf, could be run against
RDFs stored in the database to produce
information on the stored reports’ metadata.
Since it is no longer possible to store reports
in the database, this functionality is not
needed.
MAPI e-mail rwserver.exe Use the Internet-standard SMTP (Simple
protocol Mail Transfer Protocol) to send emails.
Oracle drawing rwbuilder.exe These image formats were associated with
format (*.odf) and Oracle Graphics. Since Oracle Graphics is
Oracle6i Graphics no longer supported, files with *.odf and
image format (*.ogd) *.ogd extensions are not supported.
ActiveX control (or rwsxa60.ocx Since Oracle Reports has moved to the
OCX) interface to rwsxu60.ocx industry-standard J2EE technology, the
Reports ActiveX control (or OCX) interface to the
Reports Server is no longer supported. You
should communicate with Reports Server via
standard mechanisms like a URL (servlet or
JSP), and Web services. Refer to Oracle
Application Server Reports Services Publishing
Reports to the Web for more information on
how to submit requests to the Reports
Server.
Web Wizard rwbuilder.exe The Web Wizard is no longer available in
Reports Builder. Instead, use the Insert
Bookmarks dialog box. For more
information, refer to the Oracle Reports online
Help.

20
Changed Behavior and Naming

With improvements in functionality offered by Oracle Reports with every new release, it
is necessary that the names of some of the properties, executables, and interfaces
change in keeping with new and enhanced functionality. For example, since the
Parameter Form is applicable only to the paper layout, and not to the Web layout, the
previously named “Parameter Form view” in Reports Builder is now called “Paper
Parameter Form view”.
This section lists changes to:
• Behavior
o Changed behavior of command line keyword BACKGROUND
o Changed behavior of command line keyword BATCH
• Naming
o Executable names
o Environment variable names
o Reports Builder user interface names
Note that since you simply need to start using the new names in Oracle Reports 10g
Release 2 (10.1.2), there is no Action Required description under those sub-sections
that explain name changes.

CHANGED BEHAVIOR OF COMMAND LINE KEYWORD


BACKGROUND
In Oracle Reports 10g Release 2 (10.1.2), the command line keyword BACKGROUND
specifies whether a report on the server should be run synchronously (NO) or
asynchronously (YES). It can be used only with the executables rwclient,
rwservlet, and rwcgi.
Action Required
Make sure that your use of the command line keyword BACKGROUND is consistent
with Table 10. Refer to Oracle Application Server Reports Services Publishing Reports to the Web
for more information.

21
Table 10: Changed behavior of command line keyword BACKGROUND

Executable BACKGROUND=YES BACKGROUND=NO


affected
rwrun The keyword BACKGROUND is obsolete with rwrun and is
ignored. Reason for obsolescence: In Oracle6i Reports,
BACKGROUND=NO (default) displayed the RWRUN60 interface
(Runtime Previewer) for running the report interactively, while
BACKGROUND=YES spawned another process to run the report
and allowed the user to work on something else in the meantime.
Since the rwrun60 interface is no longer available, the keyword
Background does not serve any purpose with rwrun.
rwclient Runs the job asynchronously. Default. The client waits until
the job is finished.
rwservlet Runs the job asynchronously. Default. The client waits until
(Note: In Oracle6i Reports, the job is finished.
this was the default mode for
DESTYPEs printer and file)
rwcgi Same behavior as rwservlet. Note that rwcgi is available
only for backward compatibility, and should be replaced by
rwservlet.
rwserver Not applicable. Not applicable.
rwbuilder Not applicable. Causes a Not applicable.
deprecated feature error, but
continues working.
rwconverter Not applicable. Not applicable.

CHANGED BEHAVIOR OF COMMAND LINE KEYWORD


BATCH
In Oracle Reports 10g Release 2 (10.1.2), the command line option BATCH=YES
specifies that the relevant executable should run in no-UI mode (that is, all terminal
input and output should be suppressed). This command line keyword can be used only
with the executables rwserver and rwconverter.
Action required
Make sure that your use of the command line keyword BATCH is consistent with Table
11. Refer to Oracle Application Server Reports Services Publishing Reports to the Web for more
information.
Table 11: Changed behavior of the command line keyword BATCH

Executable affected Batch=Yes Batch=No


Rwrun The keyword BATCH is obsolete with rwrun. Reason for
obsolescence: In Oracle6i Reports, BATCH=NO (default)
displayed the rwrun60 interface (Runtime Previewer),
while BATCH=YES suppressed it. Since rwrun60
interface is no longer available, the keyword BATCH does
not serve any purpose with rwrun.
Rwclient Not applicable. Not applicable.
rwservlet Not applicable. Not applicable.

22
Executable affected Batch=Yes Batch=No
Rwcgi Same behavior as rwservlet. Note that rwcgi is
available only for backward compatibility, and should be
replaced by rwservlet.
rwserver Reports Server dialog is not Default. Reports Server
displayed. dialog is displayed.
rwbuilder Not applicable. Not applicable.
rwconverter Suppresses the Convert Default. The Convert dialog
dialog box in order to box is displayed.
convert reports/libraries
without user intervention.

EXECUTABLE NAMES
Refer to Table 12 for executable name changes from releases prior to Oracle9i Reports.
Note that xx refers to the release number (for example, rwbldxx refers to rwbld60
in Oracle6i Reports).
Table 12: Executable name changes

Component Pre-9i 9i and 10g


Windows UNIX
Reports Builder rwbldxx rwbuilder.exe rwbuilder

Reports Runtime rwrunxx rwrun.exe rwrun

Reports Server rwmtsxx rwserver.exe rwserver

Proxy Server - rwproxy.exe rwproxy

Reports Command rwclixx rwclient.exe rwclient


Line Interface
(Reports Client)
Queue Manager rwrqmxx rwrqm.exe -

Queue Manager rwrquxx rwrqu.exe -


Unicode
Queue Viewer rwrqvxx - rwrqv

Reports Converter rwconxx rwconverter.exe rwconverter

ENVIRONMENT VARIABLE NAMES


In general, the release number has been dropped from the environment variable names.
For example, REPORTS60_PATH is now REPORTS_PATH.

23
REPORTS BUILDER USER INTERFACE NAMES
The Report Editor in Reports Builder comprises the following views:
• Data Model view
• Paper Layout view (previously Layout Model view)
• Paper Design view (previously Live Previewer view)
• Paper Parameter Form view (previously Parameter Form view)
• Web Source view
Other user interface name changes in Reports Builder are:
• Previewer (previously named Runtime Previewer), displayed by choosing File
> Print Preview.
• Property Inspector (previously named Property Palette).

24
Resources

ORACLE TECHNOLOGY NETWORK (OTN)


Here are some documents that will provide you more information about migrating from
a previous release to Oracle Reports 10g Release 2 (10.1.2). These documents are
available on OTN (http://www.oracle.com/technology/products/reports).
• Frequently Asked Questions on Migration
• Oracle Forms, Oracle Reports, Oracle Designer Statement of Direction
• Integrating Oracle Reports Services 10g in Oracle Forms Services 10g
• Oracle Application Server Reports Services Publishing Reports to the Web

ORACLE UNIVERSITY
Check with your local Oracle University representative on the availability of the new
Instructor Led Training (ILT) course, Oracle Reports Developer 10g: Move to the Web. Also
visit the Oracle University Web site for more information about this course and other
Oracle University offerings.

25
A Guide to Changed Functionality Between Oracle Reports 6i and 10g
August 2005
Author: Navneet Singh
Contributing Authors: Philipp Weckerle, Stewart Wilson, Rajesh Ramachandran, Rohit Marwaha, Ingrid Snedecor, Frank Rovitto, Ellen Gravina

Oracle Corporation
World Headquarters
500 Oracle Parkway
Redwood Shores, CA 94065
U.S.A.

Worldwide Inquiries:
Phone: +1.650.506.7000
Fax: +1.650.506.7200
oracle.com

Copyright © 2005, Oracle. All rights reserved.


This document is provided for information purposes only and the
contents hereof are subject to change without notice.
This document is not warranted to be error-free, nor subject to any
other warranties or conditions, whether expressed orally or implied
in law, including implied warranties and conditions of merchantability
or fitness for a particular purpose. We specifically disclaim any
liability with respect to this document and no contractual obligations
are formed either directly or indirectly by this document. This document
may not be reproduced or transmitted in any form or by any means,
electronic or mechanical, for any purpose, without our prior written permission.
Oracle, JD Edwards, PeopleSoft, and Retek are registered trademarks of
Oracle Corporation and/or its affiliates. Other names may be trademarks
of their respective owners.

You might also like