Search found 68 matches

by urshit_1983
Tue Mar 13, 2007 9:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: USING XML_INPUT STAGE
Replies: 2
Views: 1461

Use

Code: Select all


FOLDER--->XMLInput--->TX-->OCI
by urshit_1983
Tue Mar 06, 2007 6:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Warning log capture
Replies: 14
Views: 5310

Shrey can you please post the algorithm, what actually you did and how you solved it ?
by urshit_1983
Tue Feb 27, 2007 9:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Datastage Job Design
Replies: 11
Views: 5220

Welcome aboard.

What is the job log like in Director ? Does it start and never stops or it gets executed but none of the rows are passed ?
by urshit_1983
Tue Feb 27, 2007 7:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date conversion to SQL server
Replies: 24
Views: 8727

you can use :-

TO_DATE(char[,fmt])

So as Ray mentioned in "fmt" use the format you need for eg :

TO_DATE('25-JUN-1952 10:55 A.M.','DD-MON-YYYY HH:MI A.M.')

In Transformer use Timestamp as SQL type for this field.
by urshit_1983
Tue Feb 27, 2007 11:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: user defined query
Replies: 7
Views: 2740

In all the 3 statements I see you compiled it but did you re-run the job after compilation ? Or you just compiled them?
by urshit_1983
Tue Feb 27, 2007 11:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Replace existing rows
Replies: 32
Views: 11805

Please correct me if I am wrong but this could work :

Seqfile-----------TX1------------Temp_Table----------TX2-------Target_table


In Temp_table do insert and in Target_table do Delete existing rows WHERE temp_table.column1=target_table.column1 and temp_table.column2 != target_table.column2
by urshit_1983
Tue Feb 27, 2007 11:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: user defined query
Replies: 7
Views: 2740

you need to give a bit more info than this, like what is your actual query and what are the modifications you are doing ? Let us know.
by urshit_1983
Fri Feb 23, 2007 2:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Varchar issues..
Replies: 7
Views: 2890

Suppose its the 5th field then

write a before job subroutine :

awk ' length($5) > len { len=length($5) } END { print len } ' file :)
by urshit_1983
Thu Feb 22, 2007 11:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Record duplicate
Replies: 8
Views: 2624

Another soln
you can write a before job subroutine script :

{ rm -f infile && awk '{ for (i=0;i<3; i++) { print $0 } }' > infile; } < infile
by urshit_1983
Mon Feb 19, 2007 10:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup
Replies: 6
Views: 2645

from TBL1 while you are selecting and writing custom SQL use "DISTINCT" and in where clause use "GROUP BY" then the key you are using for join.
by urshit_1983
Mon Feb 19, 2007 9:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup
Replies: 6
Views: 2645

As you are doing Left outer join its going to take all records of left table i.e TBL1 and only matching records from TBL2 based upon the key.

Instead as you want to do look up you can use TBL2 for lookup directly instead of hashed file, no need to join.
by urshit_1983
Fri Feb 16, 2007 4:19 pm
Forum: General
Topic: What if job aborts after 50% or more is done ?
Replies: 3
Views: 2246

Thank you so much Ray. Cheers to ya.
by urshit_1983
Fri Feb 16, 2007 10:57 am
Forum: General
Topic: What if job aborts after 50% or more is done ?
Replies: 3
Views: 2246

What if job aborts after 50% or more is done ?

I have a random question just came up in my mind. For eg. -Suppose I want to do UPSERT 2M rows in oracle table. -Now due to some reasons the job is aborted after processing 1M rows. -Either I can reset the job and run again or look for another option as 50% work is done. -I will go for another optio...
by urshit_1983
Thu Feb 15, 2007 4:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using wildcards in input file name within job parameter.
Replies: 1
Views: 1107

You are in the wrong section. Please post in Parallel Extender section.
by urshit_1983
Thu Feb 15, 2007 4:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: REGARDING ODBC STAGE
Replies: 4
Views: 1746

Dont understand why you want to do that. What is the database , If you are using ODBC as native driver ?