Put quotes around a Substitution Variable with MaxL

All,

I need to have quotation marks (that is to say, 'brands) around the value in a variable substitution for the sub. var to work inside a-> cross dimensional operator. I can add the quotes in Server | Change | variable in assessments environmental but can't make it work with the SET command alter database. It works very well with quotation marks around it, but when I check the value of the variable in the EAS do not show the quotes. If I try to put two pairs of quotation marks around it, I get an error MaxL.


Thank you
T.

Single quotes around the double quotes should work for the value parameter.

Tags: Business Intelligence

Similar Questions

  • Web Forms using substitution variables with multiple values

    Hello

    I'm trying to select a substitution variable in a WebForm (Hyperion Planning 11.1.1.3) with multiple values in environmental assessments, but does not does someone knows if this expected behavior.

    I already try.

    & month = "Jan", "Feb", "Mar".
    & month = Jan, Feb, Mar
    & month = Jan: Mar

    Please let me know something, since I remember in previous versions of Hyperion Planning it was possible.

    Kind regards

    Reading of:- Re: use of the Variables of Essbase alternative forms of planning

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Member with the substitution variable formula

    Hi all

    I gave member formula 'Budget'-(& Forecast); one of the members of the scenario Dimension. When I update the database of planning, in Essbase, I saw the following message

    !! UNLOADED FORMULA.

    But the formula came to that Member as * 'Budget'-(& 'Forecasts'); * Why quotes came around my substitution variable.

    Thank you and best regards,
    Konrad.

    Hello

    You have certainly set up a variable substitution in EAS called forecast that is assigned to the planning application.
    You can test it by manually by first creating the formula in environmental assessments and checking the outline.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • PB to update a partition replicated with substitution variables

    Hi all

    I have the following problem with the partition replicated using substitution variables:

    I would like to create a partition that is replicated using substitution variables: & CurrPeriod, & CurrWeek, & CurrYear. The purpose of this should be able to copy data from application SourceApp to TargetApp, by changing the variables of subst.

    The script that I created is:

    UserAdmin connection identified by password on EssbServer

    create or replace replication partition SourceApp.SourceDb
    area '& Cons_Year, & Cons_Scenario, & Cons_Version, "MP_TF_542" ' sourcearea1
    at TargetApp.TargetDb
    area '& Cons_Year, & Cons_Scenario, & Cons_Version, "PL_R450100" ' targetarea1
    mapped to targetarea1 ("' MP_TF_542" ') to ("'PL_R450100" ');


    Refresh SourceApp replicated partition. SourceDb to TargetApp. TargetDb to EssbServer all the data;

    Everything is fine. I see new data in TargetApp. Then I try to change the variable substitution and see new data (the last value of Cons_Year was FY09):

    ALTER system set variable FY10 Cons_Year;
    Refresh SourceApp replicated partition. SourceDb to TargetApp. TargetDb to EssbServer all the data;

    But when I change the value of the variable substitution - ordered that's happened, I don't see new data in TargetApp. Proxy changed the system, but did not score.


    Essbase 11.1.1.2

    Someone can help me.

    ALTER system set variable FY10 Cons_Year;
    Refresh SourceApp replicated partition. SourceDb to TargetApp. TargetDb to EssbServer all the data;

    Between these two commands insert two other commands in your MaxL script.

    modify the application of unloading system >;
    modify the application of the system of load >;

  • Use a script to update the MaxL substitution variables

    We use the Essbase 11.1.1 version. Can we use MaxL script for updating the substitution variables rather than using the EAS web console? We want to put the MaxL script in a batch file and plan its Windows scheduled task.

    Thanks for your help!

    Hello-

    Yes. Here is an example of script maxl-

    connection "Hypadmin" "#" on myessbaseserver.
    spool to 'mymaxl.log ';

    / * Definition of the substitution variable * /.
    ALTER database appname.databasename set variable "CurMonth" "August";

    variable display;

    spool off;
    Disconnection;
    Exit;

    You can call this maxl from a batch file at the request of windows scheduled task.

    Concerning

  • The substitution of Session variables with asking Varaible in prompt of

    Hi all

    (1) I want to show the values of Current_month which is max(reporting_date).created a prompt (drop-down)

    (2) when a user changes it to the previous month I say 11/31/2009 current_month values to be values of month 11. How can I achieve this

    My work around

    -> created a session with the following query variable in the initialization block
     SELECT to_char( MAX( report_date),'YYYY/MM/DD' )  from dual  
    -> created the Variable and the option checked on 'enable any user to define the variable '.

    -> by guests... Set variable Variable Request-> report_date

    -> For Fx in the column Current_month, I use the formula like this
     FILTER((Sold Quantity) USING (Reportdate = VALUEOF(NQ_SESSION.Report_date)))  
    When I click on Preview I get results, but when I added the guest with (application of report_date Variable) in the dashboard, it gave me an error

    + State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error occurred. [nQSError: 22024] A comparison is performed between incompatible types. (HY000) +.

    I checked that all the columns are in the format of DATE only...

    Pls suggest me a solution


    Thank you
    saichand.v

    An observation: that error you have found because of... non - compatible data types...

    See... in your SQL written you in block initialization got char data type...

    SELECT to_char( MAX( report_date),'YYYY/MM/DD' )  from dual 
    

    And. That you are assigning to the Date column... it is the reason you get this error...

  • Assign the numeric value of Substitution Variable?

    What I try to do is:

    Read a CSV file via the unix shell and choose some columns in each row
    Transmit the data to a MaxL Script
    Assign the data passed to substitute variables in the MaxL script.

    Problem:

    Two of the columns contain digital data (for example: 0.5 or 60 etc..) I want to set the substitution variables in these digital data (without the quotes). I tried to use

    Edit the < app and cube name > database variable 'Variable' $1;

    but it gives me error
    ERROR - syntax error 1242021-1 ['. 5']
    I tried with quotes single and double, but they value the value of the variable $1

    If I manually set the value of this Variable through the Regional service to 0.5, everything works perfectly. Any ideas on how to do this? the Ser60 does not provide a solution.

    An example is

    startMaxl scriptname.mxl "0.5"

    alter database appname.dbname set variable "VariableName" $1;

    or

    startMaxl scriptname.mxl 0.5

    alter database appname.dbname set variable "VariableName" ' \'$1\' ";

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Sharing the values of substitution variables complex between ASO and BSO of databases

    We ASO and Essbase BSO names of members of database with spaces in and need to store some of these member names in the substitution variables. However, this should be done differently for ASO and BSO, due to script syntax calc requiring double quotes and MDX requiring hooks. For example:

    ASO:
    & CurWeek value = 1 week
    MDX: [& CurWeek]

    ASF:
    & CurWeek value = "week 1".
    Calc script: & CurWeek

    Therefore, the substitution variables can be shared between ASO and BSO, cubes because the value of the variable BSO requires double quotes because of the space in the name of the Member.

    Is there a way to get the above to work with ASO and OSB? Unable to escape the quotes in the calc script syntax? Or double quotes can be removed in the MDX formula?

    Yuck! I'm curious to see if someone has a really elegant solution to this. :)

    I'm sure you have seen this already, but a workaround is to create an alias that is not a space (or probably better, use a name without a space Member but leave some space in the alias).

    What is your specific motivation to avoid the solution two variables? If it is purely of synchronization, do not forget that even with a variable unique no guarantees of the formulas of Member ASO and BSO calc scripts will be always synchronized without a response, because the formulas (by the SER60) pick up not a new value until the application is restarted.

  • The use of variables in MAXL

    I use Essbase server variables in a formula of contour.

    Once, we move on Production, we cannot change anything in the Console.
    I use StartPeriod and EndPeriod which are no later than 24 months during each month of loading.

    (1) how can I use MaxL to recognize these variables?
    (2) is where I can automate StartPeriod and variables EndPeriod of a file or a table of any function ETL?

    Thank you

    OH!

    You want quotes around your subvar, literally. Sorry, I misunderstood this part. Here is how you do it:

    @For /F "tokens=2,3,4 delims=/ " %%A in ('Date /t') do @(
       Set MN=%%A
       Set dy=%%B
       Set YY=%%C
    )
    echo %YY%
    SET /A P2Y=%YY%-2
    SET /A P3Y=%YY%-3
    echo %P2Y%
    echo %P3Y%
    IF %MN%==01 SET StartPeriod=%P3Y%02
    IF %MN%==02 SET StartPeriod=%P3Y%03
    IF %MN%==03 SET StartPeriod=%P3Y%04
    IF %MN%==04 SET StartPeriod=%P3Y%05
    IF %MN%==05 SET StartPeriod=%P3Y%06
    IF %MN%==06 SET StartPeriod=%P3Y%07
    IF %MN%==07 SET StartPeriod=%P3Y%08
    IF %MN%==08 SET StartPeriod=%P3Y%09
    IF %MN%==09 SET StartPeriod=%P3Y%10
    IF %MN%==10 SET StartPeriod=%P3Y%11
    IF %MN%==11 SET StartPeriod=%P3Y%12
    IF %MN%==12 SET StartPeriod=%P2Y%01
    
    SET EndPeriod=%YY%%MN%
    echo %StartPeriod%
    echo %EndPeriod%
    
    essmsh setVar.msh '"""%StartPeriod%"""' '"""%EndPeriod%"""'
    

    Note the use of single quotes outside of each argument. They retain the double quotes (defined as part of the literal string) in the Maxl script

    For more information on this, have a look here: http://codingwithhyperion.blogspot.com/2011/03/planning-tips-tricks-automating.html

    Let us know how it goes...

    Kind regards
    Robb Salzmann

  • Unable to concatenete string to the Variable in MaxL

    Hello

    can you help me please to concatenate a string with a variable in MaxL

    MAXL statement is:
    change application variable "VariableName", "Q1" value "APPL_NAME" $CurrYear;

    $CurrYear is a variable in Maxl with '_2010' value, so that the result should be a varialbe substitution in ESSBASE "VariableName" with the value "Q1_2010.

    Is this possible?
    I use ESSBASE 11.1.2

    Thank you very much
    Whitebaer

    What is

    Set CurrYear = '_2010;
    Set concatVar = Q1$ CurrYear;

    change the application 'APPL_NAME' set the variable "VariableName" $concatVar;

    or

    change the application 'APPL_NAME' set the variable "VariableName" Q1$ CurrYear;

    See you soon

    John
    http://John-goodwinb.blogspot.com/

  • Variable with a value. «PURGE error: bad Argument Type.»

    
    

    Hi, my 50G calculator accuses a value for the variable 'X' but I can't find it in any directory, and when I try to delete I get the message "' PURGE error: bad Argument Type." " I also have the theta variable with the same problem. How can I remove the value of these variables? TKS

    In addition to Make suggestions, two other possibilities come to mind: 'X' can be a directory object (which would cause the error to the wrong Type of Argument because non-empty directory objects cannot be purged by PURGE, but must be purged by PGDIR), or it could be a local variable (which can only be served by putting an end to the environment that created which is usually a program).  So if Make suggestions don't work, try foster 'X' PGDIR and if that does not work, try KILL (which ends all the current environments).

    If those WHO do not work, please do 'X' TYPE HOME and tell us what object type 'X'.

    DISCLAIMER: I do not work for HP; I'm a happy user of HP Calculator.

  • Cannot use the #A01 substitution variable # in dynamic list

    Greetings...

    I want to generate a dynamic list on the page.  The list will contain an indicator that specifies whether or not the entry in the list is in fact hidden from the user.  If it is hidden to the user, then I want to apply a particular to this entry from the list class when rendering.

    The dynamic list has the following SQL code:

    SELECT null lvl,

           menu.menu_nm label_value,

           q'!javascript:$s('P32_MASTER_MENU_ID', '!' ||

              menu.menu_id || q'!');!' target_value,

           null image,

           null image_attribute,

           null image_alt_attribute,

           case when menu.hidden = 'Y'

                  then 'class="hiddenNode"'

                  else null end attribute1

    from ( select 'N' hidden, vis.* from std_vw_apex_menu vis

            union all

           select 'Y' hidden, hid.* from std_vw_apex_menu_hidden hid ) menu

    where menu.menu_ty = 'MAINMENU'

    order by menu.sort_order

    I then use a list template with the following as the entrance to the "current": list

    <li class="active"><a href="#LINK#"><span #A01#>#TEXT#</span></a></li>

    ... and list the following as the "Non-Current" entry:

    <li><a href="#LINK#"><span #A01#>#TEXT#</span></a></li>

    I see in the rendered however page result is that substitution does not, as it is shown in the following snippet:

    <li><a href="javascript:$s('P32_MASTER_MENU_ID', '18893191201');"><span #a01#="">Education</span></a></li>

    We are on ApEx 4.2.1.  What I'm doing wrong as I've seen other threads indicate that it is possible for dynamic lists to use substitution variables, as in their list templates.

    Shane.

    I found the solution to the attribute replacement does not not in the models of dynamic lists.

  • How to use substitution variables, as in Microsoft Word using Hyperion Smart view

    Can we use the Substitution Variables to copy data points and cool off in Microsoft Word? I tried and it does not dynamically (copy the data points only copies what was in excellent cell right there). It copies only the static value of this variable for this cell. I want to use dynamically in Word so that if I change the value of this variable in Essbase, it is updated in Word on refresh. Any idea?

    We need this notification feature in microsoft word and keep using data points every year (instead of copy the cells of excellent on new)

    Any help or suggestion is appreciated.

    Thank you

    You may not use substitution variables, as with the copy data points. I tried a while back (after 111.1.2.1.102) and it wouldn't work.  I checked with Oracle development and they said that I is not available

  • Re: Enter Substitution Variable pop up

    Windows 2008 - OS
    Oracle 11.2.0.2 - database
    Developer SQL 3.1.0.7

    I get a very annoying pop ups on the seizure of a variable substitution with Oracle SQL Developer, how can I leave it?
    I have the pop-up when I try to open any connection, it doesn't matter what database.

    You have a login.sql with substitution variables?

    Tools | Preferences | Database | The name of the connection startup script file.

    OR

    If you have defined as an environment variable SQLPATH it may be picked up from there.

    Published by: Jim Smith on March 2, 2012 16:03

  • How to use a substitution variable in a rule of load?

    I need to use a substitution variable in a rule of load in a column, I will receive a parameter to correct the month and year of the values in the loading data, could someone tell me if this is possible. I put an expression '& Yearproc' in the value column, but it does not work.

    If you are a member of the WORLD (or even if not, you can register for free associate membership) you can download the presentation from Glenn since 2009 Kaleidoscope "little used Essbase features (such as data mining and triggers) ' - there is a section to this presentation on the substitution variables - it does a great job showing how it works.

    Go to: www.odtug.com, and then Tech, then Essbase/Hyperion resources and search for Schwartzberg. It is currently the ninth presentation on the list - I think that this change based on the popularity of downloads.

    Kind regards

    Cameron Lackpour

Maybe you are looking for

  • iPhone is blocked and is not turned off of either

    Hello. I was updating my iphone to the latest iOS version 9.3. Everything is going well, and then he started to check the update. A few seconds later, a message box appears saying that iOS 9.3 could not be updated because connectivity issues and the

  • How to divide a string into an array of strings in separate tables

    Greetings, I have an array of strings which displays strings in a text file. I read each line of the text file and put it in an element of the matrix of the chain. Now, I'm trying to divide each string for each part of the chain, then put in a separa

  • How to open a file attached to my email?

    I can't open all the files attached to my email because it requires a password that I do not have! How do I change this?

  • hpslpsvc32 access denied

    I've just loaded 8 victory and set up the printer c6380.  It works well... it has been implemented in the Admin area, but when I connect to my userspace (not administrator), I get an error message saying there is a problem starting hpslpsvc32.dll...

  • Cannot download pictures from camera to PC

    I use a cut version of XP - dark / lite with scanner windows & camera assistantAssistant scanner & camera back is no longer when I plug in my camera digi than iv tried to use another port downloaded USB different sorftware & bought a new USB cable bu