@kbsuryadev,, ya correct.. it was a typo.. still showing the same error.
@chulett, my source data is like this 20101007063654
Search found 124 matches
- Tue Feb 08, 2011 5:00 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: StringToDate conversion problem
- Replies: 11
- Views: 9127
- Mon Feb 07, 2011 4:59 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: StringToDate conversion problem
- Replies: 11
- Views: 9127
StringToDate conversion problem
Hi Guys, My Source is SAP which is having a Timestamp value in Char field. So,i am converting the Character field to Date using the below code StringToDate(Colname,"%yyyy-%mm%dd") But i am getting a warning for all the rows and the target is not getting loaded. The warning is Conversion er...
- Thu Jan 13, 2011 4:16 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Problem with a sequencer
- Replies: 10
- Views: 4731
You can't in this particular scenario. Use two targets for this, one for the insert and one for the update. Yes, that does mean you need to determine which is which rather than relying on the crutch of the database doing that for you but that should be a very simple lookup. Ya chulett, Finally that...
- Wed Jan 12, 2011 3:13 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Problem with a sequencer
- Replies: 10
- Views: 4731
@chulett,, Thanks removing the column for which i need to populate the value did the trick.. Now i am able to insert to the table successfully. But i need to do a upsert instead of only insert statement. When i give the update statement along with the insert statement separated by ';', it is throwin...
- Tue Jan 11, 2011 12:49 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Problem with a sequencer
- Replies: 10
- Views: 4731
@chullet, in the column tabs i have 42 columns and in the query also i have 42 columns mentioned. I cross checked the query, i have 41 '?' and 1 sequencename.Nextval... So, the query is correct. @dsx999, it is a insert query,, so unable to run it as i did not have a test data with me.. One more thin...
- Mon Jan 10, 2011 10:52 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Problem with a sequencer
- Replies: 10
- Views: 4731
- Mon Jan 10, 2011 8:38 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Problem with a sequencer
- Replies: 10
- Views: 4731
Problem with a sequencer
Hi Guys, I am trying to create a surrogate key using the Oracle sequencer. I have given the following statement as Userdefined SQL. Insert into Table (colnam1,colnam2,,,,) values (schema.sequencename.nextval,?,?,,,,); But it is throwing me an error saying as "invalid variable/number". I am...
- Thu Dec 09, 2010 1:47 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: need to convert string(DDMMYYYY) to Date field YYYY-MM-DD
- Replies: 6
- Views: 16292
- Thu Dec 09, 2010 6:51 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: need to convert string(DDMMYYYY) to Date field YYYY-MM-DD
- Replies: 6
- Views: 16292
- Thu Dec 09, 2010 4:45 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: need to convert string(DDMMYYYY) to Date field YYYY-MM-DD
- Replies: 6
- Views: 16292
need to convert string(DDMMYYYY) to Date field YYYY-MM-DD
Hi Guys, I am getting Data from source in a flat file. There is a column D_DATE which will have data in the format DDMMYYYY. I need to convert it to YYYY-MM-DD. I used StringToDate function but in vain. The Code i used are StringToDate(DSLink1.D_DATE,"%yyyy%mm%dd") as well as StringToDate(...
- Thu Nov 25, 2010 3:30 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: problem with LINKROWCOUNT
- Replies: 1
- Views: 1226
problem with LINKROWCOUNT
Hi, I am trying to get the rowcount of the records from a flat file. Design Flatfile ---> Transformer ---> Flatfile In transformer, am creating a new field which will contain the count of the records in the flatfile. The expression i am using is as below DSGetLinkInfo(DSJ.ME,"Jobname",&quo...
- Fri Nov 12, 2010 5:34 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sequential file name with Timestamp
- Replies: 8
- Views: 3874
- Thu Nov 11, 2010 9:22 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sequential file name with Timestamp
- Replies: 8
- Views: 3874
- Thu Nov 11, 2010 7:52 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sequential file name with Timestamp
- Replies: 8
- Views: 3874
- Thu Nov 11, 2010 7:50 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sequential file name with Timestamp
- Replies: 8
- Views: 3874
I am getting an error with ExecSH. This is what i gave After-Job Routine : ExecSH Input Value : mv Rej.txt Rej`date +'%m%d'`.txt The mv command is working fine which i have tested it. AFter the run, i am able to find the Rej.txt also which was created by the job. Can anybody shed some light on where...