Search found 6797 matches

by DSguru2B
Wed Feb 21, 2007 1:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2/UDB API Reject Link
Replies: 5
Views: 1216

In the transformer, specify the constraint as OTHERWISE for your reject link. See if that works. I am not sure if DB2 API supports reject links. The enterprise stage does.
by DSguru2B
Wed Feb 21, 2007 1:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage direct loader
Replies: 8
Views: 1674

I would defer to the folks who have had experience with timestamp microseconds and sql loader.
by DSguru2B
Wed Feb 21, 2007 11:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage direct loader
Replies: 8
Views: 1674

Try giving .6 instead of .x
by DSguru2B
Wed Feb 21, 2007 11:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage direct loader
Replies: 8
Views: 1674

WHen you say direct load, you mean using the OCI Load stage? If yes then make sure the date is in the format YYYY-MM-DD 24HH:MM:SS.nnnnnn before sending it to the load stage. If you are using the API stage and doing an INSERT, then let OCI stage take care of the format in TO_DATE() function. I think...
by DSguru2B
Wed Feb 21, 2007 10:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Weird problem with Sequential File Stage
Replies: 26
Views: 5780

You are missing the forward slash after the FileDirectory. Try this

Code: Select all

awk -F'\t' '{if(<condition> && FILENAME != #FileDirectory#/) {print $0} else {exit 1}}' #FileDirectory#/#Filename# 
by DSguru2B
Wed Feb 21, 2007 10:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Datastage direct loader
Replies: 8
Views: 1674

Welcome Aboard,
I have never seen timestamp with length 6. You sure you got the length right?
by DSguru2B
Wed Feb 21, 2007 10:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sort on a column
Replies: 23
Views: 4681

Specify 'upc_cd' as key in the output of the sort stage as well. If that does'nt help. Then go back and specify the key of the hashed file as the first column instead of the last column.
by DSguru2B
Wed Feb 21, 2007 10:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Memory Allocation Problem
Replies: 3
Views: 1754

Wrong forum.
Search on "Unable to allocate memory".
by DSguru2B
Wed Feb 21, 2007 9:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Field value with number of records loading.
Replies: 3
Views: 758

You have to write your own after stage subroutine. One that will cat the contents of both the files (file containing the header count and the file containing the number of records processed). Compare the two, if equal, well and good if not , send out an email using DSSendMail().
by DSguru2B
Wed Feb 21, 2007 9:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Merge Stage - Duplicates in the master link.
Replies: 7
Views: 4262

Please dont quote the entire message, especially if its 9 yards long :?
by DSguru2B
Wed Feb 21, 2007 9:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sort on a column
Replies: 23
Views: 4681

As I said, the metadata will be identical. Make sure the columns are named right. And check the input/output of the sort stage and the sequential file stage.
by DSguru2B
Wed Feb 21, 2007 9:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: FTP Special Chars Ascii 0 and 1
Replies: 5
Views: 1631

I'm not sure where you draw the distinction between reading a remote file and transferring it (for purposes of reading). I use FTP to get data and be able to process it line-by-line instead of having to copy the whole file contents to the local machine before processing. Well, with the FTP stage th...
by DSguru2B
Wed Feb 21, 2007 8:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sort on a column
Replies: 23
Views: 4681

What is your design, is the output of the sort stage directly connected to a sequential file stage or some other stage? If yes then they will be identical. Post your design as its hard to pin point your issue without looking at the design.
by DSguru2B
Wed Feb 21, 2007 7:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: datastage job not started but it is showing running state
Replies: 10
Views: 4033

It might still be running. Be patient. What happens when you run it from your favourite sql tool. How much time does it take for the stored proc. to complete outside datastage?
by DSguru2B
Wed Feb 21, 2007 7:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to eliminate the thicked pipeline |
Replies: 30
Views: 6625

Does this happen in the source as well (in the sequential file stage view data)? If it does then its a dos file that you are viewing as a unix file. Change it to dos style in the sequential file stage properties so that it does not transfer it over to the database.