Essbase Data Export not Overwriting existing data file

We have an ODI interface in our environment which is used to export the data from Essbase apps to text files using Data export calc scripts and then we load those text files in a relational database. Laetely we are seeing some issue where the Data Export calc script is not overwriting the file and is just appending the new data to the existing file.
The OverWriteFile option is set to ON.
SET DATAEXPORTOPTIONS {
     DataExportLevel "Level0";
     DataExportOverWriteFile ON;     
DataExportDimHeader ON;
     DataExportColHeader "Period";
     DataExportDynamicCalc ON;
The "Scenario" variable is a substitution variable which is set during the runtime. We are trying to extract "Budget" but the calc script is not clearing the "Actual" scenario from the text file which was the scenario that was extracted earlier. Its like after the execution of the calc script, the file contains both "Actual" and "Budget" data. We are not able to find the root cause as in why this might be happening and why OVERWRITEFILE command is not being taken into account by the data export calc script.
We have also deleted the text data file to make sure there are no temporary files on the server or anything. But when we ran the data export directly from Essbase again, then again the file contained both "Actual" as well as "Budget" data which really strange. We have never encountered an issue like this before.
Any suggestions regarding this issue?

Did some more testing and pretty much zoomed on the issue. Our Scenario is actually something like this "Q1FCST-Budget", "Q2FCST-Budget" etc
This is the reason why we need to use a member function because Calc Script reads "&ODI_SCENARIO" (which is set to Q2FCST-Budget) as a number and gives an error. To convert this value to a string we are using @member function. And, this seems the root cause of the issue. The ODI_Scenario variable is set to "Q2FCST-Budget", but when we run the script with this calculation function @member("&ODI_SCENARIO"), the data file brings back the values for "Q1FCST-Budget" out of nowhere in addition to "Q2FCST-Budget" data which we are trying to extract.
Successful Test Case 1:
1) Put Scenario "Q2FCST-Budget" in hard coded letters in Script and ran the script
e.g "Q2FCST-Phased"
2) Ran the Script
3) Result Ok.Script overwrote the file with Q2FCST-Budget data
Successful Case 2:
1) Put scenario in @member function
e.g. @member("Q2FCST-Budget")
2) Results again ok
Failed Case:
1) Deleted the file
2) Put scenario in a substitution variable and used the member function "@member("&ODI_Scenario") and Ran the script . *ODI_SCENARIO is set to Q@FCST-Budget in Essbase variables.
e.g. @member("&ODI_SCENARIO")
3) Result : Script contained both "Q1FCST-Budget" as well as "Q2FCST-Budget" data values in the text file.
We are still not close to the root cause and why is this issue happening. Putting the sub var in the member function changes the complete picture and gives us inaccurate results.
Any clues anyone?

Similar Messages

  • Cfpdfform overwritedata not overwriting existing data

    I am having trouble with cfpdfform in CF8.
    The pdf form has fields with default data in them but when I
    try to merge the pdf form with new form data, the new data is
    appended to the previous default field values!!
    Here is the cfpdfform tag:
    <cfpdfform action="populate"
    source="#pdfDirectory#/#GetFileFromPath(catalog.catPDFUrl)#"
    XMLdata="#pdfDirectory#/mergePDF.xfdf"
    overwritedata="yes"/>
    Is there any trick to get that working?
    FYI, the PDF Forms were created with Acrobat Pro (not
    LiveCycle), that is the forms are AcroForms.
    tia
    julio carneiro

    Did some more testing and pretty much zoomed on the issue. Our Scenario is actually something like this "Q1FCST-Budget", "Q2FCST-Budget" etc
    This is the reason why we need to use a member function because Calc Script reads "&ODI_SCENARIO" (which is set to Q2FCST-Budget) as a number and gives an error. To convert this value to a string we are using @member function. And, this seems the root cause of the issue. The ODI_Scenario variable is set to "Q2FCST-Budget", but when we run the script with this calculation function @member("&ODI_SCENARIO"), the data file brings back the values for "Q1FCST-Budget" out of nowhere in addition to "Q2FCST-Budget" data which we are trying to extract.
    Successful Test Case 1:
    1) Put Scenario "Q2FCST-Budget" in hard coded letters in Script and ran the script
    e.g "Q2FCST-Phased"
    2) Ran the Script
    3) Result Ok.Script overwrote the file with Q2FCST-Budget data
    Successful Case 2:
    1) Put scenario in @member function
    e.g. @member("Q2FCST-Budget")
    2) Results again ok
    Failed Case:
    1) Deleted the file
    2) Put scenario in a substitution variable and used the member function "@member("&ODI_Scenario") and Ran the script . *ODI_SCENARIO is set to Q@FCST-Budget in Essbase variables.
    e.g. @member("&ODI_SCENARIO")
    3) Result : Script contained both "Q1FCST-Budget" as well as "Q2FCST-Budget" data values in the text file.
    We are still not close to the root cause and why is this issue happening. Putting the sub var in the member function changes the complete picture and gives us inaccurate results.
    Any clues anyone?

  • Used Migration Assistant to successfully transfer PC files to Mini. However file creation or modified date does not transfer. Date of creation is listed as day of transfer.  I would gratefully appreciate any help in solving this,

    Used Migration Assistant to successfully transfer PC files to Mini. However file creation or modified date does not transfer. Date of creation is listed as day of transfer.  I would gratefully appreciate any help in solving this?

    I have the same problem; used Migration Assistant to transfer all my pix from PC to MacbookPro, however dates of pix were not transferred. Date created as the date of transfer. Cannot sort my pix according to date.
    Anybody has an answer?

  • ICloud not syncing existing data?

    I have setup iCloud on my ipad, iphone. Why is it not syncing any of my stuff? Example.... My iphone has all my contacts, ipad doesnt yet. after iCloud was setup, my ipad STILL did not grab anything from my phone, ie..contacts, calender, etc. BUT if I add a contact or create a new to do on my ical they will all sync. Does iCloud not sync existing data??

    same issue, looks like nobody answered you from last JULY....

  • Event dates are not bolded by Date Navigator in Outlook 2010

    Event dates are not bolded by Date Navigator in Outlook 2010 on my own  calendar.  Events are set to busy but it is not working. View Settings > Other Settings > "Bolded dates in Date Navigator represent days containing items" is
    checked. This previously worked for 2+ years but recently stopped working. All plugins were disabled, Outlook 2010 was uninstalled and then re-installed. OST file was deleted and re-synchronized with Exchange 2007. While the OST was re-synchronizing the
    bolding worked properly but upon next restart of Outlook it went away. Another symptom is that my Scheduling Assistant does not show my free/busy times correctly in my local view. If I look at my own schedule via the Scheduling Assistant of another user, the
    free/busy times show up correctly. My webmail account also correctly shows bolded dates and free/busy suggesting that this is a local problem. Some screen shots below. Anyone have any ideas as to what I need to tweak? Using Oulook 2010 v.14.7116.500 (32-bit).
    This is not a shared calendar.

    Hi,
    If you want to completely uninstall or remove Microsoft Office 2010, we can refer to the following article to do it:
    http://office.microsoft.com/en-us/support/how-to-uninstall-or-remove-microsoft-office-2010-suites-HA104027750.aspx
    Additionally, since the issue doesn’t happen in other computers, I think the issue may be also caused by some third-party programs in your original computer. If the complete uninstallation doesn’t help for this issue, I suggest we can try to perform a clean
    boot in your Windows for more troubleshooting:
    http://support.microsoft.com/kb/929135/en-us
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Having arranged some scanned pictures in an album in I-Photo how can I keep them in the order I have chosen when I move the album. They all have the scan date and not the taken date and move to new positions if I move them from one album to another.

    Having arranged some scanned pictures in an album in I-Photo how can I keep them in the order I have chosen when I move the album. They all have the scan date and not the taken date and move to new positions if I move them from one album to another.
    Is there any way to re-number them in the order I have chosen so that they can then be sorted by number? The scans are all from pre-digital images that I wish to move to a photobook and I don't want to have to organise them twice!
    Thanks for any suggestions.

    I was a bit short, Chris, sorry. It is limited, what can be posted, when typing on an iPad.
    Now I am back on my Mac. I meant the following:  Batch Change the date for a large range of photos, that should have a date stepped in increments.
    Select all Photos at once and use the command "Photos > Batch Change".
    Then set the date for the first photo and select an increment, e.g. one minute.
    Now all photos will get a new date assigned, incremented by one minute, in the sequence you have selected. So you will be able to sort them by date.  This way it will be unnecessary to change the titles or filenames.

  • IPhoto, sort by date is not a true date/time sort

    In iPhoto, sort by date is not a true date/time sort.  If you have two cameras with there own naming convention iPhoto sorts filename by date separating the two cameras in the view. Is there a way to sort by DATE&TIME ONLY?

    Using two cameras using iPhoto to upload pictures.
    Both cameras are set to the correct time and date.
    Connect camera ONE filenames IMGP0101
    By default:
    No event name
    Split events checked
    Select import 12 photos
    Creates events:
    Untitled event December 27, 2013
    In order by time
    Untitled event December 28, 2013
    In order by time
    Untitled event December 29, 2013
    In order by time
    Untitled event December 30, 2013
    Connect camera TWO filenames IMG_1101
    By default:
    No event name
    Split events checked
    Select import 12 photos
    Creates events:
    Untitled event December 28, 2013
    In order by time
    Untitled event December 29, 2013
    In order by time
    Untitled event December 30, 2013
    Now I have 2 events for each of December 28, 29 and 30 they are not all under the same event name. My only option is to click and drag the pictures from the second set of events to the first set of events then they are in order.  This is a real pain to do.  There needs to be a way to reset the event dates so all pictures from both cameras end up in the right event date.

  • Data Transfer Not Up-To-Date  and To Be Archived at Project definition ?

    Hi All,
    I want to know about the statuses "Data Transfer Not Up-To-Date and To Be Archived at Project definition level?" In documentation Flagged for Transfer  and  To Assign are only mentioned.
    Thanks and Regards,
    Arti.

    Hello Arti,
    the system sets this status when there is a problem with the replication. For example, in the customizing of your project type (accounting area) you have defined the type of transfer as 'Automatic as of release of project'.
    Now, for example, you have a project that has status 'Created - Transferred - Data Transfer Not Up-To-Date - Assigned', this means that the replication is not yet complete because according to the customizing setting you need to release the project first.
    Hope this helps!
    Best regards,
    Silvia

  • How do you configure AME CS5.5 to overwrite existing output files?

    How do you configure AME CS5.5 to overwrite existing output files?  So far the only options I have found are to increment the output file name or fail.  From the explaination of file increment I would have expected overwrite to be the alternative.  We work daily with the same file(s) on an hourly basis and convert via watch folder to over a dozen file types and network mapped destinations.  Re-using the same file name is critical to the final project (updating website content). Does anyone have any suggestions?

    Has there been any updates on overwriting output files in CS6? This would be extremely helpful.

  • DATA Export not success

    Hi,
    Below is the script I am using to export...the problem is that it is generating the log file but not generating the txt file in the same path.
    I tried with the database->Rightclick->export->filename......it is showing succeeded but not generating file.
    What I am missing here? Please help.
    spool on to '\\Meta\CubeRef\data_EXPORT.log'
    LOGIN testuser ****** ON testmach;
    export database 'TEST_AP'.'TEST_CU' level0 data to data_file '\\Meta\CubeRef\data_EXP.txt';
    Thanks in advance

    You might want to try the following per the tech ref:
    A file name or an absolute path to a file. If the string contains special characters, it must be enclosed in single or double quotation marks. Double quotation marks allows variable expansion; single quotation marks does not. If the file path contains a backslash ( \ ), it must be preceded with another backslash ( \\ ) to be interpreted correctly by the MaxL Shell.
    Examples:
    file01
    'D:\\filename'
    "$ARBORPATH/errors.txt"
    "$ARBORPATH\\app\\sample\\basic\\calcdat.txt" (double quotation marks to expand the variable)
    '/homes/fiona/scriptfile.msh' (UNIX file path)
    Double back slashes....
    You may find the export file "\\Meta\CubeRef\data_EXP.txt'" has been created in the app folder.

  • HFM Taskflow Email and Data Export Not Working

    Hello all,
    I am attempting to set up the HFM taskflow email and Data export functionality. Unfortunately, the email is not working. I completed the set up of my SMTP mail using the EPM Configurator, and tested the email funtiontionality for FR and it works well. Not the case for Taskflow.
    Is there an addtional seetings that needs to be configured. I am also unable to extract data using the taskflow. The export path is specified in the textbox, but the file is not exporting to the server location. Is there any type of port or setting that needs to be configured.
    I am on version 11.1.2.1. Please help
    Edited by: 944327 on 17/09/2012 14:52

    I wanted to create a thread about this too. There is a big problem in Lightrooms email sending. Photos are sent inline but not as attachments. They need to be sent as attachments so that the email clients can save them easily.
    This is actually important to some and responses by Adobe have not understood this.
    --2510201414571280874==00004
    content-id: <AEDF354435956231.560091>
    content-description: L1120161.jpg
    content-transfer-encoding: BASE64
    content-disposition: inline; filename="L1120161.jpg"
    content-type: image/jpg; name="L1120161.jpg"
    As for your low res image. It is probably the setting you used, you might have it set to "email quality"
    Ankur

  • Copying transaction data between planning version - Not delete existing dat

    Hello all.
    I made copy from one version, like 000.
    The result is Version A1 and A2. I copied everything(Master Data and Transaction Data).
    For each version, i ran a MRP. But in differents periods. Like October and November.
    After MRP, i have a lot Planning Orders in A1 and A2. But in differents months.
    My question is: I want to merge A1 and A2 in another version(Merge only  Planning Orders). How i can do this?
    Using /SAPAPO/MVM or /SAPAPO/VERCOP i can copy all data from source to target. But always delete previous data.
    Thanks
    Best Regards.
    Marcelo

    This isn't the answer you WANT to hear.   But there's no way to my knowledge to achieve your requirement using standard version copy functionality in APO.
    One way to preserve the data for alternate / merged versions that I've found useful is to use the /SAPAPO/REL_TO_OLTP transaction to send volume data to the ECC client.  If you are loading both inactive versions to BW, then you should be able to release that data from BW to ECC inactive/"long-term" simulation versions where it can be aggregated.  That is to say, you could send A1 and A2 separately and they will simply add to one another, not overwrites (delete and re-create).
    This being said, requirements using this transaction are sent as planned ind. requirements in ECC.  This may not be the desired outcome that you're looking for, so you might have to be careful which key figure you send to represent volumes.

  • Data is not updating in data target from PSA

    Hi,
    i have loaded data from flat file to an Info Object(with direct update)....the data is loaded correctly into PSA...when i manually read data from PSA to data target its not updting in data target.......can anyone help with this....thanks in advance..

    hi bwusr,
    direct update, so it's master data,
    is it attribute or text ? perhaps there's invalid character or lower case,
    check in monitor tab detail.
    and when you said not updated to data target,
    you check by right click 'maintain master data' ?
    or you mean it's not updated to reporting ?
    execute change run ? rsa1->tools->apply attribute/hierarchy change.
    hope this helps.

  • Importing topics overwrites existing image files

    Whenever I import a topic from one project into another,
    RoboHelp 6 does not check my existing image filenames to make sure
    it doesn't overwrite an image with the same name. This happens even
    if I create a new folder in the destination project and import into
    it. I would expect that it would import the images into that same
    folder, instead of overwriting the existing image files.

    I'm afraid RH doesn't work like Windows Explorer. The only
    way around this is to rename the file being imported or the image
    file in the project into which the other files are being imported.
    Remember to do this inside your RH project though ;-)

  • Load styles does not overwrite existing styles

    I'm using Illustrator CC 2014 on Win 7 operating system, upgrading a variety of Illustrator files from CS6 to CC format. But I've had this same problem back when I upgraded from CS5 to CS6, as well.
    I have a variety of character styles I use in all my publication artwork.
    I want to change a font used in the styles throughout all of the documents, so I change the styles in Template.ai,
    I open another document that has the same style names, where I want to overwrite those styles with new font settings saved in Template.ai
    I choose "Load Character Styles" or "Load All Styles", select the Template.ai, and the import appears to complete without any problems (no error messages).
    But if the Style Name is already existing in the document, it will not overwrite the existing style with the imported style settings (the way it does in InDesign). The styles just stay the same.
    I have to actually delete all the styles, then import the revised styles to get them to appear with the changed font. Which, of course, is a pain, because I don't want to have to reapply the style to all the different elements in each graph.
    Am I missing something here? Thanks -- Nancy

    Rename the style in your temp document (e.g.: put an "X" after this). Then import your template .ai style, then alt drag "your style" on top of "yourstyleX".

Maybe you are looking for