rwconverter
rwconverter
(Reports Converter) 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 .tdf
(template) 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
or 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
In some cases, rwconverter
automatically compiles 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. If there are compile errors,
rwconverter
displays a warning, but the conversion continues.
Using a report created on another platform than the source. If there are
compile errors, rwconverter
displays a warning, but the conversion
continues.
In all other situations, you must compile the report's PL/SQL yourself (ProgramCompile
All).
The keywords that can be used with rwconverter
are:
BATCH
CMDFILE
CUSTOMIZE
DEST
DTYPE
DUNIT
FORMSIZE
JVMOPTIONS
OVERWRITE
P_AVAILABILITY
P_DESCRIPTION
P_FORMATS
P_NAME
P_OWNER
P_PFORMTEMPLATE
P_PRINTERS
P_PRIVILEGE
P_SERVERS
P_TRIGGER
P_TYPES
PAGESIZE
RECURSIVE_LOAD
SOURCE
STYPE
USERID
rwconverter scott/tiger@mydb stype=rdffile source=inven1.rdf dtype=xmlfile dest=inven1_new.xml
Running a report from the command line
Copyright © 1984, 2005, Oracle. All rights reserved.