Search found 5168 matches

by kumar_s
Wed Feb 28, 2007 7:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with dates loading in Oracle
Replies: 30
Views: 6131

You Iconv function need to be changed.
Iconv(stgvar1,"D/MDY[2,2,4]")
by kumar_s
Wed Feb 28, 2007 6:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with dates loading in Oracle
Replies: 30
Views: 6131

Craig, I use to see some of your other posts as well where you insist not using User defined SQL. Will there be any performance improvement in using Bult in SQL or just for the sake of avoiding some generic errors?
by kumar_s
Wed Feb 28, 2007 6:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: awk command
Replies: 11
Views: 3087

It may be restriction of awk input argument that limited to 199.
Since $0 reads as whole line, you might not got it. Anyway whats is the error that you get?
by kumar_s
Wed Feb 28, 2007 6:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with dates loading in Oracle
Replies: 30
Views: 6131

So fine. Read the field as Char or varchar. Change the target to userdefined SQL, and modify your TO_DATE() function to fit this value. TO_DATE(Input.File,'MM/DD/YYYY HH24:MI:SS') If you dont want to touch the target for any chance (which is not resonable), convert the change the char field into req...
by kumar_s
Wed Feb 28, 2007 6:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: awk command
Replies: 11
Views: 3087

$0 returns the whole line. Where I guess, printf receives each word as argument and prints out. So the alignment might vary. But I dont think you get the work truncated.
Btw, where are you using this, and whats your effect of output?
by kumar_s
Wed Feb 28, 2007 6:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with dates loading in Oracle
Replies: 30
Views: 6131

If that is the case, and if you are using Generated SQL, check the TO_DATE() function build automatically. And make sure the output of your job refer to that format. To test, you can write the data to an intermediate sequential file and check the out format.
by kumar_s
Wed Feb 28, 2007 6:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with dates loading in Oracle
Replies: 30
Views: 6131

Not in transformer, but in the SQL used in Oracle stage.
by kumar_s
Wed Feb 28, 2007 5:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem with dates loading in Oracle
Replies: 30
Views: 6131

User To_Date() function before loading it into Oracle. You need to make sure the date format is compatible with Oracle, rather than Datastage to get rid of this oracle error.
by kumar_s
Wed Feb 28, 2007 5:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: APT_DUMP_SCORE output
Replies: 9
Views: 3529

I guess you are using Auto partition in Remove Duplicate stage. It might be using the SAME partition, i.e., Sequential mode to operated. "
->eCollectAny"
by kumar_s
Wed Feb 28, 2007 1:57 pm
Forum: General
Topic: Reading a sequential file from an EE job into a server job
Replies: 16
Views: 4777

As noted, what you see when you vi the file in Unix server.
by kumar_s
Wed Feb 28, 2007 1:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading a Sequential File
Replies: 14
Views: 4727

Did you produced the output of the previous job in the same format as the current job's input? Does the metadata exactly matches? FieldDelimiter and Records Delimiter and all others?
by kumar_s
Wed Feb 28, 2007 1:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: replacement for Oracle OCI
Replies: 6
Views: 1300

Use "Oracle Enterprise" stage.
by kumar_s
Wed Feb 28, 2007 1:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem with the Sort stage
Replies: 3
Views: 750

Use NullFieldValue to give some Defaults to Null value.
By keeping date field as Char with mm/dd/yyyy datatype, 10/01/1999 might come the first order before 01/01/2007 by lexical sorting. Check it out.
by kumar_s
Wed Feb 28, 2007 1:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running DOS Commands parallely
Replies: 7
Views: 1444

Do you mean to say, one wait till the other one finishes?
by kumar_s
Wed Feb 28, 2007 1:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: export jobs from unix
Replies: 8
Views: 2642

No option to export from server side. :cry: