OLAP DML Error : -35188 : ORA-35188: The word = must be followed by an expr
Hi ,
While doing OLAP DML I am getting following error
-35188 : ORA-35188: The word = must be followed by an expression.When searched Error list I could not any helpful explanation for this error.
Any clue about this error?
Joseph
Hi,
I found the issue , a value for measure was pushed and that time this error was happening,Reason was
the value passed was .01 , but since the Number format was ',' for a decimal point value passed was ,01
Turning the Number format to '.' for decimal points resolved the issue.
Similar Messages
-
INI: XOQ-01600: OLAP DML Error "ORA-01438: value larger than specified prec
I have created a Time dimension in AWM 11.1.0.7.0B.
I have added two Hierarchies to it. One Hierarchy has All Years, Year, Week, day. The second hierarchy has All Years, Year, Quarter.
When I maintain the dimension, the following error occurs:
An error has occurred on the server
Error class: Express Failure
Server error descriptions:
INI: Error creating a definition manager, Generic at TxsOqConnection::generic<BuildProcess>
INI: XOQ-01600: OLAP DML Error "ORA-01438: value larger than specified precision allowed for this column
" while executing DML "SYS.AWXML!R11_LOAD_DIM('TIME.ALL_GREGORIAN_YEARS.LEVEL' SYS.AWXML!___R11_LONG_ARG_VALUE(SYS.AWXML!___R11_LONG_ARG_DIM 1) 'TIME.END_DATE.ATTRIBUTE' 'TIME.TIME_SPAN.ATTRIBUTE' 'TIME.LONG_DESCRIPTION.ATTRIBUTE' 'TIME.SHORT_DESCRIPTION.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_END_DATE.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_TIME_SPA.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_LONG_DES.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_SHORT_DE.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_TIME_SPA1.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_TIME_SPA2.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_TIME_SPA3.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_LONG_DES1.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_SHORT_DE1.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_TIME_SPA4.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_LONG_DES2.ATTRIBUTE' 'TIME.ALL_GREGORIAN_YEARS_SHORT_DE2.ATTRIBUTE' 'TIME.GREGORIAN_QUARTER_END_DATE.ATTRIBUTE' 'TIME.GREGORIAN_QUARTER_TIME_SPAN.ATTRIBUTE' 'TIME.GREGORIAN_QUAOLAP DML Error "%(1)s" while executing DML "%(2)s", Generic at TxsOqStdFormCommand::execute
at oracle.olapi.data.source.DataProvider.callGeneric(Unknown Source)
at oracle.olapi.data.source.DataProvider.callGeneric(Unknown Source)
at oracle.olapi.data.source.DataProvider.executeBuild(Unknown Source)
at oracle.olap.awm.wizard.awbuild.UBuildWizardHelper$1.construct(Unknown Source)
at oracle.olap.awm.ui.SwingWorker$2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)The most likely explanation is that you have a numeric attribute whose data type precision is less than that of the column it is mapped to. For example if you had an attribute with data type NUMBER(2) and you mapped it to a column with data type NUMBER(5), then you could get this error on load. Note that some of the attributes may not be visible in AWM. The offending SQL statement should be in the OUTPUT column of the CUBE_BUILD_LOG, but you may be able to fix this by just describing the view associated with the dimension. For example, here is the description of a TIME view created in 11.2..
Name Null? Type
DIM_KEY VARCHAR2(60)
LEVEL_NAME VARCHAR2(30)
MEMBER_TYPE VARCHAR2(1)
DIM_ORDER NUMBER
END_DATE DATE
TIME_SPAN NUMBER
LONG_DESCRIPTION VARCHAR2(60 CHAR)
SHORT_DESCRIPTION VARCHAR2(60 CHAR)
MONTH_END_DATE DATE
MONTH_TIME_SPAN NUMBER(5)
MONTH_LONG_DESCRIPTION VARCHAR2(60 CHAR)
MONTH_SHORT_DESCRIPTION VARCHAR2(60 CHAR)
FISCAL_QUARTER_END_DATE DATE
FISCAL_QUARTER_TIME_SPAN NUMBER(5)
FISCAL_QUARTER_LONG_DESC VARCHAR2(60 CHAR)
FISCAL_QUARTER_SHORT_DES VARCHAR2(60 CHAR)
FISCAL_YEAR_END_DATE DATE
FISCAL_YEAR_TIME_SPAN NUMBER(5)
FISCAL_YEAR_LONG_DESCRIP VARCHAR2(60 CHAR)
FISCAL_YEAR_SHORT_DESCRI VARCHAR2(60 CHAR)
CALENDAR_QUARTER_END_DAT DATE
CALENDAR_QUARTER_TIME_SP NUMBER(5)
CALENDAR_QUARTER_LONG_DE VARCHAR2(60 CHAR)
CALENDAR_QUARTER_SHORT_D VARCHAR2(60 CHAR)
CALENDAR_YEAR_END_DATE DATE
CALENDAR_YEAR_TIME_SPAN NUMBER(5)
CALENDAR_YEAR_LONG_DESCR VARCHAR2(60 CHAR)
CALENDAR_YEAR_SHORT_DESC VARCHAR2(60 CHAR)You can get the same information from user_cube_attributes
SQL> select attribute_name, data_precision from user_cube_attributes where dimension_name = 'TIME' and data_type = 'NUMBER';
ATTRIBUTE_NAME DATA_PRECISION
TIME_SPAN
MONTH_TIME_SPAN 5
FISCAL_QUARTER_TIME_SPAN 5
FISCAL_YEAR_TIME_SPAN 5
CALENDAR_QUARTER_TIME_SPAN 5
CALENDAR_YEAR_TIME_SPAN 5 -
INI: XOQ-01600: OLAP DML error "ORA-4030: out of process memory" OLAP PGA S
Hi All ,
While executing the cube generation I am getting an error. Anybody knows the reason ? I have amended the olap_page_pool_size to 200MB and it doesn't help at all .
INI: error creating a definition manager, Generic at TxsOqConnection::generic<BuildProcess>INI: XOQ-01600: OLAP DML error "ORA-4030: out of process memory when trying to allocate 82860 bytes (OLAP PGA Stack,xsVPBlankParm: PPARM)" while executing DML "SYS.AWXML!R11_COMPILE_PARTITIONS('TIME.DIMENSION')", Generic at TxsOqStdFormCommand::execute
Thanks in advance,
DebashisHI David ,
Thanks for the reply.
My Time Dimension having 10 years of data in day level granularity and Fact table is not partitioned and having only one month of data as 299 records .
Just to let you know that we define two hierarchy level under TIMES one is "ALL levels" and another is Detail where END_DATE has been defaulted with some value and TIME_SPAN is set mapped to the Times table column having distinct value 1 for each records .Also the Member specified as ROW_WID of the Time table.
Just to let you know we have ran(Maintain from Dimension hierarchy) 'Product' and 'Position' dimension individually and it works fine i.e Load ,Compile and Sync process works fine but while run Times it is throwing issue :
ORA-4030: out of process memory when trying to allocate 59340 bytes (OLAP PGA Stack,xsVPBlankParm: PPARM)" while executing DML
we run the Times hierarchy from OLAPTRAIN and it was perfectly fine . Not sure with our time Dim definition .
Any clue ?
Many Thanks,
Debashis -
XOQ-01600: OLAP DML error "ORA-33858: 11g Cube
Hi All ,
I was trying to apply the cube changes after changing the sparsity definition against one of the dimension under Storage tab and it is throwing below error .
Any reason ?
An error has occurred on the server
Error class: Express Failure
Server error descriptions:
DPR: cannot create server cursor, Generic at TxsOqDefinitionManager::generic<CommitRoot>
INI: XOQ-01600: OLAP DML error "ORA-33858: The value of the ampersand-substitution expression is NA." while executing DML "SYS.AWXML!R11_MANAGE_CUBE('MARKET_SALES_CUBE_WORKING.CUBE' 'ALTER' 'NUMBER' SYS.AWXML!___R11_LONG_ARG_VALUE(SYS.AWXML!___R11_LONG_ARG_DIM 1) SYS.AWXML!___R11_LONG_ARG_VALUE(SYS.AWXML!___R11_LONG_ARG_DIM 2) 'TIME.DIMENSION' 'TIME.CALENDER.HIERARCHY' 'TIME.MONTHLY.LEVEL' 'COMPRESSED' 'YES' 'YES' 'MARKET_SALES_CUBE_WORKING.SOLVE.AGGREGATIONDEFINITION' 'NO')", Generic at TxsOqStdFormCommand::execute
Thanks in advance,
DxPI have seen this kind of error show up if you rename an object (e.g. a measure) and then make further modifications. Did that happen in your case? If you export the cube to XML, delete it from AWM, and then recreate it from XML, then it may resolve the problem. If not, and if it is preventing your from making progress, then I would open a service request since we usually need to enable tracing to resolve this class of error.
-
hi all,
I am trying to do the tutorial Building OLAP 11g Cubes (http://st-curriculum.oracle.com/obe/db/11g/r1/olap/cube/buildicubes.htm), but when I try to "Maintain Cube SALES_CUBE" I get the following error:
An error has occurred on the server
Error class: Express Failure
Server error descriptions:
INI: error creating a definition manager, Generic at TxsOqConnection::generic<BuildProcess>
INI: ORA-35571: The maximum number of load errors has occurred. No changes from this step were committed to the database.
XOQ-01600: OLAP DML error while executing DML "SYS.AWXML!R11_LOAD_DIM", Generic at TxsOqStdFormCommand::execute
INI: XOQ-01601: error while loading data for Cube Dimension "OLAPTRAIN.PRODUCT" into the analytic workspace, Generic at TxsOqStdFormCommand::callR11LoadDim
at oracle.olapi.data.source.DataProvider.callGeneric(Unknown Source)
at oracle.olapi.data.source.DataProvider.callGeneric(Unknown Source)
at oracle.olapi.data.source.DataProvider.executeBuild(Unknown Source)
at oracle.olap.awm.wizard.awbuild.UBuildWizardHelper$2.construct(Unknown Source)
at oracle.olap.awm.ui.SwingWorker$2.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)
Can anyone help me?
Thanks,
CarlosI have seen this (in 11.1.0.7, I believe) when the metadata cache ("kgl") gets out of synch with the data dictionary. Specifically there is a flag that determines if prefixes get added to dimension members ("use surrogates" in AWM terms) that becomes false instead of true. If you look at the generated SQL in the OUTPUT column of the CUBE_BUILD_LOG you may find that sometimes a prefix is added to dimension members (e.g. "LEAF_LEVEL_" || dim_table.leaf_column) and othertimes it is not (e.g. just dim_table.leaf_column). A workaround if this is the case may be to execute the following (as dba) before building the dimension.
alter system flush shared_pool; -
Login Error Help ORA-28007: the password can not be reused
Hi,
I have a problem
Users can not connect to an Apex application. They are associated with a profile that uses a function to verify the password complexity.
They get:
ORA-28007: the password can not be reused ORA-06512: at "APEX_030200.WWV_FLOW_SECURITY", line 248 ORA-06512: at "SYS.WWV_FLOW_VAL", line 55 ORA-06521: PL / SQL: Error mapping function
Error ERR-10480 Unable to run authentication credential check function.
Oracle Apex is installed in Oracle 9i ...
Any suggestions?
Thanks782150 wrote:
SQL> select profile from dba_users where username = 'xxxxxx';
PROFILE
DEFAULTIf you get this i think your default profile was changed.Try following
1.Connect through sqlplus and alter system set resource_limit = false then change password again.
2.Also post there
select LIMIT from dba_profiles where RESOURCE_NAME in ('PASSWORD_REUSE_MAX','PASSWORD_REUSE_TIME')
if you get different than DEFAULT then
alter profile default limit PASSWORD_REUSE_MAX default PASSWORD_REUSE_TIME default
then try change password again -
ORA-33858: The value of the ampersand-substitution expression is NA." Cube
Hi David ,
While deleting a cube I am gettingbelow error . Any reason as the error is not easy to understand .
The transaction is not committable: "An error has occurred on the server
Error class: Express Failure
Server error descriptions:
DPR: cannot create server cursor, Generic at TxsOqDefinitionManager::generic<CommitRoot>
INI: XOQ-01600: OLAP DML error "ORA-33858: The value of the ampersand-substitution expression is NA." while executing DML "SYS.AWXML!R11_MANAGE_CUBE('BASE_PLAN_AGGR.CUBE' 'DELETE')", Generic at TxsOqStdFormCommand::execute
at oracle.olapi.transaction.BaseTransaction.commit(Unknown Source)
at oracle.olapi.transaction.BaseTransactionProvider.commitCurrentTransaction(Unknown Source)
at oracle.olap.awm.dataobject.DatabaseDO.commitOLAPI(Unknown Source)
at oracle.olap.awm.dataobject.aw.WorkspaceDO.commitOLAPI(Unknown Source)
at oracle.olap.awm.dataobject.olapi.UModelDO.commitOLAPI(Unknown Source)
at oracle.olap.awm.dataobject.olapi.UModelDO.delete(Unknown Source)
at oracle.olap.awm.dataobject.olapi.UCubeDO.delete(Unknown Source)
at oracle.olap.awm.navigator.node.DeleteThread.run(Unknown Source)
Many thanks,
DxPHi David ,
Now we are getting the same problem while adding one of the dimension to our cube . Before addition of that dimension the cube was running fine . Now if we add this and click apply then it is throwing the same error . However that dimension has been used in different cube in same workspace and it is perfectly fine there.
Not able to understand the cause and the problem for the addition of new dimension there .
Any clue ? or same BUG /
Rgds,
DxP -
Alternative to DML Error Logging
I am supposed to catch invalid records in error table with the ORA exception. I am using 10g. Using DML Error logging i cannot catch primary key violations. Using for loop it will be very slow because there are lots of records. How to catch invalid records with the ORA exception
Thanksuser637544 wrote:
Using DML Error logging i cannot catch primary key violations.You can't use DML Error Logging future, because:
The DML error logging functionality is not invoked when:
Deferred constraints are violated.
Direct-path INSERT or MERGE operations raise unique constraint or index violations.
UPDATE or MERGE operations raise a unique constraint or index violation.
Kamran Agayev A. (10g OCP)
http://kamranagayev.wordpress.com -
ORA-20001: The printing engine..Is this related to a BIP licensing issue?
Hello all,
The error "ORA-20001: The printing engine could not be reached because either the URL..." happens in 2 cases:
<pre>
1. When our BIP is down or being bumped
2. As an APEX administrator, in workspace environment settings, the print server is set to OFF.
</pre>
I'm thinking that this is a licensing issue but I need some clarification on what is causing the error, because all we are trying to do is bring up a PDF report that a user can open or save. BIP is not involved at this point. Is it because the report was developed using BIP that APEX needs BIP up? How does APEX even know the report was developed using BIP? Were are using APEX 3.2.1.00.12 and BIP 10.1.3.4.1
The error happens when a user clicks on a PDF icon that calls an "After Submit Process". The following is the code and the report that was created in BIP is loaded into APEX with a "Named Columns (RTF)" layout type.
Alex.
declare
l_xml clob;
l_template clob;
l_request_blob blob;
l_response blob;
begin
...call up a stored proc to populate l_xml with report data
-- Fetch template
select page_template
into l_template
from apex_030200.wwv_flow_report_layouts
where flow_id = :app_id
and report_layout_name = 'pdf_report';
-- Convert CLOB to BLOB
l_request_blob := wwv_flow_utilities.clob_to_blob(l_xml);
-- Call unsupported and undocumented APEX function
l_response :=
apex_030200.wwv_flow_print_util.convert(
p_report_data => l_request_blob,
p_template => l_template,
p_template_type => 'rtf',
p_output => 'pdf'
-- Set correct mime type and download response
owa_util.mime_header('application/pdf', false);
htp.p('Content-length: ' || dbms_lob.getlength(l_response));
htp.p('Content-Disposition: attachment; filename="Claim_details.pdf"');
owa_util.http_header_close;
apex_application.g_page_text_generated := true;
apex_application.g_unrecoverable_error := true;
wpg_docload.download_file(l_response);See, http://www.oracle.com/technetwork/developer-tools/apex/configure-printing-093060.html
http://download.oracle.com/docs/cd/E17556_01/doc/install.40/e15513/otn_install.htm#CBHBJDDE
(excerpt copied here, for you convenience)
7. Enabling Network Services in Oracle Database 11g
By default, the ability to interact with network services is disabled in Oracle Database 11g release 1 (11.1). Therefore, if running Oracle Application Express with Oracle Database 11g release 1 (11.1), use the new DBMS_NETWORK_ACL_ADMIN package to grant connect privileges to any host for the FLOWS_030100 database user. Failing to grant these privileges results in issues with PDF/report printing, specifically, you will get the following error message:
ORA-20001: The printing engine could not be reached because either the URL specified is incorrect or a proxy URL needs to be specified.
Follow the steps mentioned in the Oracle Application Express Installation Guide, Enabling Network Services in Oracle Database 11g. Also refer to the troubleshooting section in case you receive an ORA-44416: Invalid ACL error after running the previous script. -
Hi all,
I was trying to make use of the error tables for dml errors based on data rules defined for a table in owb11gr2. I saw that for a table operator in my mapping, there is this "DML Error Table Name" and "Error Table Name" property. What is the difference between these two?According to Oracle "Data Modeling, ETL, and Data Quality Guide"
Error Table Name :-
Represents the name of the error table that stores logical errors
caused by enforcing data profiling and orphan management.
DML Error Table Name :-
Use the DML Error Table Name property to log DML errors for a particular data
object.
Cheers
Nawneet -
I am not able to get the patch no 2323002 for WinXP/NT/2000. Our project requires to tap the data stored in the cube for analysis and reporting .We plan to use OLAP-DML as a work about.
Can we write OLAP-DML procedures to reply to the dynamic queries of the users and display ther results in JAVA i.e. interface it with JAVA? Also pls tell me how to create stored procedures. i am a new comer to OLAP. Pls help me out.
thanx in advance
PrahaladHi,
You should post this to the OLAP forum.
Thanks, Mark -
Hi,
i would like to access and query my cube. Is it possible to do it without building a view? Can I do it just using OLAP DML? Where can I find an example?
thank youYes. You can query using OLAP DML. Try this in the OLAP Worksheet (within the AWM)
(Assuming you have attached to the AW)
allstat
limit dimName1 to 'dimValue1'
limit dimName2 to 'dimValue2'
report measName1
Hope this helps,
Swapan. -
Hi All,
Could you please clarify if I can access the AW created and maintained by OLAP DML via AWM?
I created an AW and some dims and cubes inside it, by using OLAP Worksheet, and cannot see these objects in AWM?
Kind Regards, NeeleshThat is another question. As long as you use AWM to define the dimensions, attributes, measures, and cubes, then you should be fine. And you are correct in saying that the OLAP DML can be used as a calculation language to extend the model defined through AWM. (You can do many other things, too, with this 30-year-old language, but then you really are on your own.)
There are two basic points of integration between the objects defined in AWM and objects you define yourself using OLAP DML.
(1) Calculated measures can be directed to FORMULAs that you define. This, in turn, gives you access to PROGRAMs and other structures. There is also a way, not exposed by AWM, to support calculated attributes (in 11.2.0.2).
(2) Cube Build Scripts can execute OLAP DML commands during a cube build. This gives you a way to link into a forecasting program, for example.
In the other direction you can use the (new to 11.2.0.2) objorg function in OLAP DML to get access to the structures defined through AWM. (This is better than hardcoding the generated names.)
So the real issue is how you edit these calculation objects through AWM. One answer, and it is not a bad one, is through the OLAP Worksheet. The EDIT command will bring up a PROGRAM editor, for example.
For a non AWM answer you could try the old OX program, which is available from here: http://www.oracle.com/technetwork/database/options/olap/olap-downloads-098860.html . This provides a full view of all the objects in an AW. It is quirky, but I like it. -
ORA-28000: the account is locked Connection : false
Now if I chnage my java code a little bit I am getting this error.
ORA-28000: the account is locked
Connection : false
Connection is not established.
Please can someone explain what is wrong here?ORA-28000
Error: ORA-28000: the account is locked
Cause: The user has entered wrong password consequently for maximum number of times specified by the user's profile parameter FAILED_LOGIN_ATTEMPTS, or the database administrator has locked the account.
Action: Wait for PASSWORD_LOCK_TIME or contact the database administrator
To unlock an user manually:
ALTER USER username ACCOUNT UNLOCK;
to change his password:
alter user username identified by new_password;
Edited by: Fran on 26-nov-2012 3:22 -
ORA-2001:The approver group Process MFG Approvals has dynamic query in wron
ERROR ORA-2001:The approver group Process MFG Approvals has dynamic query in
wrong format in 11i
We are setting up the Approver Group 'Process MFG
Approvals" using a dynamic query, like:
SELECT PAPF.EMPLOYEE_NUMBER
FROM PER_ALL_PEOPLE_F PAPF,
fnd_lookup_values FLV
WHERE FLV.MEANING=PAPF.EMPLOYEE_NUMBER
AND lookup_type='SUG_SAMPLE_NOTIFICATION'
AND SYSDATE BETWEEN papf.effective_start_date AND papf.effective_end_date
AND FLV.LOOKUP_CODE= (SELECT GME.PLANT_CODE FROM GME_BATCH_HEADER GME WHERE
GME.BATCH_ID=:transactionId)
- Above query is passing the validation action from within the setup screen.
- However, when this approver group is being invoked via Sample Creation
workflow, there is following error raised:
ORA-20001:The approver group Process MFG Approvals has dynamic query in
wrong format
More, if user is trying to use a more simple query like:
select distinct person_id from PER_ALL_PEOPLE_F where full_name = 'Mr.
Oliverking G' we are getting same error
Any idea, plse, would be gretaly apprciated.
txs
PeterHi,
You need to prefix the value with a text string which indicates what kind of value you are returning.
E.g. if you are returning a user ID, prefix the value with 'user_id:'; if you are returning a person ID, then prefix it with 'person_id:'
There is an article on my blog about creating a dynamic approval group in AME as part 5 in the series on AME: http://www.workflowfaq.com/ame-part-five-defining-a-dynamic-approval-group
HTH,
Matt
WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
Have you read the blog at http://www.workflowfaq.com/blog ?
WorkflowFAQ support forum: http://forum.workflowfaq.com
Maybe you are looking for
-
Company code consolidation impact to BW
Hello, Our company is going to consolidate 2 company codes. The data in ECC will be changed at the database level. the question is how do we sync up BW? Do we have to do reloads of all the data? This is a huge effort and risky with the LO extract
-
we sacked virgin media about 3 months age and payed the £194 cancellation fee their service was always letting us down as usual customer services gave us the usual lies. so it was time to get shut so we signed up to bt, constantly losing connectios,
-
Can someone explain what this is?:S
Hey guys, Again sorry to be so vague in the question but i have no idea what i am dealing with here. http://quicktake.morningstar.com/stocknet/secdocuments.aspx?symbol=ko On this site page i wanted the data you will see underneath the data i wanted t
-
How to locate the path of ExpressVI associated with a step in TestStand 3.1??
When I associate an ExpressVI with a Step in Teststand 3.1 by using SpecifyModule, its Path is not available in any of the Teststand Variables unlike Standard VI's whose path is located in "Step.TS.SData.VIPath". Is there any way I can find out the
-
LabView Runtime Engine 7.0 trys to install at start up
This just started happening, every thing was fine a few days ago. Now when I click on the LabVIEW desktop ICON it says it wants to install the 7.0 Runtime Engine. And asks for disk#3 Do I need this? Eventually after canceling prompts for a few minu