Search found 135 matches
- Mon Jan 23, 2012 8:32 am
- Forum: General
- Topic: Extract the datepart from the filename
- Replies: 15
- Views: 5651
Thanks for all your quick responses. But Sometimes I will get the filename as abc_xyz_def_ghi_US_20120119121000.txt From this I need to pull the datepart and also the file id part I tried this Field(INPUT_FILE,'_',5[8]) to extract datepart and I tried this Field(INPUT_FILE,'_',5[9,6]) to file id par...
- Fri Jan 20, 2012 9:37 am
- Forum: General
- Topic: Extract the datepart from the filename
- Replies: 15
- Views: 5651
Extract the datepart from the filename
Hi,
I would like to extract the date part from the input filename .
My input filename format is abc_xyz_20110131.txt
I wanted to extract 20110131 and place this value in another parameter.
I appreciate your response.
Thanks
Raj
I would like to extract the date part from the input filename .
My input filename format is abc_xyz_20110131.txt
I wanted to extract 20110131 and place this value in another parameter.
I appreciate your response.
Thanks
Raj
- Fri Jul 01, 2011 2:11 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Flat Files reading
- Replies: 4
- Views: 2746
- Fri Jul 01, 2011 2:04 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Flat Files reading
- Replies: 4
- Views: 2746
Flat Files reading
Hi All,
I am getting a source file which has two layouts data in one file.But I need to load them into two different tables .How should I proceed with the design
I appreciate your valuable suggestions.
Thanks
I am getting a source file which has two layouts data in one file.But I need to load them into two different tables .How should I proceed with the design
I appreciate your valuable suggestions.
Thanks
- Tue Jun 21, 2011 7:53 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: reading .csv file
- Replies: 7
- Views: 2453
- Tue Jun 21, 2011 6:17 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: reading .csv file
- Replies: 7
- Views: 2453
- Mon Jun 20, 2011 2:51 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: reading .csv file
- Replies: 7
- Views: 2453
reading .csv file
Hi All,
I am trying to load .csv file into the table which is tab delimited . I have two columns
which I have comma in the field I can read it thru the datastage with the varchar but i have to load them as integers with the comma in it
how do i do that? Could you please help me out with this
I am trying to load .csv file into the table which is tab delimited . I have two columns
which I have comma in the field I can read it thru the datastage with the varchar but i have to load them as integers with the comma in it
how do i do that? Could you please help me out with this
- Thu Mar 03, 2011 9:15 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Subtract days from a given date
- Replies: 2
- Views: 2300
Subtract days from a given date
Hi I am facing a problem here . I have to subtract some days from the given input date. Used the function Datefromdayssince function but its throwing an error when I am trying to compile the job Error is "Invalid conversion requested from a date to a dfloat." Please let me know how could I...
- Mon Feb 07, 2011 2:44 pm
- Forum: General
- Topic: Email Notification
- Replies: 12
- Views: 7761
- Wed Jan 19, 2011 1:07 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Load the .jpeg file into DB2 database
- Replies: 3
- Views: 1740
- Wed Jan 19, 2011 9:47 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Load the .jpeg file into DB2 database
- Replies: 3
- Views: 1740
Load the .jpeg file into DB2 database
Hi ,
I have a requirement which has to load the .jpeg file into DB2 database. I really appreciate your help .
Thanks in Advance,
rajeev
I have a requirement which has to load the .jpeg file into DB2 database. I really appreciate your help .
Thanks in Advance,
rajeev
- Wed Dec 15, 2010 8:03 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Display the long name of the day
- Replies: 16
- Views: 4494
- Tue Dec 14, 2010 2:20 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Display the long name of the day
- Replies: 16
- Views: 4494
No the sunday is checked in the derivations against two columns For Edition_Cd Column If WeekdayFromDate(To_New_isrt_trans.ISSUE_DT) is Sunday And To_New_isrt_trans.EDITION_CODE='01' And IsNotNull(To_New_isrt_trans.ROUTE_CD) then To_New_isrt_trans.EDITION_CODE='14' else To_New_isrt_trans.EDITION_COD...
- Tue Dec 14, 2010 1:42 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Display the long name of the day
- Replies: 16
- Views: 4494
- Tue Dec 14, 2010 12:45 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Display the long name of the day
- Replies: 16
- Views: 4494
Hi chulett, If I proceed the way I mentioned earlier . The data is not getting correctly into the target. If its sunday then Edition_Cd=14 and Route_cd ='B:Route_Id' Now , the data is loading in this way Way Edition_Cd=0 and Route_CD=B:Rout Was there anything wrong in the syntax. I really appreciate...