Search found 15603 matches

by ArndW
Mon Jun 09, 2008 6:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creating a Fixed Length File
Replies: 4
Views: 1195

How about giving us a hint, just a little hint, on what isn't working?
by ArndW
Mon Jun 09, 2008 6:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Import error
Replies: 3
Views: 875

Well, how can you put the value of "null" (as a string) into an integer field? What happens is that the value of "null" is not valid, you have not set a default value and the field is nullable - so it uses a null value which I gather is what you want. So you don't need the transformer logic.
by ArndW
Mon Jun 09, 2008 6:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sparse Lookup
Replies: 2
Views: 1238

perhaps extra spaces on the lookup string? Is the key dataype identical (same length if of type char())?
by ArndW
Mon Jun 09, 2008 6:41 am
Forum: General
Topic: Cannot get rejected Oracle records to post to reject file
Replies: 13
Views: 6995

With the upsert method you will either get the data row to be inserted, or update the existing row or going down your defined reject link. If this is not happening then you need to submit it as a bug to your support provider.
by ArndW
Mon Jun 09, 2008 6:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Import error
Replies: 3
Views: 875

I hope you are using SetNull() instead of what you posted.

This error means that your input value hasn't been read the way you expect. What is the datatype of this field where you are assigning "null"?
by ArndW
Mon Jun 09, 2008 6:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Look up file set Vs Actual Database lookup
Replies: 6
Views: 1587

If your lookup data changes once a month, then it makes sense to create a lookup fileset and use that on each run. If the reference data changes daily or each run of the job you can save the resources required to build the lookup and do it directly. This is just one of several choices you can make. ...
by ArndW
Mon Jun 09, 2008 4:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aborting the Job With Message
Replies: 8
Views: 1833

Put the data down a separate link from a transform stage that is set to "abort after" 1 row.
by ArndW
Mon Jun 09, 2008 4:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Look up file set Vs Actual Database lookup
Replies: 6
Views: 1587

You need to define "better". This could mean many things - for instance quickest runtime, or least impact on the database, or using the least system resources, etc.
How big is the table and how big is the source data in comparison? How often does the table change?
by ArndW
Mon Jun 09, 2008 3:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem in String to Date conversion
Replies: 6
Views: 1273

The format needs to be that of the source, I should have caught the 4 digit error, sorry. You can then choose your display options for the date elsewhere to display 4 digits.
by ArndW
Mon Jun 09, 2008 1:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Writing extra records
Replies: 6
Views: 1650

You cannot put in any conditions to a copy stage, but you can use your proprosed logic in a transform stage to create 2 output links with different value and then join them together with a funnel.
by ArndW
Mon Jun 09, 2008 1:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem in String to Date conversion
Replies: 6
Views: 1273

Code: Select all

StringToDate(LNK_XFRM_REAL_EST_STORES_DM.store_open_date[1,8] ,"%mm/%dd/%yyyy")

The important change is in the format mask for the date, the substring is more efficient and versatile than the original convert() function but functionality is the same for your data.
by ArndW
Mon Jun 09, 2008 1:37 am
Forum: General
Topic: Arnd Hits 10K
Replies: 13
Views: 7403

Holy Keyboard Strokes, Batman - I didn't realize it was that many!
by ArndW
Mon Jun 09, 2008 12:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Load stage not active
Replies: 2
Views: 800

Does that mean it is present in the Palette? Can you see it in the Repository tree "Stage Types -> Parallel -> Database"? Is this a new installation or did it work previously?
by ArndW
Sun Jun 08, 2008 7:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to split the data in the data block of fixed width file
Replies: 2
Views: 740

Your file is not fixed-width, your first data record has one less character than the second.
If you don't need the header or footer records I would strip them out and keep only the data records, using a filter of "sed '1d;$d'"