Maxl Import Data Error

I am getting the following error when i try to do import of Data into Database using MAXL.Can you please let me know what i am doing wrong.I am trying to incorporate this into a script.
MAXL> import database 'HQFPA'.'HQFPA' data from local text data_file 'E:\\Hyperion\\AnalyticServices\\app\\HQFPA_Level0.txt';
ERROR - 1242020 - (1) Syntax error near end of statement.
importing Databases for HQFPA.HQSLP
MAXL> import database 'HQFPA'.'HQSLP' data from local text data_file 'E:\\Hyperion\\AnalyticServices\\app\\HQSLP_Level0.txt';
ERROR - 1242020 - (1) Syntax error near end of statement.
Any help would be greatly appreciated.
Thanks,
Chandra

Chandra,
There's nothing that I can see wrong with your syntax. For giggles, I wrote an import statement against sample basic on my laptop (no load rule, just like yours) and stuck it into a three line MaxL script (login, import, exit):
import database 'sample'.'basic' data from local data_file 'c:\\hyperion\\essbase\\app\\sample\\basic\\calcdat.txt' on error abort ;
It works.
BTW, this also works:
import database sample.basic data from local data_file 'c:\hyperion\essbase\app\sample\basic\calcdat.txt' on error abort ;
Isn't MaxL neat? :)
Are you sure that your pathing is correct?
Regards,
Cameron Lackpour
Edited by: CL on Dec 5, 2008 12:47 PM
BTW, that first import statement has a double backslash between basic and calcdat but it doesn't show up after it's posted yet it is there when I edited it. It must be something to do with the way it gets wrapped in my browser.
Edited by: CL on Dec 5, 2008 12:51 PM
This also works (added text property to data_file):
import database sample.basic data from local text data_file 'c:\hyperion\essbase\app\sample\basic\calcdat.txt' on error abort ;

Similar Messages

  • MAXL Import data statement error

    Can someone assist me in the maxl import data statement.
    In the import data statement "import database App.DB data from data_file "\\servername\\folder1\\folder1\\data.txt";
    The error I get is trying to specify the syntax for the path of the server. Does someone have an example of the import statement syntax that is referencing the data file from a server?
    Thanks

    Have you tried something like :-
    import database App.Db data from text data_file "\\\\servername\\sharename\\directory\\datafile.txt" using server rules_file "dataload" on error write to "dataerrors.err";
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Maxl import on error write to error

    I created a Maxl import data script to load data using SQL. The execution works when the on error is set to abort, however, when I set the on error to write or append I receive a syntax error message.
    I set the path in script editor as on error write to 'c:\\hyperion\dataload.err' but it appears in the MaxL statement window as on error write to $outfile_sree1.
    Does anyone know what might cause this error?
    Edited by: user10615431 on Dec 30, 2008 7:26 AM

    below is the Maxl script I use to import data into one of our databases. I do not use a double backslash in the file path.
    Good Luck,
    Scot
    /*** Login to essbase server ***/
    /*** login $1 $2 on $3; ***/
    login 'userid' 'password' on 'Server';
    /*** Set output file to spool all error messages only ***/
    spool stdout on to 'D:\Hyperion\Automation\Logs\GAAPPlan_Yearly_Load_Essbase.LOG';
    spool stderr on to 'D:\Hyperion\Automation\Errors\GAAPPlan_Yearly_Load_Essbase.ERR';
    /*** Clear data in GAAPPlan for the current year ***/
    execute calculation 'GAAPPlan'.'GAAPPlan'.'ClrACrYr';
    /*** Import data from the FACT_GAAPPlan_YEARLY table using a load rule ***/
    import database 'GAAPPlan'.'GAAPPlan' data connect as 'SQLUSERID' identified by 'SQLUSERID_Password' using server rules_file 'LdACrYr.rul' on error write to 'D:\Hyperion\Automation\Logs\GAAPPlan_Yearly_DataLoad_Essbase.log';
    /*** Calculate data in GAAPPlan for the rolling month ***/
    execute calculation 'GAAPPlan'.'GAAPPlan'.'ClcACrYr';
    spool off;
    logout;
    exit;

  • Import data - errors: IMP-00017, IMP-00003, ORA-04052, ORA-00604, ORA-12154

    When I try to import data from dmp file to my database I found errors whitch repeat all time..
    First console show me:
    IMP-00017: following statement failed with ORACLE error 4052
    then show all procedure in which there are errors. After procedure I've got:
    IMP-00003: ORACLE error 4052 encountered
    ORA-04052: error occurred when looking up remote object [email protected]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve service name
    IMP-00017: following statement failed with ORACLE error 4043:
    "ALTER PROCEDURE "CHECK_TIMESTAMP" COMPILE TIMESTAMP '2006-09-18:14:45:"
    "05'"
    IMP-00003: ORACLE error 4043 encountered
    ORA-04043: object CHECK_TIMESTAMP does not exist
    and after that the same errors for another procedures :( What can I do??

    ORA-04052: error occurred when looking up remote
    object [email protected]
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12154: TNS:could not resolve service name
    and after that the same errors for another procedures
    :( What can I do??Fix the tnsnames.ora i.e. name resolution problem (lookup the description for ora-12154).

  • Importing data error: SIGNEDDATA conversion error

    The complete description is:
    The number of failing rows exceeds the maximum specified. (Microsoft Data Transformation Services (DTS) Data Pump (8004202c): TransformCopy 'DTSTransformation__13' conversion error:  General conversion failure on column pair 1 (source column 'SIGNEDDATA' (DBTYPE_STR), destination column 'SIGNEDDATA' (DBTYPE_NUMERIC)).)
    We are trying to convert a value that come with miles separators, use the character "." (point) as separator and "," (comma) as decimal separator, we use a vb function (replace) to change the points for null string, but it doesn't work.  Do you have any suggestion to solve this?
    We are using BPC 7.0 MS SP3.
    Thanks in advance,
    Mariana Rodriguez.
    Edited by: Mariana Rodriguez on Mar 23, 2011 4:15 PM

    Hi Mariana,
    I've had the same kind of problem, which gave me the
    General conversion failure on column pair 1 (source column 'SIGNEDDATA' (DBTYPE_STR), destination column 'SIGNEDDATA' (DBTYPE_NUMERIC)).)
    errror message
    My issue was resolved by changing the CREDITNEGATIVE=NO option to CREDITNEGATIVE=YES, because BPC probably converted negative values as 'string' values in stead of 'numeric' when importing SAP FI data with the minus sign '-' at the end (100-) instead of SQL signeddata (-100)
    But I have to be carefull, my Account Dimension setup is as follows:
    Balance Sheet Asset => AccType=AST
    Balance Sheet Liabilities => AccType=LEQ
    Profit and Loss Revenues => AccType =INC
    Profit and Loss Expenses => AccType=INC
    My flat file seperator is a comma (,) and decimalpoint is a point (.)
    We are using BPC 7.5 MS SP07 Patch 02 and I'm not using any VBA to convert the amount.
    Maybe it can help?
    Regards,
    Peter van Drunen - FPM Solutions

  • ImPort Data -Error

    HI,
    Getting below error when i try to  import transaction data(Data manager package). I am getting same error even when i try to send data using Input schedules. Any idea whats triggering below error.Thank you in advance
         Application     :     SalesR
         Status          :     Failed
         Submitted Count     :     1
         Accepted Count     :     0
         Rejected Count     :     0
              - Error Message -
    Cannot perform write (NOT_TRANSACTIONAL)
              - Rejected record list -
    Error converting records: The root element is missing.

    This is very strange. If you cube is in Load (not Planning) mode than each request should turn Green or Red upon completion. If somebody changed mode from Planning to Load than last request should turn from Yellow to Green.
    Is that APO... request the top request in your cube? Can you please check one setting of that cube? If you go to change mode of that cube and open Environment menu you'll see InfoProvider Properties, select Display and than select Roll Up tab. Can you tell if there is a check mark on 'Set Quality Status to OK automatically'? This property must be checked for BPC to function properly.
    What Nilajan suggested will most probably help you this time, but you have to find out who's changing your cube to prevent this from happening in the future.
    Regards,
    Gersh

  • Power Query import data error

    Hi all,
    As Power Query does not support ODBC I tried direct connect to DB via menu
    From Database/From MySQL Database.
    I passed authorization and my query was being running. 
    But after all records were downloaded I just got error 
    'SELECT command denied to user '****'@'x.x.x.x' for table 'bogus_table' and 
    as result PQ query was failed.
    What's interesting is that my original query was 'SELECT id FROM b_user'. 
    I do NOT query any 'bogus_table'.
    What does all that mean?
    -- Paul

    This appears to be a bug in the MySQL ADO.NET driver. Under some circumstances, when you close the DbDataReader, the MySQL driver will attempt to run the query “SELECT * FROM bogus_table LIMIT 0”. It attempts to trap the error by checking for error number
    1146 (table not found), but in this case it’s getting a different exception – probably error number 1142 (select permission denied).
    You should
    1) Report the bug to MySQL.
    2) Delete the table named bogus_table, if it’s not actually needed.
    3) Consider renaming the table named bogus_table if it is needed, or granting select permission to all users.
    We're sorry you had to run into this, but even if we could mitigate this MySQL bug in Power Query code, it would take nearly two months for you to get the updated version. Fixing the local data is likely the best approach.

  • Import Data Maxl Linux path specification

    Hi,
    Import data 'ap'.'db' data from data_file production://Oracle//Middleware//user_projects//epmsystem//EssbaseServer//essbaseserver1//app//filename.txt  on error write to 'err.log';
    above statement errors out " syntax error at 'production'
    How does maxl recognize linux production machine path?
    Thanks.

    Before running the maxl, did you check whether you can get to the file using the path that you specified?
    You can mount that shared drive to a local drive and then access the file as local, or create a soft link and do that same.
    Regards
    Celvin

  • MAXL Import Database (and export data?)

    I have an import database MAXL command that is working great (sql account and password substituted).  The rule file has a SQL connection to our ERP. 
    MAXL> import database PLANNING.DetView data connect as sql_account identified by "Password" using rules_file "'\\\oceanus-d13\\Oracle\\Middleware\\user_projects\\epmsystem3\\EssbaseServer\\essbaseserver1\\app\\PLANNING\\DetView\\NLIncur.rul'" on error write to "'G:\\DB_Process\\DetView_Process\\errors\\DetView_NLIncur_data_load.mxl.err'";
    We are going to run this on a nightly basis and our requirement is to have a historical record of what was "pulled" from our ERP (even if it didn't make it in to Hyperion).
    Here are the options that I've thought of:
    Have a separate SSIS package use the same SQL to dump the data out of the ERP database into a flat file.  The downside to this is that I'm using subvars from Essbase that don't exist in SQL.  So I'd have to write the SQL in a different way potentially causing discrepancies.
    A separate Data Export of what was loaded.  The downside here is that it doesn't have the errors that never made it in.
    I can't find another option in the import database command to spool the output of the SQL to a file. 
    Does anybody have thoughts on how to do this or are there other ways to achieve what I'm trying to do?
    Thanks-
    Cameron McClurg

    The SQL run via the load rule understands my subvars.  The load rule SQL looks like this:
    select...
    WHERE
      AND (('1' = '&IncSpanYr' --IF THE PERIODS SPAN YEARS
      AND (('12' = '&CurMoNm' --IN JUNE LOOK INTO NEXT YEAR PERIOD 1
      AND ((A.FISCAL_YEAR = '&CurYrNm' AND A.ACCOUNTING_PERIOD IN ('&PriMoNm', '&CurMoNm'))
    This turns into:
    WHERE
      AND (('1' = '1' --IF THE PERIODS SPAN YEARS
      AND (('12' = '12' --IN JUNE LOOK INTO NEXT YEAR PERIOD 1
      AND ((A.FISCAL_YEAR = '2014' AND A.ACCOUNTING_PERIOD IN ('2', '3'))
    My issue is getting a dump of all that data that the SQL is pulling.  I don't see a way to do that in the import database command.  A separate job on the SQL side (like SSIS) could pull the data, but can't access the subvars easily.  Does that make sense?  Or did I misunderstand your suggestion?
    Thanks-
    Cameron

  • Object reference not set to an instance of an object error with Import data

    Hi Experts,
    We are using BPC 7.5M with SQL Server 2008 in Multiserver environment, I am getting an error "Object reference not set to an instance of an object." while running Import data package, earlier we use to get this error sometime(once in a month) but it goes away if we reboot the application server but this time I have rebotted the Application server multiple times but still getting the same error.
    Please Advice.
    Thanks & Regards,
    Rohit

    Hi Rohit,
    please see the sap note 1615837, maybe this help you.
    Best regards
    Roberto Vidotti

  • Error when running import data package, BPC 7.5 Microsoft

    When I try to import data to one of my applications the import fails. This happens with external data but also with data I extracted from the application (input via schedule and then exported) I get the below error:
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    TOTAL STEPS  2
    1. Convert Data:         completed  in 0 sec.
    2. Load and Process:     Failed  in 1 sec.
    3. Import:               completed  in 1 sec.
    [Selection]
    FILE=\GRP_CONSOL\ZHYP_DATA\DataManager\DataFiles
    2011_test_schedule.txt
    TRANSFORMATION=\GRP_CONSOL\ZHYP_DATA\DATAMANAGER\TRANSFORMATIONFILES\SYSTEM FILES\IMPORT.XLS
    CLEARDATA= Yes
    RUNLOGIC= Yes
    CHECKLCK= Yes
    [Messages]
    Convert Data
    Success
    Record Count : 12
    Accept Count : 12
    Reject Count : 0
    Skip Count   : 0
    Incorrect syntax near '.'.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    What can cause this error?
    Marco

    Hi Marco,
    See note [https://service.sap.com/sap/support/notes/1328907].
    This is issue is related to the Replace and Clear option and not having Work Status set up correctly.
    When using the option 'Replace & Clear' with Import packages, the WorkStatus Setting should be not only enabled but also 3 dimensions types 'C' (i.e. Category), 'E' (i.e. Entity) and 'T' (i.e. Time) should be set by 'Yes' or 'Owner'.
    Thanks,
    John

  • Error while Importing Data in UDO.

    Hello,
    I had created one User defined table with Master Datatype.
    I register this Table and creating Master type of UDO.
    I created template for this UDO throgh DTW.
    I am using Following Filed in the template.
    Code, Name, Field 1 and Field 2.
    While i am importing data using this template through DTW using, i got following error.
    Master Data Type user Table can not add row65171.
    Regards,
    Arpit Shah

    Dear,
    Please see the Note 804685 for information about how to
    import data into user defined tables linked to an object type.
    It is not possible to import data into UDO tables via the DTW.
    Regards
    Apple

  • Error while importing data from 8i to 9i

    Hello !
    I have installed 9i and now want to import data from previous database 8i which contains GB's of data.
    I have exported through transporatble tablespaces but while importing to 9i i receive the following error of national character set .
    Import done in WE8MSWIN1252 character set and WE8ISO8859P1 NCHAR character set
    import server uses WE8ISO8859P1 character set (possible charset conversion)
    export client uses US7ASCII character set (possible charset conversion)
    export server uses US7ASCII NCHAR character set (possible ncharset conversion)
    IMP-00003: ORACLE error 2248 encountered
    ORA-02248: invalid option for ALTER SESSION
    IMP-00000: Import terminated unsuccessfully
    Can any one fix this problem
    Regards
    Shimak

    If you're moving data from 10G to 9i, using EXP/IMP, I would try using the 9i EXP to create the dumpfile with data from the 10G database, and then using the 9i IMP to import that dumpfile into the 9i database.
    Sounds like you have been using the 10G EXP and IMP in both cases.

  • Error while importing data from XML file to a Oracle database

    I am getting the following error while importing data
    *** atg.xml.XMLFileException: No XML files were found for "/Dynamusic/config/dynamusic/songs-data.xml". 
    The files must be located  under the name "/Dynamusic/config/dyna
    *** java.io.FileNotFoundException: D:\MyApp\ATG\ATG10.0.3 (Access is denied)
    java.io.FileNotFoundException: D:\MyApp\ATG\ATG10.0.3 (Access is denied)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:120)
            at atg.adapter.gsa.xml.TemplateParser.importFiles(TemplateParser.java:6675)
            at atg.adapter.gsa.xml.TemplateParser.runParser(TemplateParser.java:5795)
            at atg.adapter.gsa.xml.TemplateParser.main(TemplateParser.java:5241)
    I have placed the FakeXADataSource and JTDataSource properties files as required. In fact I have been able to import data in all machines. Just this one machine is giving problems. I have also checked out the access rights. Can someone help me please?

    Confirm that you have access to D:\MyApp\ATG\ATG10.0.3 and existence of Dynamusic/config/dynamusic/songs-data.xm

  • Logon Error while importing data

    Hello,
    I have "Countries" flat table in my repository containing 2 fields Name & ISO Code.
    I wanted to import data i.e. Name & ISO Code in this flat table via Import Manager.
    I have excel file containing Name & ISO Code data.
    While importing data, I am getting an error:- "Logon Error: External table is not in the expected format."
    Would anybody know about this issue?
    Regards,
    Vikas

    Hi Vikas,
    Just check whether yr file .xls or .xlsx.
    If xlsx then change it to xls and check if problem is solved .
    If not try with disable macros.
    Please revert with yr results.
    Thanks,
    sudhanshu

Maybe you are looking for

  • Converting Varchar into Clob in Oracle 8i

    Hi All, Kindly tell me how can we convert a varchar variable into a Clob in Oracle 8i inside a stored procedure. I searched alot on the net, we have a To_Clob function available from 9i but doesn't exist in 8i. There was also talk about using dbms_lo

  • Ho do I get latest news about songs from other countries?

    I am located in North America, that's why I think my itunes store just give me the latest news about music from North America, but I want to download some songs from other counties too. Such as Japan/ Taiwan, is there a way to set my itunes store to

  • Numbering photos in iPhoto for Toast6Lite

    In creating a Slideshow I change the order of some photos in an Album to better tell the story. Then I have changed the titles, in the new order, to 001, 002, etc. in the 'Information' section. But when I move these photos into ToastLite or to the De

  • Daemon Threads

    Hi, what I want is to connect from a daemon thread to Ldap, if I set the thread to daemon=false it works, if I set it to daemon=treu; it does'nt work anymore. Thanks.

  • Nokia Lumia 920 Battery estimated time remaining m...

    This morning when I checked the battery info, it was at 39% with 31 days and  5 hours left… So I checked it again closer to 1 PM and found it remaining at 39% with 38 days and 7 hours left. Now the time is 10 PM and it still says 39%...  The estimate