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/

Tags: Business Intelligence

Similar Questions

  • String to the Variable of the PSP?

    Hello

    I was hoping I could buid programmatically a variable path shared and then use the Reading Variable VI to read a value.

    Unfortunately, while I can convert a PSP Variable in a string, I can't do the reverse. The output of the string to the shared Variable VI is not recognized by the Reading VI Variable. I tried to convert it to a PSP Variable to help more class specific, but she would not allow LabVIEW or the other.

    Is there a way to convert a string to a variable that is shared by program readable?

    Thank you!

    DUH... I can use the Container Seach VI, as the beginning of my posted code... X_x * slinks away in embarrassment *.

  • change the string to the variable (sort of)

    Hello. I'm a flash game which requires a lot of similar, such as functions

    function getSomeNumber (): number {}
    return number;
    }

    I was wondering if I could generalize this by following these steps. take a string parameter that defines the name of the variable. Then, I want to change this string for the name of the variable so that I can the value of the output variable. kinda like that

    function getSomeNumber(nameOfVar:String):Number {}
    somehow use string to find variable name and returns the value of the variable
    unknown return;
    }

    hope it makes sense.

    trigger2160

    Code of clbeech is what I was looking 4. Not sure y I need all this that extra code kglad but thanks for the help anyway.

  • Combing of string to the variable

    Hello

    I am sure I have done this before but don't remember the code.

    I want to combine the result of a query to search for another.

    Here's what I mean:

    The variable purchasedpro.size is s, m, l or xl (for clothing)

    < cfset therealsize = #purchasepro.size # >

    "< name cfquery ="getquantity"datasource =" "#" username = "#" password = "#" >
    SELECT #therealsize #.
    PRODUCTS
    WHERE int_ProductID = #purchasepro.int_ProductID #;

    < / cfquery >

    < cfset size = "getquantity. #purchasepro.size #">"

    < cfset newquantity = #thesize #-#purchasepro.int_Quantity # >
    "< name cfquery ="updateitems"datasource =" "#" username = "#" password = "#" >
    UPDATE products
    SET #purchasepro.size # = "#newquatity #
    WHERE int_ProductID = ' #purchasepro.int_ProductID # ';
    < / cfquery >


    So if'm '(for medium) is defined as the realsize, am the coloum' lies in the products table, and then the value of'm ' is out to change.

    I'm sure this is to do with the combination "getquantity. #purchasepro.size #"but I don't remember how."

    Please can someone help

    Daverns goes in the right direction... but...

    Beware that this automatically select the first line of the query would return, if the query returns multiple rows, you will need to use cfloop to get additional values

  • How to convert the string to the variable of the apex

    Hello

    I need to replace the overall point of the table column value chain in its value of origin when the page is rendered.

    the process code - plsql
    -column replacestring contain the string F100_EMPID value
    declare
    REP varchar2 (100);
    Start
    Select replacestring in the rep of emp;
    Select Replace ('EmployeeID', replacestring) in the content of emp;
    HTP.p (content);
    end;

    The output is:
    The employee ID is: F100_EMPID.

    but I need the actual value of the global element when the process is rendered.

    Select Replace (content, "EmployeeID",: F100_EMPID) in the content of emp;

    This statement gives a correct output: Employee id is: 230092

    I need to replace the string in the column of the table in the real global element inside the plsqcode for dynamic rendering code.

    someone please help me solve this problem.

    Thank you.
    ~ Logaa

    Hello

    What happens if you use:

    Select Replace (happy, 'EmployeeID', v (replacestring)) in the content of emp;
    or maybe
    Select Replace (content, "EmployeeID", v ("| replaceString |")) in the content of emp;

    Greetings,
    Roel

    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.Logica.com/

    You can assign this answer to your question in marking it as useful or Correct ;-)

  • maybe simple question of string of the variable in the pop up window

    Hello

    I write a name who helped me in the previous question, but now the list is great and sorry, no nicks personal

    Hi all

    We have a chain

    scany_col value {{15677, 5654, 7453}, {37008, 19532 17733}, {32896, 15163 14906}, {15934, 6939, 9509}, {16705, 6682, 9252}, {38293, 39064, 40092}, {19532, 6939, 8224}, {65535, 65535 65535}, {17219, 6425, 8738}, {24158, 9509, 11051}, {14392, 5911, 8481}, {22873, 16448, 16191}, {30840, 14649, 14649}, {29041, 16191, 15934}, {12593, 5397, 8224}}

    -(this is a RGB pixels)

    Choose from the list of the scany_col with the title "what color to the first position.

    the value of result listreturn

    listreturn

    ... one one-and this script returns an error "blah - blah with chain of cant.

    Tell me please, what is the problem?

    The sublists themselves aren't of strings and numbers.

    If you wish to choose from the sublists, replace the choice of the list command with:

    Choose from list (point 1 of scany_col) with the title "what color to the first position.

    If you want to choose a specific sub-list on all of them:

    scany_col value {{15677, 5654, 7453}, {37008, 19532 17733}, {32896, 15163 14906}, {15934, 6939, 9509}, {16705, 6682, 9252}, {38293, 39064, 40092}, {19532, 6939, 8224}, {65535, 65535 65535}, {17219, 6425, 8738}, {24158, 9509, 11051}, {14392, 5911, 8481}, {22873, 16448, 16191}, {30840, 14649, 14649}, {29041, 16191, 15934}, {12593, 5397, 8224}}

    Set scany_strings to {}

    Repeat with this_item in scany_col

    the value scany_strings scany_strings & ((article 1 de la this_item as string) & "," & (article 2 of the this_item as string) & "," & (point 3 of this_item as string))

    end repeat

    Choose from the list of scany_strings with the title "what color to the first position.

    listreturn Set result

    listreturn

    (143331)

  • Get the value of the Variable text

    Hi all

    How to get the value of the Variable text. I want to check the value of variable text title in each page.

    Thank you and best regards,

    Robert S

    myText.textVariableInstances.everyItem (.resultText) would do it.

    The representation of a TextVariable on the page is a TextVariableInstance. They are objects of 'text' (parent may be: cell phone, change, note, Note, history, TextFrame, XmlStory). The "resultText" property is the string that the variable instance currently shows. See Adobe InDesign CS5 (7,0) object model JS: TextVariableInstance

  • Analysis of the variable format string

    Question, I have a string I need to analyze in separate string variables. Analysis errors out string if the string is parsed cannot fill every type defined in the string format. The problem I have is that the string length varies depending on multiple strings separated by spaces up to 13 different string types sometimes and sometimes only 6. Is there another way to scan the string in different channels with the command of token or something and not use this as the format varies?

    I've attached an example of what I'm trying to do.

    Thank you.

    Here you go...

  • How to change the value of string clustered, to implement using the node value of property instead of writing directly on the flow of data or using the variable

    new to labview :-) and I have a problem when I want to change the value of a string in bunches, and I want to implement this using the node value of property instead of writing directly to the stream or by using the variable, enclosed is the picture.   No matter, I have change in cluster (control) or value of Popery out (indicator) cluster, the value (sensor 7) dataflow keeps unchanged even I gave the new value by value of property node. Thank you to give me some advice about this.

    Hi GerdW

    Thanks a lot for your answer. The reason I'm stubbornly tring to break the flow of DATA is: we have a test system that have about 100 screws, they have a few connected flow, some of them will be unbundling a cluster dataflow chain to check the value in order to make the different cases.  Now I want to insert user event by changing the control and influential cases during run time.

    As I initially uses a global variable (to control cases) instead of unbundle string data flow, it works well.  But then, I found there are a lot of screws that are using the string unbundle.  One of the 'lazy' means, I tried is to change the value via the property node (because that way, I did not need to find all the places where using the unbundle string and replace them with the global variable), then I noticed a problem with "dataflow", the value in the stream of cluster in fact will not be changed by changing the value of the property node.

    I did a test with VI simple (like the picture in last post), and after reading your advice, I tell myself that I need to understand the concept of "DATAFLOW" in labview, it seems that my "lazy" way can not work in this scenario.

    I have attached the criterion VI here, have you furthur suggestions on what I can do in this case?

    Mant thanks!

    Minyi

  • The system is unable to boot automatically. The BOOT environment variable must be set to a bootable image.

    Hey guys

    I need help, in my company trying to learn switches I flashed my switch all :(

    I now get this error

    The system is unable to boot automatically.  The BOOT
    environment variable must be set with a bootable
    image.

    I downloaded the c2950-i6q4l2 - tar.121 - 22.EA14.tar for the switch, but I'm unclear on how to load the catalyst 2950 only

    switch: dir flash:
    Directory of flash: /.

    3 - rwx 269 env_vars

    7739904 bytes available (1536 bytes used)
    switch: start
    Loading ""...: permission denied ".

    Error loading «»

    Interrupt within 5 seconds to cancel the startup process.
    Boot process failed...
    switch: start
    Loading ""...: permission denied ".

    Error loading «»

    Interrupt within 5 seconds to cancel the startup process.
    Boot process failed...
    switch:

    C2950 Boot Loader (C2950-HBOOT-M), Version 12.1 (11r) EA1, RELEASE SOFTWARE (fc1)
    Updated Tuesday 22 July 02 17:18 by antonino
    WS-C2950-24 from...
    Basic Ethernet MAC address: 00:15:2 b: 46:7 b: 00
    XMODEM file system is available.
    Initializing the Flash...
    flashfs [0]: 1 files, directories 1
    flashfs [0]: 0 orphaned files, orphaned directories 0
    flashfs [0]: Total number of bytes: 7741440
    flashfs [0]: used bytes: 1536
    flashfs [0]: available bytes: 7739904
    flashfs [0]: fsck flashfs takes 4 seconds.
    .. .done boot flash.
    Boot sector file system (bs :) installed, isfd: 3)
    Setting Filesystem block (pb :) installed, isfd: 4)
    Loading ""...: permission denied ".

    Error loading «»

    Interrupt within 5 seconds to cancel the startup process.
    Boot process failed...

    The system is unable to boot automatically.  The BOOT
    environment variable must be set with a bootable
    image.

    switch:
    switch:
    switch: flash
    Initializing the Flash...
    ... The flash is already initialized.
    switch: dir /.
    Unknown cmd: dir /.
    switch: dir

    List of currently registered file systems:

    Flash [0]: (reading / writing)
    XMODEM [1]: (read-only)
    NULL [2]: (reading / writing)
    BS [3]: (read-only)

    switch: 0
    Unknown cmd: 0
    switch: flash_init
    switch: load_helper
    switch: dir flash:
    Directory of flash: /.

    2 - rwx 269 env_vars

    7739904 bytes available (1536 bytes used)
    switch:

    Hello

    It seems that the image is not in the flash memory. Do you know where you downloaded the image? Once we know, we can understand what statement of startup, you need to do to make it start correctly.

    Thank you

    Garrett

  • bind variable String at the bean has attached a component

    I need to bind the Variable String exist in my bean 'loginType '.

    public class {Start

    private String loginType.

    {} public void setLoginType (String loginType)
    this.loginType = loginType;
    }

    public String getLoginType() {}
    loginType return;
    }
    }

    This bean has no component in the jsbx page but when I click on my buttons taking this variable is worth

    <? XML version = "1.0" encoding = "UTF - 8"? >
    < xmlns:jsp = "http://java.sun.com/JSP/Page" version = "2.1" jsp:root xmlns:f = "http://java.sun.com/jsf/core".
    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich" >
    < jsp:directive.page contentType = text/html"; Charset = UTF - 8 "/ >
    < f: view >
    < af:document title = "start.jspx" id = "d1" binding ="#{backing_start.d1}" > "
    < af:form id = binding = "#{backing_start.f1"f1"}" >
    < af:commandButton text = "don't jump" id = "cb1" binding = "#{backing_start.cb1} '"
    action = "#{backing_start.cb1_action}" / >
    < text af:commandButton = 'skip' id = "cb2" binding = "#{backing_start.cb2} '"
    action = "#{backing_start.cb2_action}" / >
    < af:inputText label = "Label 1" id = "it1" value = "#{sessionScope.loginType}" / >
    < / af:form >
    < / af:document >
    < / f: view >
    <!--oracle-jdev-comment:auto-binding-backing-bean-name:backing_start-->
    < / jsp:root >


    is there a problem with that

    I need more later to get the value of this variable from java code

    FacesContext facesContext = FacesContext.getCurrentInstance ();
    ELContext elContext = facesContext.getELContext ();
    ExpressionFactory expressionFactory = facesContext.getApplication () .getExpressionFactory ();
    ValueExpression exp = expressionFactory.createValueExpression (elContext, "#{sessionScope}", Object.class)
    Map < String, Object > sessionMap = exp.getValue (elContext) (map < String, Object >);
    Object loginType = sessionMap.get ("loginType");


    It always returns null

    Hello..
    Before accessing variables needed data for sessionScope as Vinod said:
    Control following

    Use sessionScope as the value of the Variable binding

  • Why not the type of the variable is a string?

    Hi, I need your help. \(´o `)/

    When I'm "DropDownList.items", the type of the variable dose not become the 'string. '
    Why?

    ------------------------------------------------------------------------------------------ ----------------------------------------
    var ddList = new Array();
    ddList = ["adobe", "DSP", "Japan"]; any value string table

    / * Create window * /.

    var = DLG

    "dialogue {text:"Interface of Script", limits: [200,200,460,350],"+}.

    "panel0:Panel {limits: [10,10,240,140], text:", properties: {borderStyle: "engraved", su1PanelCoordinates:true}, '+}.

    "ddownlist1:DropDownList {limits: [10,20,100,45]}, ' +.

    "button1:Button {limits: [10,55,100,80], text: 'Ok'}, ' +.

    "button2:Button {limits: [110,55,200,80], text: 'Cancel'}}} ';


    var win = new window (dlg, "click on the ok button!");

    for (var i = 0; i < ddList.length; i ++) {}

    Win.panel0.ddownlist1.Add ("Item", ddList [i]);   Add items to doropdownlist.

    }

    Win.panel0.ddownlist1.selection = 0;

    / * When the "ok" button is clicked... * /.
    Win.panel0.button1.onclick = function() {}

    var ddownlistItems = win.panel0.ddownlist1.items;

    for (var i = 0; i < ddownlistItems.length; i ++) {}

    / * If when 'isNaN' command was returned to 'true', while the type of the variable is "string", if it was referred to 'false', so no 'chain '.  *****/

    Alert ("ddownlistItems [" i + "] plus" + IsNaN (ddownlistItems [i]));

    }

    }

    Win.Show ();

    ------------------------------------------------------------------------------------------ ----------------------------------------

    I tried this script, "alert" has been returned "ddownlistItems [0] = false '.

    but the setting of the components dropdownlist used table of "channels".

    Why not the type of the variable is a string?

    Thank you.

    Because you do not test the chain only the index.

    try...

    Alert (ddownlistItems [i] + "=" + isNaN (ddownlistItems [i] .text));

  • Using the variable string quickly calling several variables

    OK, I'm not entirely sure how to explain it, but I will do my best...

    I have had several similar Boolean variables which are publicly declared at the beginning of my class.

    for example

    public var _ball0_mcPlaced:Boolean = false;
    public var _ball1_mcPlaced:Boolean = false;
    public var _ball2_mcPlaced:Boolean = false; 

    This will determine whether or not a particular ball was placed in a target area.

    Now I want to use this variable again in a function... However, I do not want to write in the variable for each ball in the service.

    Is there a faster way to access this variable by using a string inside the function varibale?  Each ball becomes a target of the event if clicked, so I could use something like...

    ("_" + event.target.name + "Placé") to create the dependent variable on which ball is selected?
    So, if ball0_mc is selected it returns the _ball0_mcPlaced variable?

    How can I do this?


    See you soon

    It would be written using the array notation in the form of...

    ["_" + event.target.name + "Placé"] = true;

  • TestStand 2012 keeps the value of the variable

    I have a problem with TestStand 2012 that preserves the value of the variable. I have a step and its parameters in the string variable. I use the expression step as Step.Settings += "00". I run the sequence under sequential model and the problem is that Step.Settings is equal to "00" on the first run, '0000' on the second throw, '000000' on the third race and so forth, but it must rest '00' on each race. I can't find the root cause. Anyone has the same problem and can advice how to solve?

    Try to uncheck the properties of the sequence > optimize reentrant calls to this sequence to the sequence that contains the step.

  • split a string into separate variables

    Suppose I have a procedure that returns the following for the parameter,

    V_STR: = ' 10077500733 | 10077500733 | 14/04/2015 | Τ | AJ240557 | 2012 | GREECE | GR | MAN | 00108337640 | CLARKSON | DAVID"

    How to cut this string into separate variables?

    for example v1 = 10077500733

    v3 = 14/04/2015

    v4 = null;

    Thank you

    with qry (STR) as)

    Select ' 10077500733 | 10077500733 | 14/04/2015 | T | AJ240557 | 2012 | GREECE | GR | MAN | 00108337640 | CLARKSON | DAVID' the double

    )

    Select the level,

    RTrim (regexp_substr (str, ' [^ |] *(.| $) ', 1, level), ' |') ASPLIT

    of qry

    connect by level<= length="" (regexp_replace="" (str,="" '[^|]+'))="" +="">

    LEVEL ASPLIT
    1 '10077500733'
    2 '10077500733'
    3 April 14, 2015"
    4
    5 ' T '
    6 'AJ240557 '.
    7 '2012 '.
    8 "GREECE".
    9 "GR".
    10 "THE MAN".
    11 '00108337640'
    12 "CLARKSON."
    13 "DAVID."

Maybe you are looking for