REP in Oracle Database
Hi,
I have REP report. Using this generating PDF output for Orders.
Is it possible to run the REP file in Oracle Database procedure.
If yes please suggest how to do.
Please do the needful.
Below are the versions:
Forms and Reports : 10g version
Edited by: MST on Jan 7, 2013 9:58 AM
Hi,
http://docs.oracle.com/cd/B14099_17/bi.1012/b14048/pbr_evnt.htm#sthref1870
Regards
Yoonas
Similar Messages
-
REP-0159 when run_product from oracle database
Hi,
I can`t open report from oracle database. I have this products (Windows NT 4):
Oracle8i Enterprise Edition Release
8.1.7.0.0 - Production
With the Partitioning option
JServer Release 8.1.7.0.0 - Production
Report Builder 6.0.8.8.3
ORACLE Server Release 8.0.6.0.0
Forms [32 Bit] Version 6.0.8.8.0
(Production)
This is the code in the forms:
____DECLARE
____ vs_program_name VARCHAR2(30);
____ pl_id PARAMLIST;
____ pl_name VARCHAR2(60);
____BEGIN
____ pl_name := 'Unloading';
____ pl_id := GET_PARAMETER_LIST(pl_name);
____ IF NOT ID_NULL(pl_id) THEN
____ DESTROY_PARAMETER_LIST(pl_id);
____ END IF;
____ pl_id := CREATE_PARAMETER_LIST(pl_name);
____ IF ID_NULL(pl_id) THEN
____ Message('Error ...!');
____ ELSE
____ vs_program_name := 'victor';
____ ADD_PARAMETER
____ (pl_id, 'pv_admission_nbr',
____ TEXT_PARAMETER, 'hola');
____ Run_Product(REPORTS, vs_program_name, ____ SYNCHRONOUS, RUNTIME, DB, pl_id);
____ END IF;
____end;
This is the error message in server report:
REP-0159: Syntax error on command line.
I need help, any idea?<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Randall Roberts ([email protected]):
If the Reports runtime process actually has been launched, there will be a button for it on your taskbar. Click the button and a little empty window opens. But from the menu bar in the window you can select an option that shows the actual error generated by reports runtime.<HR></BLOCKQUOTE>
Thanks!
This is the error message:
Error submitting report [Sun May 20 20:12:59 2001] ...
REP-0159: Syntax error on command line.
and this is the form code:
DECLARE
vs_program_name VARCHAR2(30);
pl_id PARAMLIST;
pl_name VARCHAR2(60);
BEGIN
pl_name := 'Unloading';
pl_id := GET_PARAMETER_LIST(pl_name);
IF NOT ID_NULL(pl_id) THEN
DESTROY_PARAMETER_LIST(pl_id);
END IF;
pl_id := CREATE_PARAMETER_LIST(pl_name);
IF ID_NULL(pl_id) THEN
Message('Error to create parameters list, please call support...!');
ELSE
vs_program_name := 'victor';
ADD_PARAMETER(pl_id, 'pv_admission_nbr', TEXT_PARAMETER, 'hola');
Run_Product(REPORTS, vs_program_name, SYNCHRONOUS, RUNTIME, DB, pl_id,null);
END IF;
end;
Can you help me?
null -
Unable to connect to the informatica repository on oracle database 11g
hi all,
i have installed OBI Apps 7.9.6.0 with informatica 8.6.0 and no hotfix.
Now the problem is , when i create a repository service i get the error
" The service did not start due to the following error: *Unable to connect to the repository Oracle_BI_DW_Base on database* . " here Oracle_BI_DW_Base is also the name of my .rep repository that came with OBI APPS installation.
i have oracle database 11g installed and also created respective user for repository of informatica.
what should i do in this case??
plz helpGood Morning.
I had the same problem and I had the same IE 6, the problem was the translation between the IE6 from http and https, to solve it you just need to open your url typing
https:url:port, do no forget to put the s after the http, with this my problem was solved.
best regards.
Digudi - São Paulo - Brazil
Edited by: user12267194 on 24/11/2009 05:37
Edited by: user12267194 on 24/11/2009 05:38
Edited by: user12267194 on 24/11/2009 05:38 -
How to check odi master repository exist in oracle database?
Is there way to check the ODI master repository is exist in oracle database or any api to test that?
Your help much appreciated.Thanks for you reply,
That's fine, i think you aware of that, once open the topology manager "topology.bat", you can test the master repository, if you give any existing database user but its not master rep user, that throw exception "Master repository is not installed on this connection".
I want know what are tables and data's are getting verified during the connection test.
I think If you know regarding above my question, that will solve my problem.
Thanks -
We are moving our Oracle Database from Solaris 10 to Solaris 11.2. Is there advantage and disadvantages of running the Database in Kernel Zone?
For all the licence information, please contact your local Oracle sale rep. This is the only way to have official response you can count on for a future contract.
Nicolas. -
Oracle Database Vault + license
Hi
I need to use Oracle Database Vault to protect application data from DBA access
What about license need for use Oracle Database Vault with Oracle Database Enterprise Edition 10g R2.
I have license to use Oracle Database Enterprise Edition 10g R2, but i don't know if i need extra license !!
Best RegardsYou may need to talk to your Oracle Sales Rep.
Says it's an option for Oracle Enterprise Edition
http://www.oracle.com/database/product_editions.html
Does Database Vault require a separate database?
Oracle Database Vault is an option to the Oracle Database 10g Enterprise Edition (10.2.0.2).
http://www.oracle.com/technology/deploy/security/database-security/database-vault/dbv_faq.html#A11016 -
OAS v10.1.2.3 REP-51018: Need database user authentication
Hi all,
I have an Forms/Reports 10g application, and when I call a report, I always get the "REP-51018: Need database user authentication" when using IE8. It works fine with version 19, 20 and 21 of Firefox. As IE8 is the corporate browser, calling reports need to work within IE8.
First, some pertinent information:
Server:
- Windows Server 2003 Standard Edition with SP2
- OAS v10.1.2.0.2 upgraded to v10.1.2.3
=> Of note, reports did work with JInitiator on v10.1.2.0.2, but for several reasons, we need to move to v10.1.2.3 and use JPI.
- Server is a VM created by VMWare.
Client:
- Windows XP Pro v2002 with SP3 (moving to Windows 7 soon)
- IE8
- Firefox (for developers)
I have applied several ideas from several threads within this forums and documentation from other sites (Oracle being one of them), but to no avail. Here is a list of a couple of them that were pertinent to my problem:
need java been frmrwinteg.jar (especially the sections from Francois Degrelle and Steve Cosner)
10.1.2.3 problem with frmrwinteg.jar
Upgrade to patchset 3 10.1.2.3 from 10.1.2.0.2 causes Java errors (I have used this thread to fix the Java issues that I had initially)
https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?returnToSrId=&_afrLoop=483184561714826&srnum=&type=DO… (Doc Id. 564522.1) (I have tried Option 2 only as the FrmReportsInteg.java is not provided.)
https://support.oracle.com/epmos/faces/ui/km/SearchDocDisplay.jspx?_afrLoop=483273286061582&_afrWindowMode=0&_adf.ctrl-s…
http://www.oracle.com/technetwork/developer-tools/forms/documentation/frmwebshowdoc-rep-10gr2-1-128932.pdf
It is getting very frustrating! I have performed this same upgrade, on different platforms, between 10 and 12 times with no issues what-so-ever! The strange part is that, for this upgrade (that I'm having difficulties with), I needed to sign the frmwebutil.jar and frmrwinteg.jar files; I never needed to do this for the other upgrades, except for the jacob.jar file, of course!
From the formsweb.cfg file, here is the configuration area that I'm using:
[VailWUStd]
width=950
height=650
IE=native
HTMLbeforeForm=<SCRIPT>window.onbeforeunload = unloadMess; function unloadMess() {mess = "Clicking 'ok' will terminate all Vailtech applications!"; return mess;}</SCRIPT>
baseHTMLJInitiator=webutiljpi.htm
baseHTMLjpi=webutiljpi.htm
baseHTML=webutilbase.htm
# Used for Sun JRE/JPI Dynamic CLSID
jpi_classid=clsid:CAFEEFAC-0016-0000-0041-ABCDEFFEDCBA
jpi_codebase=/forms/java/jre-6u41-windows-i586.exe
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_41
jpi_download_page=/forms/java/jre-6u41-windows-i586.exe
form=E:\tax\vailtechMenu.fmx
userid=
archive=frmall.jar,VailtechAppIcons.jar,frmrwinteg.jar
lookAndFeel=oracle
colorScheme=Titanium
imageBase=codebase
networkRetries=5
# Webutil:
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
# WebUtilLogging=console
# WebUtilLoggingDetail=detailed
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
And from the Java Console, here is the section related to the FRMREPORTSINTEG bean:
FrmReportsInteg1: Debugging true
FrmReportsInteg1: Adding new userid string "VAILTECH/*********@taxg2" -- I did hide the password here.
FrmReportsInteg1: Default cookie domain:
FrmReportsInteg1: set RW_AUTH10g
FrmReportsInteg1: Arguments: encryptionKey=reports9i; Reports version=RW10g
FrmReportsInteg1: Cookie value for RW10g is: VAILTECH/M0NKEYS@taxg2;1372248145539:30
FrmReportsInteg1: Encoded cookie value is: d1z0Y+lWJGiRKapq55Lu6X39JxTgt66lxhymsfggYosY5IfpZurc
FrmReportsInteg1: Complete cookie string is: userid=d1z0Y+lWJGiRKapq55Lu6X39JxTgt66lxhymsfggYosY5IfpZurc
FrmReportsInteg1: Added domain " " to cookie
FrmReportsInteg1: Generated Cookie String: userid=d1z0Y+lWJGiRKapq55Lu6X39JxTgt66lxhymsfggYosY5IfpZurc; domain= ; path=/
FrmReportsInteg1: IE Cookie Set
FrmReportsInteg1: Setting domain to city.a.ottawa.ca
FrmReportsInteg1: Domain provided is not empty and is evaluated right now
FrmReportsInteg1: First period found at 4
FrmReportsInteg1: Second period found at 6
FrmReportsInteg1: Cookie domain now is: city.a.ottawa.ca
As you can see, everything looks fine! (well, I think it is!!) I'm just out of ideas! I even re-installed OAS v10.1.2.0.2 and applied the v10.1.2.3 upgrade, TWICE, but again, to no avail!!
Any help would be greatly appreciated!
Thx!
Cheers,
StephHi DB,
I am refering to the thread you had in Re: Help pages problem for Arabic on R12.1.1 could you tell if you fixed this error
Regards
Taher -
Oracle Database 12.0 OTN dev license trial terms
Hi,
I'm DBA and my company asked me to demonstrate VPD and proxy authentication of Oracle database EE 10.2 .
I need to learn these things and test some examples described in documentation .
May I for these purposes install on my notebook 10.2 EE database downloaded from OTN under Development license ?
XE doesn't contain these features :)
Is the trial period restricted to 21 days ?
regards
Janus1) The license says you can only use the database to
create a[i] single prototype. No real ambiguity, is there? Just need to answer
whether 'learning' does fit into the definition of
'creating a prototype'?
OK there isn't. Or have I understood it properly that Application X using one purely development schema appowner means one prototype. And as soon as one creates second schema on the same DB or different DB then it is the second prototype.
So nice until now. Of course the question remains - what is that kind of licence worth because I've yet to be find an app developed just on single schema all its lifecycle including development and test. OK even if such app exists I'd better won't use it :)
2) It does go on to say that the prototype can not be
put into production - internal use or commercial -
without getting an appropriate license. The question about test and other possible development instances is not 100% percent clear to me although I'm quite sure that these must be more than one prototype...
>
Fine - this ensures the dev license is not inherited
by the prototype
3) It states that any other use requires contacting
Oracle sales for an appropriate license.OK this is the bright side of life because it means negotiations and these almost always leads to some compromises :)
4) You may not: [some lines skipped] - continue to
develop your application
If 'learning' IS permitted under the definition of
prototype, then what is an application? Can a single
SQL statement be defined as an application?Yeahhh and at least to my mind it definitely cannot be described as "indefinite development purpose".
Bottom lines:
1) If it's simple SQL you are wanting to learn, use
Oracle Express Edition;
2) If you wat to learn all of Oracle capability AND
want to stay perfectly legal, purchase the relatively
inexpensive Personal Edition - it has all otyhe
features of Oradle Enterprise Edition and is actually
less expensive than Microsoft Office Professional.Of course this absolutely contradicts to the goal of developing an app on the as much as possible close environment as real production will be...
So the bottom bottom line is - speak and get __written__ licencing contract from your sales rep for everything anyway, isn't it? :)
Gints Plivna
http://www.gplivna.eu -
How to load a java script in oracle database
Is it possible to load d java script in Oracle database. while the object type is
java resource ..RENUJP wrote:
I meant to load a javascript to oracle database not to oracle appliocation.
like loadjava....
I can load a javascript to oracle database.. but i can't call it...Please re-read the comments above, especially the part about this not being a javascript nor oracle forum. Exactly what part about this information don't you understand? -
Query in timesten taking more time than query in oracle database
Hi,
Can anyone please explain me why query in timesten taking more time
than query in oracle database.
I am mentioning in detail what are my settings and what have I done
step by step.........
1.This is the table I created in Oracle datababase
(Oracle Database 10g Enterprise Edition Release 10.2.0.1.0)...
CREATE TABLE student (
id NUMBER(9) primary keY ,
first_name VARCHAR2(10),
last_name VARCHAR2(10)
2.THIS IS THE ANONYMOUS BLOCK I USE TO
POPULATE THE STUDENT TABLE(TOTAL 2599999 ROWS)...
declare
firstname varchar2(12);
lastname varchar2(12);
catt number(9);
begin
for cntr in 1..2599999 loop
firstname:=(cntr+8)||'f';
lastname:=(cntr+2)||'l';
if cntr like '%9999' then
dbms_output.put_line(cntr);
end if;
insert into student values(cntr,firstname, lastname);
end loop;
end;
3. MY DSN IS SET THE FOLLWING WAY..
DATA STORE PATH- G:\dipesh3repo\db
LOG DIRECTORY- G:\dipesh3repo\log
PERM DATA SIZE-1000
TEMP DATA SIZE-1000
MY TIMESTEN VERSION-
C:\Documents and Settings\dipesh>ttversion
TimesTen Release 7.0.3.0.0 (32 bit NT) (tt70_32:17000) 2007-09-19T16:04:16Z
Instance admin: dipesh
Instance home directory: G:\TimestTen\TT70_32
Daemon home directory: G:\TimestTen\TT70_32\srv\info
THEN I CONNECT TO THE TIMESTEN DATABASE
C:\Documents and Settings\dipesh> ttisql
command>connect "dsn=dipesh3;oraclepwd=tiger";
4. THEN I START THE AGENT
call ttCacheUidPwdSet('SCOTT','TIGER');
Command> CALL ttCacheStart();
5.THEN I CREATE THE READ ONLY CACHE GROUP AND LOAD IT
create readonly cache group rc_student autorefresh
interval 5 seconds from student
(id int not null primary key, first_name varchar2(10), last_name varchar2(10));
load cache group rc_student commit every 100 rows;
6.NOW I CAN ACCESS THE TABLES FROM TIMESTEN AND PERFORM THE QUERY
I SET THE TIMING..
command>TIMING 1;
consider this query now..
Command> select * from student where first_name='2155666f';
< 2155658, 2155666f, 2155660l >
1 row found.
Execution time (SQLExecute + Fetch Loop) = 0.668822 seconds.
another query-
Command> SELECT * FROM STUDENTS WHERE FIRST_NAME='2340009f';
2206: Table SCOTT.STUDENTS not found
Execution time (SQLPrepare) = 0.074964 seconds.
The command failed.
Command> SELECT * FROM STUDENT where first_name='2093434f';
< 2093426, 2093434f, 2093428l >
1 row found.
Execution time (SQLExecute + Fetch Loop) = 0.585897 seconds.
Command>
7.NOW I PERFORM THE SIMILAR QUERIES FROM SQLPLUS...
SQL> SELECT * FROM STUDENT WHERE FIRST_NAME='1498671f';
ID FIRST_NAME LAST_NAME
1498663 1498671f 1498665l
Elapsed: 00:00:00.15
Can anyone please explain me why query in timesten taking more time
that query in oracle database.
Message was edited by: Dipesh Majumdar
user542575
Message was edited by:
user542575TimesTen
Hardware: Windows Server 2003 R2 Enterprise x64; 8 x Dual-core AMD 8216 2.41GHz processors; 32 GB RAM
Version: 7.0.4.0.0 64 bit
Schema:
create usermanaged cache group factCache from
MV_US_DATAMART
ORDER_DATE DATE,
IF_SYSTEM VARCHAR2(32) NOT NULL,
GROUPING_ID TT_BIGINT,
TIME_DIM_ID TT_INTEGER NOT NULL,
BUSINESS_DIM_ID TT_INTEGER NOT NULL,
ACCOUNT_DIM_ID TT_INTEGER NOT NULL,
ORDERTYPE_DIM_ID TT_INTEGER NOT NULL,
INSTR_DIM_ID TT_INTEGER NOT NULL,
EXECUTION_DIM_ID TT_INTEGER NOT NULL,
EXEC_EXCHANGE_DIM_ID TT_INTEGER NOT NULL,
NO_ORDERS TT_BIGINT,
FILLED_QUANTITY TT_BIGINT,
CNT_FILLED_QUANTITY TT_BIGINT,
QUANTITY TT_BIGINT,
CNT_QUANTITY TT_BIGINT,
COMMISSION BINARY_FLOAT,
CNT_COMMISSION TT_BIGINT,
FILLS_NUMBER TT_BIGINT,
CNT_FILLS_NUMBER TT_BIGINT,
AGGRESSIVE_FILLS TT_BIGINT,
CNT_AGGRESSIVE_FILLS TT_BIGINT,
NOTIONAL BINARY_FLOAT,
CNT_NOTIONAL TT_BIGINT,
TOTAL_PRICE BINARY_FLOAT,
CNT_TOTAL_PRICE TT_BIGINT,
CANCELLED_ORDERS_COUNT TT_BIGINT,
CNT_CANCELLED_ORDERS_COUNT TT_BIGINT,
ROUTED_ORDERS_NO TT_BIGINT,
CNT_ROUTED_ORDERS_NO TT_BIGINT,
ROUTED_LIQUIDITY_QTY TT_BIGINT,
CNT_ROUTED_LIQUIDITY_QTY TT_BIGINT,
REMOVED_LIQUIDITY_QTY TT_BIGINT,
CNT_REMOVED_LIQUIDITY_QTY TT_BIGINT,
ADDED_LIQUIDITY_QTY TT_BIGINT,
CNT_ADDED_LIQUIDITY_QTY TT_BIGINT,
AGENT_CHARGES BINARY_FLOAT,
CNT_AGENT_CHARGES TT_BIGINT,
CLEARING_CHARGES BINARY_FLOAT,
CNT_CLEARING_CHARGES TT_BIGINT,
EXECUTION_CHARGES BINARY_FLOAT,
CNT_EXECUTION_CHARGES TT_BIGINT,
TRANSACTION_CHARGES BINARY_FLOAT,
CNT_TRANSACTION_CHARGES TT_BIGINT,
ORDER_MANAGEMENT BINARY_FLOAT,
CNT_ORDER_MANAGEMENT TT_BIGINT,
SETTLEMENT_CHARGES BINARY_FLOAT,
CNT_SETTLEMENT_CHARGES TT_BIGINT,
RECOVERED_AGENT BINARY_FLOAT,
CNT_RECOVERED_AGENT TT_BIGINT,
RECOVERED_CLEARING BINARY_FLOAT,
CNT_RECOVERED_CLEARING TT_BIGINT,
RECOVERED_EXECUTION BINARY_FLOAT,
CNT_RECOVERED_EXECUTION TT_BIGINT,
RECOVERED_TRANSACTION BINARY_FLOAT,
CNT_RECOVERED_TRANSACTION TT_BIGINT,
RECOVERED_ORD_MGT BINARY_FLOAT,
CNT_RECOVERED_ORD_MGT TT_BIGINT,
RECOVERED_SETTLEMENT BINARY_FLOAT,
CNT_RECOVERED_SETTLEMENT TT_BIGINT,
CLIENT_AGENT BINARY_FLOAT,
CNT_CLIENT_AGENT TT_BIGINT,
CLIENT_ORDER_MGT BINARY_FLOAT,
CNT_CLIENT_ORDER_MGT TT_BIGINT,
CLIENT_EXEC BINARY_FLOAT,
CNT_CLIENT_EXEC TT_BIGINT,
CLIENT_TRANS BINARY_FLOAT,
CNT_CLIENT_TRANS TT_BIGINT,
CLIENT_CLEARING BINARY_FLOAT,
CNT_CLIENT_CLEARING TT_BIGINT,
CLIENT_SETTLE BINARY_FLOAT,
CNT_CLIENT_SETTLE TT_BIGINT,
CHARGEABLE_TAXES BINARY_FLOAT,
CNT_CHARGEABLE_TAXES TT_BIGINT,
VENDOR_CHARGE BINARY_FLOAT,
CNT_VENDOR_CHARGE TT_BIGINT,
ROUTING_CHARGES BINARY_FLOAT,
CNT_ROUTING_CHARGES TT_BIGINT,
RECOVERED_ROUTING BINARY_FLOAT,
CNT_RECOVERED_ROUTING TT_BIGINT,
CLIENT_ROUTING BINARY_FLOAT,
CNT_CLIENT_ROUTING TT_BIGINT,
TICKET_CHARGES BINARY_FLOAT,
CNT_TICKET_CHARGES TT_BIGINT,
RECOVERED_TICKET_CHARGES BINARY_FLOAT,
CNT_RECOVERED_TICKET_CHARGES TT_BIGINT,
PRIMARY KEY(ORDER_DATE, TIME_DIM_ID, BUSINESS_DIM_ID, ACCOUNT_DIM_ID, ORDERTYPE_DIM_ID, INSTR_DIM_ID, EXECUTION_DIM_ID,EXEC_EXCHANGE_DIM_ID),
READONLY);
No of rows: 2228558
Config:
< CkptFrequency, 600 >
< CkptLogVolume, 0 >
< CkptRate, 0 >
< ConnectionCharacterSet, US7ASCII >
< ConnectionName, tt_us_dma >
< Connections, 64 >
< DataBaseCharacterSet, AL32UTF8 >
< DataStore, e:\andrew\datacache\usDMA >
< DurableCommits, 0 >
< GroupRestrict, <NULL> >
< LockLevel, 0 >
< LockWait, 10 >
< LogBuffSize, 65536 >
< LogDir, e:\andrew\datacache\ >
< LogFileSize, 64 >
< LogFlushMethod, 1 >
< LogPurge, 0 >
< Logging, 1 >
< MemoryLock, 0 >
< NLS_LENGTH_SEMANTICS, BYTE >
< NLS_NCHAR_CONV_EXCP, 0 >
< NLS_SORT, BINARY >
< OracleID, NYCATP1 >
< PassThrough, 0 >
< PermSize, 4000 >
< PermWarnThreshold, 90 >
< PrivateCommands, 0 >
< Preallocate, 0 >
< QueryThreshold, 0 >
< RACCallback, 0 >
< SQLQueryTimeout, 0 >
< TempSize, 514 >
< TempWarnThreshold, 90 >
< Temporary, 1 >
< TransparentLoad, 0 >
< TypeMode, 0 >
< UID, OS_OWNER >
ORACLE:
Hardware: Sunos 5.10; 24x1.8Ghz (unsure of type); 82 GB RAM
Version 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
Schema:
CREATE MATERIALIZED VIEW OS_OWNER.MV_US_DATAMART
TABLESPACE TS_OS
PARTITION BY RANGE (ORDER_DATE)
PARTITION MV_US_DATAMART_MINVAL VALUES LESS THAN (TO_DATE(' 2007-11-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_07_NOV_D1 VALUES LESS THAN (TO_DATE(' 2007-11-11 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_07_NOV_D2 VALUES LESS THAN (TO_DATE(' 2007-11-21 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_07_NOV_D3 VALUES LESS THAN (TO_DATE(' 2007-12-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_07_DEC_D1 VALUES LESS THAN (TO_DATE(' 2007-12-11 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_07_DEC_D2 VALUES LESS THAN (TO_DATE(' 2007-12-21 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_07_DEC_D3 VALUES LESS THAN (TO_DATE(' 2008-01-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_08_JAN_D1 VALUES LESS THAN (TO_DATE(' 2008-01-11 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_08_JAN_D2 VALUES LESS THAN (TO_DATE(' 2008-01-21 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_08_JAN_D3 VALUES LESS THAN (TO_DATE(' 2008-02-01 00:00:00', 'SYYYY-MM-DD HH24:MI:SS', 'NLS_CALENDAR=GREGORIAN'))
LOGGING
NOCOMPRESS
TABLESPACE TS_OS,
PARTITION MV_US_DATAMART_MAXVAL VALUES LESS THAN (MAXVALUE)
LOGGING
NOCOMPRESS
TABLESPACE TS_OS
NOCACHE
NOCOMPRESS
NOPARALLEL
BUILD DEFERRED
USING INDEX
TABLESPACE TS_OS_INDEX
REFRESH FAST ON DEMAND
WITH PRIMARY KEY
ENABLE QUERY REWRITE
AS
SELECT order_date, if_system,
GROUPING_ID (order_date,
if_system,
business_dim_id,
time_dim_id,
account_dim_id,
ordertype_dim_id,
instr_dim_id,
execution_dim_id,
exec_exchange_dim_id
) GROUPING_ID,
/* ============ DIMENSIONS ============ */
time_dim_id, business_dim_id, account_dim_id, ordertype_dim_id,
instr_dim_id, execution_dim_id, exec_exchange_dim_id,
/* ============ MEASURES ============ */
-- o.FX_RATE /* FX_RATE */,
COUNT (*) no_orders,
-- SUM(NO_ORDERS) NO_ORDERS,
-- COUNT(NO_ORDERS) CNT_NO_ORDERS,
SUM (filled_quantity) filled_quantity,
COUNT (filled_quantity) cnt_filled_quantity, SUM (quantity) quantity,
COUNT (quantity) cnt_quantity, SUM (commission) commission,
COUNT (commission) cnt_commission, SUM (fills_number) fills_number,
COUNT (fills_number) cnt_fills_number,
SUM (aggressive_fills) aggressive_fills,
COUNT (aggressive_fills) cnt_aggressive_fills,
SUM (fx_rate * filled_quantity * average_price) notional,
COUNT (fx_rate * filled_quantity * average_price) cnt_notional,
SUM (fx_rate * fills_number * average_price) total_price,
COUNT (fx_rate * fills_number * average_price) cnt_total_price,
SUM (CASE
WHEN order_status = 'C'
THEN 1
ELSE 0
END) cancelled_orders_count,
COUNT (CASE
WHEN order_status = 'C'
THEN 1
ELSE 0
END
) cnt_cancelled_orders_count,
-- SUM(t.FX_RATE*t.NO_FILLS*t.AVG_PRICE) AVERAGE_PRICE,
-- SUM(FILLS_NUMBER*AVERAGE_PRICE) STAGING_AVERAGE_PRICE,
-- COUNT(FILLS_NUMBER*AVERAGE_PRICE) CNT_STAGING_AVERAGE_PRICE,
SUM (routed_orders_no) routed_orders_no,
COUNT (routed_orders_no) cnt_routed_orders_no,
SUM (routed_liquidity_qty) routed_liquidity_qty,
COUNT (routed_liquidity_qty) cnt_routed_liquidity_qty,
SUM (removed_liquidity_qty) removed_liquidity_qty,
COUNT (removed_liquidity_qty) cnt_removed_liquidity_qty,
SUM (added_liquidity_qty) added_liquidity_qty,
COUNT (added_liquidity_qty) cnt_added_liquidity_qty,
SUM (agent_charges) agent_charges,
COUNT (agent_charges) cnt_agent_charges,
SUM (clearing_charges) clearing_charges,
COUNT (clearing_charges) cnt_clearing_charges,
SUM (execution_charges) execution_charges,
COUNT (execution_charges) cnt_execution_charges,
SUM (transaction_charges) transaction_charges,
COUNT (transaction_charges) cnt_transaction_charges,
SUM (order_management) order_management,
COUNT (order_management) cnt_order_management,
SUM (settlement_charges) settlement_charges,
COUNT (settlement_charges) cnt_settlement_charges,
SUM (recovered_agent) recovered_agent,
COUNT (recovered_agent) cnt_recovered_agent,
SUM (recovered_clearing) recovered_clearing,
COUNT (recovered_clearing) cnt_recovered_clearing,
SUM (recovered_execution) recovered_execution,
COUNT (recovered_execution) cnt_recovered_execution,
SUM (recovered_transaction) recovered_transaction,
COUNT (recovered_transaction) cnt_recovered_transaction,
SUM (recovered_ord_mgt) recovered_ord_mgt,
COUNT (recovered_ord_mgt) cnt_recovered_ord_mgt,
SUM (recovered_settlement) recovered_settlement,
COUNT (recovered_settlement) cnt_recovered_settlement,
SUM (client_agent) client_agent,
COUNT (client_agent) cnt_client_agent,
SUM (client_order_mgt) client_order_mgt,
COUNT (client_order_mgt) cnt_client_order_mgt,
SUM (client_exec) client_exec, COUNT (client_exec) cnt_client_exec,
SUM (client_trans) client_trans,
COUNT (client_trans) cnt_client_trans,
SUM (client_clearing) client_clearing,
COUNT (client_clearing) cnt_client_clearing,
SUM (client_settle) client_settle,
COUNT (client_settle) cnt_client_settle,
SUM (chargeable_taxes) chargeable_taxes,
COUNT (chargeable_taxes) cnt_chargeable_taxes,
SUM (vendor_charge) vendor_charge,
COUNT (vendor_charge) cnt_vendor_charge,
SUM (routing_charges) routing_charges,
COUNT (routing_charges) cnt_routing_charges,
SUM (recovered_routing) recovered_routing,
COUNT (recovered_routing) cnt_recovered_routing,
SUM (client_routing) client_routing,
COUNT (client_routing) cnt_client_routing,
SUM (ticket_charges) ticket_charges,
COUNT (ticket_charges) cnt_ticket_charges,
SUM (recovered_ticket_charges) recovered_ticket_charges,
COUNT (recovered_ticket_charges) cnt_recovered_ticket_charges
FROM us_datamart_raw
GROUP BY order_date,
if_system,
business_dim_id,
time_dim_id,
account_dim_id,
ordertype_dim_id,
instr_dim_id,
execution_dim_id,
exec_exchange_dim_id;
-- Note: Index I_SNAP$_MV_US_DATAMART will be created automatically
-- by Oracle with the associated materialized view.
CREATE UNIQUE INDEX OS_OWNER.MV_US_DATAMART_UDX ON OS_OWNER.MV_US_DATAMART
(ORDER_DATE, TIME_DIM_ID, BUSINESS_DIM_ID, ACCOUNT_DIM_ID, ORDERTYPE_DIM_ID,
INSTR_DIM_ID, EXECUTION_DIM_ID, EXEC_EXCHANGE_DIM_ID)
NOLOGGING
NOPARALLEL
COMPRESS 7;
No of rows: 2228558
The query (taken Mondrian) I run against each of them is:
select sum("MV_US_DATAMART"."NOTIONAL") as "m0"
--, sum("MV_US_DATAMART"."FILLED_QUANTITY") as "m1"
--, sum("MV_US_DATAMART"."AGENT_CHARGES") as "m2"
--, sum("MV_US_DATAMART"."CLEARING_CHARGES") as "m3"
--, sum("MV_US_DATAMART"."EXECUTION_CHARGES") as "m4"
--, sum("MV_US_DATAMART"."TRANSACTION_CHARGES") as "m5"
--, sum("MV_US_DATAMART"."ROUTING_CHARGES") as "m6"
--, sum("MV_US_DATAMART"."ORDER_MANAGEMENT") as "m7"
--, sum("MV_US_DATAMART"."SETTLEMENT_CHARGES") as "m8"
--, sum("MV_US_DATAMART"."COMMISSION") as "m9"
--, sum("MV_US_DATAMART"."RECOVERED_AGENT") as "m10"
--, sum("MV_US_DATAMART"."RECOVERED_CLEARING") as "m11"
--,sum("MV_US_DATAMART"."RECOVERED_EXECUTION") as "m12"
--,sum("MV_US_DATAMART"."RECOVERED_TRANSACTION") as "m13"
--, sum("MV_US_DATAMART"."RECOVERED_ROUTING") as "m14"
--, sum("MV_US_DATAMART"."RECOVERED_ORD_MGT") as "m15"
--, sum("MV_US_DATAMART"."RECOVERED_SETTLEMENT") as "m16"
--, sum("MV_US_DATAMART"."RECOVERED_TICKET_CHARGES") as "m17"
--,sum("MV_US_DATAMART"."TICKET_CHARGES") as "m18"
--, sum("MV_US_DATAMART"."VENDOR_CHARGE") as "m19"
from "OS_OWNER"."MV_US_DATAMART" "MV_US_DATAMART"
where I uncomment a column at a time and rerun. I improved the TimesTen results since my first post, by retyping the NUMBER columns to BINARY_FLOAT. The results I got were:
No Columns ORACLE TimesTen
1 1.05 0.94
2 1.07 1.47
3 2.04 1.8
4 2.06 2.08
5 2.09 2.4
6 3.01 2.67
7 4.02 3.06
8 4.03 3.37
9 4.04 3.62
10 4.06 4.02
11 4.08 4.31
12 4.09 4.61
13 5.01 4.76
14 5.02 5.06
15 5.04 5.25
16 5.05 5.48
17 5.08 5.84
18 6 6.21
19 6.02 6.34
20 6.04 6.75 -
Using Oracle ODBC Gateway connecting to a remote Oracle database
Oracle 11gR2
RHEL 6.4
Has anyone use the Oracle ODBC Gateway to connect to another Oracle database? Any issues with that configuration? Where do I get the ODBC drivers for Linux?
(I know, "why not use a dblink?" -- well that would be against company security policies)Hi,
From the Oracle point of view we support using DG4ODBC for Oracle to Oracle connections. However, we have not actually tested it as DG4ODBC is primarily designed for access to non-Oracle databases.
How DG4ODBC will work between Oracle databases depends on the ODBC driver and what that supports. You will need an ODBC Oracle driver which you can get from various suppliers including Oracle but also vendors such as DataDirect, Easysoft etc. You could try a Google search.
You say you do not want to use database links but that is how DG4ODBC is used, You cannot do -
sqlplus user/password@dg4odbc_oracle
Once Dg4ODBC is setup and configured as in this note - if you are using Linux 64-bit -
How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle Databases Post Install (Doc ID 561033.1)
then in the Oracle database you create a database link and select from tables in the other Oracle database -
select * from table@dg4odbc_db_link ;
Regards,
Mike -
Problem with httpd and oracle database
hi
i have oracle linux with oracle database 11gR2
i install php with oci as the following link :
http://oss.oracle.com/projects/php/dist/documentation/installation.html
but when i try phpinfo() i found just only
*" /etc/php.d/oci8.ini"* in the result
and when i test connection i have this error
*" Fatal error: Call to undefined function oci_connect() "*
so what is the best way to install oci on oracle linux ?What version of the OS are you using? Any clues in the syslog and httpd log? Are you using SELinux, which is often an overlooked issue?
Can you provide more details?
so what is the best way to install oci on oracle linux ?According to the instructions, if support is needed: http://www.oracle.com/technetwork/topics/php/zend-server-096314.html -
Import error on Oracle Database Express 10.2.0.1.0
Hi,
I try to import data from oracle V10.01.02 running on SUSE10 Linux to
oracle 10g (10.1.0.2.0) running on Windows Server 2003.
I am able to import the big part from my ata, but not all data.
The begin of my log file is:
Connected to: Oracle Database 10g Enterprise Edition Release 10.1.0.2.0
- Production
With the Partitioning, OLAP and Data Mining options
Export file created by EXPORT:V10.01.00 via conventional path
And after some time I receive:
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "SAFCI"."EMP"."NAME"
(actual: 65, maximum: 64)
Column 1 1000005025
Column 2 ??????? ???????
Column 3 19-SEP-2002:00:00:00
Column 4 9089
Column 5 ??. ?????
Column 6 1.9828
Column 7 377.77
Column 8 75.55
Column 9 ???????????? ???????? ? ??? ???? ? 32 ??.
Column 10 19-SEP-2002:00:00:00
Column 11 ?????? ?????, ?.?. 172747675, ???. 23.11.200?
Column 12 ????????? ?????????
Column 13 ? ????
Column 14 T
Column 15
Column 16 F
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "SAFCI"."EMP"."NAME"
(actual: 65, maximum: 64)
Column 1 1000006408
Column 2 ??????? ???????
Column 3 05-NOV-2002:00:00:00
Column 4 9089
Column 5 ??. ?????
Column 6 1.939
Column 7 82
Column 8 16.4
Column 9 ?????????? ? ???? ???? ? 40 ??.
Column 10 05-NOV-2002:00:00:00
Column 11 ?????? ?????, ?.?. 172747675, ???. 23.11.200?
Column 12 ????????? ?????????
Column 13 ? ????
Column 14 T
Column 15
Column 16 F 36943 rows imported
I can not understand this problem, because I exported the hole user and
also try to import the hole user in my new system.
Pls., can some one point me to some paper about this problem or help me
to solve the problem.
Thanks
configuration Oracle10g (EXP source)
SQLWKS> select * from nls_database_parameters
2>
PARAMETER VALUE
NLS_LANGUAGE BRAZILIAN PORTUGUESE
NLS_TERRITORY BRAZIL
NLS_CURRENCY R$
NLS_ISO_CURRENCY BRAZIL
NLS_NUMERIC_CHARACTERS ,.
NLS_CHARACTERSET WE8ISO8859P1
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD/MM/RR
NLS_DATE_LANGUAGE BRAZILIAN PORTUGUESE
NLS_SORT WEST_EUROPEAN
NLS_TIME_FORMAT HH24:MI:SSXFF
NLS_TIMESTAMP_FORMAT DD/MM/RR HH24:MI:SSXFF
NLS_TIME_TZ_FORMAT HH24:MI:SSXFF TZR
NLS_TIMESTAMP_TZ_FORMAT DD/MM/RR HH24:MI:SSXFF TZR
NLS_DUAL_CURRENCY Cr$
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_RDBMS_VERSION 10.1.0.2.0
configuration Oracle10g Express (IMP destination)
SQL> select * from nls_database_parameters;
PARAMETER VALUE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET AL32UTF8
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_RDBMS_VERSION 10.2.0.1.0Hi
Your import database use a multibyte characterset, your export db a singlebyte cs.
This means, a char can need more than 1 byte.
Try this before import (and before create tables!!):
alter system set nls_length_semantics=char;Greetings
Sven -
How to take Input from the callers telephone keypad into oracle database
My client requires to automate a registration task for his customers by telephone. The requirement is the Oracle database should take numeric input from the callers telephone keypad eg 1 or 2 or 3 and the oracle must store this input inside its database and do some required processing with such input and generate a unique numeric id (sequence) and send back this unique numeric ID to the caller who is on hold. Please Note. Is there any electronic device to be installed at the client site to solve the above task eg. any telephone line to be connected to the CPU and etc?
I completely have zero knowledge. Please can you outline/summarise the instructions how to construct and install to meet my client requirement.
If this is not possible in Oracle I Can migrate to any database. Please suggest.
please help me. if you cant help i appretiate if you give me some cluesYou need to start with your telephone system. Normally this situation would involve some sort of PBX or other internal switching equipment. Talk to your vendor. There's likely to be software, etc. available to perform the interaction with the end user.
It should have programmable "hooks" to interface with various databases. To Oracle it just looks like another program.
Ken -
Help needed to loadjava apache poi jars into oracle database.
Help needed to loadjava apache poi jars into oracle database. Many classes left unresolved. (Poi 3.7, database 11.1.0.7). Please share your experience!
Hi,
The first 3 steps are just perfect.
But with
loadjava.bat -user=user/pw@connstr -force -resolve geronimo-stax-api_1.0_spec-1.0.jar
the results are rather unexpected. Here is a part of the log file:
arguments: '-user' 'ccc/***@bisera7-db.dev.srv' '-fileout' 'c:\temp\load4.log' '-force' '-resolve' '-jarsasdbobjects' '-v' 'geronimo-stax-api_1.0_spec-1.0.jar'
The following operations failed
resource META-INF/MANIFEST.MF: creation (createFailed)
class javax/xml/stream/EventFilter: resolution
class javax/xml/stream/events/Attribute: resolution
class javax/xml/stream/events/Characters: resolution
class javax/xml/stream/events/Comment: resolution
class javax/xml/stream/events/DTD: resolution
class javax/xml/stream/events/EndDocument: resolution
class javax/xml/stream/events/EndElement: resolution
class javax/xml/stream/events/EntityDeclaration: resolution
class javax/xml/stream/events/EntityReference: resolution
class javax/xml/stream/events/Namespace: resolution
class javax/xml/stream/events/NotationDeclaration: resolution
class javax/xml/stream/events/ProcessingInstruction: resolution
class javax/xml/stream/events/StartDocument: resolution
class javax/xml/stream/events/StartElement: resolution
class javax/xml/stream/events/XMLEvent: resolution
class javax/xml/stream/StreamFilter: resolution
class javax/xml/stream/util/EventReaderDelegate: resolution
class javax/xml/stream/util/StreamReaderDelegate: resolution
class javax/xml/stream/util/XMLEventAllocator: resolution
class javax/xml/stream/util/XMLEventConsumer: resolution
class javax/xml/stream/XMLEventFactory: resolution
class javax/xml/stream/XMLEventReader: resolution
class javax/xml/stream/XMLEventWriter: resolution
class javax/xml/stream/XMLInputFactory: resolution
class javax/xml/stream/XMLOutputFactory: resolution
class javax/xml/stream/XMLStreamReader: resolution
resource META-INF/LICENSE.txt: creation (createFailed)
resource META-INF/NOTICE.txt: creation (createFailed)
It seems to me that the root of the problem is the error:
ORA-29521: referenced name javax/xml/namespace/QName could not be found
This class exists in the SYS schema though and is valid. If SYS should be included as a resolver? How to solve this problem?
Maybe you are looking for
-
Hello, I've recently purchased Mainstage 2.2, and Reason 6.5 on a MacBook Pro with 10.7.4 and 8gigs of RAM. I can't seem to get Reason to talk to mainstage via ReWire. I've tried running both apps as 32 and 64 bit, and of course I launch Mainstage
-
Got my iPad iTunes selected on Australia store, how do I get it back to USA stor?
Ok, I tried to buy a song that turned out to only be available in the Australia iTunes Store. Next thing I know, my iPad iTunes app is stuck on Australia iTunes where I can't buy a **** thing. Help get me back to USA iTunes.
-
Get the Process Instance as a process variable
Hi, is there a way on a Workflow Process to get the process instance in order to save it as a process variable (and then store it via a backend call). In other words: I have many processes designed via NWDS Process Composer and I'd like to get the pr
-
Where are SERIAL NUMBERS / REGISTRATIONS located?
I'm doing a clean install on a separate internal disk, and am installing most of my apps from scratch. But there's a bunch of smaller apps that I'd just love to copy over the app itself, and then... whatever files it needs to work, and be "registered
-
Security Update 2008-001 broke AirPort!
Forgive the lengthy post... I think I already know the answer to this question, but I'm throwing it out there in case others are having difficulty with the same or similar problems. I have a G3/900 iBook with maxed-out RAM, running 10.4.11. It had al