Dynamically setting CURCAT (No Conversion) in rules file
Anyone know how to set the currency category to 'no conversion' when building dynamically. It seems to only accept a named category.Cheers.
I remember trying this at a client's once and not being able to find a solution.Would be real interested if there is one.
Similar Messages
-
How to set the field size in rule file.
i have to map total 30 fields in a rule file while by default it allows only 20 fields. so how can we set the fields as per our need?
Hi Dharmendra Ojha,
Essbase rule file does not constrain you with only 20 fileds.
When you click on 'create a rule file', by default it ll show you 20 fileds .But , when you open a data file ( in your case , you data file has 30 columns i.e 30 fields) in the data prep editor , you ll see all 30 fileds .
So ,you have to do nothing to increase the filed count , rule file will automatically show all fields .
Revert back for further clarity
Sandeep Reddy Enti
HCC
http://analytiks.blogspot.com -
How to dynamically set the name of the generated PDF file sent by email
Hello,
I am using Reports 10g and I managed to send PDF reports by email, specifying the recipient, subject, format etc, using the reports servlet URL.
But there is one thing that I cannot find a way to do: I want to dynamically set the name of the attached file. It defaults to the name of the RDF file (eg monthly_sales.pdf). I would like it to be something more meaningful (eg monthly_sales_072010.pdf, where 072010 is the month and year passed by parameters).
Is it possible to do it?
Thanks
LuisUse System.load(...) instead of System.loadLibrary(...).
-
XSL-FO Report Query / Named Layout - Dynamically set the output filename
Does anyone know if it is possible to dynamically set the name of the PDF file which is created via FOP?
Thanks
PaulJohn
Thanks for the quick reply, apologies, I should have been more explicit.
I am calling apache FOP via a report query and a named column layout using xsl-fo to format the PDF report.
The call is done via a javascript function which determines which report to print and then submits the approproate REQUEST. The request is picked up by conditional branches and calls the PRINT_REPORT
The PRINT_REPORT names the PDF file as same as the report query name.
BTW the long term goal is to store the resultant output as a blob back in the database but I can put that off to phase II of the project as I'm not sure that this is possible. Would be nice though!
Thanks
Paul -
How do you dynamically set the flat file name
Within my process flow I call a mapping. Within this mapping I have a flat file operator (which creates and writes to a .csv file). All working great.
From this process flow I want to be able to pass a parameter to the mapping (which I can do), and use the value of this parameter as the file name of the .csv file. But I can’t seem to be able to dynamically set the ‘Default physical file name’ to this parameter value within the mapping.
Does anyone have any ideas?
Thanks
AnselHi Ansel
Check out the blog entry here;
http://blogs.oracle.com/warehousebuilder/newsItems/viewFullItem$154
You can use an expression.
Cheers
David -
Dynamically Setting a Variable from a Connection String that has been set by a Config File
Hi Guys
I'm setting up a Master / Slave (Parent / Child) dtsx environment but I'm unable to work out how to dynamically set a variable in the Master dtsx from a connection string that has had its value set by a config file. I'm sure it's possible.
Below is the what I'm hoping to achieve. I've set up everything apart from the highlighted section.
Any ideas?First, what version of SQL Server are you using?
You could switch the problem around. You could set the value of a variable from the config file, then it is easy to use that variable as the connection string source for your connection manager. At the same time you can use a parent variable
configuration to map that variable to variables in your child package.
Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com -
Data Load Rule file -Date conversion
Hi,While working on a Dataload rule file,I was facing this problem.I'm getting date in the format "m(m)/d(d)/yyyy hh:mm:ss". Is there a way to change this to "mm/yy" ??(There won't be anyproblem if I get mm/dd/yyyy hh:mm:ss style. but unfortunately not.)
Can you run the file through a "conversion process" prior to loading?We do similiar thing here. We get a feed from Hyperion Enterprise and run it through a home grown conversion utility written in Windows Script before we load into Essbase.It reads in the file line by line and then writes out a new file properly formatted.
-
DataLoad Rule file - Date conversion
Hi, While working on a Dataload rule file,I was facing this problem. I'm getting date in the format "m(m)/d(d)/yyyy hh:mm:ss". Is there a way to change this to "mm/yy" ?? (There won't be anyproblem if I get mm/dd/yyyy hh:mm:ss style. but unfortunately not.)
You will have to change it on the data source...Where are you importing from?Will you load these dates into an date attribute dimension?
-
How to format quotes in a rule file
Hello,
I have been looking in the dbag but can't seem to find any help. When I pull my data using SQL, my member name is "I" ON, but in my rule file is delimits because of the quote to read ION. How do I get "I" ON in my rule file?As a matter of convenience, I prefer a slightly different approach than to use the load rule to convert the "normal char" back into a "special char", in your case, I would set up a "Loader" alias table entry with the ["I" On] member having an alias of [~I~ On] in that table. The users won't use it, but it will load in fine and if you ever wanted to validate the file it becomes a little easier to spot by just making the loader alias table active.
This isn't always possible, but in addition to saving troubleshooting time it can also help overcome the conversion limitations of a load rule (if you have a lot of conversions, this becomes the defacto solution, so I tend to use it as a systemic answer to load rule conversions). -
Unable to create .fsm file in Text Data Processing from .rul file
I am trying to compile english-tf-voc-sentiment.rul file to generate english-tf-voc-sentiment.fsm file using below command from cmd.
tf-cgc -i C:\Users\336655\Desktop\Modified\english-tf-voc-sentiment.rul -o C:\Users\336655\Desktop\Modified\english-tf-voc-sentiment.fsm
But getting below error.
Error: Could not open file ./english-tf-voc-thesaurus.rul
Error: Could not build FSM file.
where as english-tf-voc-thesaurus.rul is file which is called by english-tf-voc-sentiment.rul file
Any idea how to resolve this issue?You can use following code to capture the error.
TRY.
OPEN DATASET filename FOR OUTPUT IN BINARY MODE MESSAGE V_MSG.
CATCH CX_ROOT
INTO EXCEPTION.
CALL METHOD O_EXCEPTION ->IF_MESSAGE~GET_TEXT
RECEIVING
RESULT = V_MSG.
MESSAGE v_msg
TYPE 'E'.
ENDTRY.
You can capture error in v_msg.
Following are the exceptions for the same:
Exceptions
Catchable Exceptions
CX_SY_FILE_OPEN
Cause: The file is already open.
Runtime Error: DATASET_REOPEN
CX_SY_CODEPAGE_CONVERTER_INIT
Cause: The desired conversion is not supported. (Due to specification of invalid code page or of language not supported in the conversion, with SET LOCALE LANGUAGE.)
Runtime Error: CONVT_CODEPAGE_INIT
CX_SY_CONVERSION_CODEPAGE
Cause: Internal error in the conversion.
Runtime Error: CONVT_CODEPAGE
CX_SY_FILE_AUTHORITY
Cause: No authorization for access to file
Runtime Error: OPEN_DATASET_NO_AUTHORITY
Cause: Authorization for access to this file is missing in OPEN DATASET with addition FILTER.
Runtime Error: OPEN_PIPE_NO_AUTHORITY
CX_SY_PIPES_NOT_SUPPORTED
Cause: The operating system does not support pipes.
Runtime Error: DATASET_NO_PIPE
CX_SY_TOO_MANY_FILES
Cause: Maximum number of open files exceeded.
Runtime Error: DATASET_TOO_MANY_FILES Non-Catchable Exceptions
Cause: An attempt was made to open a pipe that is already open.
Runtime Error: DATASET_PIPE_POSITION
Hope that will help you.
Please reward if useful. -
Assigning property through rule files
Hi All,
a) Could anyone please explain me how can we assign properties of members through rule files while building the dimension. Suppose we want to assign the property store data or dynamic calc to any member then how we will do it through rule files.
b) What is the maxl command to refresh the database?
ThanksJohn,
Thanx ur blog was very helpful. I am facing a problem while loading a dimension which has attributes e.g. Product is my dimension which has attributes like Caffeinated- boolean, ounces- numeric, pkg type- text and Intro date- date.
I get errors like-
1)Intro Date_04-01-1996: The attribute member name does not match the setting for the type of attribute. Date attribute members should be specified in xx-xx-yyyy format................... and.............
2) Ounces_12: The attribute member name does not match the setting for the type of attribute. Date attribute members should be specified in xx-xx-yyyy format.
Im new to Hyperion Essbase...any help wld be highly appreciated. -
File Content Conversion in Sender File Adapter
Hi,
I am implementing a scenario, where I need to do Content conversion in My file Adapter.My input file is as follows
BGN00S-A200711281003ET4
REF38381012
DTP007D820071128
N1P5P5MicrosoftFI58-0612397
INSY18030XNAN
REFZZZZ666666666
DTP336D819970331
NM1ILIL1AdamsMarkE34666666666
PERIPIPHP770555-5555
N31470 Georgia Club Drive
N4StathamGA30666
DMGD819571022MM7
HD030HLTAE1D
My data type is as below.
<header>
<BGN>
<A></A>
<B></B>
<C></C>
<D></D>
</BGN>
<REF>
<A1></A1>
<B1></B1>
<C1></C1>
<D1></D1>
</REF>
<DTP>
<A2></A2>
<B2></B2>
<C2></C2>
<D2></D2>
</DTP>
</header>
<Content>
<N1>
<A></A>
<B></B>
<C></C>
<D></D>
</N1>
<REFAR>
<A1></A1>
<B1></B1>
<C1></C1>
<D1></D1>
</REFAR>
<DMP>
<A2></A2>
<B2></B2>
<C2></C2>
<D2></D2>
</DMP>
</Content>
My issue is, How do I set my parameter in Sender Comm channel for content conversion especially at record structure.
I have provided the value as Header,1,Content,*
But its not working.
If I do provide like
BGN_REC,,REF_REC,,DTP_REC,,N1_REC,,INS_REC,,NM1_REC,,PER_REC,,N3_REC,,N4_REC,,DMG_REC,,HD_REC,* then ,I am not getting above XML format. Please suggest or How can I modify my Data type which competes to configure in Channel
Thanks
ManmadhaHi All,
I am sorry for the Jumbled Content. I dont know what happened.
I should get the XML output as below.
header>
<BGN>
<A></A>
<B></B>
<C></C>
<D></D>
</BGN>
<REF>
<A1></A1>
<B1></B1>
<C1></C1>
<D1></D1>
</REF>
<DTP>
<A2></A2>
<B2></B2>
<C2></C2>
<D2></D2>
</DTP>
</header>
<Content>
<N1>
<A></A>
<B></B>
<C></C>
<D></D>
</N1>
<REFAR>
<A1></A1>
<B1></B1>
<C1></C1>
<D1></D1>
</REFAR>
<DMP>
<A2></A2>
<B2></B2>
<C2></C2>
<D2></D2>
</DMP>
</Content> -
How to get an account with an IsICP -"R" attribute calculated in the HFM Rule file
Till recently everything was going fine with the calculations in our HFM setup ( Version 4.1)
We have say around 8 Expense accounts which roll up into a Parent account say ALL446 which finally rolls up into Operating Expenses.
Operating Expenses
|__ parent account
|_INVALO
|_ALL446
|__222446
|__242446
And we have a calculation in the rule file as below
HS.EXP "A#BE FIXED COST = A#Operating Expenses +A#SGA - A#BE VC OP F10"
This was calculating correctly till we did the below change
Added IsICP attribute to couple of accounts say 222446 and 242446 ( in the above example) in the metadata which finally rolls up into Operating Expense.
Note: we did not add any Plug account attribute to the accounts
Now the problem what we have in hand is -> Fixed Cost is not calculating correctly.- It happens that the two accounts for which we added the IsICP are not showing up in the calculation and the data in those two accounts are not adding up in Fixed Cost.
POV in GRID/Excel -> actual,2013,periodic,<Entity Currency>, ICP Top, AllCustom1, AllCustom2, AllCustom3, None( for custom4)
But when we retrieve Operating Expenses in Excel - it is showing the correct amount, even in the grid - but looks like when the rule tries to calculate Fixed Expenses using the above rule - these accounts are not adding up in the Operating expenses.
I tried the formula ( to check what number is coming into Fixed cost ) - the result is zero - But in the grid/excel I see amount for acct2. Same POV as above
HS.EXP "A#BE FIXED COST = A#222446"
and if I add & Tops to the account like below ( getting some weird number instead of what is there in acct2)
HS.EXP "A#BE FIXED COST = A#222446" & Tops
Questions:
1) Where exactly I am going wrong ?
2) Is it MANDATORY to have a Plugaccount attribute when we have IsICP turned to "R" ?
3) What will happen if we do not have a Plugaccount for the IsICP account ?
4) How to correct the formula to make sure I get the number in the acct2 into Fixed Cost??
5) Do we need to have the IsICP turned on to the immediate parent of the account having IsICP and the Top parents of the account too??
6) Is it possible to get the exact number what we have in 222446 into BE Fixed Cost account via Rule?- why I am not getting it
Notes:
BE Fixed Cost-> account type -"Expense", IsCalculated - yes, IsConsolidated - yes, IsICP- N, Custom1TopMember - AllFunctions, Custom3TopMember- AllCustom3, enabled allcustom1,2,3,4aggregations
Operating Expenses->"Expense", IsCalculated - No, IsConsolidated - yes, IsICP- N, Custom1TopMember - AllFunctions, Custom3TopMember- AllCustom3, enabled allcustom1,2,3,4aggregations
INVALO ->"Expense", IsCalculated - No, IsConsolidated - yes, IsICP- N, Custom1TopMember -none, Custom3TopMember- none,
enabled allcustom1,2,3,4aggregations
Problematic account 222446 -> "Expense", IsCalculated - No, IsConsolidated - yes, IsICP- R, Custom1TopMember - Operations, Custom3TopMember- AllCustom3, enabled allcustom1,2,3,4aggregations
The Entity on which I am trying to get the data( mentioning wherever I have attributes for this entity)
DefCurrency - DEM, Allowadjs- enabled, IsICP - enabled, Userdefined 2 - financial, - SecurityasPartner attribute - is not selected through out the applicaiton.
Variable
Tops = ".I#[ICP Top].C1#AllCustom1.C2#AllCustom2.C3#AllCustom3.C4#[None]"
tried attaching the attachments ( but service is unavailable)
Waiting for all of your valuable suggestions..1) why was I not getting the formula right when I use & Tops
I'm assuming that BE Fixed Cost has N for IsICP, in that case you can not write to invalid intersections as it would attempt to use the same ICP information
2) Is it MANDATORY to have a Plugaccount attribute when we have IsICP turned to "R" ?
No
3) What will happen if we do not have a Plugaccount for the IsICP account ?
It will not run eliminations
4) Do we need to have the IsICP turned on to the immediate parent of the account having IsICP and the Top parents of the account too??
If you want it to rollup, yes you would need that. We have all Parent accounts as isICP set to Y and top member to ICP Entities so that they roll up
5) which will have priority the rule or the Grid where we have the calculated member like the BE Fixed Cost - because in the grid I had icptop, allcustom1,2 3 and when had & Tops to the account - I got some weird numbers...
I'm not following the question here, grids are just really a display mechanism, rules will handle all of the calculations. -
How to build shared members using Rules file
hi all,
we have a source file like below,in that Bold members are shared member. we doknow how to modify the source file for building shared members using Rules file.
Conf Total,~,Config A,*Lightbolt 365 A*
Conf Total,~,Config A,*Lightbolt 540 A*
Conf Total,~,Config A,*Lightbolt 730 A*
Conf Total,~,Config A,*Thunderball 365 A*
Conf Total,~,Config A,*Thunderball 270 A*
Conf Total,~,Config A,*Roadranger 123 A*
Can anyone give suggestion to resolve this issue.
Thanks in Advancehi John,
Here i'm building the dimension through generation build method.
setting the properties as
Field, Dimension, Field Type, Field Number
Field1,Product,Generation,2
Field2,Product,property,2
Field3,Product,Generation,3
Field4,Product,Generation,4
After mapping it shows dimensions are correctly mapped.
When i load the source file and the rule file, it shows error partially loaded data,.And it doesn't shows the shared member property. That is what asked How to modify the source file for building shared members using Rules file.
Thanks,
Edited by: user@99 on 25-May-2010 15:37 -
Error in loading data into essbase while using Rule file through ODI
Hi Experts,
Refering my previous post Error while using Rule file in loading data into Essbase through ODI
I am facing problem while loading data into Essbase. I am able to load data into Essbase successfully. But when i used Rule file to add values to existing values I am getting error.
test is my Rule file.
com.hyperion.odi.essbase.ODIEssbaseException: com.hyperion.odi.essbase.ODIEssbaseException: Cannot put olap file object. Essbase Error(1053025): Object [test] already exists and is not locked by user [admin@Native Directory]
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:346)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2458)
at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:48)
at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:540)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:338)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:272)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:263)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:822)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:83)
at java.lang.Thread.run(Thread.java:662)
from com.hyperion.odi.common import ODIConstants
from com.hyperion.odi.connection import HypAppConnectionFactory
from java.lang import Class
from java.lang import Boolean
from java.sql import *
from java.util import HashMap
# Get the select statement on the staging area:
sql= """select C1_HSP_RATES "HSP_Rates",C2_ACCOUNT "Account",C3_PERIOD "Period",C4_YEAR "Year",C5_SCENARIO "Scenario",C6_VERSION "Version",C7_CURRENCY "Currency",C8_ENTITY "Entity",C9_VERTICAL "Vertical",C10_HORIZONTAL "Horizontal",C11_SALES_HIERARICHY "Sales Hierarchy",C12_DATA "Data" from PLANAPP."C$_0HexaApp_PLData" where (1=1) """
srcCx = odiRef.getJDBCConnection("SRC")
stmt = srcCx.createStatement()
srcFetchSize=30
#stmt.setFetchSize(srcFetchSize)
stmt.setFetchSize(1)
print "executing query"
rs = stmt.executeQuery(sql)
print "done executing query"
#load the data
print "loading data"
stats = pWriter.loadData(rs)
print "done loading data"
#close the database result set, connection
rs.close()
stmt.close()
Please help me on this...
Thanks & Regards,
ChinnuHi Priya,
Thanks for giving reply. I already checked that no lock are available for rule file. I don't know what's the problem. It is working fine without the Rule file, but throwing error only when using rule file.
Please help on this.
Thanks,
Chinnu
Maybe you are looking for
-
I liked the "Power Search" for music in the itunes store but can't find it in the menu box top right. How do I search for a song, artist or album now?
-
Content won't display in iTunes
So i have the new shuffle, and i have put about 80 songs on it and it works fine... BUT, when hooked up to iTunes, i wanted to check the contents of my new shuffle, maybe remove a couple of songs, but the content won't appear on the screen, although
-
OIM error ADP.RUNTIME_ERROR when executing java adapter
We have compiled a java jar file with a number of methods that can be used to set an adaptor in Oracle Identity Manager Design Console and call them on 'post update' event on a table. Whe it is executed it fails with ADP.RUNTIME_ERROR. No other infor
-
Safari Not Opening All Pictures
Hello, I'm a college freshman that just received a MacBook to use for next semester. As you may or may not know, sites such as Facebook and MySpace are essential to the life of a college kid like me. However, when I browse these sites with my MacBook
-
URL Portal error: Unable to resolve comp/env/ejb/URIManager/
I am attempting to creat a URL portal using the Web Service Portlet Wizard. The Wizard seems to build the jsp fine, but I get the following error in the portlet when I try to bring it up: Error retrieving page at http://www.bloomberg.com/index.html E