Date Parameter : Unable to retrieve data thru data template
I have a data template with a date parameter. I used it in a query to extract records for a specific date. No matter which format I use in the query, the query returns a null although there are records. Please advise. I need this as soon as possible.
<parameter name="PD" dataType="date" />SELECT to_char(run_date,'DD-MON-YYYY') C_RUN_DATE ,cust_action ACTION,count(1) ACTION_COUNT from CDL hdrlog where
last_run_status='A' and to_char(run_date,'DD-MON-YYYY') = :PD group by to_char(run_date,'DD-MON-YYYY'),cust_action
order by c_run_date
I tried with to_char, to_date etc... nothing works.
thanks
J
See example below for date,note the format we supported as state in the doc.
If you would like to set as character then change type to character and use to_char around the bind var.
<?xml version="1.0" encoding="WINDOWS-1252" ?>
<dataTemplate name="dataTemplateName" description="Template description" version="1.0">
<parameters>
<parameter name="p_hiredate" dataType="date">1980-12-17</parameter>
</parameters>
<dataQuery>
<sqlStatement name="Q1">
<![CDATA[SELECT d.DEPTNO,d.DNAME,d.LOC,
EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,nvl(COMM,0) from dept d, emp e
where hiredate=:p_hiredate]]>
</sqlStatement>
</dataQuery>
<dataStructure>
<group name="G_DEPT" source="Q1">
<element name="DEPT_NUMBER" value="DEPTNO" />
<element name="DEPT_NAME" value="DNAME"/>
<element name="DEPTSAL" value="G_EMP.SALARY" function="SUM()"/>
<element name="LOCATION" value="LOC" />
<group name="G_EMP" source="Q1">
<element name="EMPLOYEE_NUMBER" value="EMPNO" />
<element name="NAME" value="ENAME"/>
<element name="JOB" value="JOB" />
<element name="MANAGER" value="MGR"/>
<element name= "HIREDATE" value="HIREDATE"/>
<element name="SALARY" value="SAL"/>
</group>
</group>
</dataStructure>
</dataTemplate>
Similar Messages
-
Error: Unable to retrieve target System Data.
This error suddenly started appearing after we moved some code from Dev to Test. Not sure what changed. Does anybody has any idea? I get this error when I click on
Metadata --> Control tables.
** Begin FDM Runtime Error Log Entry [2011-10-05 06:08:03] **
ERROR:
Code............................................. -2147467259
Description......................................
At Line: 45
Procedure........................................ clsBlockProcessor.ActConnect
Component........................................ upsWBlockProcessorDM
Version.......................................... 1112
Thread........................................... 12592
IDENTIFICATION:
User............................................. admin
Computer Name.................................... NLSVEPMHFMT01
App Name......................................... BAABV
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... HFMTEST2
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... TANZANIA
Location ID...................................... 749
Location Seg..................................... 3
Category......................................... ACTUAL SCENARIO
Category ID...................................... 12
Period........................................... Apr - 2011
Period ID........................................ 4/30/2011
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin FDM Runtime Error Log Entry [2011-10-05 06:08:03] **
ERROR:
Code............................................. -2147467259
Description......................................
At Line: 45
Procedure........................................ clsBlockProcessor.DimensionList
Component........................................ upsWBlockProcessorDM
Version.......................................... 1112
Thread........................................... 12592
IDENTIFICATION:
User............................................. admin
Computer Name.................................... NLSVEPMHFMT01
App Name......................................... BAABV
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... HFMTEST2
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... TANZANIA
Location ID...................................... 749
Location Seg..................................... 3
Category......................................... ACTUAL SCENARIO
Category ID...................................... 12
Period........................................... Apr - 2011
Period ID........................................ 4/30/2011
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... False
** Begin FDM Runtime Error Log Entry [2011-10-05 06:08:03] **
ERROR:
Code............................................. -2147467259
Description......................................
At Line: 45
Procedure........................................ ObjScriptReturnMarshaler.GetDimensionList
IDENTIFICATION:
User............................................. admin
Computer Name.................................... NLSVEPMHFMT01
App Name......................................... BAABV
Client App....................................... WebClient
CONNECTION:
Provider......................................... ORAOLEDB.ORACLE
Data Server......................................
Database Name.................................... HFMTEST2
Trusted Connect.................................. False
Connect Status.. Connection Open
GLOBALS:
Location......................................... TANZANIA
Location ID...................................... 749
Location Seg..................................... 3
Category......................................... ACTUAL SCENARIO
Category ID...................................... 12
Period........................................... Apr - 2011
Period ID........................................ 4/30/2011
POV Local........................................ False
Language......................................... 1033
User Level....................................... 1
All Partitions................................... True
Is Auditor....................................... FalseYou need to register/configure the HFM Adapter on the FDM application server. The adapter needs to be configured to run under the FDM Service account. You will want to place the "AdapterComponents" folder that was extracted from the .zip file of the FM11x-G5-E adapter in the Oracle\Middlware\EPMSystem11R1\Products\FinancialDataQuality\SharedComponents directory.
A) Login to the FDM application via the workbench on the FDM application server
B) Choose File > Register Adapter and browse to the AdapterComponents\fdmFm11xG5E\ folder and select the fdmFM11xG5E.dll file and choose open
C) Expand the Target System adapters and right-click on the FM11x-G5-E adapter and choose Configure
D) Populate the Com Admin screen with the FDM Service account userid/password/confirm password/domain and click OK -
Date parameter does not work in SharePoint 2010 report using SQL 2008 Server Reporting Service
Here is the settings:
SharePoint 2010 with SQL server 2008 reporting services configured
When create a report for a SP list using SQL server report builder (3.0) the date parameter does not work.
The data parameter is set as "date and time" type and field name equals the col name in the SP list
When run the report, the whatever dates I select, the result is always the same, so the parameters do not take any effect.
Is any step missing?
Thanks for any advice !Hi ,
How did you configure you "date and time" type parameter and field name equals the col name in the SP list?
Have you tested if other type parameter worked?
Have you tried typing the date format as 20140722 in your date parameter filed before run the report?
http://whitepages.unlimitedviz.com/2012/02/using-sharepoint-filters-with-reporting-services-parameters-for-personalized-reports/
Thanks,
Daniel Yang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Daniel Yang
TechNet Community Support -
Date parameter in a process flow
Hi,
I´m working with OWB 10.1.0.2.0.
I have a process flow with a transform.
The transform has a date parameter and I´ve defined a date parameter in the start activity, which is bound to the start parameter.
If I try to pass a date parameter in this form, sysdate, the process doesn´t recognize it and in the all_rt_audit_execution_params table i can see that the param process has no value.
If I pass a date parameter in this format 2006/08/07 the process works fine
I need to pass the date parameter from start activity to the process activity using expresions with sysdate,
may anyone help me? please and thanks
beatrizHi,
there are several tasks you want to accomplish:
1. "I need to check if the parameter file exists"
Therefor OWB has the File Exists Activity (Process Flow). This one checks if a file exists with specified name on specified location. If so it returns with SUCCESS. If not, it returns a WARNING. In second case you should do a sleep for a while and then re-check.
2. "accessing the date value from the parameter file"
There will be several ways to do this. The easiest one may be, to declare a external Table on this file and simply select from it (use it as a source in your mapping)
3. "After the ETL is finished running, the name of the parameter file needs to be changed"
In your process flow you create a user defined activity. In this one you start cmd.exe (on windows) and execute any DOS-commands you like. In this case a move or rename.
Hope I could help you...
Bye,
iOn. -
Delivary date parameter in vendor evaluation
hi
where we maintain the delivary date parameter in vendor evaluation.
nitinHi,
Delivery date in vendor evaluation is a subcriteria for On time delivery and its automatic (3)
Delivery date is calculated from GR from stastical delivery date in delivery schedule TAB and actual receipt date
Hope this is clear to you
BR
Diwakar
reward if useful -
Automatically increment a date parameter
Is it possible to schedule a workbook for a period of time and have the date parameter automatically increment to the next date in Discoverer?
Hi
Yes of course. When setting up a scheduled workbook, in the Step 1 screen of the Schedule Workbook dialog there are two radio buttons with a title: How often do you want to repeat the schedule? You can choose Never or Repeat Every and then set up a repeating schedule to run anyhere from x minutes to x years. In the Step 2 screen is a box titled Delete results automatically after. You get the opportunity to say how long, in days, the results of previous runs should be kept.
Do you have a copy of my Discoverer 10g Handbook from Oracle Press? If so, please take a look at pages 478 to 495 in chapter 14. Pages 480 and 481 in particular describe in detail the steps above.
If you don't have a copy you might want to consider getting one. I worked very closely with Oracle Corporation to get the book as accurate as possible and yes while I make a little money from you buying it that's not why I recommend you get it. Even though I wrote it I use it myself every day as it is over 1,000 pages long and is crammed with as much knowledge as Oracle Press would allow me to do at the time.
I hope this helps
Best wishes
Michael -
hi,
In my report i have 3 parameters, one is date and another parameters are string
there is no problem with string parameters
Problem in date parameter is if i given the date by using date picker the reports is running, never end
if i hardcode the date in sql query itself, it give the output in seconds,
Why it is behave like that, can any one please let me know the possible ways to pass the date parameter in runtime.
Thanks,
Mohanhi,
We are selecting the date from date picker only, for the given records also available.
The format which i hard coded into sql is equivalent to the format return from date picker.
I given the date picker java date format is dd-MMM-yy so it takes the date like '28-Apr-11'
still it is not working,
Thanks, -
CR for Enterprise 4.0: Unable to retrieve the datasource configuration
Hello Experts, I have the following issue with CR for Enterprise: I can successfully connect to our BI server, but when I select a universe I would like to build a report on, I receive the following error message about the validity of my data source: "Unable to retrieve the datasource configuration: com.crystaldecisions.thirdparty.org.omg.CORBA.UNKNOWN minor code: 0x0 completed: No". The universe I am trying to connect to is based on a relational connection and was built using the IDT 4.0 SP 1.
Thanks a lot for any guidance on how this could be resolved.
SergeyHi Surgey,
Well that is very strange! Is Crystal Reports for Enterprise installed on the server machine or on the local workstation?
If we are using Crystal Reports for Enterprise which is installed on a sperate workstation, try installing it on the server machine and then try to connect to universe.
- Kuldeep G -
Problem: Unable to retrieve workflow data from MDM repository
This is a new MDM installations scenario for version 5.5 SP05 (5.5.40.83).
After installing MS Visio, finding problems connecting it with the MDM Data Manager. After doing MDM workflow installations, able to initiate the MS Visio Workflow from MDM Data Manager and can see the Pane-MS Visio Workflow Stencil but not the able to see the Pane-MS Visio Workflow Stencil Details that appears below the Pane-MS Visio Workflow Stencil. Secondly geting a pop-up with the error message as - 'Unable to retrieve workflow data from MDM repository.'
I have added a parameter Mail Server=MailServerIPAddess (the existing IP addr), but it hasn't helped.
Can any one please help me in this !Hi
As Felix mentioned, it might be a version compatibility problem.
You have also mentioned that mail server is not working for that do this
Mailserver = SMTP server.company.com ( ex. Mail.company(xxxxx).com)
MDM workflow notify task is working after rebooting the Machine. So the rule is after making changes to MDS.ini file reboot the machine ,to observe the consequence of configurable changes.
If u need anything this let me know.
Regards
Hari -
Error :Unable to retrieve data from iHTML servlet for Request2 request
I open bqyfile to use HTML in workspace.
When I export report to excel in IR report.
Then I press "back" button I get error"Unable to retrieve data from iHTML servlet for Request2 request "
And I can not open any bqyfiles in workspace.
Anybody gat the same question? Thanks~Hi,
This link will be helpful, the changes is made in the TCP/IP parameter in the registry editor of Windwos machine. I tried the 32 bit setting for my 64 bit machine (DWORD..) and it worked fine for me..
http://timtows-hyperion-blog.blogspot.com/2007/12/essbase-api-error-fix-geeky.html
Hope this helps.. -
Need Help: Web Analysis, Unable to retrieve the data & Security Tab missing
Hi
I'm new to Hyperion (our version: 9.2.1) and we're implementing Hyperion Planning. One of the reporting tools is Web Analysis.
I'm trying to create simple grid reporting. but I'm unable to retrieve the data instead the result is "n/a"
and
The File's Properties > Security tab is missing
Does anyone know my issue?
Thanks,Hi Experts,
You told its resolved.how?
I am having the same issue i am unable to retrive the tables.
"Database:MS SQL Server
Driver :weblogic.jdbcx.sqlserver.SQLServerDataSource.
Connection String:jdbc:weblogic:sqlserver://localhost:1433;databaseName=BAM"
Please help if you have resolved this issue.Any helpful links plz forward [email protected]
Thanks -
Retrieve quarter-year from give data parameter
Hi All,
We are using Oracle Database 10g Enterprise Edition Release 10.2.0.4.0.
I want to write a query to display the records of a querter based on the input date parameter value.
i.e. If user input 06-DEC-2010 then system should retrieve only 4th Quarter data of the Year 2010 from 01-OCT-2010 to 31-DEC-2010
If user input 02-FEB-2010 then system should retrieve only 1st Quarter data of the Year 2010 from 01-JAN-2010 to 31-MAR-2010 (in this case only till 02-FEB-2010)
If user input 31-DEC-2009 then system should retrieve only 4th Quarter data of the Year 2009 from 01-OCT-2010 to 31-DEC-2010
The data column exists in the table.
Regards,
HassanSomething like
my_date_column between trunc(p_input_date,'Q')
and add_months(trunc(p_input_date,'Q'),3) - 1http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions220.htm#i79761
http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions011.htm#i76717 -
6024E - Error 10846: Unable to retrieve data fast enough error?
I am using a PCMCIA DAQ 6024E on a Dell Latitude C610 (1Ghz) - I'm trying to do Double buffered analog acquisition over 4 channels
Whenever I try to run the application (VC++6) i get "Error 10846 - Unable to retrieve data from the backgound acquisition buffer fast enough..."
I have tried the sample program "Double-Buffered Asynchronous Scanning in Microsoft Visual C++ with NI-DAQ" downloaded from the NI website - has the same result: Error 10846...
I just need to sample 4 channels at 1kHz continuously, extracting the data every 250ms max - are the following settings sensible:
i16 iChan = 0;
i16 iNumChans = 4;
u32 ulCount = 2000
i16 iUnits = 0;
f64 dSampRate = 4000.0;
f64 d
ScanRate = 1000.0;
static i16 piBuffer[2000] = {0};
static i16 piHalfBuffer[1000] = {0};
Tried loads of different variations - as well as stopping all other apps running and removing everything from inside the acquisition loop - don't know what to try next. Can anyone help? Cheers!Hi,
The error you are getting is due to the fact that your application is not emptying the PC buffer fast enough so new data overwrites old data before they are copied to the application allocated memory. You can try increasing the buffer size and/or reducing the Scan rate, whichever possible.
Regards,
RamziH. -
My little children Majd entered the wrong passcode for more than 10 times, my iPhone automatically got reset all data was deleted. I managed to retrieve the contacts only but I'm unable to retrieve my SMS's and my photos???? Can you help me please ???
Hi,
Did you ever back up your phone on the computer?
Did you use photo stream at all?
May I suggest changing your passcode lock to a letters and numbers lock (if not all ready it will make your iphone more secure and a restore lock otion shouldent be needed). Then change your setting as well preventing restore after ten incorect passwords.
kc -
Hi, going crazy. Can't get this fixed. Unable to retrieve contact info from synch server. I did re-do synch using one time only replace I-phone info from "contacts" on computer and tried synching after that - no use same error!
I saw someone by name of Gator wrote pathways to follow in windows but got only as far as user (yes, selected my name as user as opposed to public) then clicked it open but lost after that - can't get to appdata for the next step.... any help or ideas would be soooooo appreciated. I'm so tired of this issue. thanks!
Pinina in Phoenix, AzHi, going crazy. Can't get this fixed. Unable to retrieve contact info from synch server. I did re-do synch using one time only replace I-phone info from "contacts" on computer and tried synching after that - no use same error!
I saw someone by name of Gator wrote pathways to follow in windows but got only as far as user (yes, selected my name as user as opposed to public) then clicked it open but lost after that - can't get to appdata for the next step.... any help or ideas would be soooooo appreciated. I'm so tired of this issue. thanks!
Pinina in Phoenix, Az
Maybe you are looking for
-
The download offered is 4.0, at Mozilla.com. I have that installed on my computer. But I want the 4.0Beta12 back. I don't know where to find it. If I go to Help and About Firefox and click on Updates, the downloaded updates will then not install. Any
-
Startup Error in 10.3.9 - Apple appears then goies to Terminal
Hi Folks Yesterday my hard drive was getting quite full, so I copied a load of work over to an External drive. Upon restart, the Apple Logo appears, then the screen goes black (looks similar to Terminal) and the message: -sh: /etc/profile: is a direc
-
MP4 VIDEOS OPENS IN QUICKTIME WITH AUDIO BUT NO VIDEO?
I have downloaded may video clips from youtube with tubesock and they worked fine in quicktime pro and I was able to place them on Iweb, now they only play audio no video. What do you think happened. I can play them with my VLC player and they are fi
-
Export to Quicktime HD 1080i fails from timeline in Premiere Pro CC
I have AVCHD files in my timeline and need to export Quicktime HD 1080i for a client. From the export settings, I choose Quicktime with the preset for HD 1080i and click on OK. The dialog box export with the progression bar just hangs there. Event
-
Displaying 2 PDF pages on one page
Really enjoying books in EPUB format as I am able to display 2 pages in landscape view on my iPad mini. However, I'm unable to do the same with PDF's. Does anyone know how to display 2 pdf pages on a page in landscape view rather than just 1?