Search found 118 matches

by amsh76
Thu Aug 11, 2005 2:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: select-> if success then update else insert.. same table
Replies: 8
Views: 2701

Is there any source in your job, or its just starts from TX ?
by amsh76
Thu Aug 11, 2005 1:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: CREATE.INDEX
Replies: 4
Views: 3024

CREATE.INDEX

Can somebody please help with Syntax of CREATE.INDEX statement for HF with 3 key columns A,B,C.

Is it CREATE.INDEX HF A,B,C ?

Thank you
by amsh76
Tue Aug 02, 2005 7:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Header and Detail Records
Replies: 9
Views: 3207

Naveen,

Every time when you try to populate the detail record, you need to check that field of header record and then populate detail record...I think you need to have a If condition.
by amsh76
Tue Aug 02, 2005 7:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datetimeoverflow error
Replies: 12
Views: 3885

Hey Poornima,

What is your data type ? DATE or TIMESTAMP ?

The other option you can try is converting the date and time in Internal format and then try to insert into DB2 table, via API stage.

Let us know...if it works.

Thanks.
by amsh76
Tue Aug 02, 2005 12:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: UV Stage
Replies: 2
Views: 1381

Right on...Thanks Ray.
by amsh76
Tue Aug 02, 2005 12:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datetimeoverflow error
Replies: 12
Views: 3885

Man good catch Ray, How did I miss that... :roll:
by amsh76
Mon Aug 01, 2005 11:45 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datetimeoverflow error
Replies: 12
Views: 3885

please make sure the time part is in correct format...and the quickest solution I can suggest is change the datatype in API stage to Char(19).

Can you please give example of time field.

HTH
by amsh76
Mon Aug 01, 2005 11:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: UV Stage
Replies: 2
Views: 1381

UV Stage

I am trying to access HF using UV Stage, but getting the following error. The metadata of UV is same as HF..just not sure what the problem is. HFTesting..UniVerse_11.DSLink7: DSD.BCIOpenR call to SQLExecDirect failed. Statement was:SELECT ID, DATE1, DATE2, DATA FROM HF_ACCT2 SQLSTATE=S1000, DBMS.COD...
by amsh76
Fri Jul 08, 2005 4:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Environment Variable not working
Replies: 9
Views: 5360

Why can't you keep it like following:

#$A#\#$B#\#$C#....whats wrong in this? This takes care of your problem.
by amsh76
Fri Jul 08, 2005 3:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: nls_read_delimited() - invalid quotes
Replies: 17
Views: 8747

Hey Vinay,

Convert works..i have used it in past, just make sure you are giving arguments in right order..

Convert ('doublequotes','',string)
by amsh76
Fri Jul 08, 2005 3:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: nls_read_delimited() - invalid quotes
Replies: 17
Views: 8747

Hi Vinay,

If you are trying to remove quotes from your data then try this

Convert('"',"",String)

it will replace all occurences of " with empty string('')

HTH
by amsh76
Fri Jul 08, 2005 2:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Performance question
Replies: 6
Views: 1965

Thanks Naveen, I got your point...but then won't it make it hard to debug or even maintain ??
by amsh76
Fri Jul 08, 2005 12:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: " in source data and job aborts
Replies: 3
Views: 1291

Try Convert...
by amsh76
Fri Jul 08, 2005 12:27 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Performance question
Replies: 6
Views: 1965

Performance question

Is big parallel job, with number of stages efficient compare to a job divided in 2 or 3 different jobs ?

I always feel simpler the better and easy to debug and maintain. Is it true for parallel jobs also? or its the otherway..
by amsh76
Mon Jul 04, 2005 8:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: help needed with hash file with key combinations
Replies: 7
Views: 2493

Remember the hash file will have the last record of multiple key records. As Craig suggested you need to sort your data in such a fashion that the record you need is the last record for that key combination...