The use of AND and or in the Calc Script / business rule
I try to use the [newish] AND/OR the parameters in a calc script and can't seem to find the right combination for my task. My current code looks like this:Fix ("Version_1")
DIFFICULTY ("Outlook_3", "FY12")
CLEARBLOCK ALL;
ENDFIX
DIFFICULTY ('Plan', "FY13")
CLEARBLOCK ALL;
ENDFIX
ENDFIX
I'd like to be able to do the CLEARBLOCK in one pass, combining the two internal fixes in one alone.
Any thoughts?
Fix ("Version_1")
CLEARDATA 'Outlook_3'-> "FY12;
CLEARDATA 'Plan'-> 'FY13.
CLEARBLOCK VACUUM;
ENDFIX;
Tags: Business Intelligence
Similar Questions
-
Hello
If I run the calc script to aggregate a BSO cube, it blocks and release each block in a few seconds? Or is it keep held locked blocks even after aggregation for this block is over?
For example if I correct sparse dimensions Forecast, FY15, dec. and my accounts dimension is only dense, after calc has my senior level members in the accounts, it it will issue after updating (i.e. in fractions of seconds) or is agg keep it held in a lock?
I ask because I want to run scripts tot., but there is the update of our cube users. I never had a problem to start agg, while users are updating. But maybe I am lucky. If a user updates a closed block, they will receive an error message that I think. They may try to update again after a few seconds, I hope.
Thank you.
Locking behavior for BSO Essbase is described in the database administrator's Guide: http://docs.oracle.com/cd/E57185_01/epm.1112/essbase_db/dstinteg.html
It is certainly theoretically possible that a user can obtain a lock because of a calc, although I can't say I saw him be a problem in real-world applications (perhaps because access uncommitted is the default).
-
Update a UDA at a member of the main lines of the Calc script?
Happy new year everyone!
Is it possible to update a UDA at a member of the main lines of the Calc script? There is a custom for that function?
We want to check the data, and then update UDA based on what is our data.
Thank you.
Not that I know, and it is not possible to write one, since you probably can't restructure with the running calculation (chickens and eggs).
More likely, you will need to do a multi-step process; export the members that you want to set up a file via DATAEXPORT conditions or report designer, and then use this output to feed in an accumulation of dimension with an appropriate load rule.
Or write a Java API to fully customized program.
I'm also curious about the driving condition, as it is a rather unusual request.
-
How to change the values of business rule at run time?
Hello
I'm using Oracle 11g SOA. I did a BPEL process that uses Business Rule. Now the BPEL process is deployed with business rules so how to change the value of the business @runtime rule. I don't want to change the value @design time and deploy the code again.
Is there a console or the portal? as Oracle BAM has own url? What is the url of Business Rule Manager?
Thank youCan you check is the deployment of "composer" is in Active state.
In the weblogic administration console, navigate to Environment--> Servers--> SOA_SERVER1--> Deployments (tab) on the left side of the menu.
Thank you
Vijay -
The changes of business rules journal
Hi all
Are there any newspaper where we can see the following:
Creation of business rules
thanks in advance.
Changes to rules of
We are on 11.1.2 (and use the Manager of calc for the changes and the creation of business rules)
Concerning
ElegantYou can query the relational table of calc CALCMGRRULES Manager, the table has columns for the owner, date created, modified by, modified the date.
See you soon
John
http://John-Goodwin.blogspot.com/ -
Export of the metadata of Essbase via the Calc Scripts
Hi guys,.
Here's my problem,
We try to export essbase cube intersections in a flat file (so that it can be used by SUN)
)
We have developed a calc script to export an intersection to a flat file, but the flatfile is written only to the location of the essbase server.
But we need this flat file to immerse in an another server (SUN Server), so what would you suggest is the best way to do this on a regular basis (monthly) and huge amounts of data.
PS: Someone suggested me to use a windows batch file to move the flatfile, but I have no idea how to do that.
Any help would be really appreciated...
Thanks in advance
ArunMetadata? You mean, right? DATAEXPORT is only going to write the numbers, not of dimensionality.
I did deal with this issue, so - DATAEXPORT wrote only the box to Essbase. You can try pointing to mapped drives, but it has not worked for me.
Why not put together a script MaxL who runs the calc script (standard stuff so far) and then either the caller script in cmd OS either copy it to another location (if on Windows, see COPY) or use the MaxL shell command to launch a shell of the operating system and make the copy?
Another solution would be to set up a routine watcher file FTP'd the file off the drive, then did a deletion of the exported file. You may have to wait five minutes, but that shouldn't be a big problem in Informatica. In fact, I bet that informatica can do 99% of it.
Finally, another approach would be to write that all at a table and just picking up here.<--This is="" probably="" the="" easiest="" and="" if="" you="" think="" about="" it,="" what="" informatica="" was="" meant="" for;="" no="" more="" messy="" files="" to="" worry="" about="" and="" it's="" sql="" all="" the="" way.="" i="" would="" do="" a="" truncate="" after="" it="" read="" the="" table="" as="" dataexport="" has="" a="" habit="" of="" concatenating="">--This>
Kind regards
Cameron Lackpour
-
My db Essbase corrupt when I complete the calc script why?
Hi all
I had the problem with essbase db... It is corrupting data when I closing all running calc script.
So that whenever I m taking back for that...
Please let me know how to avoid this... and why it is corrupt?
Is something wrong with my Essbase?
Kind regards
KatiaIf by "corrupt" you mean that essbase breaks down and you can't restart the db so yes it's unusual and something is wrong with the environment. However, if you mean that the data is not the same as it was before you start the script, then no, there is nothing wrong. Essbase is not a restoration have this cancellation, the calc script processed until you killed it.
Dave
-
SmartView lets admins run the Admin of business rules version?
Jake wrote: having two versions of the same business rule. Accepting a guest of execution for the "user" of the business rule version. Another fixed on all the level zero for the 'admin' of the business rule version.
Two other very simple questions:
(1) Smartview allows users to run the version of the Admin of business rules? I don't want regular users to run the version of the Admin. (Of course, Add-in Essbase Excel me does not run business planning rules.)
(2) how can I write a script Maxl "Admin version of business rules? Every night, I need to run a calc for all level zero members of Windows Scheduler cost center.
Thanks in advanceHello
Just set the security on the business rule, don't give admin access to the business rule.
You can also use the command line launcher to run batch scripts business rules, have a read of the business rules CmdLnLauncher.exe for more information.
See you soon
John
http://John-Goodwin.blogspot.com/ -
The use of variables in the Calc scripts and business rules
I'm sure that there have been previous discussions on this topic, but can anyone let me know the benefits of using variables in scripts of Calc and BRs?
Thank you
AI've never used variable Calc and after reading a guide to the study, which has talked about them, I didn't really understand the benefits.
^ ^ ^ I use variables all the time to make difficult abstract formulas. Here is an example.
/* Declare variables */ VAR varSalaryCosts ; VAR varProdOHLabXXXX ; VAR varXXXX ; A whole bunch of code here along with very limited FIX statement and then... "Salaried Labor" ( varSalaryCosts = "Salary Costs"->"No Department"->"No Category"->"Salaried" - "Wage Bonus"->"No Department"->"No Category"->"Salaried" - "YYYY Retention Bonus 40%"->"No Department"->"No Category"->"Salaried" - "YYYY 60% Ret Bonus Accrual"->"No Department"->"No Category"->"Salaried" ; varProdOHLabXXXX = "Number of Employees"->"ZZZZDepartments"->"Codes"->"Salaried" + "Number of Employees"->"Blah Departments"->"Codes"->"Salaried" + "Number of Employees"->"Humph Departments"->"Codes"->"Salaried" + "Number of Employees"->"TTTT"->"Codes"->"Salaried" ; "Salaried Labor" = varSalaryCosts * ("Number of Employees"->"Salaried" / varProdOHLabXXXX) ; )
The last formula is how the formula was described to me by the owner of the company. I find it much easier to read something like:
"Salaried Labor" = ("Salary Costs"->"No Department"->"No Category"->"Salaried" - "Wage Bonus"->"No Department"->"No Category"->"Salaried" - "YYYY Retention Bonus 40%"->"No Department"->"No Category"->"Salaried" - "YYYY 60% Ret Bonus Accrual"->"No Department"->"No Category"->"Salaried") * ("Number of Employees"->"Salaried" / ("Number of Employees"->"ZZZZDepartments"->"Codes"->"Salaried" + "Number of Employees"->"Blah Departments"->"Codes"->"Salaried" + "Number of Employees"->"Humph Departments"->"Codes"->"Salaried" + "Number of Employees"->"TTTT"->"Codes"->"Salaried")) ;
I used the TABLE in a calc script really-cool-but-alas-not-invented-by-me do better than planning made the conversion of currency currency conversion in planning. (How's that for a run-on sentence?) It is one of the six blog posts that I'm trying and I will end it soon, I hope. I am now thrash mode. It doesn't have its uses and I'll try to remember to update this thread when I'm done.
Kind regards
Cameron Lackpour
-
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:
----------------------------------
PRC COR_ALL v_SECSUBAREA C12.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.
-
Use of substitution in the calc script variables
Hi all
I create a calc script to recalculate my cube BSO for a given date, when I load the data in one night (for the previous day). I have a process that defines a variable substitution SELECT_DATE that load data rule uses to select the data in the source transactional system.
However when I try to use that in my calc script it seems to like it - by script seems reasonably simple can anyonce advise on where I'm wrong or another method?
Script:
ESS_LOCALE English_UnitedStates.Latin1@Binary
UPDATECALC OFF SET;
SET CALCPARALLEL 4;
FIX (@ALLANCESTORS (& SELECT_DATE))
DIM CALC ({comma seperated list of all dimensions in the cube});
ENDFIX
@ALLANCESTORS (& SELECT_DATE);
SET UPDATECALC
I get the error:
Error: 1200354 error analysis formula [statement of DIFFICULTY] (line 5): type [MEMBER] [number] ([]) in function [@ALLANCESTORS]
& SELECT_DATE contains 21/03/2011
If I replace it & with "21/03/2011' SELECT_DATE it checks OK.
Please let know us, using a CALC SET begins to take too long to run quietly all night.
Thank youIs it possible, that you can set the variable with quotes, for example "21/03/2011.
See you soon
John
http://John-Goodwin.blogspot.com/ -
The behavior of business rule when you deploy a new version
Hi Experts,
My client is using bpm11g, they asked when you deploy a new version of bpmn process with build-in the business rule, what will happen to the existing and update of the composer?
The old rule will be updated with the new version or will be preserved as it was? If the latter is true, when the new version will be effective?
Best regards
Hello
What has to happen, is it time that you changed a BR in the composer, that a redeployment of the composite does not replace the amended administrative rules.
You can / should export your composite of EM then you JDeveloper project reflecting changes in the BR in composer: using Oracle SOA composer with Oracle Business Rules - 11 g Release 1 (11.1.1.6.1).
Kind regards
Martian -
Input string in the text through business rule beam
Hello, I have a problem I can not enter a string in the text bar using the equation like membername = 'chain' or % membername % = @alias("January"); He entered nothing in the cell or replaces the existing value with #missing, on the other hand I can enter numbers here, but essbase interpreter number to a string. like 1 = AndyEssbase can store only numerical data and business rules are run on the essbase database.
See you soon
John
http://John-Goodwin.blogspot.com/ -
Error of the Hyperion select business rule planning task list
Hi all
I created an application of planning (11.1.2.3) with two planning types. I have lists of tasks for each of them.
The problem occurs when I assign to a task, a business rule and this business rule belongs to the second type of plan, the selection list appears empty and when I go back and select the type of plan fist again, empty the list of continuous selection.
Is there a bug in the planning (I guess)? Is there no work around for this problem?
Thanks in advance.
Kind regards
John
Hello
To-do lists are not specific to the Type of Plan.
You assign objects to tasks, and they can be from anywhere in the same application.
When you say the selection list what are you referring? A command prompt that you have in your rule? Or when you try to assign your rule to the task?
I've implemented on 11.1.2.3 without any problem.
Have you done that you have deployed your calc rule manager?
Thanks Anthony
-
Issue when executing the planning of business rules
Hello
I get the following error when trying to run a Planning Business Rules of EPMA production environment. The same rules of business work without any problem in UAT which is exactly in line with the production.
Getting the following message while starting business rules:
Error detected while trying to perform the work: naming rules
Newspaper:
[ACTIVE] ExecuteThread FATAL: '2' for queue: com.hyperion.planning.calcmgr.HspCalcMgr '(self-adjusting) weblogic.kernel.Default"- cannot run validateRule(). An error occurred when executing the specified calc script. See the log for more details.
-Cannot run validateRule(). An error occurred when executing the specified calc script. See the log for more details.
FATAL Thread-2352 calcmgr.launch - Server/Application/base of data: localhost Business Rule Name: user: M05 FP data planning. Exception: com.hyperion.planning.InvalidCalcException: an error occurred when executing the specified calc script. See the log for more details.
com.hyperion.planning.InvalidCalcException: an error occurred when executing the specified calc script. See the log for more details.
Please could someone tell if you're aware of something like this?
Thank you
JeanRemove essbase Server console of Regional service,
Add Server Essbase with IP address or host name and try again.
Maybe you are looking for
-
Is it possible a cross on the table cell?
-
my pc is old, computer new mobile, firefox is my preference... everything goes well on my pc... last week, I could open my page of Inbox hotmail (firefox) on my laptop but the page seems to be frozen, e and files will not open... I also have the yaho
-
K7C85-a: NVY 5540 does not print
I use a Mac and my ENVY 5540 does not print and has an exclamation mark on the icon on the dock. I unplugged the printer, the wi - fi connection and the computer nothing works. I had no problem with my old HP if someone else had problems with this
-
How to transfer videos into picture of the iMac to the flash player?
When I copy and paste videos on iMac photo to flash player they appear on the flash as photos instead of the video player.
-
On my tablet, how to set preferences to display pictures in numerical order?