Search found 53125 matches

by ray.wurlod
Mon Oct 27, 2014 7:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Truncation warning
Replies: 5
Views: 2684

The input is a string type with no length (precision). The output is a VarChar with a length (precision) of 1. These do not match. Make them match.
by ray.wurlod
Sun Oct 26, 2014 11:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: error reading EBCDIC file using CFF stage
Replies: 1
Views: 1994

A couple of possibilities.
1. Your data file has an empty last line. If so, get rid of it.
2. The "optional" fields (EIMPLDGX-MERCHANT-DESC-F and EIMPLDGX-MERCHANT-DESC) have been left off by whoever created the file. ("Don't see it being used.")
by ray.wurlod
Sat Oct 25, 2014 10:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Splitting records based on effective date
Replies: 5
Views: 2976

You should be able to generalize what I wrote earlier. You may need to loop through all the records for a particular key, sorted in flag order (descending) and date order (ascending). Other than that, the logic will be very similar. Why not attempt it?
by ray.wurlod
Sat Oct 25, 2014 2:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading sequential file in the order of file
Replies: 7
Views: 3224

The sequential file stage will execute on one node. Another alternative, if you need to preserve order, is to partition on, say, row number and sort on that before finishing with a sort-merge collector. Or you could execute your four node job but constrain the Transformer stage to executing in a sin...
by ray.wurlod
Fri Oct 24, 2014 3:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Splitting records based on effective date
Replies: 5
Views: 2976

So, if I read this right, the active record is passed through unchanged, and the inactive record is split into two, with the end date of one being the start date of the active record, and the start date of the other being the end date of the active record. Is this the correct reading? If so, sort by...
by ray.wurlod
Fri Oct 24, 2014 3:35 pm
Forum: General
Topic: Routine doesnt recognise jobs anymore
Replies: 3
Views: 1359

This is very odd. What happens if you re-index the project?
by ray.wurlod
Thu Oct 23, 2014 5:16 pm
Forum: General
Topic: Routine doesnt recognise jobs anymore
Replies: 3
Views: 1359

Re: Routine doesnt recognise jobs anymore

Developer9 wrote:Job (B) is in Runnable status all the time
That may not be true if people even just open it to look at it, and save it without re-compiling. And that, I suspect, may be part of (all of?) the problem.
by ray.wurlod
Wed Oct 22, 2014 3:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to pass Apostrophe to Oracle Stage as parameter
Replies: 3
Views: 2884

Note also that the correct spelling is "apostrophe".
by ray.wurlod
Wed Oct 22, 2014 3:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: One generic job to extract data from all tables
Replies: 4
Views: 2688

Yes.

Does Create_Dt come from source or is it being generated in your job?

In the former case use a Transformer or Modify stage, in the latter case use a Transformer or Column Generator stage.
by ray.wurlod
Wed Oct 22, 2014 3:33 pm
Forum: General
Topic: MKS toolkit issues
Replies: 6
Views: 3314

Allegedly MKS Toolkit is no longer used by DataStage itself, but is retained for backwards compatibility. If you have any job, routine or command that relies on "UNIX", then you'll have to keep it. Otherwise, theoretically, you ought to be able to uninstall it. To be cautious, get confirma...
by ray.wurlod
Mon Oct 20, 2014 3:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: One generic job to extract data from all tables
Replies: 4
Views: 2688

I, too, have done this in the past, and I'm sure at least the basic ideas exist on DSXchange. On another occasion I used the content of the system tables to create SELECT and INSERT statements "on the fly" for each table. And don't forget that Modify specifications can be completely parame...
by ray.wurlod
Mon Oct 20, 2014 3:46 pm
Forum: General
Topic: Not able to Save, Compile or Import jobs in a project
Replies: 9
Views: 3724

HOW did you "try to delete the project"? If you try and take a cat apart to see how it works, the first thing you have on your hands is a non-working cat. -- Douglas Adams Have you cleaned up both the DataStage engine tables and the XMETA tables that refer to this project? Involve support....
by ray.wurlod
Sat Oct 18, 2014 2:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Capture Record Insert Date and Record Update Date in SCD Sta
Replies: 2
Views: 1316

Use a Column Generator stage between the SCD stage and the stage that performs the update.
by ray.wurlod
Fri Oct 17, 2014 4:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: capture insert statements while migrating data into table
Replies: 6
Views: 2432

DataStage uses prepared execution. That is, the SQL is sent to the database only once, to be "prepared" (run through query optimizer, etc.). This happens before any rows are processed, and throws metadata mismatch and other warnings/errors if necessary. As rows are processed, DataStage sen...
by ray.wurlod
Fri Oct 17, 2014 4:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: stage variable behavior
Replies: 11
Views: 10029

Or simply look in the RT_SCn directory in the project, without all those other steps.
:idea: