Search found 53125 matches

by ray.wurlod
Fri May 12, 2006 5:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can we use datastage version control to version shell script
Replies: 8
Views: 2004

Declare a "versioned folder". Place your scripts in there, or place symbolic links to your scripts in there. Version Control can then version the contents of the "versioned folder".
by ray.wurlod
Fri May 12, 2006 12:37 am
Forum: IBM QualityStage
Topic: FAQ set for QualityStage
Replies: 1
Views: 1556

You're in it.

There's another one at Ascential Developer Net
by ray.wurlod
Thu May 11, 2006 8:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: converting am to hours
Replies: 7
Views: 1888

Why can't you use a BASIC Transformer? It's there, it's part of your tool kit.
by ray.wurlod
Thu May 11, 2006 3:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Saving record column
Replies: 6
Views: 1508

Stage variable is a good approach - update it only if @INROWNUM = 1.

Code: Select all

svRowCount   If @INROWNUM = 1 Then InLink.CounterField Else svRowCount
by ray.wurlod
Thu May 11, 2006 3:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Make environment variables inaccessible for change
Replies: 4
Views: 1110

1. No.
2. No. Unless you uninstall it or rename it.
3. No.

:cry:
by ray.wurlod
Thu May 11, 2006 3:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Suggestions needed to improve the performance(Hashedfile)
Replies: 26
Views: 7404

Even at 10,000 rows per second, 80 million rows will take (80,000,000 / 10,000), or 8,000 seconds. You may need to manage expectations.
by ray.wurlod
Thu May 11, 2006 2:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: compiling & debugging Basic Code
Replies: 2
Views: 929

Welcome aboard. :D The best method, by far, is to write code that doesn't need debugging. DataStage is primarily a graphical tool, and not really set up for debugging in that you don't write the "main" programs. Therefore, in order to be able to use RAID, you would also need to create testbed progra...
by ray.wurlod
Thu May 11, 2006 2:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: convert ASCII to decimal
Replies: 2
Views: 801

More information required. You probably don't need to do anything, because there are no data types within server jobs. If your ASCII value is "3437.34" it can directly be used as a decimal value.
by ray.wurlod
Thu May 11, 2006 2:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading multiple files in a single job.
Replies: 10
Views: 4603

Can't you just use head +1 in the filter pipeline for file2 and file3 ?
by ray.wurlod
Thu May 11, 2006 2:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Possibility of working on different projects
Replies: 5
Views: 1285

Designer can only be connected to one project at a time. However you can have multiple Designers open on one client machine, and these can be connected to different projects. Director can only connect to one project, but can switch to another project. You can have multiple Directors open. Manager ca...
by ray.wurlod
Thu May 11, 2006 2:47 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Getting all distinct combinations from records in 2 files
Replies: 7
Views: 1590

Prefix each row in each file with an artificial key, then use a Merge stage to perform a Full Outer Join.
by ray.wurlod
Thu May 11, 2006 2:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Server to parallel
Replies: 4
Views: 1171

You can select floor() from the expression editor in the parallel Transformer stage. It's the parallel equivalent of the server Int() function, returning the largest integer smaller than its argument.
by ray.wurlod
Thu May 11, 2006 2:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Invalid arguments in scripts
Replies: 25
Views: 8081

... or you could have piped the output of cat through sed to get rid of the linefeed characters
by ray.wurlod
Thu May 11, 2006 2:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle date-type column import & decimal conversion
Replies: 1
Views: 855

DataStage but Oracle doesn't. When DataStage asks Oracle what the SQL data type is, Oracle reports "timestamp". A DATE column in Oracle is actually a date and time column, as you may be aware.

To convert the date part you therefore first need to extract the date part from the timestamp.
by ray.wurlod
Thu May 11, 2006 2:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: import from saquential file with spaces
Replies: 9
Views: 3506

In a Transformer stage you have a delightful tool that allows you to modify the expression in all selected fields. I can't remember the name of the technique right now. If you select one or more output columns and right click any one of them you will find it on the menu. For example, Trim($1) will b...