Copying Substitution Variable

We have migrated the application and database from one server to the other. Everything got migrated except the substitution variables because they are stored at server level. Is there a way that I could export them and load into our server or do we have to create it manually?. I know there is a way to copy them but its possible only when two servers are added to the EAS Console which in my case isn't and I can't do that. If you guys help me this I really appreciate.
Thanks!!
Junaid

mjunaid wrote:
I know there is a way to copy them but its possible only when two servers are added to the EAS Console which in my case isn't and I can't do that. If you guys help me this I really appreciate.Hi,
Obviously the simplest way would be through EAS though you say you can't go down that route.
One method you could use maxl to display the variables (display variable all;) and spool them to a file, then format the file a little (could be done in excel to create the correct format for maxl) and use maxl again to set them up on your new environment.
I am sure there are other ways but my brain has switched off :)
Cheers
John
http://john-goodwin.blogspot.com/

Similar Messages

  • Copying substitution varibale using Maxl script

    Hi,
    Ive been trying to copy application using Maxl script in essbase to take backups. Everything gets copied except substitution variables. Could some one help me in sorting out this issue.
    Is there any specific Maxl Command to copy substitution variable alone from one application to another, if so could u please share it with me.
    thanks

    Hi,
    Unfortunately, as John said, there is no command to copy the subvars. One of my colleagues ran into this same issue on one of my projects. He ended up spooling a script with display variable all command to show all your variables and write them to a text file. from there he wrote a batch file to parse the text file for each of the variables, and then updated the subvars in the backup application with these values.
    The thing you want to look out for here is that you want to make sure you properly handle checking for whether the subvar already exists in the backup application. If it does, you just want to run an update of the value. If it doesn't exist, you want to add it first. This is because there is no create or replace variable, so to avoid any errors, you need to be careful with that. I think you may want to look into some of the other alternatives John provided if you are still looking into this issue.
    Thanks,
    Daniel
    http://www.DVEPM.com

  • Is there any way to copy S.Variables via Maxl or Essbase

    Guyz,
    Is there any way to copy S.Variables from one App to another app via Maxl or Essbase.
    Cheers
    Cnee

    you can copy substitution variables between different Essbase servers through Admin console.
    At first you should be able to add both the essbase servers in the admin console.
    Then you can copy the subst variables from one essbase server to other.
    in subst variable window -> select copy -> select server, app, db -> select subst variable to be copied -> you can tick overwrite existing variables option if needed -> click OK.
    the other way is to collect the subst variable information through maxl & then write maxl scripts to create the subst variables on the other server.
    - Krish

  • Substitution variables not copied when application is copied

    Hi Experts,
    I am using essbase 9.3.1 on AIX uniox server.
    When I copy Essbase application, I am not getting the substitutionvariables copied from the application to new application.
    Substituion variables are set at database level, not at app or system level.
    I am using the following maxl commnad to copy application
    create application newapplication as oldapplication;
    I would greatly appreciate any ones help.
    Thanks
    TSREDDY

    I confirm this acts the same on 11.1.1.2 Windows 64-bit Essbase. The MaXL create application command when using an existing app does not copy the substitution variables. Using EAS to make a copy does create the substitution variables.
    You will need to write some batch scripts to bring over the variables with MaXL if you wish to automate this process.
    You would make use of the display variable and alter database commands to automate.
    Regards,
    John
    http://www.metavero.com

  • SQLPlus problem - user enters quote in substitution variable

    Hello,
    I have a SQL Plus script report, where user is prompted to enter "customer name".
    Some customer names contain single quotes/apostrophes.
    When user type such name, the script will error out with
    ORA-01756: quoted string not properly terminated
    I can't ask users to use '' instead of ' . I can't control what they enter. Is there a way to process single quote so the statement below will work:
    select * from sometable where customer_name = '&1'
    where &1 = Smith's
    I can't do replace, etc, because it's all error out with the same error. I need to replace ' on SQLPlus level somehow. One logical way to do it would be to redefine the string separation charachter somehow...
    SQL*Plus: Release 8.0.6.0.0
    Thanks,
    Vlad
    Message was edited by:
    user454392

    As it's a SQL*Plus substitution variable it is literally copied into the code just prior to compilation, so you can't stop it from breaking the compilation of the code. q quoted strings are the only solution I can think of but of course they are only available from 10g onwards.
    The other alternative is to capture the input in a shell/batch script which validates it first and then passes the value to the SQL to be executed.

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

    Can we use Substitution Variables in copy data points and refresh in Microsoft Word? I tried it and it does not work dynamically (copy data points only copies what was in excel cell at that point). It only copies the static value of that variable from that cell. I want to use it dynamically in Word so that if I change the value of that variable in Essbase, it is updated in Word upon refresh. Any idea??
    We need this feature for reporting in microsoft word and keep using the data points every year (instead of copying the cells from excel over again)
    Any help/suggestion is appreciated.
    Thanks

    you can't use substitution variables with copy data points. I had tried a while ago (post 111.1.2.1.102) and it wouldn't work.  I checked with Oracle development and they said it I not available

  • && Substitution Variable in Package Body using SQL Developer

    Hi Folks,
    I've moved over to working to in SQL Developer (its a very early version - 1.0.0) from a combination of SQL*Plus command line and a text editor. I'm trying to get this upgrgraded, but I think the question will be the same with a newer version anyway.
    I am creating a package, and in the package body I have some &&my_var substitutions that I was previoulsy prompted for when calling the .sql from the command line SQL*Plus. I need this as the variable needs to be different for the development and live environment.
    When working in SQL Developer, I can load the package body from Connection->Packages->My Package->My Package Body, and click the edit button to edit the code, however, when I click the Compile button in the top of the window my code error's because of the substituion variablle. An example is:
    CREATE OR REPLACE
    PACKAGE BODY MY_PACKAGE AS
    PROCEDURE MY_PROCEDURE
    BEGIN
    my_variable := &&my_function_from_live_or_dev_database
    END MY_PROCEDURE
    Can anyone tell me if there is a way of defining a compiler variable within the IDE widow while editing a package body stored in the database, without manually copying the code into the Worksheet and running it as a script?
    Thanks,
    AM

    953104 wrote:
    Thanks for the reply, the code was just quickly typed to show the sort of thing I am doing, it wasn't actual code form my project.
    I've come from a C background so what I would have done would be create a #define and changed to when on live or development - or passed the variable to the build environment from the IDE or makefiles and the change would have reflected through my whole project.
    What I want to be able to do is alter a definition of some sort that will reflect throughout my whole project, so I can change it in one location to minimize code changes before going live. I don't really want to be prompted at all. On one system it needs to be DEV_10 and on the other it needs to be LIVE_10.Is there a possibility to elimiante this difference at all?
    For example if DEV_10 is the oracle schemauser on the development database and LIVE_10 would be the one on the production system. THen you could just remove all references to the schema from your code.
    IF you are already connected to this schema, then you don't need to specify the schema name anymore.
    example
    instead of
    create or replace package dev_10.myPackage
    ...you can simply use
    create or replace package myPackage
    ...If needed you can alter the cuurently connected user just before you run the script.
    alter session set current_schema = LIVE10;
    create or replace package myPackage
    ...This would be a different working window in the developer (script worksheet, instead of direct pl/sql editor).
    Substitution variables are allowed there.

  • Substitution variable in Load rule Header Essbase 11.1.1.3

    Think its obvious you can use substitution variable as a Header definition on Load rules, does version 11.1.1.3 has any issues' with it, i am running into Unexpected Essbase error 1019026.
    Error:
    Unknown member [Mgmt Actual,Base,No Vertical,No Customer] found while processing string [Mgmt Actual","Base","No Vertical","No Customer]
    Unexpected Essbase error 1019026
    I want to copy Actual data into other scenario's in ASO cube so thought will use substitution variables to eliminate duplication on load rules.
    Mgmt Actual is a scenario set thru Substitution variable at the DB level
    i.e *&CurScen="Mgmt Actual" (set at DB level)*
    Header Definition on load rule *&CurScen,"Base","No Vertical","No Customer"*
    Data load work fine If i replace substitution variable with original member *"Mgmt Actual","Base","No Vertical","No Customer"*.
    I did notice some users complaining erratic behavior when substitution variables are placed in load rule header at the End on multiple members, i have tried all places End, First and Middle.
    tried using single Load rule with EAS and MAXl same results.
    i want to keep altering scenarios on header definition and use same rule files.
    alter database AppName.DbName set variable CurScen '"Mgmt Actual"';
    Running out of ideas any help!

    Error:
    Unknown member [Mgmt Actual,Base,No Vertical,No Customer] found while processing string [Mgmt Actual","Base","No Vertical","No Customer]
    Unexpected Essbase error 1019026
    *1019026 Unknown member memberName found while processing string string*
    Possible Problems
    Analytic Services does not recognize the listed string as a member of the outline.
    Possible Solutions
    Make sure that the member name is valid. The member name is in the rules file.
    * Are you using the correct rules file?
    * Is the rules file connected to the correct outline?
    * Can you validate the rules file?
    * Are member names or variable names enclosed in quotation marks where necessary?
    * Does the member exist in the outline? If not, you can add the member by modifying the outline during the dimension build or add the member in the Outline Editor.
    * Make sure that the member is not specified as a header in the rules file.
    Regards,
    Prabhas

  • Pb to setup replicated partition with substitution variables

    Dear all,
    I have the following problem with the replicated partition by using the substitution variables :
    I would like to create a replicated partition using 3 substitution variables: &CurrPeriod, &CurrWeek, &CurrYear. The goal of this is to be able to copy data from application SourceApp to TargetApp every week, by changing the subst variables.
    The script I have created is :
    login useradmin identified by password on EssbServer
    alter application SourceApp load database SourceDb
    alter application TargetApp load database TargetDb
    create or replace replicated partition SourceApp.SourceDb
    Area ' "Account1", &CurrPeriod, &CurrWeek, &CurrYear, "ND_DISTRI","ND_PAGE","ND_PROD","VT", "REEL", "EUR" ' SourceArea
    to TargetApp.TargetDb at EssbServer  as useradmin identified by password
    Area ' "Account1",    "M_N",     "S_N",     "FY1" , "ND_DISTRI","ND_PAGE","ND_PROD","VT", "REEL", "EUR" ' TargetArea
    +     mapped TargetArea ("&CurrYear") to ("FY1")+
    +     mapped TargetArea ("&CurrWeek") to ("S_N")+
    +     mapped TargetArea ("&CurrPeriod") to ("M_N")+
    +     update allow;+
    refresh replicated partition SourceApp .SourceDb to TargetApp .TargetDb at EssbServer all data ;
    The issue is that this is not working. I don’t see any data when launching the Maxl script even if the script syntax is validated by essbase. The very strange thing is that when I replace the substitution variable by members, this script works fine, I see my data in the target cube. For example if I replace the subst variables by
    Area ' "Account1", “Month1”, “Week1”, “Year1”, "ND_DISTRI","ND_PAGE","ND_PROD","VT", "REEL", "EUR" ' SourceArea
    to TargetApp.TargetDb at EssbServer  as useradmin identified by password
    Area ' "Account1",    "M_N",     "S_N",     "FY1" , "ND_DISTRI","ND_PAGE","ND_PROD","VT", "REEL", "EUR" ' TargetArea
    +     mapped TargetArea (“Year1”) to ("FY1")+
    +     mapped TargetArea (“Week1”) to ("S_N")+
    +     mapped TargetArea (“Month1”) to ("M_N")+
    So my conclusion is that there is something wrong with the syntax of the substitution variable in my mapping.
    Your help on this would be very appreciated .

    Hi,
    I have the answer from Oracle support :
    Hello,
    This is a known bug.
    BUG 7418041
    This has been documented as a known issue in Essbase Release 9.3.1.3 with the following description: "Partitioning. Using substitution variables in replicated partition mappings incorrectly prevents data from replicating. [7418041]"
    Currently the development team are working on a fix, but we don't have a release date yet.
    The suggested workarounds are to use member names (which you have confirmed work) or use a Transparent partition in place of a replicated partition.

  • Copying Global variables

    Is there any easy way to copy a group of global variable from one job to another? I know I can insert the global variables one at a time but there must be a quicker way????

    Hi Richard,
    You might be interested in a new feature in the 12.0 release of Data Integrator (it's built on the Data Services XI 3.0 platform).  The feature is called "substitution variables", and allows you to have a single set of variables for a runtime environment.  They are static in nature (meaning you cannot change their value after you launch a job) but you can have different configurations of variable assignments.  You control all of this using system configurations -- it's a lot like using datastore configurations with system configurations today, except that you can define sets of substitution variable values to go along with a specific system configuration.
    You may want to talk to your account manager about migrating your license to an XI 3.0 license.  Also, the first service pack for 12.x will be released soon (Septemberish?), which is a good indication that the tool is ready for serious production usage.
    Thanks,
    ~Scott

  • Changing values of substitution variables on the basis of selection in Page

    Hi All,
    I am developing a classic planning application using hyperion 11.1.2.1. All of my data forms are based on substitution variables i.e. I define three variables:
    sv_CurrYear = FY12
    sv_CurrYearMinus1 = FY11
    sv_CurrYearMinus2 = FY10
    and i am using these 3 variables in columns section of my data form i.e First Column contains sv_CurrYearMinus2, second column contains sv_CurrYearMinus1 and third column contains sv_CurrYearMinus2.
    Now my understanding is that every year system admin will update the values of these variable and data form updated automatically.
    But my client want to have such a mechanism through which he would be able to see the data of previous years. i.e He want to have Year dimension in Page section, so that he will select his desired year from drop down and as a result form will display the desired year's data. Now if i have only one column(i.e curr year) in my data form then i could easily do that but since i have three different year's so it didn't seems easy to me.
    One idea that originate in my mind is that i add a custom dim by the name of Custom year and its member would be like this CY10, CY11, CY12 ... and so on, then i will place this dimension in Page so that user will select his desired year and when he presses the "Go" button then some sort of script executed which change the values of my Substitution Variables. But i don't know whether its possible or not? if yes, then how or any other alternate idea?

    I dont know if it is possible and make sense in your application, but you could create a new Custom Dimension with the members "Current Year" "Previous Year" etc. All values of the current plan period would be saved to "Current Year" and if you change to next plan period (FY+1) you need to copy the data from FY->"Current Year" to FY+1->"Previous Year" and so on.
    Then you would be able to put the Financial Year Dimension in Page and the Custom Dimension in Columns.
    Disadvantage: your cube data would grow faster.
    Kind regards
    André

  • Mapping Report Attributes to Substitution Variables

    Is there somewhere in the documentation that defines what fields on the Report Attributes tab map to which Substitution Variables in the Report Template?

    Hi,
    Copying from the documentation:
    Report column templates provide you with control over the results of a row from a SQL query. This type of template defines a cell, not an entire row.
    Each report template identifies column names using the syntax #1#, #2#, #3#, and so on. You can also name columns using column name substitution syntax such as #ENAME# or #EMPNO#. You can reference any item from your application within your template. For example, to reference an item called ABC. in your template, you could include the exact substitution string &ABC.. The actual value of ABC. would be provided by an end user editing an item in your application named ABC.
    You can read more here: 13.2 Customizing Templates.
    Thank you,
    Erick

  • Substitution Variables just don't work for me

    I have a database that I want to copy data from one version of existing data to another version using substitution variables.<BR><BR>I have a version of (target) data named "Flash Sep Test" that I want to copy to, and a version (source) "HQ1" with the data I want to copy from <BR><BR>My substitution variable at (same) database level is called "Flash1" with value of "Sep"<BR><BR>My calc script code is:<BR><BR>DATACOPY "HQ1" TO "Flash &Flash1 Test";<BR><BR>When I run the calc I get this error:<BR><BR>Invalid Member name "Flash &Flash1 Test" and it won't copy the data over.<BR><BR>Any suggestions on how to get this to work will be much appreciated...HELP!!!???<BR><BR><BR>Sign me,<BR>A very frustrated db admin<b>Text</b>

    Andy and Will,<BR><BR>Thanks for your help!<BR><BR>I figured out to use the variable value with the quotes like this <BR><BR> <b>"Flash Sep Test"</b> <BR><BR>did work when I just placed the variable name <BR><BR> <b>&varFlash</b> <BR><BR>in the calc code without quote marks. Sure wish Essbase's help function explained the use of this (and other code) better than it does. Hope it has improved by ver 7.#.<BR><BR>Thanks again for your assistance!<BR><BR>Alan Hartt<BR>Hewlett Packard

  • Substitution variable migration

    Hi All,
    We are migration our 22 cubes from 9.2 to 11.1.1.3. So have 200+ substritution variable, we need to migrate to 11.x. IS there any utility could migrate all the substitution variables.
    Thanks for your help.
    -Rahul

    Hi,
    If you can see access the 9.2 environment from the 11 environment then you could use EAS to copy them between essbase servers.
    Otherwise you can maybe try SubVar manager :- http://www.appliedolap.com/free-tools/subvar-manager
    Or use maxl to spool the subvars to a file, format it, then load it back into your new environment using Maxl.
    Another aption could be an API.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to modify substitution variables such as #REGION_POSITION_02#,etc.

    Hi,
    I'm working with an APEX page template - 'One Level Tabs' in my application.
    I have copied and extended this template to meet the requirements specified by the client by adding a background image on the page.Also I have added 5 regions on the page,each one with a backgroung image each.These images are all png format and are supposed to be transaparent revealing the background image of the page.However,when I ran the page I noticed that these region images appeared on a white background and did not show the image below.
    Is there a way to modify the substitution variables such as #REGION_POSITION_02#,#REGION_POSITION_04#,#REGION_POSITION_05# ,etc. such that the images placed here appear transparent and reveal the back drop underneath?
    Would appreciate it very much if anybody could throw some light on the matter.
    Regards,
    Priya Jetley

    So this is the kind of thing?
    changed the html code in the body of that page template and specified and image as a background to the main html tablePlease post the HTML code (wrap in tags to format properly in the forum).
    in the source of the region specified the '<img src' tag
    This wouldn't give a background image, but place the image in the region content?
    Png format I believe has the ability to be transparent by default.Correct me if I am mistaken.
    PNGs can have full transparency set using binary transparency, or full or partial transparency set using an alpha channel. Do you know which has been used? Is transparency apparent when the images are viewed on their own?
    Again you are recommended to upload a simple example of what you have done to apex.oracle.com. This is the fastest and most reliable way to troubleshoot this type of issue.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Why won't logic read my guitar??

    I have input 1 set to instrument.  I've tried every combination of phase invert and phantom power (although i dont even know what those things are) and my guitar still won't read.  Fresh batteries, volume turned up.  I've tried all diff settings on m

  • About draging something with mouse

    when I press mouse and drag mouse ,I want to create a icon at the side of mouse cursor. When I drag the mouse cusor above a JTable or release mouse which cell or row would fire events. How to do it?

  • VPN server on Mac OS X client

    This may sound crazy, But is it possible to run the VPN server on a regular Mac OS X Tiger client? I'd like to run a lightweight server VPN at home to help access my home network from the outside world. But, I don't want to run the full blown OS X se

  • Scan not updating the "last reboot time"

    how frequently do you have your scans set to run?

  • Keep getting a message over and over that Adobe Flash Player has stopped working.

    Keep getting a message over and over that Adobe Flash Player has stopped working.   Uninstalled and then reinstalled. Did not help.