Sie sind auf Seite 1von 3

18.4.4 Providing the location to a characterset-specific Tk2Motif.rgb file Oracle Reports locates the Tk2Motif.

rgb file based on the language portion of th e NLS_LANG environment variable, by default. This file location varies based on the language setting: ORACLE_HOME/guicommon9/tk90/admin/<language> Note: The Tk2Motif.rgb file contains resource settings for the Motif version of the Or acle Toolkit, for example, the font mapping between Oracle Reports NLS_CHARACTER SET and X fonts. If Oracle Reports locates a Tk2Motif.rgb file whose character set setting differ s from the character set portion of your NLS_LANG, then you may get the REP-3000 error. For example: If you have set NLS_LANG=AMERICAN_AMERICA.JA16EUC, then Oracle Reports locates t he file from the following directory: ORACLE_HOME/guicmmon9/tk90/admin/Tk2Motif.rgb This causes the REP-3000 error, as this Tk2Motif.rgb file is designed for the WE 8ISO8859P1 character set and not for the JA16EUC character set. You can set the value of the TK90_UNKNOWN to the location of your characterset-s pecific Tk2Motif.rgb file. Valid Values The location to the valid TK2Motif.rgb file. Example $ORACLE_HOME/guicommon9/tk90/admin/JA (NLS_LANG=AMERICAN_AMERICA.JA16EUC) -----------------------------------------------------------------------------------------------------------------------------------------------------------18.2.2 Printing on Solaris Version 2.9 If you print a report using the destype=printer and the desname=printer_name com mand line options on Solaris 2.9, you may encounter the following errors: REP-0069: Internal error REP-57054: Inprocess job terminated with error REP-50157: Error while sending file to printer 2op837a.Exit with error code 1 To resolve this issue, you must do the following: Note: Create a backup of the rwlpr.sh file before proceeding. On Solaris, rwlpr.sh is the printing script file located in the ORACLE_HOME/bin/ directory. This script file supports lp and lpr commands by default. Navigate to the following line at the end of the file: #either LPR or LP Command was found Add an OR operator to the existing if...else condition. if [ `uname -r` = "5.8" ] || [ `uname -r` = "5.9" ] # If Solaris Release 5.8

/ 5.9 ... else # parse and Fix the command Line as Required by lp ... if [ `uname -r` = "5.8" ] || [ `uname -r` = "5.9" ]# If Solaris Release 5.8/ 5.9 The if...else if condition checks for the Solaris Release version. Based on the version number, it strips the quotes from the printer name and passes it to the print command. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------In previous releases of Oracle Reports on Solaris, you were required to add the following line in the reports.sh file: NLS_LANG=AMERICAN_AMERICA.WE8ISO8859P1; export NLS_LANG This workaround was introduced as OPMN implicitly sets NLS_LANG to AMERICAN_AMER ICA.WE8MSWIN1252, which is passed to the engine if NLS_LANG is not set. This cau sed a problem in Solaris because the encoding doesn't exist. However, the NLS_LA NG setting in reports.sh breaks the environment switching feature and will resul t in any of the following errors: REP-3000: Internal error starting Oracle Toolkit OR REP-56048: Engine rwEng-0 crashed To workaround this issue, you must remove the NLS_LANG entry in reports.sh. ------------------------------------------------------------------------------------------------------------------------------------------------------------19.1.3 Bursting on repeating sections for distribution The Repeat On property can be set for a report section (Header, Main, and Traile r) to associate a data model break group to a section. By setting the Repeat On property for a section, you can generate multiple instances of a section, or a r epeating section. When you implement bursting and distribution in a report, you can generate secti on-level distribution by setting the Repeat On property for a section to a data model break group, which generates an instance of the section for each column re cord of that break group. Then, you can distribute each instance of the section as appropriate (for example, to individual managers in the MANAGER group). If you set the Repeat On property for more than one of the Header, Main, and Tra iler sections of a report, all Repeat On property values must be set to the same data model break group. If the Repeat On property for any one of the Header, Ma in, and Trailer sections is set to a different data model break group, Oracle Re ports raises any of the following messages: REP-0069: Internal Error REP-57054: In-Process job terminated: Terminated with error REP-594: No report output generated.

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Hello, You can use rwrun.sh but it is necessary to initialize the DISPLAY environment variable. This variable should be initialized to the name or IP address of a valid X displ ay server. (It is no more necessary with Reports 9.0.4) Regards -----------------------------------------------------------------------------------------------------------------------------------------------------

Das könnte Ihnen auch gefallen