Date columns in owb from mainframe

I get data in flat file from mainframe. In mainframe if date column is high date then it will be assigned defualt '9999-12-31' . Now I am trying to load into OWB and it converts to 31-dec-99 with mask 'yyyy-mm-dd' . I cant distinguish it has high date.
I want to insert space or is there anything high date in oracle. How to set a date defined column in oracle table to no value like high date or low date , means I dont have a valid date at that point of time.
thanks

Hi,
The mapping through which you are loading can be made so as to check for a high date and if found in the source data make them NULL and load them to the target table field. You need to make the target date field as NULLABLE. This NULL can serve as a high date for you.
Regards
-AP

Similar Messages

  • How to get Week,Month and Year details from a date column

    Hi frenz,
    I've a column like tran_date which is a date column..... I need the next week details based on this column and so on...
    I need month and year details as well based on this tran_date column.... can any one tell me how...
    Thanks in advance

    My example for objects:
    create or replace type date_object as object
      centure number,
      year    number,
      month   number,
      day     number,
      hour    number,
      minute  number,
      second  number,
      daypart number,
      week    number,
      constructor function date_object(p_dt date)
        return SELF as result
    create or replace type body date_object is
      constructor function date_object(p_dt date)
        return SELF as result
      as
      begin
        SELF.centure:= trunc(to_char(p_dt,'YYYY')/100);
        SELF.year:=    to_char(p_dt,'YYYY');
        SELF.month:=   to_char(p_dt,'MM');
        SELF.day:=     to_char(p_dt,'DD');
        SELF.hour:=    to_char(p_dt,'HH24');
        SELF.minute:=  to_char(p_dt,'MI');
        SELF.second:=  to_char(p_dt,'SS');
        SELF.daypart:= p_dt-trunc(p_dt,'DD');
        SELF.week:=    to_char(p_dt,'IW');
        return;
      end;
    end;
    select date_object(sysdate),
           date_object(sysdate).year
    from dual;Regards,
    Sayan M.

  • How to load data into Planning/Essbase from multiple data column

    Dear All,
    I have a interface file which contains multiple data column as follows.
    Year,Department,Account,Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec
    FY10,Department1,Account1,1,2,3,4,5,6,7,8,9,10,11,12
    FY10,Department2,Account1,1,2,3,4,5,6,7,8,9,10,11,12
    FY10,Department3,Account1,1,2,3,4,5,6,7,8,9,10,11,12
    I created a data rule to load these interface file.
    I want to use ODI to upload this interface. I try to specify the rule name in ODI and run the interface.
    But, it came out following errors.
    2010-02-22 11:40:25,609 DEBUG [DwgCmdExecutionThread]: Error occured in sending record chunk...Cannot end dataload. Analytic Server Error(1003014): Unknown Member [FY09,032003,910201,99,0,0,0,0,0,0,0,0,0,0,0,0] in Data Load, [1] Records Completed
    Any idea to fix the column, I sure the member name is correct as I can load data from data load rule correctly.
    Thanks

    Dear John,
    I updated the data load rule delimter to "," and found different error message as follows.
    'A910201.99','HSP_InputValue','HKDepart','No_WT','032003','NO_Lease','FY09','Actual','Final','Local','0','0','0','0','0','0','0','0','0','0','0','0','Cannot end dataload. Analytic Server Error(1003014): Unknown Member [0] in Data Load, [1] Records Completed'
    It seems that the data load rule can recognize the some member except the figures of Jan to Dec..
    thanks for your help

  • How to export the data from Mainframe to Oracle? Except Powermart

    Hi,
    I am exporting a data from Mainframe(VSAM) to Oracle 10g using PowerMart.Is there any other chance to exporting data from Mainframe to Oracle10g except Power Mart?
    Please help me out.

    nihar,
    This is the wrong forum for posting this kind of question. This forum is specific to Oracle Forms development. You should post your question in one of the Database Related forums.
    Craig...

  • Creating Time Dimension from date columns in fact tables.

    I remember watching a demo from a BI Tool a couple years ago, wich I swear was OBIEE, and the presentator stated it was possible to create a Time Dimension in the admin tool, based on a date column in other table.
    Can you guys tell me if there's such functionality in OBIEE?
    If so, how could I achieve that?!
    Thanks in advance!
    Marcos

    hi,
    You are trying to make Fact table as Dim table ???
    Fact table has some dim columns??
    We can do this by making a fact table as dim table ,create a dim hierarchy on that table
    Year level :Extract(year from fact_date_column)
    Month and year  level:CAST (Extract(month from fact_date_column) As CHAR(5) ) || CAST (Extract(yearfrom fact_date_column) As CHAR(5) )
    Like this
    But,be careful while doing this make sure that all joins and content levels are good
    As per my knowledge this is not a good way,Experts can add some words lets see!!!!!! :-)
    thanks,
    saichand.v

  • From  date column I want to pick the hours only......

    Dear All
    I am facing the following problem.
    I having following date format in database of date column
    4/7/2006 10:26 AM
    4/7/2006 07:18 PM
    from this date column I want to pick the hours only , For ex. 10, 07 resp.from the above record.
    I tried it to solve using SUBSTR and LTRIM-TRIM function, but this functions will truncate the time format and so unable to pick the Hours.
    Is there any other solution for this.
    Also the date column I have is in 12 Hours(AM/PM) format I want to convert it into 24 Hours . Like 07 PM . I want it to 19.
    Thanks
    Vishal.

    TEST@db102 SQL> select * from test;
    C1
    4/7/2006 10:26 AM
    4/7/2006 07:18 PM
    TEST@db102 SQL> select to_char(to_date(c1,'dd/mm/yyyy hh:mi PM'),'hh24') from test;
    TO
    10
    19
    TEST@db102 SQL>                                               

  • How to fetch the Date column(or Month column) from the file name from the specified path in ODI 11g

    Hi ALL,
    Can any one help us regarding How to fecth the Date column(or month column) from the file name specified in the path in a generalized way .
    For example :
    file name is :subscribers (Cost) Sep13.csv is specified in the below path
      E:\Accounting\documents\subscribers (Cost) Sep13.csv
    here I need to fetch the "Sep13" as a Date column in the ODI 11g in the generalized way.
    Can any one help us in this case as early as possible.

    I would suggest using a piece of Jython code for this.  Something like this...
    import os
    import os.path
    filelist  = os.listdir(E:\Accounting\documents\)
    for file in filelist:
    datestr = file[19:-4]
    You'd need to work out what to do with datestr next...  perhaps write it to a table or update an ODI variable with it.
    Hope this is of some help.

  • How to transfer data from CHAR column to DATE column?

    I have a column with varchar2 data type contains data with format: dd/mm/yyyy hh24:mm:ss for example 24/11/2013 8:15:22
    I want to execute an update statement to put this data also in a date column how?
    Note: I'm using Oracle DB 10g

    BillyVerreynne wrote:
    The question you need to ask is why a date value is in a string data type?
    And the only (IMO) valid reason for that is when the presentation layer reads the value from a user's input as a string. But even in that case, the client/presentation layer should convert it to a date when binding the value, as date type, to the bind variable of the SQL (or PL/SQL) code executed.
    Dates as strings should only exist in the presentation layer.
    Well, given the OP's question/problem, it sounds like they may be in the process of trying to correct that bad design.
    On the other hand, they could simply be applying a band-aid and thereby be actually compounding the problem.
    It would be nice to get a clarification on this point from the OP.

  • How to Calculate Duration from Date Columns

    Hello,
    I would like to calculate duration from date columns. Using the following query
    SELECT DISTINCT
    EVENT_ID,
    To_Char(RU.START_TIME, 'HH24:MI') START_TIME,
    To_Char(RU.END_TIME, 'HH24:MI') END_TIME
    FROM ROOM_USAGE RU
    What I need is to subtract START_TIME from END_TIME and result should be in minutes.
    Many Thanks,

    But, i think you need to calculate the number of days if the days are not same -
    satyaki>
    satyaki>
    satyaki>
    satyaki>with ru
    2 as
    3 (
    4 select '05-JAN-2007 15:10:20' start_time, '07-JAN-2007 19:20:20' end_time from dual
    5 union all
    6 select '08-JAN-2007 05:10:20' start_time, '07-JAN-2007 07:07:20' end_time from dual
    7 )
    8 select ru.start_time, ru.end_time, SUBSTR(numtodsinterval(to_date(RU.END_TIME,'DD-MON-YYYY HH24:MI:SS')-to_date(RU.START_TIME,'DD-MON-YYYY HH24:MI:SS'), 'DAY'), 12, 8) duration
    9 from ru;
    START_TIME END_TIME DURATION
    05-JAN-2007 15:10:20 07-JAN-2007 19:20:20 04:09:59
    08-JAN-2007 05:10:20 07-JAN-2007 07:07:20 22:03:00
    satyaki>
    Or, Am i missing anything?
    Regards.
    Satyaki De.
    is it possible to to add the duration? making the total hours to 26:12 (twentysix hours and twelve minutes)

  • OWB 11.1 Cube Operator 'Active Date' column

    Hi Experts,
    I recently defined a cube in OWB 11.1 using the cube editor. The result object contained a column 'Active Date' which was only visible in the cube object within a mapping. Neither the underlying table nor the Cube object editor showed the 'Active Date' column.
    Has anyone a short explanation on what the idea of that column is and how it could / should be used?
    Thanks for your help
    Regards
    Andy

    Hi Alex,
    thanks for your reply.
    Does that mean that I should fill the 'Active Date' column with the date-value of my fact-row. OWB then joins all type II or type III dimensions like the this:
    cube.active_date between dimension_start_date and dimension_end_date.
    Correct?
    The 'Active Date' column will never be visible in the underlying cube-table as it's only used to create the correct join?
    Thanks for your help.
    Regards
    Andy

  • Data upload from Mainframe system

    Hi Champs,
    I need to extract data from Mainframe sys and upload in BW. Can anyone help with the steps ?
    Thanks in advance.
    Abhishek

    With or without using a ETL tool?
    If not using an ETL tool
    Does the mainframe have a spurbox or a logical destination that has an IP address??
    If so - mainframe produces flat file in fixed format - then onto IP address
    EBCDIC to ASCII conversion then use a fixed format transfer structure up into BW

  • How to insert date column entry for new row from adf bc tester

    Hi,
    JDeveloper version 11.1.1.5.0
    I have a table with a DATE column. I am trying to insert a new row into the table from the ADF BC Tester. While providing value to the DATE column I am hitting the below error:
    (oracle.jbo.domain.DataCreationException) JBO-25009: Cannot create an object of type:oracle.jbo.domain.Date from type:java.lang.String with value:2011/12/06
    Please let me know what should be the format to specify date value while inserting entry using BC Tester.
    Thanks
    Rathnam

    Hi,
    Check
    operation not allowed on java.lang.object

  • How to get date prompts from one date column

    i have a requirement where i have to filter the data between two date prompts. i have only one date column and the date in the prompts shuld be selected by calendar.
    i have seen may approaches to do this and i got one where two dummy date columns should be declared in repository and used to define the date prompts.
    but using other methods i could not get the calendar option in prompt.
    but is there any other way to get the prompts with calndar selection without defining the dummy columns in repository
    thanks

    you can do that first select the date column you want to use in dashboard prompt then select another column and in the dashboard prompts then open the fx of the date prompt you first selected copy that and paste it in the second column and in the control section click on calender it will work you can use same date column as two prompts with out creating new column.

  • Data Import Wizard from Excel on DATE column

    I have exported data to a csv in Oracle SQL Developer and one of the columns are of an Oracle Date datatype. In opening up Excel I see the Date column represented as 15-MAY-01 12.00.00.000000000 AM.
    I am now going through the Data Import Wizard to create a new table and import the data. When I get to Step 3 of 4 it reads the data and assigns it a VARCHAR2. I want the column to be Date or Timestamp. In this case I choose timestamp and for format entered DD-MON-YY hh.mi.ss.fffffffff AM.
    When I go to Step 4 of 4 to and click the Verify button I get:
    "Verifying if the Date columns have date formats" Date columns DOT_LOGN_EFDT, have invalid or null date formats.
    I am using Oracle SQL Developer 2.1.0.63 Build 63.73.
    Any idea what I put in the format window to read the excel value of 15-MAY-01 12.00.00.000000000 AM correctly?

    I am not able to reproduce your problem. When I export a date column, I do not get the time portion. This is the expected behavior. When re-importing the date, I therefore have no problem. I have tried manipulating the tools->preferences->database->nls->date format mask to include the time (and fractional seconds), but export still only exports the date portion. The fractional seconds is not valid for a date field, which explains the import error you are getting. The question remains as to why the exported data has the time. Can you describe your exact steps for doing the export?

  • Date Format on OWB 11.1.0.7 to use for input parameter for a mapping

    All,
    What is the Date Format on OWB 11.1.0.7 to use for passing in an input parameter for a mapping to execute?
    I have tried '01-01-2010','01-JAN-2010','01.01.2010', 01/01/2010 and I get the following error:
    Error RPE-01003: An infrastructure condition prevented the request from completing.
    Error RPE-01038: Failed to evaluate expression declare l_expression DATE := 01/01/2010;begin :result := wb_rt_conversions.from_date(l_expression);end;. Please modify the expression, redeploy and retry again.
    RA-06550: line 1, column 32:
    PLS-00382: expression is of wrong type
    ORA-06550: line 1, column 24:
    PL/SQL: Item ignored
    ORA-06550: line 1, column 90:
    PLS-00320: the declaration of the type of this expression is incomplete or malformed
    ORA-06550: line 1, column 51:
    PL/SQL: Statement ignored
    I am using a Mapping Input parameter object and have a START_DATE_IN as a DATE and an END_DATE_IN as a DATE
    Any information you could provide would be greatly appreciated.
    Thanks,
    Shaun

    Hello Shaun,
    The function wb_rt_conversions.from_date is (at least in OWB10.2) overloaded and can with input-types as
    date, timestamp_unconstrained, timestamp_tz_unconstrained, timestamp_ltz_unconstrained or varchar2.
    If it doesn't work with varchar2 I would try Date:
    For example: to_date('2010-01-01','YYYY-MM-DD')
    I also found this thread:
    http://kr.forums.oracle.com/forums/thread.jspa?threadID=608257
    Hoping this helps...
    Guenther

Maybe you are looking for

  • 3d printer not showing up in PS CC 2014

    I have a FlashForge Creator X 3D printer, and wanted to give a try at printing through PS.  In the 3D settings, the only choices are MakerBot and others...and not FlashForge.  In the Printer Utilities, it can't see my printer.  How do I do this??

  • HttpURLConnection connecttion is successful even if the device is not

    Hi All, I am using HttpURLConnection to upload a data to my device.But strange thing is that ,If I use a IP address as string on URL path , that IP address is not available , then I am getting a unsuccessful message for unsuccessful connection. and i

  • Cash Journal : How to set the limit for maximum payment of 20000

    Hi Gurus, Please tell me how can i set the maximum payment limit of 20000 in cash journal? Please revert asap. Thank You

  • Kann aus .docx-Dateien keine PDFs aus Acrobat heraus erstellen

    Hi liebe Acrobat-Community, mich beschäftigt leider seit mehreren Tagen ein Problem, dass auch der Chat-Support von Adobe nicht lösen konnte und zwar: Ich kann mit der Funktion "PDF erstellen" aus Acrobat heraus keine Word 2013-Dateien in PDFs umwand

  • Authorisation check in me51n

    Hi In txn me51n when a user creats a record , he should be able to create record in for a cost center in which he is authorized to do so. other wise he should not be able to create record. For this we have an authorisation object in place. How should