Search found 53125 matches

by ray.wurlod
Tue Nov 20, 2007 5:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Decimal Separator
Replies: 2
Views: 1177

NLS consists of two pieces - the character map (e.g UTF-8) and the locale. The locale is a means for representing different categories of data according to local expectations. The five categories are TIME (dates and times), NUMERIC, CURRENCY, CHARACTER (casing and categories) and COLLATE (sorting ru...
by ray.wurlod
Tue Nov 20, 2007 5:33 am
Forum: General
Topic: Release a job in DataStage
Replies: 2
Views: 1347

"Release" has a very specific meaning in DataStage; it means "release (a read-only version-stamped copy of the job) for production". I suspect this is not what you mean. If you mean deleting a job, then there is no easy way to do it from a UNIX command prompt. There are many interdependencies in the...
by ray.wurlod
Tue Nov 20, 2007 5:30 am
Forum: General
Topic: How to capture the record count that has gone to the target
Replies: 2
Views: 1660

Take an extra output link out of the Transformer stage with the same constraint as your main output. On the new link have one integer column whose value is derived as the constant 1. Run this through an Aggregator stage and into the file that needs to receive the row count.
by ray.wurlod
Tue Nov 20, 2007 5:28 am
Forum: IBM QualityStage
Topic: main_program: Fatal Error: Field not found: keyChange
Replies: 5
Views: 3013

Hmm. Can you dump the score and see if keyChange occurs there? After all, it's the score, not the design, that gets executed.
by ray.wurlod
Tue Nov 20, 2007 2:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Not able to read from fixed width file
Replies: 6
Views: 3667

No that's not what I said. Please read my post again. I was simply interpreting the underlying cause of your error message. Usually, though, I do prefer to use Char rather than VarChar, as it's better self-documentation. But DataStage itself can cope well with either. It's the Display (or Field Widt...
by ray.wurlod
Tue Nov 20, 2007 2:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Equivalent of 'sleep' in a server routine
Replies: 4
Views: 1167

Or, if that's too long:

Code: Select all

NAP  milliseconds
by ray.wurlod
Tue Nov 20, 2007 2:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can’t import/delete DataStage job
Replies: 3
Views: 6846

Try running DS.CHECKER - it tidies up after incompletely deleted jobs. You must have exclusive access to the project to run this command.

Once you have run DS.CHECKER, if the job is still present, try deleting it again.
by ray.wurlod
Tue Nov 20, 2007 12:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Not able to read from fixed width file
Replies: 6
Views: 3667

"Short input record" indicates that the total widths of your Char data types exceeds the number of characters in the record. Hence the import failures.
by ray.wurlod
Tue Nov 20, 2007 12:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Slow performance.
Replies: 10
Views: 3163

A better design is to segregate the inserts from the updates, and run them as separate input links (insert only and update only) into the target stage. The "double-barrelled" update strategy will get slower over time; it has to try the insert then, if there's a failure, determine whether or not it w...
by ray.wurlod
Mon Nov 19, 2007 11:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem returning @TRUE, @FALSE from Routine to Transformer
Replies: 9
Views: 6491

Can you evaluate DateGT( input.CDate_complt, input.CDate_start ) in a stage variable, then run the job in Debugger and see what is being calculated/returned?
by ray.wurlod
Mon Nov 19, 2007 11:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: mapping non related columns in where condition
Replies: 1
Views: 692

Assuming the first lookup on tbl2.col2 returns tbl2.col1 you can use that anywhere downstream to perform a lookup against a hashed file containing tbl3.col1 as its key. You can do this in the same Transformer stage, but only by typing (not with the Expression Editor) - and it will stay red but will ...
by ray.wurlod
Mon Nov 19, 2007 11:19 pm
Forum: IBM QualityStage
Topic: main_program: Fatal Error: Field not found: keyChange
Replies: 5
Views: 3013

Do you have a Sort stage upstream in which a key change column is specified?
by ray.wurlod
Mon Nov 19, 2007 7:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Inserting Parameter Value into Oracle Stage forHeaderTrailer
Replies: 6
Views: 2389

In your code you need to assign the result of DSAttachJob to your Handle variable. Handle = DSAttachJob("Header_File", DSJ.ERRWARNING) RealName = DSGetJobInfo(Handle, DSJ.JOBNAME) If RealName = DSJE.BADHANDLE Then Call DSLogFatal("Can not attach Header_File job&quo...
by ray.wurlod
Mon Nov 19, 2007 7:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Execute Command
Replies: 2
Views: 1319

Don't forget that you have to strip the line terminator off.

Code: Select all

Trim(Convert(@FM,"",Execute_Command_0.$CommandOutput))
by ray.wurlod
Mon Nov 19, 2007 7:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Generating Sequence numbers in Parallel Transormer
Replies: 20
Views: 7994

Use the Data Set Management tool to determine how many rows are actually stored on each partition (node).