Search found 53125 matches

by ray.wurlod
Sun Mar 20, 2011 8:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parsing a value from header row
Replies: 0
Views: 1206

This is a great example of how you can use stage variables to remember values. A header line is indicated by H1 appearing in the second field. svIsHeaderLine <--- (Field(inLink.TheLine, " ", 2, 1) = "H1") The code is the final field in a header line. If on a non-header line its v...
by ray.wurlod
Sun Mar 20, 2011 8:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Ds job
Replies: 1
Views: 1123

If you Search DSXchange you will find the answer to this question.

Please try to come up with more meaningful subject lines.
by ray.wurlod
Sun Mar 20, 2011 8:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: split the long line into multiple lines
Replies: 9
Views: 6392

Use a BASIC Transformer stage (or a server job) and, within that, use the Fmt() function - which you can read about in the DataStage BASIC manual or the on-line help - with a "70T" format as the second argument. This will do precisely what you ask. Convert any text marks into field marks o...
by ray.wurlod
Sun Mar 20, 2011 8:29 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DS JOB
Replies: 1
Views: 1040

When's the interview?

Are you allergic to reading manuals or searching fora?
by ray.wurlod
Sun Mar 20, 2011 6:28 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error while viewing data
Replies: 8
Views: 3647

PATH is your command search list. DataStage has searched for some command and been unable to find it because its parent directory is not mentioned in the PATH environment variable. The message about not being able to load orchoracle may be an artifact, or may be another path issue, this time the sha...
by ray.wurlod
Sun Mar 20, 2011 6:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: can't read all records of .csv file
Replies: 4
Views: 10322

In short, not enough fields (= not enough delimiters) in some records.

DataStage parallel jobs expect/require consistent format.

Use server Sequential File stage if you need to handle missing columns. Or read the line as a single string and parse it within your job.
by ray.wurlod
Sat Mar 19, 2011 2:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Trailer records
Replies: 2
Views: 1481

Not those ones. A Merge stage perhaps, but that won't be much different in "performance" (whatever that is) from a Join stage.
by ray.wurlod
Sat Mar 19, 2011 2:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL transformation versus Transformer
Replies: 3
Views: 2194

There's no good reason any more (since version 7.5) to avoid the Transformer stage. However, what's "best" depends on many variables. Try both, and see what works for your site.
by ray.wurlod
Sat Mar 19, 2011 2:07 pm
Forum: General
Topic: DataStage 7.5 - Restrict access to particular user
Replies: 20
Views: 10245

This combination is not possible in version 7.5. It becomes possible with the Super Operator role in version 8.0.
by ray.wurlod
Sat Mar 19, 2011 2:07 pm
Forum: General
Topic: admin -start problem
Replies: 3
Views: 1297

Stop using your old password and use your new one.
by ray.wurlod
Fri Mar 18, 2011 8:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: range lookup
Replies: 7
Views: 6676

Do you have the "return multiple rows from reference link" option selected?
by ray.wurlod
Fri Mar 18, 2011 8:03 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is divide by zero rule.
Replies: 18
Views: 8363

Meanwhile, back on topic, the correct answer (mathematically) is that "division by zero is not defined". In a DataStage parallel Transformer stage it should cause an exception.
by ray.wurlod
Fri Mar 18, 2011 3:49 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading DB2 sequencers during Bulk Load....
Replies: 13
Views: 4760

Join does not store data anywhere. It relies on the fact that both inputs are sorted to be able to process just one key value at a time.
by ray.wurlod
Fri Mar 18, 2011 3:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is divide by zero rule.
Replies: 18
Views: 8363

First time I've encountered COBOL being described as a "liberal art". :)