Is this possible: SQL Dataload with generic rule file?

Hello,
when loading a flat file into Essbase, one can define in the header the data load field names. In the data load, the dimension names are given and at the end the Data. In the rule file under Options > Data source properties > Header a reference to this line could be made. This works fine.
We want to load data with SQL in the same way. One load rule with a substitution variable for the view selection and we can use it for all data loads. We have specified the dimension names in the table column header. The data column was defined as "data" - without quotes.
The result so far is, it will not load.
The question is - does somebody tried this before and can help me on this?
Thanks in advance.
Regards,
Philip Hulsebosch
www.trexco.nl

the data column can be repersented in multiple ways, the way I typically do it is to define it to the member it belongs to. In my example where your substitution variable &currmth is "Jan" then "Jan" would be the column name. Next month when the sub var changes to Feb, it is Feb.

Similar Messages

  • Is this possible to package flash 8 swf file with AIR

    Hi All,
    Is this possible to package flash 8 swf file with AIR
    packager or load flash 8 swf file in AIR?
    Any info on AIR would be greatful.
    Thanks,
    Shailesh

    Yes.
    -ted

  • Is this possible to do with a script?

    Is this possible to do with a script?
    Import a folder of images, aplly an action over each image, and save the image for web as png in that or different folder?
    Thanks,
    Predrag

    Yes it is possible. Look for Image Processor Pro on the Russel Brown web site.

  • How to change SQL data source in rule file

    <p>Hi there,</p><p> </p><p>I use many rule files to load dimension and data with EssbaseSQL interface. (100-200 rule files!).</p><p>When need to cahnge information for data sources,  do Ihave to change it always with EAS interactively ?</p><p>Is there any way to cahnge the information of the data sourcesin batch mode or with command?</p>

    iitobs:<BR><BR>There are API calls (in at least C and VB that I found) that can use a rule file, and even copy or create one, but none that will modify a rule in any way. Even the "create rule" API call simply reserves the name so that someone else can't create one with that same name until you manage to copy it over from somewhere else - it doesn't create a new rule file, nor does it allow you to set anything in the rule. You have to use EAS to manage rule files internally.

  • How can I load a data in multiple period with a rule files?

    Hi!
    I need to create a rule file the permit me to load a record with multiple period.
    How can I do it?
    Thanks in advance.
    Bye

    As Glenn said, these two types are the typical input files.
    two ways that I can easily think of, but there are more.
    1. Have a row memberwith the period so for sample basic, the row would look lik
    cola,ny,actual,sales,Jan,100
    First case in the rule file you have to map all the member fileds with the dimension name and the data column with the data field.
    2. Have the data for each month as as the column members
    Here is the header followed by a data sample(again for sample basic)
    Product,Market,Scenario,Measure,Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec
    1oo-10,NY,Actual,Sales,100,100,100,100,100,100,100,010,122,111,222,333
    Second case in the rule file you have to map all the member fileds with the corresponding dimension name and the multiple data columns with the corresponding member names for that dimension.

  • Execute this pl/sql function with some proper example & syntax

    --program is compiled but how to run this function with some proper example please please help me
    CREATE OR REPLACE
    FUNCTION EMP_GENDER(
    EMP_GEN CHAR)
    RETURN CHAR
    IS
    CUST_GEN CHAR(1) ;
    DTECH1 EXCEPTION;
    BEGIN
    CUST_GEN :=UPPER(EMP_GEN);
    IF CUST_GEN !='M' OR CUST_GEN != 'F' THEN
    RAISE DTECH1;
    ELSE
    RETURN CUST_GEN;
    END IF;
    EXCEPTION
    WHEN DTECH1 THEN
    DBMS_OUTPUT.PUT_LINE('INVALID GEN');
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE(SQLERRM);
    END;

    Or in pl/sql;-
    declare
                v_gender char(1) default 'M';--change M to whatever test scenario
    begin
                v_gender:= emp_gender(v_gender);
                dbms_output.put_line(v_gender);
    end;And remember to set your serveroutput on.... though your errors will be obvious enough...

  • Is this possible to do with my ipod touch on itunes?

    Hello there,
    In work, myself and some colleagues do a "no skip friday" - we shuffle the entire playlist and are not allowed to skip tracks until the end of the day. A little silly, yes, but it means we keep rediscovering songs we never knew we owned.
    My question is - I aim to make this a little more random. I'd like to randomly fill my ipod on friday morning with songs from my library, then when I come home, put the original songs back on my ipod. I think that, if I created a playlist with my current ipod library on it, synced it with my pc, then did autofill (although this advice came from an owner of an ipod shuffle, I'm not sure if this is available to the touch) - and when I'm done with the randomness, I can put the old playlist back on?
    Hope this makes sense...

    +if I created a playlist with my current ipod library on it, synced it with my pc+,
    This is the step I'm not too sure about. Since I don't have an iTouch. I have a nano, and when I plug it in, the music tab has a checkbox to automatically fill free space. So, I could check that for the Friday experiment and then uncheck it when I was done, and not bother making some kind of playlist htat has what is already getting synced to the nano.

  • Share a customized Bridge CS6 or CC workspace with others on my team: Is this possible? Is there a specific file I can copy and share?

    I set up a customized Bridge CS6 workspace that shows specific information team members need, and nothing else. I'd like to share it, save it as a preference, or otherwise export it so team members can have it, too. There must be a file, eh?
    Otherwise, I am looking at visiting 14 workstations to set it up individually.
    Please advise! Thanks! 

    Which OS?  In Windows 7 bridge CS6 workspaces are stored in
      C:\Users\user-name\AppData\Roaming\Adobe\Bridge CS6\Workspaces
    You might try copying the specific workspace file to the same directory on the other systems.

  • A problem happened when building dimensions with Rule File

    Hi All,
    I was trying to build dimensions with the rule file. But it showed the error 1030100, which means "cannot open file".
    I can load data with a data source (.txt). Thus, I assumed that it's a problem to open a rule file.
    I don't think it's the problem about the rule files I wrote since I cannot even build dimensions with rule files in the Sample/Basic database.
    Anyone knows how to solve the problem? Thanks for the help.
    Best Regards,
    Anderson

    854285 wrote:
    Hi Prebhas,
    Here are the error messages:
    Object [Basic] is locked by user [admin]
    Building Dimensions Elapsed Time: [0.016] seconds
    Cannot open file: [E:\Hyperion\products\Essbase\eas\Client\dataload.err]
    Unexpected Essbase error 1030100
    Object [Basic] is unlocked by user [admin]
    p.s. Even I re-install my system is English, the word "Client" is shown in Chinese. Is it possible this is the reason? If so, how I change the folder?
    After I saw this message, I checked the folder and there is no such file. I tried to created one, but it disappear after I tried to build dimensions.
    Best Regards,
    Anderson
    Edited by: 854285 on 2011/4/25 上午 3:27HI,
    E:\Hyperion\products\Essbase\eas\Client\dataload.err
    This path is referred to error message .... it will show the errors in that file...
    and one more thing...
    while adding data source to rule file it will ask you provide a path for the error message...there you can see this path...
    Just check dataload.err file after running the rule file...
    have you associated the out line to the rule file ???
    is that rule file validate fine?
    if not associate it and try...
    Regards,
    Prabhas
    Edited by: P on Apr 25, 2011 4:43 PM

  • Sql and load rule file query

    Currently loading the data with the script , which it contatins
    Retreving data from oracle through SQL interface on to rules files
    and loading the data.
    just my question is , if i get 0 records from oracle , i dont want to proceed with the loading of data (which is no useful ).
    Can i stop the loading if records are zero.

    As far as I know there is nothing in MaxLIt that could tell that there were no rows.The MaxL statement would return a zero code saying that the process worked ok. It would be prossible in your batch script to have mutiple calls to MaxL and between them to do something like make a call to your sql DB getting the count of rows for your query. Investigate the result and if it is zero, then get out of your load and calc process (I guess you could do that even before you try to load).
    Or how about scheduling a job that creates an output file with the count if it is greater than zero. If it is, then run the batch load process if it is not, then bypass it. There are multiple ways to do this outside of Essbase, just not in it.

  • Calling PL/SQL from Server Side Rule

    Hi there,
    I'm wanting to call a PL/SQL procedure from a server side rule created within collaboration suite using the oesrl command line utility. I have seen examples of the XML rule which should do this together with the appropriate PL/SQL
    &lt;account qualifiedName="UM_SYSTEM" ownerType="system"&gt;
    &lt;rulelist event="relay"&gt;
    &lt;rule description="Retention Rule" active="yes"&gt;
    &lt;condition negation="no" junction="and"&gt;
    &lt;condition&gt;
    &lt;attribute tag="rfc822to"/&gt;
    &lt;operator caseSensitive="no" op="contains"/&gt;
    &lt;operand&gt;instigate.com&lt;/operand&gt;
    &lt;/condition&gt;
    &lt;/condition&gt;
    &lt;action&gt;
    &lt;command tag="call"/&gt;
    &lt;parameter&gt;RulesPackage.archive_message&lt;/parameter&gt;
    &lt;parameter&gt;test1&lt;/parameter&gt;
    &lt;parameter&gt;Archive&lt;/parameter&gt;
    &lt;/action&gt;
    &lt;/rule&gt;
    &lt;/rulelist&gt;
    &lt;/account&gt;
    The above should call the Procedure RulesPackage.archive_message when an email to anyone at instigate.com arrives in OCS. I have written and tested an appropriate package. However, I have been unable to get the rule to execute and call my PL/SQL when I send an email to trigger it.
    I have written rules which do not invoke external packages without any trouble.
    I believe the problem is that I need to register the PL/SQL package with the rules engine somehow, before the rule can find it, but I am uncertain how to do this, or even if that is indeed what I need to do.
    Any help would be most appreciated as the documentation doesn't go into too much detail.
    I am using OCS R2.
    Regards
    Oliver

    Could you please check the structure of the procedure "RulesPackage.archive_message" ? It may fail due to procedure structure.
    The structure should be similar to the below example
    PROCEDURE archive_message
    (p_event IN NUMBER,
    p_sessionid IN NUMBER,
    p_msgobj IN es_mail.mail_message_obj,
    p_param1 IN VARCHAR2,
    p_param2 IN VARCHAR2,
    p_status OUT NUMBER) AS
    BEGIN
    /* Code for Archving */
    END;
    Relevant URL:
    http://download-west.oracle.com/docs/cd/B25553_01/mail.1012/b25459/ad_email_custact.htm#sthref677 (Please check Step 2 of "A Custom Action Written in Java")

  • Reg: Building Essbase dimension using SQL in rule file

    Hi,
    We are using Essbase 11.1.2.2. I am trying to build a dimension in a cube using SQL query in the rule file, but i am not able to do it.
    I am not able to establish connection to database. Can anyone please give a step by step process to do this.

    If you really, really, really want to do this --- and by that I mean really get rid of everything in a dimension, create a dummy file with a single child.  That single child should have a name that could never exist in your system.  Something like "Forty-seven ginger headed sailors".  Then set the Dimension Build Settings Member Update to "Remove Unspecified".  Run the dim build -- it will clear out all of the dimension.
    Then take your other dim build rule file and use the same Remove Unspecified setting.  That will get rid of the silly member.  The source can be a file or SQL.
    Ta da, you have now cleared out the dim, added a single silly member, cleared out the dim again, and loaded the right members into it.
    There may be a better way to do the above, but I have done exactly that and it works.
    Regards,
    Cameron Lackpour

  • In iPhoto preferences Advanced, I originally 'ticked' the "Importing: Copy items to the iPhoto Library" box. I have now installed a Drobo double back-up system and would like to delete these 'items' on my hard drive. Is this possible?

    In iPhoto preferences >Advanced, I originally 'ticked' the "Importing: Copy items to the iPhoto Library" box. I have now installed a Drobo double back-up system and would like to delete these 'items'  on my hard drive. Is this possible?

    Not with iPhoto.
    You can relocate the masters using Aperture if you're using the latest versions of both iPhoto and Aperture. However, if you're planning on using iPhoto going forward having the masters on one disk and the Library on another is not a good idea. Have a read of this
    https://discussions.apple.com/thread/3062728?tstart=0

  • How to see the SQL used in an existing Rule file?

    Hi,
    Is there a way to see the SQL used in the rule file defn of any existing rule file which retrieves data from a RDMS?
    Appreciate your thoughts.
    Thanks.

    Sure.
    In EAS open up the load rule in question, then select the menu item "File"-"Open SQL".
    Robert

  • Building BSO using ASO Rules file

    Hi All,
    We are building a new application where in we want to have both ASO and BSO. Eventually we wanted to do partition between these two cubes.
    We already have a fully functional ASO with data loaded into it. This ASO also has bunch of rules files using which the ASO cube was built.
    We need to build a new BSO and it should have same outline as ASO and in order to achieve this as used the same rules file that are in ASO. I already built the BSO usinng ASO rules files
    My issue is with the dimension which are deifned as Multiplw Heirarchy and I would appreciate if some one can help me how do i define them in BSO. Also if some one canhelp me understand what are additional changes that needs to be taken care when I am building BSO using ASO rules files
    I am trying to apply a caluclation which is in ASO and I am getting following error -- Error(1200337) - Error compiling formula for [Feb YTD] (line 1): [)] without [(]. As part of my research i found that error code is very generic. I checked the caluclation for missing ) or ( but everything looks good
    Any help is greatly appreciated
    Thanks
    Satish

    Your ASO formulas will not work in BSO cube. ASO uses MDX formulas and BSO uses Essbase calc script language. There is a guide in the technical reference that helps convert from one to the other.
    As far as multiple hierarchies, BSO does not have this concept. You should be able to load the hierarchies as is with perhaps a few changes to the load rule to address how to handle shared members.
    You will not have a direct one to one from BSO to ASO. They are a different architecture and as such have variances that are not 1 to 1 compatible.

Maybe you are looking for

  • How to retrive delta changes in Infotype

    Dear All I am working on development of New Interface program from SAP to 3rd party application and this will run on daily. I want to retrive <b>delta changes</b> record alone in 10 infotype tables. I checked the Tech.setting of these 10 infotype tab

  • Can I include a pre-written message in 'Tap to Text'?

    Hi, sms:phonenumber works great for a 'tap to text' button. Is there a way to pre-populate the messsage field? Thank you 

  • Authority Check on Value within standard transaction

    Hi Guruus ! Let's state that a user is allowed and has the profile/role to access a given transaction, let's say MI01, but ME21N will do to ! Now, actually, users are supposed an that project to be authorized on certain Storage Location (LGORT). How

  • Installing SCCM client 2012 R2 CU4

    Hi there. Recently updated with SCCM 2012 SP 1 to SCCM 2012 R2 CU 4. Now configure common clients through Client Push Installation. I want to further kerf Software Update-Dased Client Installation. But when you turn in the Available version costs onl

  • Sql queries from internal tables based on context node

    Hi experts, I want to select from my inetrnal table which is based on the context node, the rows which do not appear in another internal table based on the context node. I have this data: data lt_item_level type table of wd_this->element_item_level I