Error in dmx query for association rules to get list of products likely to be bought next

Hello
I have a created and train an association model with the following structure:
SELECT PredictAssociation( [dbo].[AssociationV] , 5)
FROM  [Association]
PREDICTION JOIN
(SELECT (SELECT 'Road-150 Red' AS [col1]
  UNION SELECT 'Mountain-100' AS [col2]) AS [AssociationV]) AS t
In this specific example I’m getting this error:
Executing the query ...
Parser: The end of the input was reached.
Execution complete
Thanks in advance
Rama

Try this :
http://social.technet.microsoft.com/Forums/en-US/38fde948-c7f2-4b40-8777-a283cc5f0d06/parser-the-end-of-the-input-was-reached?forum=ppsmonitoringandanalytics
http://social.msdn.microsoft.com/Forums/en-US/64fa39b9-9c2e-4a3d-a999-c2e9d2d75f00/parser-the-end-of-the-input-was-reached-msmgdsrv

Similar Messages

  • An error occurred while querying for the Webfolders path.

    Hi Guys,
    I have a logic file that runs a stored procedure and dtsx gets to that step it gives an error saying :"An error occurred while querying for the Webfolders path."
    I saw that there were a similar post a while ago, but i am running the package from the DM.
    Any ideas?
    Regards,
    AvdB

    Hi Guys,
    Thanks for the replies. Please have a look at the code and let me know what I am doing wrong.
    'DEBUG(on)
    TASK(ImportAccount,USER,%USER%)
    TASK(ImportAccount,APPSET,%APPSET%)
    TASK(ImportAccount,APP,%APP%)
    TASK(ImportAccount,LOGICFILE,C:\BPC\Data\Webfolders\NewClicks\AdminApp\FINANCE\account_load.lgf)
    TASK(ImportAccount,LOGICMODE,1)
    PROMPT(MESSAGE,"When this package is running, end user functionality will be affected (i.e. data cannot be sent to the database or incorrect numbers can be retrieved from the database while this package is running)")
    TASK(CreateAccount,DESCRIPTION,CreateAccount)
    TASK(CreateAccount,APPSET,%APPSET%)
    TASK(CreateAccount,APP,%APP%)
    TASK(CreateAccount,USERID,%USER%)
    TASK(CreateAccount,PROCESSMODE,4)
    TASK(CreateAccount,DIMENSIONNAME,Account)
    TASK(CreateAccount,SOURCETABLE,mbrAccount_shadow)
    TASK(CreateAccount,BAPPLICATIONPROCESS,1)
    TASK(CreateAccount,BTAKESYSTEMAVAILABLE,1)
    Is there any documentation around this code? It is very difficult to debug something without the relevant documentation.
    Regards,
    Andries

  • Error _ Receiver missing for distribution rule 000

    Hello,
    When I do the settlement, I got the error message, " Receiver missing for distribution rule 000 ",
    How can I solve that ? Where I can check distributin rule ?
    thanks and regards
    Shubin

    Hi,
      Goto Settlement Profile check you have maintained the valid receiver "settlement optional" for the receiver you mentioned in the settlement rule.
    If that settings are in place. then goto IMG>PS>Costs>Automatic and periodic allocations>Settlement>Define settlement rule for network>Assign strategies and default rule for network types.
    in that check out whether you can mentioned default rule as '00' for the network types you are using, if yes change the same to 'PS1'.
    Rgds
    Sudhir Reddy

  • IE07 and error 'Maintain field selection for Fleet data in Equipment List'

    Hi all,
    When running transaction IE07 (multi-level equipment list) , I get the following error:  'Maintain field selection for Fleet data in Equipment List (Multilevel)'
    I can't see where is the missing configuration point.
    We have activated business function LOG_EAM_CI_3.
    Have anyone encountered this error before?
    Thanks,
    P.

    Hi Narasimhan
    Could you give more details ? where is located this setting?
    Thanks,
    P.

  • Query for log Parser to get number of hits in a day or week for particular web applications or site collection

    Hi All,
    Want to get the number of hits in a day for a web application with IIS logs. so need to know Query for log Parser to get number hits in a day or week for particular web applications or site collection. Kindly help
    Regards,
    Naveen

    I'm trying to get this from WSS 3.0, Hence using the Log Parser

  • Count() function throws error in EQL query for metric

    Hi
    I am trying to use count function in EQL query for Metric Bar to show the number of occurrences of a record.
    When the record type doesn't exist i expect the function to return count as 0. Instead the function throws a runtime exception and the whole Metric Bar portlet fails, with error No Results Available. Even though other components in the metric bar have valid results.
    2013-02-21 13:03:51,216 WARN [MetricsBarQueryProcessor] The EQL query does not return any results.
    2013-02-21 13:03:51,216 ERROR [MetricsBarQueryProcessor] The EQL query does not return any results.
    2013-02-21 13:03:51,216 WARN [MetricsBarResultsProcessor] No statement results to process.
    The EQL query i am using is
    RETURN NUMBER_OCCURS AS SELECT COUNT(EMP_ID) AS NUMBER_OCCURS where EMP_NAME IS NOT NULL group;
    I tried using COALESCE but that doesn't help.
    Can some one please suggest a workaround to this?

    Srikanth,
    Two statements are used here because the original question was pertaining to the null set (where there are employees in the nav state but no employees that fit the special analytics criteria in the navigation state). The question/answer has nothing to do with what is in the COUNT parentheses clause as Counting a null set will always give you NULL, not 0, no matter what you put in there.
    What we're really doing, in the second part of the query, is writing a query over a set of data that is not the null set (i.e. the current navigation state). This allows the 0 value to come through in the case where the first analytics statement is evaluated over a null set of records. If there were truly no records in the navigation state, this too would return a null set and not zero.
    Hope that makes sense, feel free to respond (either on here or offline) if it's unclear.
    Regards,
    Patrick Rafferty
    http://branchbird.com

  • Two Parameters for Association Rules Algorithm

    I'm working on association rules algorithm dmx.
    every sample is just on parameter. Like Product name. Then algorithm find correlation with products.
    But in my db has many products that is the same name but different supplier name. So i must to calculate and find relation by supplier name and product name. Do you have any idea or sample?

    Hello -- if you look at the "Sample Excel Data" which comes with the Excel data mining add-in, there is a table in there which shows the layout.  There would be one record per product, and then you could have multiple records per supplier.
    Or you could be saying that the transactions have multiple combinations of products and suppliers.  In that case, you can perform the analysis either on the supplier or the product.  Since the product names are same across suppliers, I would concatenate
    product and supplier together into a single field.
    Mark Tabladillo PhD (MVP, SAS Expert; MCT, MCITP, MCAD .NET) http://www.marktab.net

  • Data for Association rules

    Hi,
    I want to apply an AR model to data that are not "Transactional Data" but "Single-record case data".
    Is it possible to do it with Oracle Data Miner (SQL3) ?
    The docs says :
    "Association Rules is normally used with transactional data, but it can also be applied to single-record case data (similar to other algorithms)."
    But I don't found how !
    TKS

    Hi,
    The Association node in ODMr only takes transactional data input, BUT, you can create a AR model using 2d data using the API and then use the Model node in ODMr to pull the AR model in for viewing.
    See simple script below that can be run in SQL Developer Worksheet as a script:
    BEGIN
    DBMS_DATA_MINING.CREATE_MODEL(
    model_name => 'AR_2D_MODEL',
    mining_function => dbms_data_mining.association,
    data_table_name => 'mining_data_build_v',
    case_id_column_name => 'cust_id');
    END;
    See the server api for more details on how to change the default settings for the create_model operation.
    http://www.oracle.com/technetwork/database/options/odm/odm-documentation-170506.html
    Thanks, Mark

  • Error while running query for psoting period as varaible

    hello,
    I am running a query and posting period is variable single entry mandatory and when I run the query it gives me this error.
    Variable 0I_PCURR could not be replaced.
    Variable 0I_PCURR could not be replaced.
    What might be the issue here ?
    Thanks,

    Hi KM,
    When you want to use a fiscal period, you need to say whick fiscal variant you'll be using.
    This fiscal variant, depends on the company code you are using.
    You might find out with some FI person how many fiscal variants are using at your company. If it's only one (or at least only one applies for this query), add 0FISCVARNT infoobject in your query and select the fiscal variant you were told.
    But, as you are using a BC variable, maybe this variable needs to use 0comp_code infoobject to determine automatically the fiscal variant.
    So,
    1. try selecting a fiscal variant in filters.
    2. try adding 0comp_code to your query.
    hope this helps!
    Regards,
    Diego

  • Error while running query for a specific table

    Hi All,
    I need your help please.
    I've configured everything correctly in my SCCM environment. And i used to connect the CAS database from a separate box(same domain) which has SSMS console installed in it. Now the problem is, whenever i try to run a query in CAS database locally, it runs
    successfully. But when i connect the CAS database remotely and run the same query with the same login i used in CAS, it says the below error. This is happening from past 2 days only. :'(
    Query ran :
    select top 100 * from v_GS_WORKSTATION_STATUS
    Error :
    Msg 18456, Level 14, State 1, Line 1
    Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
    OLE DB provider "SQLNCLI11" for linked server "abc.domain.com" returned message "Invalid connection string attribute".
    I checked the SQL connection authentication information it says authenticated by kerberos using below query :
    SELECT 
        s.session_id
      , c.connect_time
      , s.login_time
      , s.login_name
      , c.protocol_type
      , c.auth_scheme
      , s.HOST_NAME
      , s.program_name
    FROM sys.dm_exec_sessions s
      JOIN sys.dm_exec_connections c
        ON s.session_id = c.session_id
    where s.host_name='servername'
    Result:
    136 2015-01-30 17:50:29.277 2015-01-30 17:50:29.280 domain\user TSQL KERBEROS servername Microsoft SQL Server Management Studio
    But, another wierd information is i can successfully run the below query in remote.
    select * from vSMS_R_System
    I think that specific table is not working in remote. Pleaseeeeeeee helppp me......
    Regards,
    Jay

    Hi JaySmiley,
    According to your description, you get the logon issue when connecting to CAS database remotely and execute query. Right?
    In this scenario, this error can happen when the SPN account is registered without setting 'trusted for delegation' property. Account must be trusted for delegation in order for Kerberos delegation to succeed. Here's a blog talking about your scenario, please
    refer to the link below:
    http://blogs.technet.com/b/umairkhan/archive/2013/10/19/the-distributed-views-do-not-get-created-in-configmgr-2012-sp1-because-of-the-login-issue.aspx
    If you have any question, please feel free to ask.
    Simon Hou
    TechNet Community Support

  • Errors executing bulk query when updating a Sharepoint Linked List from Access

    Hi all,
    I have a Sharepoint list that is a Linked List with MS Access. It has just under 5,000 items (4,864), thus meaning it avoids the reduction in functionality lists of greater than 5,000 items have.
    Among the list are five calculated columns. These take the information from another column (different employee numbers), and by using a formula produce a clickable link to my company's Directory page, where that particular employee's info is displayed. I'm
    not sure if these five columns are relevant to my query, but I'm mentioning them in case.
    My problem is this: Frequently when I run any query on the list that updates the list, I get this error: "There were errors executing the bulk query or sending the data to the server. Reconnect the tables to resolve the
    conflicts or discard the pending changes".
    When I review the errors, it says they conflict with errors a previous user made (with that previous user being me). It frequently highlights several columns, despite the info in them being identical, and the calculated columns (with the original showing
    the value they contained and the new showing #VALUE! (as Access can't display the formulas).
    However, if I click Retry All Changes, all the update stick and everything seems fine. Why is this happening? It's proving very annoying and is really stopping the automation of my large number of queries. A list of 5000 items isn't particular big (and they've
    got roughly 100 columns, although I didn't think that was too large either, given Excel's 200+ column limit).
    Is this due to poor query design and SQL? Is this due to connectivity issues (which I doubt, as my line seems perfect)? Is this due to Access tripping over itself and not executing the update on each row in the table, but rather executing them concurrently
    and locking itself up? I'm at wit's end about it and really need to get this sorted.
    Thanks in advance for any suggestions.

    Hi amartin903,
    According to your description, my understanding is that you got an error when you used a linked list from Access.
    The table that you are updating is a linked table that does not have a primary key or a unique index. Or, the query or the form is based on a linked table that does not have a primary key or a unique index. Please add the primary key or a unique index.
    Here is a similar post, please take a look at:
    http://social.technet.microsoft.com/Forums/en-US/545601e9-a703-4a02-8ed9-199f1ce9dac8/updating-sharepoint-list-from-access?forum=sharepointdevelopmentlegacy
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Error in abap query sq03,02,01(to get data from structure) it is possible?

    hi
    experts,
    i am developing a report using abap query .(stand t code is s_alr_87012277 it contain more fields but i want only 4 fields , i found 2 but remaining 2 are from structure)
    my problem is that debit and credit amount is in structure
    how  i can get data from structure(FAGL_S_RFSSLD00_LIST )
    solbm = debit.
    habbm  = credit.
    report is like
    op.
    gl acc no, discription, credit amount,debit amount.

    Hi ajay,
    try to use with  logical database  SDF.
    assign the logical database name in info set.
    gl acc no    -               SKA1-SAKNR
    debit.         -     Field: um02h
    credit.        -     field:  um02s 
    discription  -               SKAT-TXT20
    regards,
    sateesh.

  • Association Rule : Settings in PL/SQL

    I've developed a model in ODM GUI for association rules.
    I'm now looking to develop the same in PL/SQL.
    I need to know how to specify the case id that has 2 attributes (CUST_ID and TIME_ID) and I have the PROD_ID as the ITEM ID. I have the following settings table and PLSQL
    BEGIN
    INSERT INTO assoc_sample_settings (setting_name, setting_value) VALUES
    (dbms_data_mining.algo_name, dbms_data_mining.ALGO_APRIORI_ASSOCIATION_RULES);
    INSERT into assoc_sample_settings (setting_name, setting_value) VALUES
    (dbms_data_mining.prep_auto, dbms_data_mining.prep_auto_on);
    INSERT into assoc_sample_settings (setting_name, setting_value) VALUES
    (ODMS_ITEM_ID_COLUMN_NAME, ‘PROD_ID’);
    END;
    DBMS_DATA_MINING.CREATE_MODEL(
    model_name => 'ASSOC_MODEL_2',
    mining_function => dbms_data_mining.association,
    data_table_name => 'SH.SALES',
    case_id_column_name => ‘CUST_ID, TIME_ID’,
    target_column_name => null,
    settings_table_name => 'assoc_sample_settings');
    Is this correct? for setting the CASE ID to 'CUST_ID, TIME_ID', is this correct and/or in the correct place
    Also the setting of the PROD_ID also correct?
    Do I need to use the ODMS_ITEM_VALUE_COLUMN_NAME setting ?

    Thank you for your reply, but it is still not working. There is the code that I have used for setting up and running. What is missing or incorrect with the following. The data is from the SH.SALES table.
    Settings Table
    BEGIN
    INSERT INTO assoc_sample_settings (setting_name, setting_value) VALUES
    (dbms_data_mining.algo_name, dbms_data_mining.ALGO_APRIORI_ASSOCIATION_RULES);
    INSERT into assoc_sample_settings (setting_name, setting_value) VALUES
    (dbms_data_mining.prep_auto, dbms_data_mining.prep_auto_off);
    INSERT into assoc_sample_settings (setting_name, setting_value) VALUES
    (dbms_data_mining.ODMS_ITEM_ID_COLUMN_NAME, ‘PROD_ID’);
    COMMIT;
    END;
    Create the view
    CREATE VIEW ASSOC_DATA_V AS (
    SELECT RANK() OVER (ORDER BY CUST_ID, TIME_ID) CASE_ID, t.*
    FROM SH.SALES t );
    Create the model
    BEGIN
    DBMS_DATA_MINING.CREATE_MODEL(
    model_name => 'ASSOC_MODEL_2',
    mining_function => DBMS_DATA_MINING.ASSOCIATION,
    data_table_name => 'ASSOC_DATA_V',
    case_id_column_name => ‘CASE_ID’,
    target_column_name => null,
    settings_table_name => 'assoc_sample_settings');
    END;
    BEGIN
    ERROR at line 1:
    ORA-40104: invalid training data for model build
    ORA-06512: at "SYS.DBMS_DATA_MINING", line 1798
    ORA-06512: at line 2
    Any ideas what is causing this?

  • Problems with Association Rules

    Hi all,
    I am trying to use ODMr to run association rules and am getting the following error message:
    Server task state: error
    Server task detail:
    ORA-40101: Data Mining System Error ORA-40101: Data Mining System Error ORA-40101: Data Mining System Error ODM_ASSOCIATION_MODEL-BUILD--20010
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "DMSYS.ODM_ASSOCIATION_RULE_MODEL", line 144
    ORA-06512: at "DMSYS.ODM_ASSOCIATION_RULE_MODEL", line 1396
    ORA-00902: invalid datatype
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "DMSYS.ODM_ASSOCIATION_RULE_MODEL", line 144
    ORA-06512: at "DMSYS.ODM_ASSOCIATION_RULE_MODEL", line 1396
    ORA-06512: at "DMSYS.DBMS_DATA_MINING", line 305
    ORA-06512: at "DMSYS.DBMS_JDM_INTERNAL", line 157
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "DMSYS.DBMS_JDM_INTERNAL", line 179
    ORA-06512: at line 1
    This error is generated on the sample data as used in the ORACLE 10G Release 2 Data Mining Tutorial, and on other datasets that I tried.
    My sense is that the algorithm is expecting data in the datatype of DM_NESTED_NUMERICALS, even though the documentation asks for transactional data. When I converted to nested columns, the prog errored out again as it was expecting a number rather than nested column.??

    Hi Carolyn,
    I reviewed the tutorial and tested out the example for Association Rules. The example uses SH.SALES and SH.PRODUCTS.
    It worked fine.
    ODMr converts the "transactional" data, in the case of Association Rules, into DM_NESTED_NUMERICALS.
    When ODM documentation refers to transactional data, it implies the use of nested columns. This can be confusing given that older versions of ODM actually supported a "transactional format", which is now supported only through nested columns.
    I copied the following view definition that was passed in to ODM to build the Association Rules model (based on the tutorial noted above). Take a look at them to get a better understanding on what ODMr is doing to prepare the data.
    If you can give us a specific example including the tutorial table you used and the settings you specified in the Association Rules Wizard, I can review that to see what the problem might be.
    Thanks, Mark
    SELECT caseTable."DMR$CASE_ID", txnTable1."PROD_ID" FROM "DMUSER"."DM4J$VSALES657013432" caseTable, (SELECT "DMR$CASE_ID", CAST(COLLECT(DM_Nested_Numerical("NAME", "VALUE")) AS DM_Nested_Numericals) "PROD_ID" FROM "DMUSER"."DM4J$SALES423975876" GROUP BY "DMR$CASE_ID") txnTable1 WHERE caseTable."DMR$CASE_ID" = txnTable1."DMR$CASE_ID"
    The view makes references to other tables/views defined below:
    DM4J$VSALES657013432 is shown below:
    SELECT distinct "DMR$CASE_ID" FROM
         (SELECT "CUST_ID","TIME_ID", DENSE_RANK() OVER (ORDER BY "CUST_ID","TIME_ID") DMR$CASE_ID FROM "SH"."SALES")
    ORDER BY "DMR$CASE_ID"
    DM4J$SALES423975876 is shown below:
    SELECT DMR$CASE_ID, CAST("PROD_ID" AS VARCHAR2(30)) as NAME, 1 as VALUE
    FROM
    (SELECT "PROD_ID", "CUST_ID","TIME_ID", DENSE_RANK() OVER (ORDER BY "CUST_ID","TIME_ID") DMR$CASE_ID FROM "SH"."SALES")
    ORDER BY DMR$CASE_ID

  • Sbt__rpc_cat_query: Query for piece 1ujb3oqb_1_1 failed

    Hi,
    Currently I'm trying to run Oracle database backup using EM database control and OSB. I have configure library and tape drive in OSB and also created new job in EM to backup the database. But when I run the job it end up with the following error message.
    If anyone encounter the same problem? and you know the solution. Please let me know in detail.
    RMAN-00571:
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS
    RMAN-00571:
    RMAN-03009: failure of backup command on oem_sbt_backup channel at 03/12/2008 19:11:12
    ORA-19506: failed to create sequential file, name="1ujb3oqb_1_1", parms=""
    ORA-27028: skgfqcre: sbtbackup returned error
    ORA-19511: Error received from media manager layer, error text:
    sbt__rpc_cat_query: Query for piece 1ujb3oqb_1_1 failed.
    I really need help from you guy's.
    Thanks,
    Bala

    Thanks. But I don't think that is the issue. I've compared the values on this server with the values on my other servers that are running OSB client successfully and they are comparible.
    Rich
    oracle@vlx1032 /ora01/oracle > grep ^[^#] /etc/sysctl.conf
    net.ipv4.ip_forward = 0
    net.ipv4.conf.default.rp_filter = 1
    net.ipv4.conf.default.accept_source_route = 0
    kernel.sysrq = 0
    kernel.core_uses_pid = 1
    kernel.shmmax = 8589934592
    kernel.shmall = 16777216
    kernel.msgmnb = 65536
    kernel.msgmni = 256
    kernel.sem = 300 32000 100 1024
    fs.file-max = 131072
    net.ipv4.ip_local_port_range = 1024 65000
    net.core.rmem_default = 1048576
    net.core.wmem_default = 1048576
    net.core.rmem_max = 1048576
    net.core.wmem_max = 1048576

Maybe you are looking for

  • Tree in Table

    Hi. I trying do tree in table but results are hopeless ;( When i try do this by outline (netbeans library) I get exception: Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException      at org.netbeans.swing.outline.DefaultOutlineCellRen

  • Upgrading from SQL Server 2012 Standard to SQL Server 2014 Standard Failover Cluster

    Goal: To upgrade my default instance from SQL Server 2012 to SQL Server 2014 in a failover cluster. Given: 1) Operating System Windows 2012 R2 2) 2 Virtual Machines in a cluster with SQL Server as a Guest Cluster resource.  The two VMS are called APP

  • I am tired with portal favorites

    Hi, We have installed enterprise portal and added a couple of favorites, scenario: I logged in as a super admin, went to user adminstration tab and added "create user" page to the Portal favorites. so I was able to see the corresponding link in the p

  • Question about logon screen customization

    Hi, I have to customize the web logon screen of the BEx. In SICF, on the BEx service, on the Error Pages tab, System logon is checked. If i click on the Setting button I have : Define Service-Specific Settings System ID Language System Messages Logon

  • I have FF 3.6.13. Is it possible to download/install FF 2?

    There is no problem with the current FF. However, my daughter is a college student online, and there are certain materials that she cannot access with the current FF. She needs FF 2 instead. Is it possible to exchange?