CalcMgrCmdLineLauncher.cmd question

Hi all,
I am trying to automate to run a business rule with the CalcMgrCmdLineLauncher utility.  Thanks to John's blog entry (More to life than this...: ODI Series – Launching Calculation Manager rules) I was able to create a batch script, however I am getting this error message when I run the batch.
Loaded Version of Essbase RTC: 0xb1221
Launch Vars: {SCENARIO=Forecast, VERSION=Working, ENTITY=1_BOALT, YEAR=FY14}
FATAL - Failed to execute getRTPs().Unable to find Rule AggEntity.xml deployed i
n plan type CalPlan in the repository.
FATAL - Failed to execute getRule().Unable to find Rule AggEntity.xml deployed i
n plan type CalPlan in the repository.
I wonder if this is due to the RTPs are being hidden.  There are 4 variables (RTPs) in this business rule and they are all hidden with the below values:
- CurrentYear: &current year of view
- Version: &current stage
- Scenario: &current scenario
- Organization: &MyOrg
I also thought maybe my RTP file was wrong so I changed it, but got a similar error message:
Loaded Version of Essbase RTC: 0xb1221
Launch Vars: {SCENARIO=&current scenario, VERSION=&current stage, ENTITY=&MyOrg,
YEAR=&current year of view}
FATAL - Failed to execute getRTPs().Unable to find Rule AggEntity.xml deployed i
n plan type CalPlan in the repository.
FATAL - Failed to execute getRule().Unable to find Rule AggEntity.xml deployed i
n plan type CalPlan in the repository.
null
I don't know why it says unable to find Rule AggEntity.xml.  It is in the repository.  It is one of the most commonly used BRs in the system.
Does anybody know what I am doing wrong here?
Thanks,
Mehmet

I guess you don't need the "xml" extension in the business rule.  The script worked without it..

Similar Messages

  • CalcMgrCmdLineLauncher.cmd and ODI

    Hello!
    I am using EPM System 11.1.2.1.0 and ODI 11.1.1.
    I work with CalcMgrLineLauncher.cmd for launching business rules (created with Calculation Manager) from the command prompt.
    When I work with command prompt (for example, cmd D:\Oracle\Middleware\user_project\epmsystem1\Planning\planning1\CalcMgrCmdLineLauncher.cmd -f:passwordFile /A:planapp /U:admin /D:db /R:Alloc), I have sucessfully execution of business rule and my values are recalculating - i see that in hyperion planning data form.
    But my task is: launching business rules with ODI.
    I follow the instruction of John Goodwin blog (http://john-goodwin.blogspot.com/2009/07/odi-series-executing-hyperion-business.html with CmdLineLauncher.bat):
    I create procedure in ODI with command: cmd /d CalcMgrCmdLineLauncher.cmd -f:passwordFile /A:planapp /U:admin /D:db /R:Alloc.
    Then I execute this procedure (The Operator of ODI shows the successful execution of procedure), but rule does not work (not recalculate values).
    John and other hyperion's guru, What I need to change in CalcMgrLineLauncher.cmd file to make my result???
    The structure of CalcMgrLineLauncher.cmd:
    @echo off
    SET EPM_PLANNING_INSTANCE=D:\Oracle\Middleware\user_projects\epmsystem1/Planning/planning1
    call "%EPM_PLANNING_INSTANCE%\setHPenv.bat"
    "%JAVA_HOME%\bin\java" %HP_JAVA_OPTIONS% %JAVA_OPTIONS% com.hyperion.planning.calcmgr.cmdlnlauncher.HspCalcMgrCmdLineLauncher %* /COMMAND:CalcMgrCmdLineLauncher.cmd
    P.S. When I work with CmdLineLauncher.bat (f.e. c:\Oracle\Middleware\EPMSystem11R1\products\Essbase\eas\console\bin\CmdLnLauncher.bat -p:passwordFile -Sserver -Uadmin -rAlloc -f1.xml)
    I give the error: "2012-02-02 04:25:27,860 WARN main com.hyperion.hbr.cmdlnlauncher.CmdLineLauncher - Error logging in to Business Rules. The repository has not been configured or you are not authorized to use Business Rules."
    I would appreciate any help! Thanks!

    Big thanks, John! The great job! Very useful work!
    Interestingly, I got the correct result:
    OdiOSCommand "-OUT_FILE=D:\Odi11\Odi_demo\CalcManager\Alloc_out.txt" "-ERR_FILE=D:\Odi11\Odi_demo\CalcManager\Alloc_err.txt" "-FILE_APPEND=NO" "-WORKING_DIR=d:\Oracle\Middleware\user_projects\epmsystem1\Planning\planning1" "-SYNCHRONOUS=YES" "-COMMAND=d:\Oracle\Middleware\user_projects\epmsystem1\Planning\planning1\CalcMgrCmdLineLauncher.cmd -f:password.txt /A:nbkr /U:admin /D:bdr /R:Alloc"
    Without word *"-COMMAND..."* ODI procedure does not work.
    So, thank you again.
    P.S. I would like to expand this issue. Consider a situation:
    EPM System 11.1.2 is installed on Solaris on one server, ODI 11 is installed on another server Windows 2008 Server. Can I solve the same problem with two servers that are in the same network?
    Edited by: Zhura on Feb 8, 2012 4:35 PM

  • Trap CalcMgrCmdLineLauncher.cmd errors?

    Hello,
    I was wondering if there is a way to trap errors in rules launched by the CalcMgrCmdLineLauncher.cmd utility.  It seems to return stdout messages no matter how successful or unsuccessful the rule actually is.
    Thanks,
    -Ben

    Big thanks, John! The great job! Very useful work!
    Interestingly, I got the correct result:
    OdiOSCommand "-OUT_FILE=D:\Odi11\Odi_demo\CalcManager\Alloc_out.txt" "-ERR_FILE=D:\Odi11\Odi_demo\CalcManager\Alloc_err.txt" "-FILE_APPEND=NO" "-WORKING_DIR=d:\Oracle\Middleware\user_projects\epmsystem1\Planning\planning1" "-SYNCHRONOUS=YES" "-COMMAND=d:\Oracle\Middleware\user_projects\epmsystem1\Planning\planning1\CalcMgrCmdLineLauncher.cmd -f:password.txt /A:nbkr /U:admin /D:bdr /R:Alloc"
    Without word *"-COMMAND..."* ODI procedure does not work.
    So, thank you again.
    P.S. I would like to expand this issue. Consider a situation:
    EPM System 11.1.2 is installed on Solaris on one server, ODI 11 is installed on another server Windows 2008 Server. Can I solve the same problem with two servers that are in the same network?
    Edited by: Zhura on Feb 8, 2012 4:35 PM

  • How do you run CalcMgrCmdLineLauncher.cmd for a ruleset that runs rules in multiple databases?

    Hi all,
    Just having recently upgraded to 11.1.2.2, I'm just trying to update our batch files to automate the running of some business rulesets using CalcMgrCmdLineLauncher.cmd. I can get business rules working ok, and rulesets that only run rules within the same database working, but I can't seem to get the rulesets running where the rules are running against multiple databases.
    I know the syntax is CalcMgrCmdLineLauncher.cmd -f:%PWD% /A:%PlanAPP% /U:%RUNUSR% /D:%EssbCapexDB% /S:%BR%
    but for the /D: argument, putting one of the databases in there doesnt work.
    The batch runs, it even says its successful in the log but its too quick and looking at the job console it didnt run.
    I can run the ruleset manually no problems.
    Anyone know how to fix this?
    Thanks

    One stated to "search cmd, right click, and run as admininstrator" but where is this?
    In the search field in your Vista start menu, type cmd
    Next, right-click on the cmd that comes up and select "Run as administrator".

  • #no mpls ip propagate-ttl cmd question-?

    Hi:
    When this cmd. is enabled both on PE1 and PE2 across a MPLS core, why does the trace output show the egress PE2 router in the output?
    I have CE1->PE1->P->PE2->CE2.
    I am tracing to the lo0 of CE2 10.1.8.8
    PE1#conf t
    Enter configuration commands, one per line. End with CNTL/Z.
    PE1(config)#no mpls ip propagate-ttl
    PE1(config)#end
    PE2#conf t
    Enter configuration commands, one per line. End with CNTL/Z.
    PE2(config)#no mpls ip propagate-ttl
    PE2(config)#end
    CE1#tr ip 10.1.8.8
    Type escape sequence to abort.
    Tracing the route to 10.1.8.8
    1 10.1.17.1 28 msec 28 msec 28 msec
    2 10.1.58.5 168 msec 180 msec 168 msec
    3 10.1.58.8 112 msec * 112 msec
    CE1#
    As you can see, 10.1.58.5 is the PE2 intf. to CE2. I was hoping to see only 2 hops.
    Now the doc for this cmd does say that it sometimes shows the egress provider router.
    Is this based on IOS or router model?
    Or just another bug ;->
    Thx.

    Thanks Harold!!
    I was going by the example shown in the pdf for MPLS Technology Essentials where they only showed 2 hops, the 1st PE and then CE2 and thus....(they did state that sometimes the egress PE would also show up)....

  • CalcMgrCmdLineLauncher.cmd utility cannot successfully launch the business

    Hello,
    I have problem with CalcMgrCmdLineLauncher.sh utility (EPM 11.1.1.3, hp-ux11i) ,
    I'm getting error - main com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving user by identity
    Embedded HBR initialized.
    I wanted to launch br by utility CmdLnLauncher, but there is no it in EPM
    oracle$cd /u01/hyperion/products/Planning/bin/
    oracle$CalcMgrCmdLineLauncher.sh -f:pass.txt /A:MEBP_E10 /U:trnadmin /D:Exp_Sal /R:CalcInvestProgramSvod /F:Variables.xml
    [INFO] RegistryLogger - REGISTRY LOG INITIALIZED
    [INFO] RegistryLogger - REGISTRY LOG INITIALIZED
    /u01/hyperion/common/config/9.5.0.0/product/planning/9.5.0.0/planning_1.xml
    displayName = Planning
    componentTypes =
    priority = 50
    version = 9.5.0.0
    build = 1
    location = /u01/hyperion/products/Planning
    taskSequence =
    task =
    *******/u01/hyperion/common/config/9.5.0.0/registry.properties
    log4j:WARN No appenders could be found for logger (com.hyperion.css.common.CSSLogger).
    log4j:WARN Please initialize the log4j system properly.
    using Java property for Hyperion Home /u01/hyperion
    Setting Arbor path to: /u01/hyperion/common/EssbaseRTC/9.5.0.0
    Setting HBR Mode to: 2
    =2011-06-28 12:46:07,766 WARN main com.hyperion.hbr.security.HbrSecurityAPI - Error retrieving user by identity
    Embedded HBR initialized.
    Launch Vars: {version=Utoch RB 2011-2013, ExecDB=Essbase/hyptest.minplan.kz/MEBP_E10/Exp_Sal}
    null
    oracle$

    Dear Jasmine, thank you for answer, but there is no log file calcmgrserver in my HYPERION_HOME.
    There is empty file /hyperion/logs/Planning/calcmgrlaunch.log
    Edited by: user12188564 on 29.06.2011 5:09

  • CalcMgrCmdLineLauncher utility Error

    Hi All,
    I am facing issues while running a CalcMgr Rule via CalcMgrCmdLineLauncher.cmd.
    *Message 1200315, Level 4, Log [Thu Apr 18 14:12:37 2013] XXXXX/Error(1200315), Message Error parsing formula for [REGION DEFINITION] (line 0): invalid object type*
    - Failed to evaluate function D.Shared_Services for dimension YYYYY
    Where D.Shared_Services is a member under dimension YYYYY. This is a RTP called by /F option.
    Note: The same rule works fine is run from Planning app or from workspace.
    Can anyone tell me the issue and how to fix it?
    Kind Regards.

    Allright, I got it working.
    From the PLANNING SERVER I copied (keeping everything else intact) to the FDM server the following directories.
    D:\Oracle\Middleware\EPMSystem11R1\products\Planning
    D:\Oracle\Middleware\EPMSystem11R1\common\planning
    D:\Oracle\Middleware\EPMSystem11R1\common\calcmgr
    and everything fell in place.
    ciao
    Andrea Leandri
    I am still left with an unanswered question...how can i have this utility log properly its activity. At the moment my calcmgrlog is completely empty and nothing gets its content updated!! terrible.

  • CalcMgrCmdLineLauncher - Running multiple business rules v11.1.2.2.2

    Hi,
    I'm trying to automate the process of running multiple business rules.
    I have a batch script that execute the following code:
    CalcMgrCmdLineLauncher.cmd -f:%PasswordFile% /A:TopRight /U:hyp_admin /D:TopRight /R:TrnAgg /F:D:\Scripts\TopRight-BusinessRules\Budget.xml
    pause
    CalcMgrCmdLineLauncher.cmd -f:%PasswordFile% /A:TopRight /U:hyp_admin /D:TopRight /R:TrnAgg /F:D:\Scripts\TopRight-BusinessRules\Budget.xml
    It will execute the first line successfully, Ii.e. run 'TrnAgg' with the rtp file 'budget.xml'). However, the window closes before it pauses or attempts to execute the second line.
    Does anyone know how i can make it return from the first line, rather than closing the window, and then continue with the rest of the script?
    I know I can use a ruleset, however they take the default prompt values and i'd like to pass in different RTPs.
    Many Thanks,
    Jo.

    Try using a call or cmd /c before Calcmgrlauncher.cmd
    Regards
    Celvin
    http://www.orahyplabs.com

  • Loading Data into existing Data Targets from 2 DataSources

    Hello:
    I want to report on COPA data. I am currently reporting on one Operating concern E.g 1_CO_PA_0001. Now i want to report on the Operating concern E.g 1_CO_PA_0004. For this i created a new DataSource. Replicated it into BW.
    My question is can i link the newly created COPA datasource (1_CO_PA_0004) with the Data Targets (ODS or Cube) of the of 1_CO_PA_0001 and load data? Will get any errors? or is this a big blunder i am doing?
    Can any one explain?
    Regards
    Lalitha

    If you are using Calc manager rules then have a look at the CalcMgrCmdLineLauncher.cmd utility -http://docs.oracle.com/cd/E17236_01/epm.1112/hp_admin/ch06s09s05.html
    If it is EAS rules then you could use the CmdLnLauncher utility to automate running rules.
    or you could create calc scripts and automate using Maxl.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Regarding Sequence

    Hi,
    I have created a sequence with 3 business rules. How can I automate this sequence. I mean I want to call this sequence on a daily maintainance activity probably with a batch file. Any ideas??

    By creating three seperate files using CalcMgrCmdLineLauncher cmd to luanch the different BR. After you can automate the files to run in sequence.
    If you refer to following link:-
    http://download.oracle.com/docs/cd/E17236_01/epm.1112/hp_admin/frameset.htm?mg_secfilter.html
    Ohh missed by couple of minutes... John replied :)
    Edited by: vikasnaidu on Sep 22, 2011 10:08 AM

  • Printing with cmd-p question

    Hi, when I use cmd-p in Finder to print a document, it doesn't print using my last preset printing preferences (inc. double-sided).
    If I open the doc in Word and print, it's fine. But the cmd-p shortcut only prints the default settings, not my preset settings, which include double-sided printing. Can anyone tell me, please, how to make cmd-p work with my printing presets?
    Many thanks,
    David

    Hi, I'm trying to print with Word 2011. When I go to Finder and highlight a .doc, then press cmd-p, it opens up the file briefly and prints, but it prints using the default settings (single-sided), not my last used preset (double-sided) and I can't find a way of setting it to print from my last preset. If I open Word and print using the Print command on the File menu, I can choose my preset, but that takes longer.
    I appreciate your help, thanks.
    David

  • Remote Desktop - Cmd+D - save without closing question

    I'm trying to write a script that will allow me to quit an application (SketchBookExpress) without saving changes.  I'm having trouble with the syntax for the "Don't Save" (cmd+d).  The script runs but stops at the on screen Save/Canel/Don't Save dialog box. 
    What I have tried is the following:
    osascript -e 'tell application "SketchBookExpress" to activate';
    osascript -e 'tell application "SketchBookExpress" to quit';
    osascript -e 'tell application "System Events" to delay 0.5';
    osascript -e 'tell application "System Events" to keystroke "d" using {command down}';
    And I've tried:
    osascript -e 'tell application "SketchBookExpress" to quit';
    osascript -e 'tell application "System Events" to delay 0.5';
    osascript -e 'tell application "System Events" to key down command';
    osascript -e 'tell application "System Events" to keystroke "d"';
    And, I've also tried:
    osascript -e 'tell application "SketchBookExpress" to quit';
    osascript -e 'tell application "System Events" to delay 0.5';
    osascript -e 'tell application "System Events" to to keystroke "d" using {command}';
    I'm very new to Remote Desktop and AppleScript and would appreciate any help you can provide about how to close an app without saving it.
    Thanks.

    I think you need to turn this on its head.
    SketchBook Express is not scriptable, so you can't use the 'normal' method, which would be:
    tell application "SketchBook Express" to quit saving no
    The problem with your approach is that AppleScript is serial - each command is executed in turn, so it's waiting for the app to quit before executing the next command (unless you run all these commands in parallel, but that's a different issue.
    However, there's a simpler solution to your problem:
    killall SketchBookExpress
    This sends the Kill command to the app, quitting it, bypassing the whole 'Save changes?' process.
    This is a standard shell command, so you don't need AppleScript (or osascript) to run it. If you do want to wrap this in a larger script, just use 'do shell script':
    do shell script "killall SketchBookExpress"

  • Quick dock question---Using cmd-tab

    Hello,
    I am very used to using alt-tab to cycle through all the windows in XP. In XP it would cycle through all the open windows regardless if they were maximized, minimized, etc...
    In OS X if you minimize a window cmd-tab wont bring it out from the dock (it will bring the program forward on the top of the screen but the window will remain locked in the dock until you click on it). Is there a keyboard shortcut to bring a minimized window out from the dock?
    Thanks!

    Oh yeah, I didn't notice you had a Macbook which means the Fx buttons have special functions. So, you would have to use the sequence fncontrolF3 to focus on the dock.
    Note that you can change the settings for the Fx keys in System Preferences->Mouse & Keyboard to make such that they operate like a desktop model. When you do that, the modifier key (fn) is required to get to the special functions like volume, screen brightness, etc.
    The window behavior in Mac OS X is not like Windows. The maximize button does not make the window fill the screen such that it takes over the whole thing. You can manually size it full screen by dragging the bottom corner though. This window behavior is bothersome to Windows users, but you'll get used to it. I do recommend using Expose as opposed to trying to make the Dock work like the Taskbar.

  • Cmd-sced question with flow permanent

    View the following and tell me if all this does is clears the memory at the times specified in the command. This is a snippit from the Microsoft LCS load-balancing document I got my hands on.
    flow permanent port1 5060
    flow permanent port2 5061
    cmd-sched record MS_LCS5060-off 0 2 * * * "conf;no flow permanent port1;exit"
    cmd-sched record MS_LCS5060-on 2 2 * * * "conf;flow permanent port1 5060;exit"
    cmd-sched
    cmd-sched record MS_LCS5061-off 0 3 * * * "conf;no flow permanent port2;exit"
    cmd-sched record MS_LCS5061-on 2 3 * * * "conf;flow permanent port2 5061;exit"
    Any info would be appreciated.

    with these functions, each time the script is runned, all flow that are idled will be marked as so and eventually will be garbage collected.
    So, it does clean up the flow table.
    You can do a 'flow stat' to see the number of free flows. This number should not get to zero.
    You will not see this number increasing as soon as the script runs, but it should after that if the number of free flows was low.
    There are some discussions on flows and FCB on this forum that you can read if you are interested.
    Gilles.

  • Question about cmd.exe /k

    I can write the code below to start cmd.exe to stay and not end:
    Process p=Runtime.getRuntime().exec("cmd.exe /K ver"); // for example.
    InputStream in=p.getInputStream();
    InputStream err=p.getErrorStream();Now how do I send another command to this process p and capture its output?
    OutputStream o=p.getOutputStream();Can someone help? I just want to run one copy of cmd.exe.

    google for the many discussions about this.

Maybe you are looking for

  • Google-Suggest in Swing Desktop Application - Possible?

    Hi All, I am building my first Java Swing Application. Apologies in advance for any stupid questions I ask w.r.t. Java Swing concepts. I am building a Billing Desktop Application using Java Swing. My backend is a Microsoft Excel. My clarification are

  • Role of MI

    Hi, I would like to know why we do not use a message interface when we have a intermediate format(Canonicl format) between source and target message? Before that please explain the exact role of message interface in XI. Thanks, Vishal.

  • Can I reinstall Mountain Lion on the same Macbook Pro?

    Hey All- New OS X user, fresh from Windows. I have an OS X 10.8 install dvd that I made after downloading the operating system through the App Store.  On windows, it is necessary to activate a new OS installation each time you reformat the drive-- bu

  • How do you fix the sound problem due to software 10.6.8

    my speakers work when i turn on my computer they make the sound but when i try to listen to something on itunes it doesnt work.

  • Help with uninstalling InDesign CS2

    A month ago, I installed CS4 over CS2. Then, InDesign CS4 did not work because of the conflict with AMD chip in my computer. So, uisng the original CS2 disk, all programs were uninstalled EXCEPT FOR INDESIGN CS2. The reason is that I wanted to use In