Search found 53125 matches

by ray.wurlod
Thu Jun 02, 2005 7:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to write column headers to out put
Replies: 12
Views: 4271

Add an extra non-key column on which to pivot. It contains a constant, being a comma-separated list of your (literal) column headings.
by ray.wurlod
Thu Jun 02, 2005 4:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Storing CRC values
Replies: 16
Views: 7969

I am trying to show my job design to handle the change capture. How can I paste/attach my job design in the forum/message. This forum does not support attachments of any kind. The recommended approach is to show your job design inside a set of Code tags. Use Preview iteratively until the layout is ...
by ray.wurlod
Thu Jun 02, 2005 4:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Locking Objects to Specific User
Replies: 5
Views: 1031

I must disagree with Sainath that you can use OS permissions. In particular, most objects exist as records in database (Repository) tables, rather than as operating system objects. So any approach that uses OS permissions would be an "all or nothing" approach. DataStage does not have a source code c...
by ray.wurlod
Thu Jun 02, 2005 4:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Defining SCD Type at the record level
Replies: 8
Views: 1370

The DataStage logic is exactly the same as the "logical logic". If a field is a candidate for recording change, then a new record must be created whenever there is a change in that field. Therefore, you must determine whether a change has occurred. This involves being able to see (pre-load) what's a...
by ray.wurlod
Thu Jun 02, 2005 4:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: comparing target cols with source cols
Replies: 5
Views: 1150

You might also benefit from reviewing the Lookups section in the tutorial that ships with DataStage.
by ray.wurlod
Thu Jun 02, 2005 4:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Counting No Of Lines
Replies: 10
Views: 2328

sed (stream editor) is probably the fastest mechanism for removing empty lines, then pipe the result through wc -l
by ray.wurlod
Thu Jun 02, 2005 4:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to strip leading 0's from numeric data
Replies: 2
Views: 1358

You can perform arithmetic on it. For example add zero to it. DataStage returns the shortest possible string when arithmetic results are presented. Other approaches use the Trim() function, the Fmt() function, or the Iconv() function, not to mention reinventing the wheel by writing your own routine....
by ray.wurlod
Thu Jun 02, 2005 4:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to call a user def subroutine from another user def sub
Replies: 7
Views: 1649

Subroutines

Everyone's answered the question for transform functions, but none for (before/after) subroutines. The answer is still to add the "DSU." prefix, but the call mechanism is different, so no DEFFUN is used. There are two possibilities. The first is simply to add the "DSU." prefix in the subroutine name...
by ray.wurlod
Thu Jun 02, 2005 4:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Getting required data from a string
Replies: 4
Views: 951

... of course, Arnd meant

Code: Select all

Field(MyString,':',ColumnNumber,1)

Another possibility (which is really the Field function) is:

Code: Select all

MyString[":",ColumnNumber,1]
by ray.wurlod
Thu Jun 02, 2005 4:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to compare two dates in DS format SQL.SMALLDATETIME
Replies: 6
Views: 1442

Or you can use the Compare() function and enforce left-justified comparison of the original strings. Make sure that each has the same delimiter character.
by ray.wurlod
Thu Jun 02, 2005 3:59 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: File Format Problem (Urgent ) (Ray your help please)
Replies: 9
Views: 2069

When you posted it was 12:21am in my location - I do demand the right to sleep occasionally! As you will already have found out, PX is much more pedantic with handling of metadata. You're trying to achieve something that was easy in server jobs, but is much more difficult in parallel jobs, that bein...
by ray.wurlod
Thu Jun 02, 2005 3:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Limit of jobs in Sequencer
Replies: 1
Views: 898

If there is a limit it's well above 22. Please post the error message that is generated when the job sequence won't compile; this will shed light on the likely cause. It's usually that you've omitted to supply one tiny but vital property value.
by ray.wurlod
Thu Jun 02, 2005 3:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Slowly Changing Dimensions
Replies: 2
Views: 905

Type 1, Type 2, Type 2.5, Type 3 ... ?

As Lance said, there's been a lot of coverage in these fora; Search is your friend. Prefer "match all terms" or "exact match" when searching.
by ray.wurlod
Thu Jun 02, 2005 3:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: "File Pattern" property of Sequential File Stage
Replies: 3
Views: 1190

The File Pattern property allows you to specify a wildcard; the stage will read all files matching that pattern. So you could specify PA*.csv in the File Name property (or a more appropriate pattern to your needs).
by ray.wurlod
Thu Jun 02, 2005 3:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: View Data before Save
Replies: 4
Views: 1354

My guess: Probably an artifact of the Lookup stage being incomplete (no reference input link or output link yet).
Do you get the same symptom with SeqFile ----> Peek ?