Search found 142 matches

by prabu
Sun Oct 31, 2004 3:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Getting Day from Date
Replies: 2
Views: 1166

Re: Getting Day from Date

Hello there, Can anyone explain to me to get Day from 'yyyy-mm-dd 00:00:00' format. DAYOFWEEK = oconv(iconv(EXTRACT_DATE_TO[7,4]:'-':EXTRACT_DATE_TO[4,2]:'-':EXTRACT_DATE_TO[1,2],"D-YMD[4,2,2]"),"DWA") do you want something like "Monday", "Tuesday" etc. then ...
by prabu
Sun Oct 31, 2004 3:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: looping a record
Replies: 11
Views: 4962

Re: looping a record

Hi I like to loop a record on certain number of times based on the incoming record value. have a routine and do you calcuations there. getting/fecthing the same records <b>5/n</b> times is a costly operation. if you can explain bit more of what you are trying to do , it will help to suggest a solut...
by prabu
Wed Oct 27, 2004 5:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequential File update based on field list
Replies: 4
Views: 2025

Re: Sequential File update based on field list

Hi again to everybody in DSXchange land, Is it possible to 'filter' which fields are written to a sequential file output based on a list which contains the field names? IMHO, if the seq file is defined as a stage , then it is static. means that you cannot conditionally remove a column from it. 1)tr...
by prabu
Mon Oct 25, 2004 9:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Upsert problem
Replies: 4
Views: 2064

Re: Upsert problem

Im trying to INSERT value from Sequential file to Oracle9i using method UPSERT. For UPSERT method, it should only insert data that does not exist in the database. My problem is, why it INSERT duplicate value into the database when i rerun it again? duplicate based on what???. try trimming the value...
by prabu
Mon Oct 25, 2004 4:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to create file
Replies: 2
Views: 1031

Re: Unable to create file

Hi, The files cannot be accessed or deleted either. Looks like some process of the job that was stopped is still holding to files. that "some process" is the previous process used for creating the file. DS is sensitive in case of file locks. 1) Kill all the process using Windows taskManag...
by prabu
Mon Oct 25, 2004 4:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Binary Datatype
Replies: 2
Views: 1161

Re: Binary Datatype

Hi, I tried to load Binary Datatype(From Db2) to Sqlserver database binary datatype but i couldn't see any data in sqlserver database(all values <binary>). try by setting <b>Nullable</b> property of the column to <b>No</b> . this way you can check if the problem is happing during extraction(ie from...
by prabu
Mon Oct 25, 2004 4:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to count rows extracted from MS Sql table
Replies: 10
Views: 4075

Re: How to count rows extracted from MS Sql table

I want to delete all of the rows from the table when I'm confident that the number of rows in the flat file are equal to the number of rows in the table. Regards, CB count is not a <b>reliable</b> way of checking if the operation is successful . you have to have something like this to be safe :D 1....