Search found 53125 matches

by ray.wurlod
Fri Feb 09, 2007 3:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Importing Decimal field with commas
Replies: 4
Views: 883

Welcome aboard. :D Read them as VarChar (or Char, if fixed width) and use a Convert() function in a Transformer stage to remove the commas. You can effect the data type conversion in the same expression. StringToDecimal(Convert(",", "", InLink.TheNumber))
by ray.wurlod
Fri Feb 09, 2007 3:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer Stage Functions
Replies: 26
Views: 7014

Nulls are populated in a flat file with whatever you specify as the Null Field Value property.
by ray.wurlod
Fri Feb 09, 2007 3:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling Environment Variables in Basic Transformer
Replies: 9
Views: 1842

That's cool, because my advice was going to be to push back on the daft requirement!
by ray.wurlod
Fri Feb 09, 2007 3:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Dataset files - same name in different output folders
Replies: 3
Views: 1385

Use the Data Set Management utility. Choose one node in the top grid, and you will see the pathnames of the segment files in the lower grid. There you will see that DataStage uses a long, complex, generated name to avoid name clashes.
by ray.wurlod
Fri Feb 09, 2007 3:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job using dataset files is slower than sequential files
Replies: 25
Views: 4643

Arnd means to look at the hardware. For example, is one directory on local disk and the other in a SAN?
by ray.wurlod
Fri Feb 09, 2007 3:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fixed width file creation problem when using NLS UTF-16BE..
Replies: 1
Views: 1390

The Char columns are padded with 0x00 (ASCII NUL), not with 0x20 (ASCII space). You can see this by viewing the output with a hex editor, such as UltraEdit. You can change this behaviour by setting the value of environment variable APT_STRING_PADCHAR to 0x20. The reason the data don't seem to be fix...
by ray.wurlod
Fri Feb 09, 2007 3:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Copy Stage - Invalid Derivation For Output Column
Replies: 1
Views: 2598

Please advise HOW this was resolved.
by ray.wurlod
Fri Feb 09, 2007 3:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Difference between a Filter stage and Switch Stage
Replies: 5
Views: 7073

THE major difference is that the Switch stage operates on values, while the Filter stage operates on WHERE expressions, to determine which rows are sent along each output link.
by ray.wurlod
Fri Feb 09, 2007 3:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generate numeric duplicate number column
Replies: 6
Views: 1281

If you use a Sort stage, it can generate a key change column. If this is 1, you have a new key; if this is 0 you have a duplicate.
by ray.wurlod
Fri Feb 09, 2007 3:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: find age from DOB
Replies: 10
Views: 1935

Are you following Chinese tradition, where a newborn is deemed to be age 1 (credit for "time already served", presumably)?
by ray.wurlod
Fri Feb 09, 2007 3:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Run Multiple Instances
Replies: 25
Views: 7993

Search the forum. One way is to use

Code: Select all

DSGetJobInfo(hJob, DSJ.JOBMULTIINVOKABLE) 

I vaguely remember posting a routine called IsMultiInstance but that really has been superseded by the new InfoType key for DSGetJobInfo - that is, DSJ.MULTIINVOKABLE.
by ray.wurlod
Fri Feb 09, 2007 3:27 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to unlock locked jobs via Unix command line?
Replies: 3
Views: 1553

Clearly the better approach is to use a disciplined approach to development that avoids unecessary locks.
by ray.wurlod
Fri Feb 09, 2007 3:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading a Sequential File using Execute Command Stage
Replies: 7
Views: 1410

Have your job pivot this row into five rows, and write them to a hashed file using keys "A", "B", "C", "D" and "E". In a job sequence create a User Variables activity to read these - well, the four you need anyway, using Trans() functions or the utility routine that reads a record from a hashed file...
by ray.wurlod
Fri Feb 09, 2007 3:16 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: difference between 7.5 and 7.5.2
Replies: 8
Views: 1500

Re: difference between 7.5 and 7.5.2

mallikharjuna wrote:What is the difference between 7.5 and 7.5.2 in server jobs?

.2

:lol:
by ray.wurlod
Fri Feb 09, 2007 3:14 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to call Environment variable in server routine
Replies: 4
Views: 1069

The method is different depending on whether the environment variable was defined in the login shell or in the DataStage Administrator. Be wary of this while searching.