Migration variable substitution

Hi all
We are migrating our 22 9.2 to 11.1.1.3 cubes. So having 200 + variable substritution, we need to migrate to 11.x. Y at - it a utility could migrate all substitution variables.

Thanks for your help.

Rahul-

Hello

If you can see the access environment 9.2 11 environment so that you can use them for EAS copy between servers essbase.
Otherwise, you can perhaps try SubVar Manager:-http://www.appliedolap.com/free-tools/subvar-manager
Or use maxl to wrap the subvars in a file, format it, and then load it into your new environment using Maxl.
Another aption might be an API.

See you soon

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

Tags: Business Intelligence

Similar Questions

  • You can use variable substitution in the Calc script.

    Hi guys,.

    I want to use variable substitution in the calculation script. I v_SECSUBAREA that my substitution variable and its value would be like C12.00 or C13.00 or C12.00, C13.00.

    But it gives me error mentioned below by checking the syntax of the calculation script.

    Error: parsing formula [statement of DIFFICULTY] (line 15) 1200315 error: invalid object type

    Calculation script:

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

    FIX (& v_CLEARYEAR, & v_CLEARMON)

    FIX (& v_SECSUBAREA)

    DIFFICULTY ('REPGBP', 'REPEUR', 'REPUSD', 'local', @DESCENDANTS ("DIVISION"), @LIST(&v_SECDNBENTITY), @DESCENDANTS ("SubAnalysis"),

    @DESCENDANTS ("RTNROW"), @DESCENDANTS ("RTNCOL"))

    CLEARDATA "RESUB."

    ENDFIX;

    ENDFIX;

    ENDFIX;

    Variable substitution:

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

    PRCCOR_ALLv_SECSUBAREAC12.00

    Calculation script does not have C12.00 as the value for the variable substitution. If I give FY15 then Script gives me a correct syntax.

    Please help me to get this resolved.

    Thank you

    Shruti

    Hello

    Assuming that you calculate in the PRC. Database COR_ALL.

    You may set the C12.00 value in quotes like "C12.00".

    Kind regards

    Philip Hulsebosch.

  • to BIND the variable SUBSTITUTION

    I have a code where I find dates START and end range for the past 3 years, the beginning Date must start on a Sunday and the end Date is at the end on Saturday using the weird system they have here:-)

    the end usable VARIABLE must be in YYYYMMDD format as number, because that's how they set up Date here... can anything about...

    So I thought to all the Dates, performing a combination of Variables of SUBSTITUTION AND LINKING, why I do like that it is because

    I received an error when I used just the variables SUBSTITUTION (maximum 240 characters used on the START DATE of the year2, in)

    switching to this, the error has disappeared), well that's what I thought he'll fix it.

    But now, when I try to use and VARIABLE in SQL, I get an error that it cannot use BIND variables, so try to pass values to a SUBSTITUTION

    afin_que this error disappears) - unless there is a better way?

    If there is a better way to stay maybe everything inside SUBSTITUTION and don't imply any LINK, maybe it would be better, if you guys know a way around the 240 character error...

    :-)

    My variables are:

    -find YEAR 1

    SET LY_END_DATE_NUM = "TO_NUMBER (TO_CHAR (NEXT_DAY ((SYSDATE-7), 'SATURDAY'), 'YYYYMMDD'));

    variable BIND_LY_END_DATE_N number;

    run: BIND_LY_END_DATE_N: = & LY_END_DATE_NUM;

    PRINT BIND_LY_END_DATE_N;

    SET LY_START_DATE = ' TO_DATE (: BIND_LY_END_DATE_N, 'yyyy-mm-dd')-363;

    SET LY_START_DATE_NUM = "TO_NUMBER (TO_CHAR (& LY_START_DATE, 'YYYYMMDD'));

    variable BIND_LY_START_DATE_N number;

    run: BIND_LY_START_DATE_N: = & LY_START_DATE_NUM;

    PRINT BIND_LY_START_DATE_N;

    -find YEAR 2

    SET YRS2_END_DATE = ' TO_DATE (: BIND_LY_START_DATE_N, 'yyyy-mm-dd')-1;

    SET YRS2_END_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS2_END_DATE, 'YYYYMMDD'));

    variable BIND_YRS2_END_DATE_N number;

    run: BIND_YRS2_END_DATE_N: = & YRS2_END_DATE_NUM;

    PRINT BIND_YRS2_END_DATE_N;

    SET YRS2_START_DATE = ' TO_DATE (: BIND_YRS2_END_DATE_N, 'yyyy-mm-dd')-363;

    SET YRS2_START_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS2_START_DATE, 'YYYYMMDD'));

    variable BIND_YRS2_START_DATE_N number;

    run: BIND_YRS2_START_DATE_N: = & YRS2_START_DATE_NUM;

    PRINT BIND_YRS2_START_DATE_N;

    -find YEAR 3

    SET YRS3_END_DATE = ' TO_DATE (: BIND_YRS2_START_DATE_N, 'yyyy-mm-dd')-1;

    SET YRS3_END_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS3_END_DATE, 'YYYYMMDD'));

    variable BIND_YRS3_END_DATE_N number;

    run: BIND_YRS3_END_DATE_N: = & YRS3_END_DATE_NUM;

    PRINT BIND_YRS3_END_DATE_N;

    SET YRS3_START_DATE = ' TO_DATE (: BIND_YRS3_END_DATE_N, 'yyyy-mm-dd')-363;

    SET YRS3_START_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS3_START_DATE, 'YYYYMMDD'));

    variable BIND_YRS3_START_DATE_N number;

    run: BIND_YRS3_START_DATE_N: = & YRS3_START_DATE_NUM;

    PRINT BIND_YRS3_START_DATE_N;

    Hello

    Kodiak_Seattle wrote:

    I have a code where I find dates START and end range for the past 3 years, the beginning Date must start on a Sunday and the end Date is at the end on Saturday using the weird system they have here:-)

    the end usable VARIABLE must be in YYYYMMDD format as number, because that's how they set up Date here... can anything about...

    So I thought to all the Dates, performing a combination of Variables of SUBSTITUTION AND LINKING, why I do like that it is because

    I received an error when I used just the variables SUBSTITUTION (maximum 240 characters used on the START DATE of the year2, in)

    switching to this, the error has disappeared), well that's what I thought he'll fix it.

    But now, when I try to use & VARIABLE in SQL, I get an error that it cannot use BIND variables, so try to pass values to a SUBSTITUTION

    afin_que this error disappears) - unless there is a better way?

    If there is a better way to stay maybe everything inside SUBSTITUTION and don't imply any LINK, maybe it would be better, if you guys know a way around the 240 character error...

    :-)

    My variables are:

    -find YEAR 1

    SET LY_END_DATE_NUM = "TO_NUMBER (TO_CHAR (NEXT_DAY ((SYSDATE-7), 'SATURDAY'), 'YYYYMMDD'));

    variable BIND_LY_END_DATE_N number;

    run: BIND_LY_END_DATE_N: = & LY_END_DATE_NUM;

    PRINT BIND_LY_END_DATE_N;

    SET LY_START_DATE = ' TO_DATE (: BIND_LY_END_DATE_N, 'yyyy-mm-dd')-363;

    SET LY_START_DATE_NUM = "TO_NUMBER (TO_CHAR (& LY_START_DATE, 'YYYYMMDD'));

    variable BIND_LY_START_DATE_N number;

    run: BIND_LY_START_DATE_N: = & LY_START_DATE_NUM;

    PRINT BIND_LY_START_DATE_N;

    -find YEAR 2

    SET YRS2_END_DATE = ' TO_DATE (: BIND_LY_START_DATE_N, 'yyyy-mm-dd')-1;

    SET YRS2_END_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS2_END_DATE, 'YYYYMMDD'));

    variable BIND_YRS2_END_DATE_N number;

    run: BIND_YRS2_END_DATE_N: = & YRS2_END_DATE_NUM;

    PRINT BIND_YRS2_END_DATE_N;

    SET YRS2_START_DATE = ' TO_DATE (: BIND_YRS2_END_DATE_N, 'yyyy-mm-dd')-363;

    SET YRS2_START_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS2_START_DATE, 'YYYYMMDD'));

    variable BIND_YRS2_START_DATE_N number;

    run: BIND_YRS2_START_DATE_N: = & YRS2_START_DATE_NUM;

    PRINT BIND_YRS2_START_DATE_N;

    -find YEAR 3

    SET YRS3_END_DATE = ' TO_DATE (: BIND_YRS2_START_DATE_N, 'yyyy-mm-dd')-1;

    SET YRS3_END_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS3_END_DATE, 'YYYYMMDD'));

    variable BIND_YRS3_END_DATE_N number;

    run: BIND_YRS3_END_DATE_N: = & YRS3_END_DATE_NUM;

    PRINT BIND_YRS3_END_DATE_N;

    SET YRS3_START_DATE = ' TO_DATE (: BIND_YRS3_END_DATE_N, 'yyyy-mm-dd')-363;

    SET YRS3_START_DATE_NUM = "TO_NUMBER (TO_CHAR (& YRS3_START_DATE, 'YYYYMMDD'));

    variable BIND_YRS3_START_DATE_N number;

    run: BIND_YRS3_START_DATE_N: = & YRS3_START_DATE_NUM;

    PRINT BIND_YRS3_START_DATE_N;

    Let me make sure I understand the problem.

    One year, in this problem, is exactly 364 days.

    You want the year that ended on the most recent Saturday (otherwise said, the year ending Saturday between 6 days ago and today) and two years ago.

    You want the first date in each of those years and the last date each year, in the format YYYYMMDD.

    Is this fair?

    Here's a way to define variables of substitution (with names like year_1_start):

    COLUMN y1_start new_value by year_1_start

    COLUMN y1_end new_value by year_1_end

    COLUMN y2_start new_value by year_2_start

    COLUMN y2_end new_value by year_2_end

    COLUMN y3_start new_value by year_3_start

    COLUMN y3_end new_value by year_3_end

    WITH got_y1e AS

    (

    SELECT NEXT_DAY (SYSDATE - 7 'SATURDAY') AS y1e

    OF the double

    )

    SELECT TO_CHAR (y1e + 1 - (364 * 3), 'YYYYMMDD') AS y3_start

    , TO_CHAR (y1e - (364 * 2), 'YYYYMMDD') AS y3_end

    , TO_CHAR (y1e + 1 - (364 * 2), 'YYYYMMDD') AS y2_start

    , TO_CHAR (y1e - 364, 'YYYYMMDD') AS y2_end

    , TO_CHAR (y1e + 1-364, 'YYYYMMDD') AS y1_start

    , TO_CHAR (y1e, 'YYYYMMDD') AS y1_end

    OF got_y1e

    ;

    If you prefer that bind variable, write an anonymous PL/SQL block and use the same logic to 6 variables.

  • Essbase "variable substitution DURATION string invalid".

    Hey guys,.

    I am facing some problems to use a runtime substitution variable string in a calc script.

    It's the maxL command: run the calculation tst_hbrd.tst_hbrd.consol with runtimesubvars 'v_ano = "FY15" ';

    And this is the script to calc

    ESS_LOCALE English_UnitedStates.Latin1@Binary

    SET AGGMISSG

    CLEARUPDATESTATUS OFF SET;

    CREATEBLOCKONEQ OFF SET;

    SET FRMLBOTTOMUP

    UPDATECALC OFF SET;

    SET RUNTIMESUBVARS

    {

    v_ano = "FY16" < RTSV_HINT > Selecione o ano calculated: < / RTSV_HINT >;

    };

    DIFFICULTY (/ * SUN: scenario * / "Current", / * SUN: years * / @member (v_ano), / * SUN: Version * / "BU Version_1")

    DIFFICULTY (@RELATIVE ('product', 0), @RELATIVE ('entity', 0))

    DIFFICULTY (@RELATIVE ('YearTotal', 0))

    @IDESCENDANTS ("Conta_1");

    @IDESCENDANTS ("Conta_2");

    @IDESCENDANTS ("Conta_3");

    ENDFIX

    DIFFICULTY (@IDESCENDANTS ("Conta_1"), @IDESCENDANTS ("Conta_2"), @IDESCENDANTS ("Conta_3"))

    @IDESCENDANTS ("YearTotal");

    ENDFIX

    ENDFIX

    DIFFICULTY (@IDESCENDANTS ("Conta_1"), @IDESCENDANTS ("Conta_2"), @IDESCENDANTS ("Conta_3"), @IDESCENDANTS ("YearTotal'))

    AGG ('entity', 'Product');

    ENDFIX

    ENDFIX

    Execution of maxL always displays the message: invalid DURATION variable substitution string.

    Where I'm wrong?

    Kind regards

    John

    run the calculation tst_hbrd.tst_hbrd.consol with runtimesubvars 'v_ano = "FY15" ';

    run "Myscript" calculation on . with runtimesubvars ' Currmonth = "Jan"; "

    According to the link: https://blogs.oracle.com/proactivesupportEPM/entry/epm_11_1_2_31

    Looks like the diff's;

    Edited.

    Kind regards

    Rahul S.

  • Variable substitution in case

    Hello

    I have a variable substitution named curMonth and I put it to "October".

    I want to use it in a case like

    If (& curMonth == "Jan")

    ACC = calc1;

    ElseIf (& curMonth == "February")

    VAC = Calc2;

    ...

    ElseIf (& curMonth == "October")

    ACC = calc10;

    ...

    ElseIf (& curMonth == "Dec")

    ACC = calc12;

    endif;

    When I try this the 1st condition is true then I calc1 as a result.

    I changed it to several fi... endif and I guess all conditions was real because I found the last calc (calc12) resulted in my account (acc).

    Any ideas?

    Thanks in advance

    There was another thread on the comparison of subvars for the names of the members recently:

    How to compare the name of substitution variable to static member names (no data)?

  • SQLPlus asking no variable substitution when the script is run

    Hello gurus,

    Line 9 pln.sql below, there is a variable substitution '& 1 '.
    The first time I ran the pln.sql of the query, it prompted me to a value of & 1.
    On all subsequent runs of pln.sql, it uses just the value of & 1. He didn't ask me for a value.
    According to http://www.orafaq.com/wiki/SQL * Plus_FAQ,.

    >
    "&" is used to create a temporary substitution variable that prompts you for a value whenever it is referenced.
    >

    So, what don't get me? The behavior of substitution of the variables change when the variable within a script?
    All the code is less; below the list, you can see "def 1" shows that the variable & 1 already has the string "Oracle" entrusted to him.
    I would like to be able to run this script and every time have to invite me for a value of & 1.

    Thank you very much
    Jason

    HR@XE> get C:\Users\J\Documents\SQL\ProOracleSQL\chapter05_scripts\pln.sql
      1  SELECT xplan.*
      2  FROM
      3     (
      4     select max(sql_id) keep
      5            (dense_rank last order by last_active_time) sql_id
      6          , max(child_number) keep
      7            (dense_rank last order by last_active_time) child_number
      8       from v$sql
      9      where upper(sql_text) like '%&1%'
     10        and upper(sql_text) not like '%FROM V$SQL WHERE UPPER(SQL_TEXT) LIKE %'
     11      ) sqlinfo,
     12*    table(DBMS_XPLAN.DISPLAY_CURSOR(sqlinfo.sql_id, sqlinfo.child_number, 'ALLSTATS LAST')) xplan
     13
    HR@XE> def 1
    DEFINE 1               = "Oracle" (CHAR)
    HR@XE> @C:\Users\J\Documents\SQL\ProOracleSQL\chapter05_scripts\pln.sql
    old   9:         where upper(sql_text) like '%&1%'
    new   9:         where upper(sql_text) like '%Oracle%'
    
    PLAN_TABLE_OUTPUT
    ------------------------------------------------------------------------------------------------------------------------
    SQL_ID  6k3tn5dr0k17v, child number 0
    -------------------------------------
    SELECT xplan.* FROM  (  select max(sql_id) keep         (dense_rank
    last order by last_active_time) sql_id       , max(child_number) keep
          (dense_rank last order by last_active_time) child_number    from
    v$sql   where upper(sql_text) like '%Oracle%'     and upper(sql_text)
    not like '%FROM V$SQL WHERE UPPER(SQL_TEXT) LIKE %'   ) sqlinfo,
    table(DBMS_XPLAN.DISPLAY_CURSOR(sqlinfo.sql_id, sqlinfo.child_number,
    'ALLSTATS LAST')) xplan
    
    Plan hash value: 2794990177
    
    ------------------------------------------------------------------------------------------------------------------
    | Id  | Operation                          | Name              | Starts | E-Rows | A-Rows |   A-Time   | Buffers |
    ------------------------------------------------------------------------------------------------------------------
    |   0 | SELECT STATEMENT                   |                   |      1 |        |     13 |00:00:00.05 |       4 |
    |   1 |  NESTED LOOPS                      |                   |      1 |   8168 |     13 |00:00:00.05 |       4 |
    |   2 |   VIEW                             |                   |      1 |      1 |      1 |00:00:00.01 |       0 |
    |   3 |    SORT AGGREGATE                  |                   |      1 |      1 |      1 |00:00:00.01 |       0 |
    |*  4 |     FIXED TABLE FULL               | X$KGLCURSOR_CHILD |      1 |      1 |      0 |00:00:00.01 |       0 |
    |   5 |   COLLECTION ITERATOR PICKLER FETCH| DISPLAY_CURSOR    |      1 |   8168 |     13 |00:00:00.04 |       4 |
    ------------------------------------------------------------------------------------------------------------------
    
    Predicate Information (identified by operation id):
    ---------------------------------------------------
    
       4 - filter((UPPER("KGLNAOBJ") LIKE '%Oracle%' AND UPPER("KGLNAOBJ") NOT LIKE '%FROM V$SQL WHERE
                  UPPER(SQL_TEXT) LIKE %' AND "INST_ID"=USERENV('INSTANCE')))
    
    
    29 rows selected.

    Providing a single variable value & substitution to a command prompt does not define it. That is why SQL * keep more you request a value whenever you reference the substitution variable. But as soon as you set it explicitly by using set command or help of & value persists and you ask no more.

    SY.

  • Dynamically change the variable substitution for the region title

    Is there a way to update the title of a region when you use variable substitution (for example. P1_TITLE_DATE)? I use a dynamic action to update the region-, but it does not update the title. Does anyone have a work around for this without submitting the entire page?

    Hello

    You can run code JavaScript change the title of your region.

    $("#MY_REGION div.rc-title").text("New Title")
    

    JQuery selector code depend on your model and its theme.

    Kind regards
    Jari

    -----
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • problem by setting the value of a variable substitution in a calc script

    Hi all.


    I'm trying to update the value of a variable substitution inside an IF statement, and I have a problem.

    Here is the code:


    * "Jan" (*) "
    IF (LoopCounter = 1) & varEntity = "100";
    ENDIF ;)

    the error that I get back from Regional service is:

    Error: 1200336 error analysis [Jan] (line 54) formula: [()] without [)]

    It's tricky. Without really analyzing the details of your example, two options that might be worth a visit:

    1. write a MaxL script for updating the subvar (s), and then run the calc, x 20. 40 lines of MaxL and 500 lines of code is 10 000. Obviously, this only works if the launch of the MaxL script is feasible, and you know that you aren't going to have multiple instances of the calc (or any what calc which depends on these subvars) running at the same time. But I guess you're OK with the last part, because even your original solution would have this problem
    2 hyperion Business Rules

    I know that CL knows a lot of HBR, if he is here today...

  • Variable substitution in dynamic Calc

    Hello

    We use Essbase 9.3.0 on Windows and see this behavior in our BSO cubes.

    When we use a substitution variable in a dynamic member of scenario with Calc (not store) setting, after the first recovery, if we change the value of the variable substitution, get it back later generates no results to date.

    I suspect that the value is cached in the Cache dynamic calculator and for some reason any does not follow the changes of the Substitution Variables that the value should be recalculated. Here's what I see in the Application log-

    [Mon Aug 09 10:31:51 2010] Local/App1/db1/user1/Info (1020055)
    Spreadsheet Extractor Elapsed Time: seconds [0.032]

    [Mon Aug 09 10:31:51 2010] Local/App1/db1/user1/Info (1020082)
    Big Block allocations - Dyn.Calc.Cache Extractor worksheet: [4] non-Dyn.Calc.Cache: [0]

    It says 4 blocks were used to Cache dynamic Calc and none from outside it. This means that the existing blocks have been read and not re-filled?

    If I make a change to the formula, in which I hard the value of the var under the code and perform the recovery, then the value is updated. Recovers later, after that the restoration of the formula always returns updated results.

    My question is, is this expected behavior? Or am I do some thing/read something wrong?

    Thank you

    Andy

    When a subst variable value is changed... to use the value in the formula or calc Member script, the application must be restarted.

    -Krish

  • By the way of characters to a variable substitution

    Greetings,

    I have problems passing numbers like characters in a variable substibution.

    For example, I want to move to 2 digits for the month and two digits for the year. And even if I set the variable as char4, it always tuncates 0.

    This is whatI'm doing...

    define LV_MMYY char (4)

    ACCEPT LV_MMYY char (4) invites "enter a 4 character month/year in the format MMYY: '"

    SELECT TO_CHAR(&LV_MMYY) TEST double;

    When I pass "0110" for January 2010, here are the resutls...

    old: dual SELECT & LV_MMYY TEST OF
    New: 0110 SELECT TEST double

    TEST
    ----------
    110

    1 selected line.

    Why he keep deleting the 0?

    Put quotes around your variable substitution. And you need not TO_CHAR:

    SQL> select '&1' from dual;
    Enter value for 1: 0110
    old   1: select '&1' from dual
    new   1: select '0110' from dual
    
    '011
    ----
    0110
    
  • How to get the variable substitution essbase in ODI

    Hi all
    I have a problem that I need to get the variable substitution of Essbase /EAS to work on a SQL in ODI.
    How can I do in ODI?
    Thank you all for...

    Thomas

    Hello

    If you read my blog:-http://john-goodwin.blogspot.com/2009/11/odi-series-planning-11113-enhancements.html
    In the post, there is a section on the recovery of the essbase substitution variables and their use in ODI.

    See you soon

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

  • Using the calculation script to write the value of the variable Substitution in a file

    Hello

    I am trying to use the calculation script to write the value of Substitution variable in a text file.
    I use the dataexport command. But it is not able to write values in the text file.

    Any help is appreciated.

    Thank you.

    MaxL would display variable. See: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/dispvarb.htm

    BTW, I mostly prefer Esscmd MaxL. I think that makes me a heretic, but I don't understand why I don't want to type more rather than less to get the same result.

    Running a calc:
    Esscmd - RUNCALC 2 calcname
    MaxL - run calculation Sample.Basic.calcname;

    To be fair, Esscmd requires a dbname appname SELECT before the RUNACALC, but it is always less striking.

    However, time is running, so I don't have too. And of course, MaxL now has many things that Esscmd doesn't like Esscmd is obsolete.

    I always use Esscmd to run scripts of calc I can actually watch the output in real time as opposed to MaxL that exports the console at the end of execution.

    Kind regards

    Cameron Lackpour

  • How to use variable Substitution Essbase in ODI

    Hello

    Can someone help me please how to use void var Essbase in ODI?
    I created an interface to load data from text to planning. In the mapping, to the Point of view, I gave the necessary dimensions which is "years". In Essbase, we set a variable called CurrYr which
    We want to use in the view. So, I added a line like this in the map

    'Work', 'Budget', 'CC1', '#sYearValue '. The sYearValue is used to extract the void var Essbase before loading the planning data. I have followed the blog for void var post below (John has been very kind in showing many examples of ODI, link below is one of them).

    [http://john-goodwin.blogspot.com/2009/11/odi-series-planning-11113-enhancements.html]

    Whenever I run the Interface, it fails with the error "ODI-17506: Variable has no value: XXXXX.sYearValue.

    Thanks in advance!

    PM

    This line should print the values in the agent log, see log

    System.out.println ("current year =" + sYearValue + "current period =" + sPerValue);

    See you soon

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

  • OSB - global variable substitution?

    I have a simple-looking requirement - I need to keep a single string between OSB service calls value. The value is retrieved from a message and is inserted in each message ahead of the service, as much as a simple cache. My question is, OSB Panel, lack of global variables, what are the options to keep this string value?

    (deployment of the entire cluster is no worry here, we think it's a problem to a single node)

    Re: Is there global variables in OSB?
    Re: OSB: what is recommended for reading configuration information

    OSB lack the notion of global variable. But the use case can be accomplished with little or no effort using constructs from OSB (legend of Java, implementation of this logic of service separate etc.)

    Maury

  • Need to (variable substitution) very simple dynamic SQL syntax

    I have a radio button component called P34_RADIO with two buttons (for the sake of discussion). The first button returns the string LONG_REPORT. The second button returns the string SHORT_REPORT. LONG_REPORT and SHORT_REPORT are the names of two tables in my database schema.

    When you build a standard report (non-interactive), I care about her source of little code that essentially says: select * from & P34_RADIO. When the user selects the button of LONG_REPORT radio, the report would go select * from long_report. When the user selects the button of SHORT_REPORT radio, the report would go select * from short_report.

    I tried select * from
    & P34_RADIO
    & & P34_RADIO
    : P34_RADIO
    #P34_RADIO #.
    & P34_RADIO.

    No matter what I tried, the result is the same:

    Query cannot be parsed in the generator. If you believe that your query is syntactically correct, check the generic "columns" box below the source of the region without analysis. ORA-00903: invalid table name

    I boiled the situation down to its basic components in this post. The real problem is quite a bit bigger than that and it's not as common I did look. But I can solve the larger problem, if I can learn how to accomplish this override of table name.

    Apex 4.1.0.00.32 (apex.oracle.com) running.

    Thank you!

    Hi Marc,

    Try to give below the pl/sql code in the classic rpt
    return ' select * from '. v ('P34_RADIO');

    Concerning
    Jean Claude

Maybe you are looking for