MaxL positional variables when defining a partition

Is anyone using positional variables ($1, $2, etc) in Maxl with a create replicated partition statement?<BR><BR>I am having trouble getting it to work.<BR><BR>create or replace replicated partition 'Sample'.'Basic'<BR>area '"A.Volume.Pounds",@GENMBRS("Time Periods","Gen4,Time Periods"),@LEVMBRS("Entity","Lev0,Entity"),@LEVMBRS("Brands","Lev0,Brands"),"TOTCUST","$1","$2","$3"' sourcearea1<BR>to 'Sample'.'Test' at 'localhost' as 'user' identified by 'password'<BR>area '"A.Volume.Pounds",@GENMBRS("Time Periods","Gen4,Time Periods"),@LEVMBRS("Entity","Lev0,Entity"),@LEVMBRS("Brands","Lev0,Brands"),"$4","$5","$6"' targetarea1<BR>mapped targetarea1('"TOTCUST"') to ('')<BR>mapped globally ('"$1"') to ('"$4"')<BR>mapped globally ('"$2"') to ('"$5"')<BR>mapped globally ('"$3"') to ('"$6"')<BR>outline direct<BR>update disallow;<BR><BR><BR>When passing the parameters through the command line, actually a bat file, I am doing the following: essmsh D:\\MaxL\Test.mxl actual final FY05 budget working FY05<BR><BR>My error messages are coming back stating WARNING - 1241137 - [Target] - Partition definition is not valid: [Invalid member '$1' in global map].<BR><BR>I figure this is either a syntax issue with quotes or for some reason positional variables do not work when defining partitions.<BR><BR>Any input would be appreciated.<BR><BR>Thanks.<BR>

I played around with \ but couldn't get it to work. What I've come up with is a bat file that writes a MaxL script and then calls the script it just wrote. During the process of writing the MaxL script I am able to substitute in the input values for the variables. So as far as Essbase is concerned the MaxL script is hard coded with no variables at all. Upon completion, the bat file deletes the MaxL script it wrote to prevent people from opening the file and seeing things like passwords etc. It's extra work and I'm just polishing it off now, but I actually think it's working pretty well.<BR><BR>Thanks for the input.<BR>

Similar Messages

  • Variable not defined: '_MR' error when using sub template

    Hi,
    I am creating a check print report. When I had the check layout and the invoice layout on the same template it worked fine. But when I moved the check layout to a sub template then I started getting the error Variable not defined: '_MR' but I dont have any variable '_MR' can some please help me on this.
    Thanks a ton in advance
    Lakshmanan a.

    Hi Lakshmanan
    Its probably worth running the XML Publisher template regenerator program. somehow, I think your templates are out of sync
    Regards
    Tim
    http://blogs.oracle.com/xmlpublisher

  • No pop up displayed for user defined variables when executed from a program

    Dear All,
    We have created user entry variables for the characteristic(s) with replacement type as 'User Defined Values' in the planning area.
    When I am running the planning function from BPS0, I am getting the pop up for the variables perfectly.
    But, when I execute this planning function from a program by calling the function module 'API_SEMBPS_FUNCTION_EXECUTE' I am not getting the pop up for the user entry variables.
    Is there any way where in I can get the pop up for the variables when I run the program?
    Regards,
    Srini.

    Srinivas
    You might want to check if the variable has a default value. Try "removing" the defautl value and check if it works.
    Srikant

  • Error when defining a variable  other than CHAR

    I am getting a syntax error when I define variables :
    data: l_arbei  type p.
    constants:  l_delim  type x  value '09'.
    Message L_ARBEI must be a character-type field (data type C, N, D or T). an open control structure introduced by "INTERFACE"
    Has anyone else experienced this problem.  Why can I not define these variables.

    data: l_arbei  type p decimals 1,
          l_ismnw  type p decimals 1.
      write w_ops-work_activity to l_arbei. 
      l_arbei = l_arbei - l_ismnw.          
      if l_arbei gt 0.                      
        write l_arbei to w_ops-work_activity.
      endif.
    As mentioned same error message when defining the following:
    constants:  c_delim  type x value '09'.
         split i_input1-line at c_delim into 
               w_hdr-orderid                 
               w_hdr-order_type.              
    I agree that there should be no problem with the definitions. However cannot understand why it does not like it.  Thought there might be an additional requirement for Unicode systems.

  • What is the difference between variable and Define

    WHAT IS THE DIFFERENCE BETWEEN
    these different declarations when it is done using the keyword "variable" and "define"
    and both of these are done OUTSIDE "DECLARE"
    VARIABLE g_monthly_sal NUMBER
    DEFINE p_annual_sal =5000
    -- I understand that p_annual_sal will be taken as a CHAR.
    -- ALSO IF DEFINE variable acts as macro variable, SO is it necessary to give it some value whenever we define it.
    if not what value would be substituted for it?
    OR does that mean whenever we want to specify data type for a bind varible we should use VARIABLE and
    when we do not want to specify type we use DEFINE?
    THANK YOU
    Edited by: user6287828 on Feb 24, 2009 11:03 AM
    Edited by: user6287828 on Feb 24, 2009 11:04 AM

    Both are SQL*plus commands. In a real programming environment you will not use such constructs (except a few rare scripting cases).
    The difference is how the construct is later used. DEFINE is more like a copy&paste string. Whereever the name of this substitution variable is found it will be pasted into the sql*plus session.
    VARIABLE creates a real variable. You can change the value and if follwos the usual principles of variables (including binding).
    Example can be found the docs:
    from the docs
    Where and How to Use Substitution Variables
    You can use substitution variables anywhere in SQL and SQL*Plus commands, except as the first word entered. When SQL*Plus encounters an undefined substitution variable in a command, SQL*Plus prompts you for the value.
    You can enter any string at the prompt, even one containing blanks and punctuation. If the SQL command containing the reference should have quote marks around the variable and you do not include them there, the user must include the quotes when prompted.
    SQL*Plus reads your response from the keyboard, even if you have redirected terminal input or output to a file. If a terminal is not available (if, for example, you run the script in batch mode), SQL*Plus uses the redirected file.
    After you enter a value at the prompt, SQL*Plus lists the line containing the substitution variable twice: once before substituting the value you enter and once after substitution. You can suppress this listing by setting the SET command variable VERIFY to OFF.
    Using Bind Variables
    Bind variables are variables you create in SQL*Plus and then reference in PL/SQL or SQL. If you create a bind variable in SQL*Plus, you can use the variable as you would a declared variable in your PL/SQL subprogram and then access the variable from SQL*Plus. You can use bind variables for such things as storing return codes or debugging your PL/SQL subprograms.
    Because bind variables are recognized by SQL*Plus, you can display their values in SQL*Plus or reference them in PL/SQL subprograms that you run in SQL*Plus.
    Creating Bind Variables
    You create bind variables in SQL*Plus with the VARIABLE command. For example
    VARIABLE ret_val NUMBER
    This command creates a bind variable named ret_val with a datatype of NUMBER. See the VARIABLE command for more information. (To list all bind variables created in a session, type VARIABLE without any arguments.)
    Referencing Bind Variables
    You reference bind variables in PL/SQL by typing a colon (:) followed immediately by the name of the variable. For example
    :ret_val := 1;
    To change this bind variable in SQL*Plus, you must enter a PL/SQL block. For example:
    BEGIN
    :ret_val:=4;
    END;
    /

  • What's the data type when defining a KF to show an integer with a sign?

    We want show some days difference which should be an integer with either a positive or negative sign.  I used to design a KF with type of Number with "DEC - Counter or amount field with comma and sign" as the Data Type, but find it shows 25.000 if the day difference is 25 days.  We want to show it as 25 other than 25.000.  Then what type would we pick when defining the KF?  Use Integer as the type?  But we also want it to show the sign symbol.
    The type field is dimmed as long as the InfoObj. is activated that I have to remove this field.  I've delete all the data loaded in ODS, PSA and etc., and I have successfully remove this KF from InfoSource, but when I try to remove it from the ODS, always get the msg "Can't move/delete locked InfoObjects" even if the InfoObject is not locked (I've tried SM12 to delete all locked entries and also tried relog on, but not helpful).  If someone gives any idea, I would be very appreciated on how to remove this KF from ODS and also let me what type should I use when creating a new KF which only shows integer with a sign!
    Thanks

    hey Siggi,
    Now after I right click the ODS and select "Delete Data", the KF eventually gets removed from the ODS without any error, then I continue to delete this InfoObj. 
    However, when I run the InfoPackage to load data to the ODS, get a msg (see below in between two dashed lines):
    Syntax error in GP_ERR_RSDRO_UPDATE, row 1,210 (-> long text)
    Message no. RG102
    Diagnosis
    The data object "I_S_OLDDATA" does not have a component called "/BIC/Z_field".
    Where Z_field is the InfoObject we deleted.  With this error, that's even worse since that stops any data coming in!  How to get rid of this error that we can continue to load data?
    Thanks

  • Variable not defined: '_XDOXSLTCTX'

    Hi,
    This is Rama krishna. I have implemented a prototype for barcode generation service using BI Publisher API. I am using Jdeveloper 11g. I have created a small ADF Fusion application to consume the webservice.
    My application is working fine when I run it in Jdeveloper 11g.
    When I run it after deploying to standalone Weblogic server 10.3, I am getting the following error while generating the XSL. I found that RTFProcessor did not generate xsl:params and xsl:variables.
    020609_111410132http://oracle.apps.xdo.common.xml.XSLTWrapperEXCEPTION XSL error:
    <Line 11, Column 170>: XML-22031: (Error) Variable not defined: '_XDOXSLTCTX'.
    Any idea why RTFProcessor is not generating XSL properly when deployed to Oracle WLS 10.3?
    Thanks in advance.
    Thanks & Regards,
    Rama Krishna. P

    Are you trying to use _XDOCTX?
    Use the following syntax to declare/set a variable value:
    <?xdoxslt:set_variable($_XDOCTX, 'variable name', value)?>
    Use the following syntax to retrieve a variable value:
    <?xdoxslt:get_variable($_XDOCTX, 'variable name')?>

  • Variable not defined

    Hi All,
    we are currently upgrading the addon that created using VB6 from B1 2004A to 2007A. When compiling or make project dll file, there is an error message : "Compile Error : variable not defined"
    then the system shows or highlight
    Private Sub Form_Load()
    CRViewer.Top = 0
    CRViewer.Left = 0
    etc
    How to resolve this problem ? Pls give advice.
    Rgd,
    Steve

    Hi,
    Thx for your answer. yes, you are correct. It is CRViewer91in the properties of the CRViewer form meanwhile in the source code CRViewer.
    Rgd,
    Steve

  • Oracle.xdo11g.xpath.XPathException: Variable not defined

    Hello,
    I got two pivot tables in the RTF Word PlugIn, when I take the second one out, the HTLM output shows fine, when I out the second one in, I get the error "oracle.xdo11g.xpath.XPathException: Variable not defined". I used the wizard to create the tables.
    If I upload the layout and try to execute the report online, I get this error" oracle.xdo.XDOException: java.lang.reflect.InvocationTargetException"
    anyone an Idea how I can add two pivot tables to my template without causing xml errors?

    I got those two in a WORD table and as soon as I put the second one in the table (a word layout table by putting my pivot table in it) the error comes.

  • Error when adding a partition to a materlialized view

    Hi,
    I am getting this error when adding a partition to a materialized view.
    ALTER MATERIALIZED VIEW mvedw.MV_CLM_CAPITN_F ADD PARTITION MAR2013 VALUES LESS THAN ('201304')
    ERROR at line 1:
    ORA-14074: partition bound must collate higher than that of the last partition
    Please advise.
    Regards,
    Narayan

    SQL> select TABLE_OWNER,TABLE_NAME,PARTITION_NAME,HIGH_VALUE from dba_tab_partitions where table_name =
    'MV_CLM_CAPITN_F' order by PARTITION_NAME 2
    3 ;
    TABLE_OWNER TABLE_NAME PARTITION_NAME HIGH_VALUE
    MVEDW MV_CLM_CAPITN_F APR2009 '200905'
    MVEDW MV_CLM_CAPITN_F APR2010 '201005'
    MVEDW MV_CLM_CAPITN_F APR2011 '201105'
    MVEDW MV_CLM_CAPITN_F APR2012 '201205'
    MVEDW MV_CLM_CAPITN_F AUG2009 '200909'
    MVEDW MV_CLM_CAPITN_F AUG2010 '201009'
    MVEDW MV_CLM_CAPITN_F AUG2011 '201109'
    MVEDW MV_CLM_CAPITN_F AUG2012 '201209'
    MVEDW MV_CLM_CAPITN_F DEC2008 '200901'
    MVEDW MV_CLM_CAPITN_F DEC2009 '201001'
    MVEDW MV_CLM_CAPITN_F DEC2010 '201101'
    TABLE_OWNER TABLE_NAME PARTITION_NAME HIGH_VALUE
    MVEDW MV_CLM_CAPITN_F DEC2012 '201301'
    MVEDW MV_CLM_CAPITN_F FEB2009 '200903'
    MVEDW MV_CLM_CAPITN_F FEB2010 '201003'
    MVEDW MV_CLM_CAPITN_F FEB2011 '201103'
    MVEDW MV_CLM_CAPITN_F FEB2012 '201203'
    MVEDW MV_CLM_CAPITN_F FEB2013 '201303'
    MVEDW MV_CLM_CAPITN_F JAN2009 '200902'
    MVEDW MV_CLM_CAPITN_F JAN2010 '201002'
    MVEDW MV_CLM_CAPITN_F JAN2011 '201102'
    MVEDW MV_CLM_CAPITN_F JAN2012 '201202'
    MVEDW MV_CLM_CAPITN_F JAN2013 '201302'
    TABLE_OWNER TABLE_NAME PARTITION_NAME HIGH_VALUE
    MVEDW MV_CLM_CAPITN_F JUL2009 '200908'
    MVEDW MV_CLM_CAPITN_F JUL2010 '201008'
    MVEDW MV_CLM_CAPITN_F JUL2011 '201108'
    MVEDW MV_CLM_CAPITN_F JUL2012 '201208'
    MVEDW MV_CLM_CAPITN_F JUN2009 '200907'
    MVEDW MV_CLM_CAPITN_F JUN2010 '201007'
    MVEDW MV_CLM_CAPITN_F JUN2011 '201107'
    MVEDW MV_CLM_CAPITN_F JUN2012 '201207'
    MVEDW MV_CLM_CAPITN_F MAR2009 '200904'
    MVEDW MV_CLM_CAPITN_F MAR2010 '201004'
    MVEDW MV_CLM_CAPITN_F MAR2011 '201104'
    TABLE_OWNER TABLE_NAME PARTITION_NAME HIGH_VALUE
    MVEDW MV_CLM_CAPITN_F MAR2012 '201204'
    MVEDW MV_CLM_CAPITN_F MAR2013 '201304'
    MVEDW MV_CLM_CAPITN_F MAY2009 '200906'
    MVEDW MV_CLM_CAPITN_F MAY2010 '201006'
    MVEDW MV_CLM_CAPITN_F MAY2011 '201106'
    MVEDW MV_CLM_CAPITN_F NOV2009 '200912'
    MVEDW MV_CLM_CAPITN_F NOV2010 '201012'
    MVEDW MV_CLM_CAPITN_F NOV2012 '201212'
    MVEDW MV_CLM_CAPITN_F OCT2009 '200911'
    MVEDW MV_CLM_CAPITN_F OCT2010 '201011'
    MVEDW MV_CLM_CAPITN_F OCT2011 '201111'
    TABLE_OWNER TABLE_NAME PARTITION_NAME HIGH_VALUE
    MVEDW MV_CLM_CAPITN_F OCT2012 '201211'
    MVEDW MV_CLM_CAPITN_F SEP2009 '200910'
    MVEDW MV_CLM_CAPITN_F SEP2010 '201010'
    MVEDW MV_CLM_CAPITN_F SEP2011 '201110'
    MVEDW MV_CLM_CAPITN_F SEP2012 '201210'
    These are the list of partitions available.
    Regards,
    Narayan

  • Failed to load mda_sap.dll when defining connectng BW & BOBJ Designer

    Dear BOBJ and SAP Experts,
    The following error message occurs when defining a SAP Client connection in BOBJ Designer:
    "DBD: An error occurred while trying to load the provider for transport sap. Failed to load library mda_sap. System error message: The specified module could not be found."
    We are running BOBJ on a Windows Server 2003 R3 64bit server. The mda_sap.dll file exists in folder: C:\Program Files (x86)\Business Objects\BusinessObjects Enterprise 12.0\win32_x86
    Please help!
    Thanks,
    Arwel.

    Hi,
    The BOBJ server currently has the following components installed and in this approximate install order:
    .Net Framework 3.5 SP2
    JVM 1.6
    Business Objects XI3.1 SP3
    SAP Integration Kit
    SAP Java Connector
    We've managed to workaround the MDA_SAP.DLL problem by installing SAPGUI 7.10 (Patch 10), which must contian some DLLs that fix the error. However, this doesn't fix the root cause of the problem, so any advice on a 'true' fix would be much appreciated.
    Thanks,
    Arwel.

  • How to make BOX position variable in SAPscript

    Can we make box position variable in sapscript?
    Can we pass variable in Box command in sapscript like
    BOX XPOS <v1> YPOS <v2> WIDTH <v3> HEIGHT <v4>.

    Hi,
    Yes we can pass variables to BOX command...
    But the variables should be of type char
    Patil

  • Variable not defined: '_MR'.

    Dear all,
    I developped an RTF-template that runs fine locally.
    If I upload it to the eBusinessSuite and try to run it there, I receive the following error in the OPP log:
    [UNEXPECTED] [24862:RT391458] java.lang.reflect.InvocationTargetException at ....
    Caused by: oracle.xdo.parser.v2.XPathException: Variable not defined: '_MR'.
    I did not define any variable _MR in my template.
    However if I export my template to an XSL-FO Style Sheet, I can find this variable.
    It is defined twice as: <xsl:variable name="_MR" select="number(89.85)" xdofo:alt="internal"/>
    If I use an image in the heading, variable $_MR is used once in a statement that I don't understand.
    If I remove the image, the variable is only declared, but never used.
    In the eBS he is always wrong: with or without image.
    Any help in this would be very appreciated.
    Little update:
    In the XSL-FO are several variables defined for each section in the template:
    _PW = page with
    _PH = page height
    _ML = margin left
    _MR = margin right
    _MT = margin top
    _MB = margin bottom
    _HY ? something to do with header ?
    _FY ? something to do with footer ?
    May be this does ring a bell.

    Hi
    I have a RTF template wherein I am calling a sub-template.
    Whether I invoke the sub-template RTF directly (import:file) or convert it to XSL and import that (import:xsl), I always get this error
    Caused by: oracle.xdo.parser.v2.XPathException: Variable not defined: '_MR'.
    This happens in my local desktop, I have not even copied the files to server.
    My Template Builder version is '5.6 Build 45'
    Please help.
    Ritu
    Edited by: Rits on Oct 15, 2008 12:42 AM

  • Queries not working with multiple bind position variables?

    still need help here - can anyone provide any direction?
    (note: this is a follow-up from prior topic, " How to use JDBC Positional Binding Style & ExecuteWithParams?")
    I created two simple view objects off of the same entity
    object to perform this test:
    #1 - ViewObject with one bind position variable - where clause: where id > ?
    #2 - ViewObject with two bind position variables - where clause: where id > ? and id < ?
    I created two separate .jspx pages, view1.jspx (one input field) and view2.jspx (two input fields), for each view object by dragging ExecuteWithParams operation onto the JSF page.
    The .jspx page with one input field works (returns result sets.) The view2.jspx page with two input fields does not work - the query does not return any result sets (no errors produced, it just does not return any rows) - I've tested my query outside of jdeveloper and it works fine. I also tried switching my inputs to make sure I did not have an illogical query (i.e., id >100 and id< 1).
    Is there anything different / extra I need to do to use two bind position variables?
    Everything in this simple test was identical except for using 2 input variables versus 1.
    Technology stack is: jdeveloper 10.1.3, jsf/ADF BC, mySQL 5.01
    Message was edited by:
    javaX

    Using the where clause: "where id > ? and id < ?” for the 2 input variables, I get the same result - no row results returned (though query works outside the browser.)
    Interestingly, I modified the where clause to “where between ? and ?”, and then used values of ‘1’ and ‘100’ to test. Using the BC4J tester, the query gave back a single row with id = 100 (should have brought back 100 rows because there are 100 records with id’s 1-100.) So I got it to return something, but not the right results. This makes me believe that a different query is being sent to MySQL other than what I'm expecting from what is shown in the SQL Statement of the View Object..
    Is there anyway to view what SQL statement is actually being sent to the database using the BC4J tester? Also, could this be an issue related to the mySQL connector drivers and JDeveloper? I’m using mysql-connector-java=3.1.11-bin.jar (10/10/2005)? First though, if I could see what query is actually being sent, this may help me to debug and figure out the problem.

  • Bug: Front Panel objects relative position change when placing merge VI onto Block Diagram

    I've posted a bug report on LAVA, here:
    http://forums.lavag.org/Front-Panel-objects-relati​ve-position-change-when-placing-merge-VI-onto-Bloc​...
    If someone at NI can reproduce, can I please get a CAR #?
    Thanks,
    -Jim
    Solved!
    Go to Solution.

    Donovan B wrote:
    Hi Jim,
    After my previous post, I also saw this behavior, so I decided to do another test.  If there are no decorations in the VI set to “Merge VI” (“Place VI Contents” for LabVIEW 8.5 and later) the controls and indicators are still not selected when dropping the VI from the Functions palette.  I checked this behavior back to LabVIEW 7.1 and it is consistent throughout that controls and indicators are not selected.  (Consequently, so is the fact that when decorations are present they don’t maintain the relative position).
    I am not sure if this would be better suited as a CAR or product suggestion since it has been this way that long, but it does not appear to be related to the fact that decorations are present in the Merge VI.  It does seem strange that the decorations are selected though.  Looks like the best way to work around this is to drop the VI from the Controls palette.  Hopefully, it’s not too much of a hassle.
    Hi  Donovan,
    Thanks for checking in.
    >  I checked this behavior back to LabVIEW 7.1 and it
    is consistent throughout that controls and indicators are not
    selected.  (Consequently, so is the fact that when decorations are
    present they don’t maintain the relative position).
    This just means that not many people use this feature.  However, now that VIPM Professional makes it so easy to edit the palettes, I'm sure that others will start complaining that this doesn't work as they expect.
    > I am not sure if this would be better suited as a CAR or product suggestion
    since it has been this way that long, but it does not appear to be
    related to the fact that decorations are present in the Merge VI.
     Just look up the functional specifications for this feature and see if all objects are supposed to be selected.
    But seriously, is there a reason that only the FP decorations are selected?  Surely this would be documented somewhere, if there was a good reason for this current (IMO, buggy) behavior.
    > It
    does seem strange that the decorations are selected though.  Looks like
    the best way to work around this is to drop the VI from the Controls
    palette.  Hopefully, it’s not too much of a hassle.
    That's not a reasonably work-around, IMO.  It doesn't make sense to drop Block Diagram components onto the Front Panel.  For example, this bug affects the JKI State Machine.  It doesn't make sense to drop a State Machine onto the Front Panel.
    So, I'd file it as a CAR/bug, and then wait to see how LV R&D feels about it.  If they can find some valid reason for why Controls and Indicators shouldn't be selected, then that's fine (and hopefully someone will explain it to me).
    Thanks,
    -Jim

Maybe you are looking for

  • Free Goods Billing & Posting

    Hi Anybody can help me to configure the Free Goods Sales Order, Delivery and Billing. For Indian operations due to VAT the free goods value should be displayed in the invoice. But it shouldn't post to accounts. How can I do that ? Thanks Christine

  • A totally different project is played when project is played in full screen view and project is not editable

    Hi I have problems with my imovie 09. After several days of work with an imovie project I was again about to start editing my project after startup of my mac. I played through the project and everything seemed fine, but when a movie clip was moved in

  • Windows 7 - No more overheating

    Hello. I recently installed Windows 7 in place of XP on my Boot Camp partition, on my Unibody MacBook Pro. I've only installed NVidia drivers and Realtek sound drivers. I've gamed on this five times in a row without any overheating issues. This is go

  • Multiple Doc Types for a given Protocol Revision

    We ar a large EDI shop. In our scope we have multiple Protocl Revisions and Multipl Document Types tied to the Revision. For Example we have Protocol Revision X12_4010 and multiple Documents 850,856,860,824,997. I am able to get docs through but only

  • IBooks cannot export

    Hi Guys. The iBooks Author cannot export my book because we have non-optimized media. My question is: Where can I Know where is the media non-optimized!? See printscreen: http://cl.ly/image/3e1N2s1o262i/o It's in Portuguese and says something like: C