Search found 104 matches

by harithay
Wed Jun 01, 2005 11:38 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Getting warning message in viewing data in source
Replies: 7
Views: 3800

H isainath;


Sainath.Srinivasan wrote:Check the number of columns in your source file. Maybe your source file did not change to 49 cols.
I got it when i changed the "line termination from uinx style to DOS style"

thanks for ur reply;

thanks
by harithay
Wed Jun 01, 2005 11:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to write a routine
Replies: 3
Views: 1253

How to write a routine

Hi All; i have input file with follwing 4 fields fund, date, TNA(AMOUNT), formtype same fund name exists with differnt form types; my requirement is to calculate change in TNA(AMOUNT) for the same fund name with days differnce between same funds is 360-370 there may exist same fund more than twice? ...
by harithay
Wed Jun 01, 2005 10:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Getting warning message in viewing data in source
Replies: 7
Views: 3800

Hi sainath ;
Sainath.Srinivasan wrote:You will need to include the 2 columns in your column defn tab.
before i imported table defintion again with 49 fields. any way i got it.

the problem is with line termination

Thnaks for ur help
by harithay
Wed Jun 01, 2005 9:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Getting warning message in viewing data in source
Replies: 7
Views: 3800

Getting warning message in viewing data in source

Hi all; i am getting error like this job1..Sequential_File_0.DSLink2: read_delimited() - row 1, too many columns in record. what might be the problem. please suggests me Initially i had 47 columns in source (tab delimited file). when i view the data using sequential file (source), i can able to view...
by harithay
Thu May 26, 2005 11:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to generate surroagte key for incremental load
Replies: 11
Views: 4721

Hi Ram ,

i got it. thanks
by harithay
Thu May 26, 2005 10:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to generate surroagte key for incremental load
Replies: 11
Views: 4721

Re: how to generate surroagte key for incremental load

Hi all, i got it, thanks to evry one harithay Your design should look like this Target Table --->Hash File --------Ref Link For TransformStage1 Input File -----> Stream Link for TransformStage1 Out Put Link1 from TransformStage1 Target Table (Update) Out Put Link1 from TransformStage1 Target Table (...
by harithay
Wed May 25, 2005 2:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to generate surroagte key for incremental load
Replies: 11
Views: 4721

Hi Kris Hi there, If you want to update existing record and insert new record, 'insert new or update existing rows' should be sufficient enough. But if your sequence number is the primary key?or is it the unique key in the table? In any case you would be populating new sequence numbers which is okay...
by harithay
Wed May 25, 2005 12:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to generate surroagte key for incremental load
Replies: 11
Views: 4721

thanks sjhouse, i used sdkkeymgtgetnxt('account') routine for that to generate sequenc number . i dont know about updation , if i found key match i need to overwrite the record. for that what shoud i do. in target ODBC there is update action , can i select 'insert new or update existing rows. is tha...
by harithay
Wed May 25, 2005 11:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to generate surroagte key for incremental load
Replies: 11
Views: 4721

how to generate surroagte key for incremental load

Hi all, i have situation like this the loading of data take place every month. after intial load , the next month i may get both new records and already existing records (need to update existing records ) for updation i am taking target key column into hashed file for lookup purpose with source. for...
by harithay
Sun May 22, 2005 10:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: current timestamp
Replies: 9
Views: 4920

thanks ray quote="ray.wurlod"]Even TIME() does not give milliseconds on all platforms. On some platforms you can only do it in code, by specifying the compiler declaration $OPTIONS TIME.MILLISECOND. Try SYSTEM(12) - if I recall correctly - this will report in milliseconds if the system is ...
by harithay
Sun May 22, 2005 8:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: current timestamp
Replies: 9
Views: 4920

HI Arnd Harithay, the @TIME function doesn't return milliseconds, but TIME() gives milliseconds; but the OCONV doesn't support that format on output, so you could use: OCONV(DATE(), "D4-YMD[4,2,2]") : " " : OCONV(TIME(), "MTS:") : " ." : FIELD(TIME(),'.',2) {{...
by harithay
Sun May 22, 2005 6:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: is there any wrong in routine
Replies: 16
Views: 4306

Hi craig, thanks for you reply. Since we don't know for sure what you need, it either needs to look like this: [code1]if (Fundname2 <> Fundname1 or Fundname1='') and DateGenericDateDiff(Date2, Date1) < 365 then 0 else TNAamount2-TNAamount1[/code] or: [code2]if Fundname2 <> Fundname1 or (Fundname1=''...
by harithay
Fri May 20, 2005 2:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: is there any wrong in routine
Replies: 16
Views: 4306

tahnks craig ; i am sorry before i did not use parens properly so i got syntax error, now i am using follwing expresion but i am not getting proper output if (Fundname2 <> Fundname1) or (Fundname1='' ) and DateGenericDateDiff(Date2, Date1) < 365 then 0 else TNAamount2-TNAamount1 if it is wrong pleas...
by harithay
Fri May 20, 2005 1:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: is there any wrong in routine
Replies: 16
Views: 4306

Hi

thanks for ur reply

if i use () to isolate the OR in the IF statement , i am getting syntax error.


my requirement is to caliculate change in amount for the same fund having differn filing dates if differnc between filing dates is >=365 days.

how to get this one .
by harithay
Fri May 20, 2005 10:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: is there any wrong in routine
Replies: 16
Views: 4306

is there any wrong in routine

Hi all, i am using follwing routine but i am not getting what i required in the output. i am using stage variables for that , i have written follwing expression in stage variable "change" if Fundname2 <> Fundname1 or Fundname1='' and DateGenericDateDiff(Date2, Date1) < 365 then 0 else TNAa...