The tricky logminer in 8.0.5

I'd the need of mine some old information for this weird ethic committee.
and after a while, i found myself writing a small guide that will help the poor souls chained to old oracle server releases.
I hope it helps.
As many of you know there was not log miner until Release 8.1.7
So you cant mine archived logs directly in 8.0.5 / 6.
You need to make the dictionary locally and load it in a superior release such 8.1.7 or 9.2.
the following steps cover the setup process.
1. You need the following scripts from an 8.1.7 release
a. dbmslmd.sql <---------------------This one build the dictionary
b. dbmslm.sql
c.prvtlm.plb
2. be sure that utl_file_dir is defined.
3. run the scrips in the 8.0.5 database.
ex: UTL_FILE_DIR = /tmp
4. once the scrits where executed its time to build the Dictionary.
Begin
     Sys.dbms_logmnr_d.build('diccionario.dic','/tmp');
End;
5.
Now you can load archived logs into a 8.1.7 or 9.2 database.
(i assume that you have log miner setted up in the dest database.)
the first one with...
execute DBMS_LOGMNR.ADD_LOGFILE (LOGFILENAME => '/tmp/dbproduc14200.arc',OPTIONS => DBMS_LOGMNR.NEW);
and the following logs with.
execute DBMS_LOGMNR.ADD_LOGFILE (LOGFILENAME => '/tmp/dbproduc14201.arc')
6. Now we are ready to load the Dictionary made in the 8.0.5 database.
EXECUTE DBMS_LOGMNR.START_LOGMNR(DICTFILENAME =>'/utlfiledir/DICTIONARY.ORA');
7. Query V$LOGMNR_CONTENTS to check results.
8. to end the process you can do.
EXECUTE DBMS_LOGMNR.END_LOGMNR
more info regarding log miner can be found at.
https://metalink.oracle.com/metalink/plsql/f?p=130:14:4958902010004004813::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,291686.1,1,1,1,helvetica
Subject:      LogMiner Utility Release 8.1.x - 10g
Doc ID:      Note:291686.1

Hi james,
I have small suggestion for you.
1) If you are commiting for every record that may even kill the time.
So commit after some count of record (for example every 100 record).
2) Also if you have any sorting criteria then increase yr temp tablespace.
3) You can also resize yr rollback segment to a larger size and make yr procedure to make use of that rollback segment.
hope this helps you a little bit.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by James Rethinam ([email protected]):
Hi Marco,
Thanks for your suggestion, but both of your suggestions are in place, It's a stored procedure and commits for every records.
Any other suggesions ...?
Thanks for the help
James<HR></BLOCKQUOTE>
null

Similar Messages

  • How do I open my iPod touch if I forgot my passcode. The tricky part is my iTunes is no longer connected to the computer I have.

    I just found my ipod from 2 years ago and I haven't the slightest clue as to what my passcode is. I did some research online and I saw that you can simply connect it to iTunes via computer. I recently updated my computer and I don't have access to that iTunes anymore. I'm not sure what to do

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • XCode & all the tricky settings...

    Hi!
    So, I am the slowest plugin developer in the world. I've got this set of 4 or 5 terribly clever plugins that I've been tinkering with since, oh, mid 2003 or so. I've finally got a spot of time to try to tidy them up and share them (probably as freeware).
    So, trying to switch from Metrowerks (rest in peace) to XCode... I think it's nearly working but maybe missing part of my link?
    In After Effects 7.0, I get a dialog box:
    After Effects error: couldn't load plug-in "omino_color_extract.plugin" (problem with fragment "") -- bad parameter (-50). (48 :: 29 ) OK.
    Questions:
    1. What's the next logical step, to debug this problem?
    2. IF it's in fact a link error, is there some way to trick XCode into reporting the problem before actually launching After Effects and clicking around? (Maybe a simple test harness that drives linkage or something...)
    Any guidance, general or specific, most welcome! Thanks for reading...

    ... ok. By squinting very, very hard at the XCode Target Settings for my project and SDK_Noise, I was at last able to get all my linker symbols lined up and accessible...
    Whew.
    I am interested to hear if anyone has a build-and-test flow other than "run it inside After Effects and see if it looks right", though... Anyone?
    Cheers! --> dvb

  • Suggest me the tricky query  please

    Hi
    i want to write a sql query which shown as follows:
    input inline:
    a : prasanth
    b : asuri
    output should be:
    prasanth asuri(combination of a and v variables)
    that is too without pl/sql block.
    please suggest me sql query;
    thanks in advance
    prasanth

    Hi,
    SELECT SYS_CONNECT_BY_PATH(name, ' ') "Path" FROM
    (SELECT rownum ID ,rownum-1 PID,name FROM (
    SELECT 'CHITTA' NAME FROM DUAL UNION SELECT 'RANJAN' FROM DUAL))
    where id = (2) -- this should be max Rownum
    START WITH pID=0
    CONNECT BY PRIOR id = pid
    or if it is a table
    SELECT SYS_CONNECT_BY_PATH(dname, ' ') "Path" FROM
    (SELECT rownum ID ,rownum-1 PID,dname FROM (select * from dept))
    where id = (select max(rownum) from dept)
    START WITH pID=0
    CONNECT BY PRIOR id = pid
    It is OK With you ..
    Bye
    Chitta

  • How do I set up an 8.5x11 booklet/document on 11x17 paper, pages 4-1 on one side, 2-3 on the other?

    I realize this is commonly done, but when I create the new document, my pasteboard shows only page 1 on the right side (blank on the left), pages 2 and 3 in the next panel, and in the third panel, page 4 on the left side (blank on the right).
    I haven't tried printing it yet, and maybe pages 1 and 4 will print together on one sheet as they should.  But if that's true, wouldn't the pasteboard show just two panes?  Pages 4-1, and then pages 2-3 below it?
    And while I'm asking this question, what if I want to add a second sheet?  In that case, the first panel would be pages 8 and 1, the second panel would be 2 and 7, the third would be 3 and 6, and the fourth should be 4 and 5.
    If there is a standard way to set this up, I'm very grateful for the answer.

    The process you are asking about is called imposition, in case you want to Google for additional information. Imposition is normally the job of the print service, so if you are not printing this yourself (on a laser printer or networked copier, for example), you should leave it as a standard 8.5x11 portrait facing-page document. As a matter of fact, if you were to impose the booklet (thinking that you were doing the print provider a favor by lightening their load) and do it wrong, they would have to undo what you did, which would make their job harder, and you would likely be charged a fee for this.
    If, on the other hand, you are printing this yourself, there are a few ways to do this. The easiest would be to select File>Print Booklet. You will have to set the paper size in the Print Settings window to 11x17 landscape, but it should print the booklet correctly. You will need to print this to a printer that can duplex (print on a sheet, flip the sheet and print on the back side, then repeat on the next sheet, etc.) for this to work with the Print Booklet feature (as far as I can tell—I don't use the feature myself, so that's what it seems like in the short amount of poking around that I did). If your printer can't do that, you may have to do it manually.
    If you use the Print command instead of the Print Booklet command, it will allow you to do things like printing only odd or even pages, and print in reverse order. Unless you wanted to feed one sheet at a time into the printer and turn the sheet manually (which I suppose you could also do with the Print Booklet command), that's what you would have to do, but you would have to impose manually into another document first. There are InDesign plugins that will impose for you (as well as ways to impose a PDF), so you may want to Google to see what you come up with. Doing it manually can cause you some headaches.
    To impose manually, save your document and create a new 11x17 landscape document with half as many pages as your original. You can place the original document into the new one the way you would place images (the pages won't be editiable, so they essentially are images, but you don't have to go the extra step of saving them as PDF, tiff, eps, etc. just to place them). Go to File>Place, navigate to your original document and tick the Show Import Options checkbox and click the Open button. When the Place window comes up, select the All radio button, and your place cursor will be able to place each page in normal sequence onto the page of your new document.
    The tricky part is knowing which page goes where, and that's what will probably trip you up. A way to find out where the pages need to go is to take some paper scraps and fold them into a book (start with the number of pages in the book, divide by four, and use that many scraps). Write the numbers of the pages on the scraps in reading order like you were turning the pages of the book, then separate the pages and you will see that the last page is on the left of a sheet, with the first on the right. Turn it over and you will see page two on the left and the second last page on the right. This is the order you will need to place the pages in order to impose manually.
    Does that help?

  • Dates fields issue in the sales orders through IDOC

    Hi all,
    I'm trying to create a sales order through Inbound IDOC using IDOC_INPUT_ORDERS.
    I have 2 custom fields in the sales order which are date fields.
    I'm populating them from the IDOC segments(using E1EDKT1-tdid, E1EDKT2-tdline) in the user-exit just before the call trasacation statement. These dates are not coming for a few orders... but are getting populated normally for few of them.
    But the tricky part is that... if I process the same IDOC for the second time.. the order created is having the dates.
    My issue is that.. i need all the orders to be populated with the dates which IDOC have.
    Could anyone please help me with this issue.
    All the answers/replies are highly appreciated!!
    Thanks for you help!

    hi,
    the following may be of help
    There are 2 major exceptions to the batch input internal table. All text data from the segments E1EDKT1/2 and E1EDPT1/2 are not part of the batch input session. Text elements from these segments are posted directly to the data base AFTER the sales order has been created (please note: in order that item texts are posted correctly to the sales order the field POSEX from segment E1EDP01 MUST be transmitted). Also, configurable material information from the IDOC is exported to a global memory and therefore will not be part of the batch input session. Configurable material data is performed in Form CHECK_CONFIGURATION and the data is exported to global memory in the following code:
    Exportiert IDOC Daten ins globale Memory     
    export IDOC data to global memory            
      call function 'CUXC_IDOC_TO_MEMORY'          
           tables                                  
                cfg_instref = xe1curef             
                cfg_ref     = xe1cucfg             
                inst        = xe1cuins             
                part_of     = xe1cuprt             
                value       = xe1cuval             
           exceptions                              
                error       = 1                    
                others      = 2.                   
    One extra piece of useful infomartion if you wish to debug the process is to set your breakpoints at the following points
    for Function module IDOC_INPUT_ORDERS
    include LVEDAF0F..
      CALL TRANSACTION 'VA01' USING bdcdata
                                MODE  input_method
                                UPDATE 'S'
                                MESSAGES INTO xbdcmsgcoll.
    Now input_method is A foreground process and N for background processing but try changing it to P (pass through mode)
    If you have breakpoints in va01, e.g. MV45AF0B_BELEG_SICHERN,(the part where the sales document is saved)
    they will be hit, e.g
    perform userexit_save_document_prepare.
    perform userexit_save_document.
    Lastly, don't forget using program SDJEDI , see note 380603 for more information on this
    Hope this is useful
    Paul Quinn

  • How to manipulate the recipient adress of a notification mail?

    Hi,
    when a task is assigned to a user, LC can send nice notification eMails. Meanwhile the content (mail body and subject) can be freely formatted through custom eMail templates.
    I need exactly this but in addition to that, I would need to change the recipients adress (to-adress) of the eMail. The user task and it's custom template does not support this.
    Is there a way to somehow manipulate the recipient adress of a notification mail?
    Here is the use case:
    We have to create business process solution based on LC ES 2.5 BPM. In the user directory we have regular users with regular eMail-adresses. So far everything is standard and the latest LC version.
    But some of the eMails sent by the system will contain sensible HR personell data. So we have the requirement, that these emails have to be encrypted. The customer has an encryption infrastructure in place, that we are asked use.
    It is a proprietary Notes solution. An eMail has to be send to a specific inbox (i.e. [email protected]). The encrypter receives the mail and encrypts it. After that he forwards the mail to the original recipient. The adress of the original recipient it extracts from a special formatted expression from within the eMail text. 
    The integration with LC could be very easy, if I would have the chance to replace the recipients adress that is automattically inserted be LC.
    Thank you for any idea
    Cheers
    Alex

    The solution is to manipulate the processing logic of the "Email Notifiacation" orchestration. After the task "handleNotifcationWithRenderEvent" all email relevant fields are generated but the mail is not yet sent. A new task added here, can accomplish any manipulation.
    The tricky part is to get access to the "Email Notification" orchestration at all. In workbench it is hidden.
    It gets accessible by creating a new application and importing a process into it. Within the import dialog it can be selected. Once it is imported, it can be modified an redeployed to override the standard behaviour.

  • How do you "pause" an open application, like Mac automatically does when the memory is full?

    How do you "pause" an open application, like Mac automatically does when the memory is full?
    I would like to do so proactively when I am not using a certain program but need to keep it open, and I want to free up computer resources.
    In other words, I want to keep a given program open, but stop it from "thinking".

    There is an application that I can only open a set number of times before it expires.  Every time the program closes, you get one less use out of it.  I want to use it as long as possible, so I thought I would just keep it open all the time.  However, it consistently turns on the fan on the computer, so I imagine it uses a lot of resources.  I got the idea after the Force Quit program "paused" it once after getting overloaded with all the apps I had open.  It stopped the fan, and I was able to open it and run it again later with no problems.  The tricky thing with trying to intentionally overload the system is that it's a hit or miss on which open program the OS will pause (to my knowledge).

  • How can I change the font size on the post of WordPress?

    I have found three websites which address WordPress style sheets:
    Playing With Fonts: http://codex.wordpress.org/Playing_With_…
    Font Size and Color: http://en.support.wordpress.com/editors/…
    How to Change Font Size In Wordpress: http://www.ehow.com/how_5469172_change-f…
    Here are the instructions from the third website above:
    Things You'll Need:
    Site designed in Wordpress
    Administrator access
    Step 1
    First, to change the font size on a Wordpress site you need to log into the site as administrator. If you do not know how to reach the login page, simply add "/wp-login.php" after the "www.url.com" address. Then login using the admin sign in.
    Step 2
    Next, get to the Wordpress file editor by going to Appearance->Editor.
    Step 3
    Once in Editor, identify the Stylesheet file (style.css) and click to edit. This is usually located on the right hand side under the "Styles" heading.
    Step 4
    Once in the style.css file, you want to conduct a search for "fontsize". This parameter is used throughout the style.css file and is the parameter used to control font size. Next to "fontsize" you will see something like "16px". Simply increase or decrease the "16" to change font size. The tricky part is to figure out which "fontsize" you want to edit.
    The way to do this is to first look at the heading it is under. If it is under "comment-template", it is obviously related to either the font size of the comments themselves or perhaps the comment form or the date/time stamp of the comment.
    It may take a little trial and error to find the right "fontsize" to modify. Simply modify the one you think is correct and in a separate window, reload the page with the font you are looking to modify. If it did not change, undo the previous edit and try a different "fontsize".
    I went to the Dashboard and clicked on the “Appearance” icon on the left-hand side, and then clicked on editor. I clicked on Stylesheet (style.css), but I have not been able to find the “fontsize” that would change my post font size. As the author writes: "The tricky part is to figure out which "fontsize" you want to edit." Some of the font sizes are given as a percentage, and I don’t know if these come into question, i.e., if I should try changing one of these to see what happens.
    The end result is that I still have not been able to change my post font size, other than by using the Heading-1-through-6 option, which, I understand, is not the best way to do it.

    From John Waller: “If you're using IE8, hit F12 to launch Developer Tools which give you a point and click method of locating the relevant CSS rule on screen.”
    I have Internet Explorer 8 (IE8) so tried this method.
    This sounded like another promising possibility; however, I have not been able to change the font size in my post using this method.
    I have gone to Dashboard > Posts > Edit > then moused-over my post > clicked on "edit" and then hit F12. An enormous amount (20 pages or more) of CSS appears. I tried picking out the font size that I thought pertains to the post (under Text Area), and I have changed the font size from 13px to 24px; however, I have not been able to “save” the new setting. When I go back to it, it is back to 13px.
    As a result, I have not been able to use a trial-and-error method to establish which font size I must change in order to change the font size of my post.

  • Managing sole iTunes library with multiple machines on-the-go with database&media on external drive?

    Hi fellows. Trying to organize & revamp my iTunes library & wish to achieve a configuration but lack the expertise to achieve it. My objectives are:
    Objectives
    +1. for my multimedia content to be stored/accessed from an external hard disk+
    +2. to keep the entire iTunes multimedia & all necessary operating files as self-contained as possible,+
    +3. Allow multiple machines to manage import of new content into library, i.e. download new episodes of podcasts, rip new music & movies into the library, sync-ing of iPod even when said machine is nowhere near my external hard disk (this is the tricky one)+
    _Justification for my objectives_
    For objective #3, it's not that I'm trying to be funny. My use case is I've 1 laptop (main machine & always at home) & 1 netbook (brought to school daily). Most of my iTunes usage will be via the stay-at-home laptop; but I may wish to add/manage new content onto my iTunes library/iPod while I'm outside (hence, decoupled from my external hard disk at home).
    I'm not trying to be funny for objective #1 either. I wish to have a streamlined process of retaining & re-instating my iTunes library meta-data across system re-format, i.e. where the iTunes library db files' location may be changed (most obvious being the new "My Music" folder path in Win7 from WinXP)
    _What I'm well aware of_
    I understand that storing/re-locating multimedia on external hard disk is no-kick to iTunes veteran. I also understand that after a new installation of iTunes, I can move the fresh copy of "iTunes_library.itl" & "iTunes_library.xml" files to my external volume & point iTunes to their new address from the 2nd launch onwards. I also understand any new machines I introduce into my environment can be directed to that exact copy of iTunes library database files when I install iTunes & pressing "Shift" key upon their launch. Lastly, I also understand that I will have no access to my multimedia files (for playback) while I'm outside, but I can still add new content, & download new podcasts & remove old content from my library/iPod
    _The question_
    However, what I have difficulty achieving, is launching iTunes on my on-the-go machine(s), without a local copy of the iTunes library database files. I doubt iTunes will be able to launch at all, & if I create a new library (just to launch iTunes), it will not possess content from my main media collection & likely to wipe out my iPod.
    _My novice attempt & its inadequacies_
    My 1st instinct, is to have the iTunes library database files stored in the cloud. More specifically, I can store them files in my DropBox folder/account, & have every machine update to a single latest version of iTunes library database files upon Internet connection. However, this method depends on:
    +* the DropBox application to exist forever,+
    +* assumed the installation path of DropBox (or any applications for that matter) to persist/remain unchanged across future versions of operating systems,+
    +* Will corrupt any un-sync-ed version of my iTunes library database files when I launched iTunes without 1st updating the local cached copy of them database files (suppose I manage my iPod playlists via iTunes on a plane)+
    _Open for recommendations_
    So here I'm, all ears to any fine recommendations you iTunes veterans have to offer. Thanx in advance.

    In case anyone is interested in these sorta thing:
    UPDATE #4: Unfortunately, if you discover you tagged something wrong after importing the songs, even when you correct the tags, iTunes will not re-organize the folder hierarchy, as long as “Keep iTunes Music folder organized“ is UNchecked, even if the songs were imported via the “Automatically add to iTunes folder” channel.
    Example: I imported a folder of Andy Lau songs into my library, unbeknownst to me, some of the songs had their “Artist” tagged as “Andy Lau“, while some had theirs tagged as “Liu De Hua“. Naturally, the 1st time round I imported them, 2 separate folders were instantiated as to iTunes, those were names of 2 distinct artists (this is expected, & acceptable behaviour). The downside is, even if I re-tagged all those songs with “Andy Lau” as the artist, iTunes will no longer re-organize & consolidate all them songs into a single “Andy Lau” artist folder (because I’d “Keep iTunes Music folder organized” UNchecked remember?)
    Well, you may suggest that I check that option when managing my future library & uncheck it right before launching/using my main, current library. The thing is, iTunes preferences persist across libraries, & one day I will forget to uncheck that option, launch my main library & lose all my current music folder structure to iTunes’ re-organization (which I don;t want, as of yet). Which brings me to another update:
    UPDATE #5: My future iTunes library has “I:/iTunes_Media” as iTunes’s “Home” folder. This setting persists even when I switch back to my main, current library. Which means, if I’d my external volume connected while launching/using my main, current library, all new content will end up in that folder on the external volume! Which messes up the whole scheme of things! Arghz!
    UPDATE #6: Here’re some updates with regards to ID3 tags:
    * the “Album Artist” in Windows (7) Explorer = the “Album Artist” field in iTunes 9
    * Modifying a ID3 tag field using Windows (7) Explorer will update BOTH the v1 & v2.3 version of the ID3 tags on the song (if the song has both versions of tags embedded & if the field exists in both tag versions). If you update the tags via iTunes, only the v2.3 tags get updated. This is surprising.
    * the “Contributing Artist” field in Windows (7) Explorer = the “Artist” field in iTunes 9 & the “Artist” field in ID3v1 tags (changes in tany of the 3 fields will affect the other 2 respectively)
    o However, iTunes Media folder organization will only adhere to the value saved in the “Album Artist” field [if you change the value of "Contributing Artist" in Windows (7) Explorer, the "Artist" field in iTunes or the "Artist" field in a song's ID3v1 tags, no folder re-organization will occur]
    UPDATE #7: Some updates with regards to workflow:
    Decided to retain all non-music content within a sub-folder named “non-music” beneath the main album folder (& take strict precautions to import songs only). The exception is “m3u” playlist files. Have read elsewhere if you import a folder of songs & there’s an “m3u” playlist inside, your library may have duplicates and/or the tags of those songs you just imported could be screwed, etc.

  • Can I send email using my own domain address with iCloud the way I can with gmail?

    Let's say I own mydomain.com and have a [email protected] email account.  I have set that up to forward to gmail, and that would be easy to switch to iCloud.  Here's the tricky part: gmail allows me to send email as [email protected]  I've been doing this for years and it works, but I'd like to switch from gmail to iCloud.  Can I set up this same behavior with an iCloud @me.com address (which I already have but haven't been using yet)?  I know I can obviously switch the forwarding of incoming mail to my @me.com address...  but can I send [email protected] email through iCloud the way I can with gmail?  All of my devices are Apple: a Mac Mini using Apple's Mail app, and an iPhone and an iPad both using the Apple email app, so I'd rather switch everything over from gmail to iCloud.
    P.S.  Awe, c'mon Apple.  Don't turn those fake addresses into links.  I just used them for the sake of giving an example.

    Ah, I should have made that clear.  My domain didn't come from google.  It was purchased at and is hosted at dreamhost, but I haven't used their email servers in years - I just route everything through gmail.  I actually have a bunch of domains (with websites).
    Gmail has an option that lets someone with custom domains send (and receive) email through gmail using the custom domain once Google confirms proper ownership of the domain (to prevent spammers and such).  Gmail has a setting for "send email as" which allows gmail to be sent using a custom domain as the sender.  I'm pretty sure Apple's old mobileme had this feature too, but I didn't use it.

  • Two Cube dimensions with the same name.

    Hi
    If I have a cube dimension that has the same name as another cube dimension, will this be an issue when quering the cube through 1) Excel 2) SSRS or Cognos Reports?
    For instance: The Database dimension DimOrganization exists in cube A as well as
    DimOrganization_Dep. Both dimension has the same attribute names and the same hierarchy names.
    Their database names are different. (object_ID and Object_name differs) 
    In the cube I change the name of DimOrganization_Dep to DimOrganization.
    This seem to work when I query the cube in Excel, the mdx looks like this;
    SELECT NON EMPTY { [Measures].[AntalNotNull] } ON COLUMNS, NON EMPTY { ([Dim Organization].[Yes- No].[ Yes- No].ALLMEMBERS * [Dim Organization].[Yes- No].[Yes- No].ALLMEMBERS ) } DIMENSION PROPERTIES MEMBER_CAPTION, MEMBER_UNIQUE_NAME
    ON ROWS FROM [TEST] CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, FORMATTED_VALUE, FORMAT_STRING, FONT_NAME, FONT_SIZE, FONT_FLAGS
    Anyone knows if this kind of setup will result in problems when quering from SSRS reports or Cognos?
    And/or if even though I get it right in the cube (quering from Excel) it might as well give me the wrong result the next time?
    Cheers
    /Martin

    Hi
    Thanks for the reply.
    I have tried and yes I can change then cube dimension namn to that of another cube dimension.
    For instance if i have Cube Dimension "DimA" and "DimB" to begin with , then  I change the name of the cube dimension "DimB" to "DimA". So now I have two Cube dimensions with the same name.
    It works to deploy and process and Excel somehow understands which one is which.
    Both is present in the same cube as you can see from the MDX above.
    The tricky part is how does the mdx return the correct result when the mdx looks like this (and it dpoes return the correct result).?
    Cheers
    /Martin

  • How to SIMPLY use the %DIMENSION_TO_SET% variables into logic scripts

    hello,
    I'm using a prompt of type "COPYMOVE" or "COPYMOVEINPUT". In this type of prompt, there are 2 columns of dimension members list, one for defining the "source zone" and one for defining the "target zone" of logics.
    The left colum of the prompt (for source zone) feeds the variables %DIMENSION_SET% : %ACCOUNT_SET%, %ENTITY_SET%, %CATEGORY_SET%, etc...and these variables can be used in the logic scripts in *XDIM_MEMBERSET instructions for example.
    The right colum of the prompt feeds the variables %DIMENSION_TO_SET% : %ACCOUNT_TO_SET%, %ENTITY_TO_SET%, %CATEGORY_TO_SET%, etc...and I don't know how to SIMPLY use these variables in the logic scripts.
    I've found a tricky way to do that but I meet 2 problems :
    - it is complicated
    - the multi-info instruction (BEGININFO/ENDINFO) seems to be bugged as blank lines are added all the time in the code and sometimes I have to wait for minutes when I try to modifiy the package code through BPC for excel eData/modify package menu.
    So the question is how to SIMPLY get the %DIMENSION_TO_SET% variables into logic scripts and use them ? Thanks, R.
    Here is the tricky package code I use at this time (I build one function for each %DIMENSION_TO_SET% variable and I pass these functions to the logic) :
    PROMPT(COPYMOVE,,,,"ACCDETAIL,ACCOUNT,CATEGORY,DATASRC,ENTITY,TIME,YEARS")
    TASK(Execute formulas,USER,WS-WW\PlauchuR)
    TASK(Execute formulas,APPSET,US)
    TASK(Execute formulas,APP,SV)
    TASK(Execute formulas,SELECTION,D:\BPC\Data\WebFolders\US\SV\PrivatePublications\PlauchuR\TempFiles\FROM_1561_.TMP)
    TASK(Execute formulas,TOSELECTION,D:\BPC\Data\WebFolders\US\SV\PrivatePublications\PlauchuR\TempFiles\TO_1561_.TMP)
    BEGININFO(%FSS%)
    *FUNCTION TARGETACCDETAIL=%ACCDETAIL_TO_SET%
    *FUNCTION TARGETACCOUNT=%ACCOUNT_TO_SET%
    *FUNCTION TARGETCATEGORY=%CATEGORY_TO_SET%
    *FUNCTION TARGETDATASRC=%DATASRC_TO_SET%
    *FUNCTION TARGETENTITY=%ENTITY_TO_SET%
    *FUNCTION TARGETTIME=%TIME_TO_SET%
    *FUNCTION TARGETYEARS=%YEARS_TO_SET%
    ENDINFO
    TASK(Execute formulas,FORMULASCRIPT,%FSS%)
    TASK(Execute formulas,LOGICFILE,D:\BPC\Data\WebFolders\US\SV
    ..\AdminApp\SV\_TEST.Lgf)
    TASK(Execute formulas,RUNMODE,1)
    TASK(Execute formulas,LOGICMODE,1)
    Edited by: ALEXANDRE BEDIER on Jun 16, 2010 3:15 PM

    hello,
    finally I've discovered that there is no need of BEGININFO instruction.
    One can pass several functions to a logic with one FORMULASCRIPT task. The functions definitions have to be separated by instructions. See below :
    PROMPT(COPYMOVEINPUT,%FTARGETS%,,"select source and target zone for category and datasource.","ACCDETAIL,ACCOUNT,CATEGORY,DATASRC,ENTITY,TIME,YEARS")
    TASK(Execute formulas,FORMULASCRIPT,*FUNCTION TACCDETAIL=%ACCDETAIL_TO_SET% *FUNCTION TACCOUNT=%ACCOUNT_TO_SET% *FUNCTION TCATEGORY=%CATEGORY_TO_SET% *FUNCTION TDATASRC=%DATASRC_TO_SET% *FUNCTION TENTITY=%ENTITY_TO_SET% *FUNCTION TTIME=%TIME_TO_SET% *FUNCTION TYEARS=%YEARS_TO_SET%)
    TASK(Execute formulas,USER,%USER%)
    TASK(Execute formulas,APPSET,%APPSET%)
    TASK(Execute formulas,APP,%APP%)
    TASK(Execute formulas,SELECTION,%SELECTIONFILE%)
    TASK(Execute formulas,LOGICFILE,%APPPATH%\..\AdminApp\%APP%\_TEST.LGF)
    TASK(Execute formulas,RUNMODE,1)
    TASK(Execute formulas,LOGICMODE,1)
    Then one will be able to use the functions TACCDETAIL, TCATEGORY, TACCOUNT,... in the logic script.
    Edited by: ALEXANDRE BEDIER on Jun 24, 2010 10:31 AM
    Edited by: ALEXANDRE BEDIER on Jun 24, 2010 10:33 AM

  • Can i have my itunes library on 2 computers at the same?

    i have a burning question thats needs a very thorough explination. i want my itunes library on my desktop and laptop so when i'm on my desktop i can listen to it on there and when i'm out and about i can listen to it on my laptop. if this possible can someone explain to me how it's done as i don't want to acidently wipe my library if you know what i mean.
    thanks for all your comments in advance.

    I hope you don't mind me throwing a curve ball into this discussion... It should be a fairly simple matter to copy your library from one computer to the other. The tricky bit is keeping the two copies up to date with each other. I've written about this before, primarily with a view to being able to update devices from each computer, so perhaps this will be useful to you too.
    Sync iPod/iPad/iPhone with two computers
    Although it isn't possible to sync an Apple device with two different libraries it is possible to sync with the same logical library from multiple computers. Each library has an internal ID and when iTunes connects to your iPod/iPad/iPhone it compares the local ID with the one the device normally syncs with. If they are the same you can go ahead and sync...
    I have my library cloned to a small 1Tb USB drive which I can take between home & work. At either location I use SyncToy 2.1 to update the local copy with the external drive. Mac users should be able to find similar tools. I can open either of the local libraries or the one on the external drive and update the media content of my iPhone. The slight exception is Photos which normally connects to a specific folder on a specific machine, although that can easily be remapped to the current library if you create a "Photos" folder inside the iTunes Media folder so that syncing the iTunes folders keeps this up to date as well. I periodically sweep my library for new files & orphans with iTunes Folder Watch just in case I make changes at one location but then overwrite the library with a newer copy from the other. Again Mac users should be able to find similar tools.
    As long as your media is organised within an Tunes Media folder, in turn held inside the main iTunes folder that has your library files (whether or not you let iTunes keep the media folder organised) each library can access items at the same relative path from the library folder so the library can be at different drives/paths on different machines. This solution ensures I always have adequate backups of my library and I can update my devices whenever I can connect to the same build of iTunes.
    In your case you could use a shared folder on one computer in place of the external drive, but you could use the SyncToy tool to keep the two folders in sync with each other rather than trying to do that part by hand which is almost impossible...
    tt2

  • How do I copy the style from one control to another?

    I need to programmatically copy the style from one graph to another. I'm currently using the importstyle and export style functions but I'd like to avoid that since: 1) I'm creating >100 of the same graphs in a scrolling window and execution time is a concern, and 2) it makes it harder to redistribute the application, and 3) you shouldn't have to import/export from disk just to copy a graph style.
    I noticed the copy constructor was disabled so you can't just create a new one from the original. I suppose I could iterate through all the styles and transfer them from the master graph to all the copies but is there an easier way to do that? If not, is there some sample code for that?
    I'm using MStudio 7.0 for C
    ++.
    Thanks,
    -Bob

    One way that you could do this would be to create a helper method that configures your graph rather than configuring it at design-time, then use that helper method to apply the settings to the new graphs that you create. However, this would only work if you wanted all graphs to be configured exactly the same way - this would not work if the settings of your master graph are changing at run-time and you want the new graphs to be configured with the current settings of the master graph.
    Another approach is to query each control for IPersistPropertyBag, create an IPropertyBag, pass the IPropertyBag to the master graph's IPersistPropertyBag:ave, then pass the IPropertyBag to the new graph's IPersistPropertyBag::Load implementation. I'm not aware of any implementations of IPropertyBag that are readily available for use in applications, so the tricky part is creating the IPropertyBag. Below is a very simple implementation of IPropertyBag that should be enough to get the job done for this example. First, add this to your stdafx.h:
    #include <atlbase.h>
    CComModule _Module;
    #include <atlcom.h>
    #include <atlcoll.h>
    Here's the simple IPropertyBag implementation:
    class ATL_NO_VTABLE CSimplePropertyBag :
    public CComObjectRootEx<CComSingleThreadModel>,
    public IPropertyBag
    private:
    CAtlMap<CComBSTR, CComVariant> m_propertyMap;
    public:
    BEGIN_COM_MAP(CSimplePropertyBag)
    COM_INTERFACE_ENTRY(IPropertyBag)
    END_COM_MAP()
    STDMETHODIMP Read(LPCOLESTR pszPropName, VARIANT* pVar, IErrorLog* pErrorLog)
    HRESULT hr = E_FAIL;
    if ((pszPropName == NULL) || (pVar == NULL))
    hr = E_POINTER;
    else
    if (SUCCEEDED(::VariantClear(pVar)))
    CComBSTR key = pszPropName;
    CComVariant value;
    if (!m_propertyMap.Lookup(key, value))
    hr = E_INVALIDARG;
    else
    if (SUCCEEDED(::VariantCopy(pVar, &value)))
    hr = S_OK;
    return hr;
    STDMETHODIMP Write(LPCOLESTR pszPropName, VARIANT* pVar)
    HRESULT hr = E_FAIL;
    if ((pszPropName == NULL) || (pVar == NULL))
    hr = E_POINTER;
    else
    m_propertyMap.SetAt(pszPropName, *pVar);
    hr = S_OK;
    return hr;
    Once you have a way to create an implementation of IPropertyBag, you can use IPropertyBag and IPersistPropertyBag to copy the settings from one control to another like this:
    void CopyGraphStyle(CNiGraph& source, CNiGraph& target)
    LPUNKNOWN pSourceUnknown = source.GetControlUnknown();
    LPUNKNOWN pTargetUnknown = target.GetControlUnknown();
    if ((pSourceUnknown != NULL) && (pTargetUnknown != NULL))
    CComQIPtr<IPersistPropertyBag> pSourcePersist(pSourceUnknown);
    CComQIPtr<IPersistPropertyBag> pTargetPersist(pTargetUnknown);
    if ((pSourcePersist != NULL) && (pTargetPersist != NULL))
    CComObject<CSimplePropertyBag>* pPropertyBag = 0;
    CComObject<CSimplePropertyBag>::CreateInstance(&pPropertyBag);
    if (pPropertyBag != NULL)
    CComQIPtr<IPropertyBag> spPropertyBag(pPropertyBag);
    if (spPropertyBag != NULL)
    if (SUCCEEDED(pSourcePersist->Save(spPropertyBag, FALSE, TRUE)))
    pTargetPersist->Load(spPropertyBag, NULL);
    (Note that "CreateInstan ce" above should be CreateInstance - a space gets added for some unknown reason after I click Submit.)
    Then you can use this CopyGraphStyle method to copy the settings of the master graph to the new graph. Hope this helps.
    - Elton

Maybe you are looking for

  • Restricted Authorzation to view the Purchase Order aganist PR

    Hi Experts My Client needs to Restict the PO Print Preview . This issue is related to authorization for viewing the PO Print Preview, details or taking Print Out. i.e "access to view the PO generated for only the PR raised by the individualuser. Kind

  • Updating photo's and movies galleries without using iweb

    good day to you i made a new website to my friend and upload it to his server 1. there are 4 galleries for photos and i want to give my friend the option to upload new photos, is there a way to make it in iweb? i want to get into one page and have th

  • Export and import BLOB via text

    Hello, we need to migrate a table containing BLOB column from one environment to another. We can not use EXP or DBMS_DATA_PUMP, it has to be in form of SQL inserts (this is customer's requirement - no reason to think about it twice...) My idea was to

  • Odd compiler behavior with annotations

    Hi all, I apologize if this is the wrong forum, but the JDev code editor behavior is a significant part of this. I have an annotation type, TestParameters. If I write the following line: TestParameters params = (TestParameters) someClass.getAnnotatio

  • Implementing Java Mail Service

    Hello, we' d like to implement email-functionality through the portal. We would like every user to see his inbox and to be able to send mails to outside our domain. I used standard iView com.sap.netweaver.coll.SendEMail for implementing the "send"-fu