Passing current LOG_LEVEL to a subscenario

You can start a scenario launching the command
startcmd.sh OdiStartScen "-SCEN_NAME=MyTopLevelPackage" "-SCEN_VERSION=-1" "-LOG_LEVEL=0"
but, if MyTopLevelPackage, in turn, is launching a innerPackageScenario it starts, by default, using log level 5.
Of course I can set, from ODI interface, a fixed value on starting it, but it would be better if it coul get the parent LOG_LOVEL set at run time (dynamic setting versus the static one).
I have tryed to start the inner scenario with:
OdiStartScen "-SCEN_NAME=innerPackageScenario" "-SCEN_VERSION=-1" "-LOG_LEVEL=#LOG_LEVEL"
but it doesn't work.
Is there any way to get the input value passed at execution time via "-LOG_LEVEL" option to the parent ?
(Of course it can be read on the WORK Repository accessing to the Session tables, but I'd like to find something more "high level", if possible).
Thanks in advance

Sorry, the problem is a little different as I described before.
Actually it seems that everything is working fine except when you try to pass a LOG_LEVEL=0 to a subscenario execution.
Suppose to have: package A including 2 steps S1 and S2 as subscenarioes.
Scenario S1 is launched as:
OdiStartScen "-SCEN_NAME=S1" "-SCEN_VERSION=001" "-LOG_LEVEL=1"
Scenario S2 is launched as:
OdiStartScen "-SCEN_NAME=S2" "-SCEN_VERSION=001" "-LOG_LEVEL=#GLOBAL.DHVG_LOG_LEVEL"
where GLOBAL.DHVG_LOG_LEVEL contains the LOG_LEVEL of the parent (Scenario from package A, say it SA).
These are the results of different excecutions of SA with ODI Client:
SA=LOG_LEVEL=3
S1=LOG_LEVEL=1
S2=LOG_LEVEL=3
SA=LOG_LEVEL=0
S1=LOG_LEVEL=1
starting of S2 FAILS with error
com.sunopsis.core.SnpsInexistantObjectException: SnpSession.getObjectByIdent : SnpSession does not exist
     at com.sunopsis.dwg.dbobj.generated.GeneratedSnpSession.getObjectByIdent(GeneratedSnpSession.java:947)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.checkAndProcessChildSessFailure(SnpSessTaskSql.java:3231)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execIntegratedFunction(SnpSessTaskSql.java:1425)
Changing to a static value, like this, gets the same error:
Scenario S1 is launched as:
OdiStartScen "-SCEN_NAME=S1" "-SCEN_VERSION=001" "-LOG_LEVEL=1"
Scenario S2 is launched as:
OdiStartScen "-SCEN_NAME=S2" "-SCEN_VERSION=001" "-LOG_LEVEL=0"
It seems a bug of ODI 11.1.1.3

Similar Messages

  • In JDBC Sender Adapter , the server is Microsoft SQL .I need to pass current date as the input column while Executing stored procedure, which will get me 10 Output Columns. Kindly suggest me the SQL Query String

    In JDBC Sender Adapter , the server is Microsoft SQL .I need to pass current date as the input column while Executing stored procedure, which will get me 10 Output Columns. Kindly suggest me the SQL Query String , for executing the Stored Procedure with Current date as the input .

    Hi Srinath,
    The below blog might be useful
    http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/03/06/executing-stored-procedure-from-sender-adapter-in-sap-pi-71
    PI/XI: Sender JDBC adapter for Oracle stored procedures in 5 days
    regards,
    Harish

  • 2.1 EA2: is it possible to pass current line number to external tool

    When I define external tools (in Tools / External Tools...) I can pass current file name and directory to my external program.
    Is it also possible to pass current line number (where is my cursor in open file) to external program as a parameter?
    If not then it would be a feature request from me :)
    And also - is it possible to develop SQL Developer extensions for syntax color coding of other file types (meaning other than PL/SQL files)?

    raymonds,
    For line numbers, we cannot do it at the moment as it is not exposed in that API, however, you can request it on http://sqldeveloper.oracle.com at the feature request station
    For color coding for another language, you can develop a hilighting plugin, but we do not have an easy way of associating the plugin with an editor for a specific file type. Again this would be a feature request.
    Remember, all these get evaluated each month and assigned into Enhancements for the tool. If enough folks vote for the feature, it is highly likely it will appear.
    Barry

  • Pass current url as report prarameter while using report viewer web part

    hello everybody
    is there a way to
    pass current url as report prarameter while using report viewer web part
    thanks in advance
    Sergey Vdovin

    Hi Evolex,
    Per my understanding that you want to get the current url and create an parameter to add this URL as its value, right?
    gernerally, we can use some code to get the current url but it almost impossible for us to get it automatically as value of the report parameter.
    In your senario, i suggest you to copy the url and specify values when creating parameters.
    Thanks for your understanding.
    Regards
    Vicky Liu
    If you have any feedback on our support, please click
    here.
    Vicky Liu
    TechNet Community Support

  • Passing current row values as parameter issues.

    JDeveloper - 11.1.1.6
    JHeadstart - 11.1.1.4.26
    Weblogic - 10.3.5
    I am having trouble passing parameters from a table to a popup.
    I have a master group that contains a detail group, within this detail group I have created a group region. This region is meant to show remarks for the current details table record.
    In the details group (table layout) I have specified as the region "depends on" item a textInput field so that when I click the context area I get the popup.
    The remarks group (in the popup) has a composite key comprised of three attributes that exist in the detail table. What I need to do is pass these values as parameters to the remarks group.
    Here is what I have done so far:
    1. Created parameters on the top level remarks group - names match parameters set in region
    2. Created a "query bind parameters" string with the necessary VO bind variables.
    3. In the detail group where the region exists I have created the parameters that I am trying to pass TO the remarks group.
    My problem is that the parameter values that I am trying to pass to the region/remarks group are not being filled correctly. For parameter values I have tried:
    #{row.bindings.attributeName.inputValue}
    #{bindings.DetailGroupNameAttributeName.inputValue}
    #{bindings.DetailGroupNameTableAttributeName.inputValue}
    Many, many others
    These attributes exist and are editable in the table.
    All I want to do is pass these three values from the detail table (per row) to the remarks group. What am I missing? What EL expression will give me the per row values I need? I know there is a lot of material out there on this, but I seem to have tried them all, I don't know where I've gone wrong.
    Thanks...

    I think I have figured this out...
    I am a bit embarrassed but it turns out that the bindings for the variables I was trying to pass were not being generated. I forced it and now things seem work as expected.
    Is there some sort of bug in JHS that would cause the bindings not to be generated? I don't understand because the fields are all visible and update-able in my table. Why would some bindings be created, but not these?
    I'd like to understand what where I went wrong.
    Thanks!

  • How to pass current month as the default value in the prompt

    Hi,
    Could you please tell me how to pass the current month as the default value in the prompt.
    I have a report where month is a prompt. By Default it should ahve current month as the default value along with other months.
    Please let me know the syntax for the same.
    Thanks in advance!!
    Regards
    Sindhu

    Hi,
    what datasource do you have? Is it SAP BW or something else?

  • How to pass current user credential for PAPI service execution

    Hi All,
    As per my requirement I am using the SAP ME PAPI WS to start the SFC. I have used the SAPME PAPI Interface action block in ME within BLS and searched the service and operation also. Required input parameter mapping is also done and I have successfully executed the BLS and SFC is started in ME. In SAPME PAPI Interface action block I have used Credential alias which is standard configuration in MEINT for user MESYS.
    Now what I have seen is that, in ME the SFC is started by user MESYS. But I want to pass the user who is currently executing. Is there any way to pass the current user credential or session for executing the PAPI service. My final target is to use the BLS in IRPT through Xacute query.
    Thanks in Advance
    Chandan

    Hi Sergiy,
    It is only required for Sfc Start operation. It is a generic requirement for all PAPI WS. User ref is not available for all services. I have taken sfc Start operation as an example. But for  complete SFC operation there is no user ref. in Request structure. Then what would be our generic way to execute it through current user credential.
    Thanks
    Chandan

  • Pass current sequence as argument in Customize Tool Menu

    Is it possible to pass the full path and filename as an argument under the Customize Tool Menu?
    Basically, I have an external tool that works on a sequence file and I'd like to call it from the Tools menu.  It's a Command type but I don't know what to put in the arguments.  I found a post where someone said use "%FILE%", but that did not work. 
    Also, if there are other keywords available, where is that list?
    Thanks. 
    Solved!
    Go to Solution.

    Hi Richard,
    It seems there isn't a way to do this using the Command type.  The problem is that you can't use an expression to specify the arguments for the executable and you need to use an expression to get the current sequence file's path.
    However,  you can wrap your executable in a sequence file that has only one step; calling your executable.  If you place a Call Executable Step in your sequence, you can specify the argument as the current file path by using the expression RunState.InitialSelection.SelectedFile.Path.
    Then add a new item to the Tools menu and select your wrapper sequence.
    Cheers, 

  • Pass current row data from table and pass it to a method in AM

    Hi All,
    I have a table with row selection enabled. Also for each row I have a select image which on selection should pass the data from one of the columns of the current row selected to a method in AM.
    Can anybody let me know on "How on selection of the image in any row, can I pass the column data to the method in AM?".
    Thanks,
    Vijay

    Hi,
    the most easiest and straight forward approach is
    - Ckick the "Binding" tab at the bottom of the Visual Editor
    - In the Bindings section click teh green plus icon and choose Generic Bindings | Attribute Value
    - point the iterator selection to the iterator used by the table
    - choose the column's attribute name from the list of attributes
    - Create a method on the ApplicatioNModule IMPL class (should take single argument)
    - expose it as a client interfaces so it shows in the Data Controls panel
    - In the "Binding" tab, create a method binding for this exposed method
    - point the method binding argument to #{bindings.column-attribute-name.inptValue}
    So whenever you need to pass the value on to the AM, you just call the method binding
    OperationBinding oper = (OperationBinding) bindings.get("name of method");
    oper.execute();
    Frank

  • My macbbok air is passing current when i use it while charging

    hi !!!!!
    i recently bought a new macbook air from hongkong....
    somehow for the past 2 days i can feel a slight tingle on both the sides of the scroll pad...when i am using my mac while charging....
    Any idea why its happening????
    at times i have also felt a current pass through around the edges...
    All of this does'nt happpen when it is not being charged....
    any suggestions anyone....
    Thanks

    The exact same thing is happening to me...RIGHT NOW!
    I don't what it is, but I hope Apple will respond to your post...
    weird.
    Karly

  • Pass current Date to variable thru Command Wizard

    Hi ,
    I have an date input variable for a query. I would like to pass the current date to this variable using the Command Wizard when the Web template is executed. Can someone please help me
    Thanks

    Hi,
    0DAT will not solve my problem.
    I have a 2 query variables ZDATE and  ZVARMTD. ZVARMTD is a user exit variable and will be populated based on the value in ZDATE(input).
    Initially I want to default ZDATE with current date -1. I have the user exit coded to set this variable to (sys date -1). I thought of using the offset. But it shows only single values, I don’t see variables.
    If the user then enters another value, the user exit will set the MTD based on the date entered.
    In the Query , I have this variable ZDATE in the restriction of a key figure 0AMOUNT and ZVARMTD for 0CALDAY in the Filter..
    (If i have ZDATE) in the filter, it only shows the values for the entered date.. Actually we want the report for Month to Date.
    When i debug , i dont see this variable(ZDATE) in i_vnam and it is never going to my code. I only see those variable(ZVARMTD) i have in the 'filter' tab
    So ithought I can populate using the Java Script while executing the Web ...
    Any help ..

  • How to pass Current System time in the target field?

    Hi Experts
    kindly help me in mapping a field in which I have to map current system time.
    I think there is no standard function for time like the date so do i write a UDF for the same or any other way an in case a UDF than please help in that.
    Thanks
    Aprajita

    Hi Mathur,
    kindly help me in mapping a field in which I have to map current system time.
    I think there is no standard function for time like the date so do i write a UDF for the same or any other way an in case a UDF than please help in that.
    Mathur no need to write UDF for that..
    Use standard function Current date-------> In that (Target Format) u have to specify the time i.e: HHmmss
    Thats it..... Noe use this function as u like...
    Satya Kumar

  • Is it possible to pass current DataContext as ContructorParameter of ObjectDataProvider?

    It would be very useful to pass DataContext as parameter for DataTemplate:
    <DataTemplate>
    <DataTemplate.Resources>
    <ObjectDataProvider x:Key="ServiceDataProvider" ObjectType="{x:Type control:ServiceLayout}">
    <ObjectDataProvider.ConstructorParameters>
    /*here could be DataContext..but how?*/
    </ObjectDataProvider.ConstructorParameters>
    </ObjectDataProvider>
    </DataTemplate.Resources>
    <ContentPresenter
    Content="{Binding
    Source={StaticResource ServiceDataProvider}}" />
    </DataTemplate>
    I will use this DataTemplate in ListBox ItemTemplate. So, DataContext will be ListBoxItem bound object (type is known), and it is not very well to use ViewModel added as static resource as in https://social.msdn.microsoft.com/forums/vstudio/en-US/38a80213-9e72-44fc-8338-1a8bcfcf9c9f/objectdataprovider-binds-to-datacontext
    May be there are any other ways to pass parameter to constructor from DataTemplate?

    I am afraid that it is not possible to bind anything directly to the ConstructorParameters collections since it is just an IList property and not a dependency property.
    What you could to is to use a BindingProxy class that extends the Freezable class and captures the DataContext as described here:
    http://www.thomaslevesque.com/2011/03/21/wpf-how-to-bind-to-data-when-the-datacontext-is-not-inherited/
    You can then bind the DataContext of the ListBoxItem to the Data property of a BindingProxy object and use a custom StaticResourceExtension class as described in the following TechNet article to pass the DataContext to the constructor:
    http://social.technet.microsoft.com/wiki/contents/articles/23503.trick-to-use-staticresource-with-path.aspx
    Here is a complete example:
    public class ServiceLayout
    public ServiceLayout(object dataContext) {
    public class BindingProxy : Freezable
    protected override Freezable CreateInstanceCore() {
    return new BindingProxy();
    public object Data {
    get {
    return (object)GetValue(DataProperty);
    set {
    SetValue(DataProperty, value);
    public static readonly DependencyProperty DataProperty =
    DependencyProperty.Register("Data", typeof(object), typeof(BindingProxy), new UIPropertyMetadata(null));
    public class StaticResourcePath : StaticResourceExtension
    public PropertyPath Path {
    get;
    set;
    public override object ProvideValue(IServiceProvider serviceProvider) {
    object o = base.ProvideValue(serviceProvider);
    return (Path == null ? o : PathEvaluator.Evaluate(o, Path));
    class PathEvaluator : DependencyObject
    private static readonly DependencyProperty DummyProperty =
    DependencyProperty.Register("Dummy", typeof(object),
    typeof(PathEvaluator), new UIPropertyMetadata(null));
    public static object Evaluate(object source, PropertyPath path) {
    PathEvaluator d = new PathEvaluator();
    BindingOperations.SetBinding(d, DummyProperty, new Binding(path.Path)
    Source = source
    var result = d.GetValue(DummyProperty);
    BindingOperations.ClearBinding(d, DummyProperty);
    return result;
    <ListBox>
    <ListBox.ItemTemplate>
    <DataTemplate>
    <DockPanel>
    <DockPanel.Resources>
    <local:BindingProxy x:Key="proxy" Data="{Binding}" />
    <ObjectDataProvider x:Key="ServiceDataProvider" ObjectType="{x:Type control:ServiceLayout}">
    <ObjectDataProvider.ConstructorParameters>
    <local:StaticResourcePath ResourceKey="proxy" Path="Data"/>
    </ObjectDataProvider.ConstructorParameters>
    </ObjectDataProvider>
    </DockPanel.Resources>
    <ContentPresenter Content="{Binding Source={StaticResource ServiceDataProvider}}" />
    </DockPanel>
    </DataTemplate>
    </ListBox.ItemTemplate>
    Note that you have to move the resources to the root element of the DataTemplate, a DockPanel in the above example, for this to work, i.e. you cannot add the resources to <DataTemplate.Resources> but that should make no difference.
    Hope that helps.
    Please remember to mark helpful posts as answer to close your threads and then start a new one if you have a new question.

  • ACCESS CURRENT DATE in IP - FOX formula

    Dear Experts,
                    I need to pass current date as the parameter in the ATRT function but I do not have access to any infoobject of type date. If I try to access the value of a variable defined by SAP like 0dat I couldn't save the formula. Please help.
    DATA ZPM_TODAY TYPE  D.
    ZPM_TODAY  = VARV( 0DAT ).
    The CHECK function results ok but SAVE fails and there is dump in st22 on CX_RSR_COB_PRO_NOT_FOUND . Please suggest.

    I defined a function module in ABAP to return the current date when invoked then. You may try "varv" and define a variable with replacement path pointing to any pre-defined variable that gives you the current-date. Hope it helps
    Suresh Reddy

  • Hello i have little problem with pass values to pop up

    I want to pass values when user click on current row then show right click context menu to pop up.
    i need help following code. Because it doesn't pass current row values , it passes all values in database. i thought filter doesn't  work .
    First i added Bind Variables named VarEnqID and Criteria named GetbyIDCriteria on my view object .
    Second i created view object classes and object interfaces and view object classes method's code :
        public void setSearch1C(String input)
            ViewCriteria vc = getViewCriteria("GetByIDCriteria");
            vc.resetCriteria();
            setVarEnqID(input);
            //setVarEnqId2(input);
            applyViewCriteria(vc);
            executeQuery();
    Third i drag setSearch1C from data control to right click context menu and add attribute named Id to bindings then choose id into value.

    How is the context menu and the pop-up wired up?
    Have you set the pop-up to lazyUncached?
    Which value from the current row do you want to pass to the method?
    Which Jdev version do you use?
    Timo

Maybe you are looking for

  • How to track the User who has changed the System Profile Options

    HI , The system profile options are changed by one User (Ex: XX123). Here, the user XX123, he is not having any sys admin responsibilities . He is having only I-proc responsibility attached . Is there any chance to update the system profile options ,

  • Sidebars on macbook pro when on TV with thunderbolt

    I have a Thunderbolt to HDMI cable going to my high def TV. I get bars on the sides of the TV and I change the resolution to 1080p and other resolutions and can't seem to get a good fit. Also the audio is not working unless I run surround sound direc

  • I am unable to update payment information

    My debit card was compromised (unrelated, as far as I can tell) so I received a new card with different numbers. I can't update the card to the correct information, every time I do it gives me the same error message that when I had an issue with a pr

  • Off set value

    Hi experts,                   we create the query name delivery performance. selection criteria is calyera month and vendor etc. based on the selection we need to get the following result. ex: in the selection screen if u enter the 01.2007 then repor

  • Satellite 5205-S703 (Windows XP Pro SP2) and TOSHIBA Common Modules

    I have a notebook: Toshiba Satellite 5205-S703. After installing Windows XP Pro Service Pack 2 i can't install TOSHIBA Common Modules (file: s140acpx.exe). During installing this programm gives the message: "The installation is failure. Please make s