Search found 53125 matches

by ray.wurlod
Mon Feb 12, 2007 3:28 pm
Forum: IBM<sup>®</sup> DataStage TX
Topic: how to get values from an xml file to a variable in routine
Replies: 3
Views: 1951

Read the XML file and parse the tags. When you've found the start tag start collecting characters until you find the end tag. You can use the Index() function to determine the character position of the tags.
by ray.wurlod
Mon Feb 12, 2007 3:25 pm
Forum: IBM QualityStage
Topic: Standardizing Business Address and Shipping Address
Replies: 4
Views: 2260

When you're processing Shipping Address, use a different file dictionary that identifies the business address fields as something innocuous.

Make sure that your data are, or are transformed to, fixed width so that there can be no ambiguity about what's in what column.
by ray.wurlod
Mon Feb 12, 2007 3:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to configure DSN for Oracle In unix (Server)
Replies: 22
Views: 8704

Isn't 39202 indicative that the server licence has expired?
by ray.wurlod
Mon Feb 12, 2007 3:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Decimal field with Trailing negative signs
Replies: 18
Views: 3915

If you're in a server job you can use Iconv(thevalue, "MDn") where n is the number of decimal places. This function handles signs at either end of the value.
by ray.wurlod
Mon Feb 12, 2007 3:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Transformer Stage Functions
Replies: 26
Views: 7014

My team lead has decided not to go with BASIC Tfr as he needs this to be a pristine DS-EE environment. Thinking of a word that rhymes with "anchor" but isn't "banker". The DS-EE environment includes the BASIC Transformer stage. Therefore including such a stage does not in any way detract from your ...
by ray.wurlod
Mon Feb 12, 2007 3:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: AsInteger(StringToDecimal(Field1)) producing output -1
Replies: 3
Views: 2287

Integer (or int8) can only contain values less than 2^31 (2147483648).

AsInteger must fail for BigInt where the value is larger than that if the target column's data type is Integer.

The manual (Parallel Job Developer's Guide) is not clear on whether AsInteger can handle BigInt (or int16).
by ray.wurlod
Mon Feb 12, 2007 3:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Null Export Handling
Replies: 3
Views: 1429

Technically the Null Field Value must be of the correct data type for the target to receive. Luckily, in this case, the target is a text file. Text files do not actually have data types - they contain only text.
by ray.wurlod
Mon Feb 12, 2007 3:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can I use Change capture for this ?
Replies: 8
Views: 1879

In the parallel job the inputs to the Change Capture stage need not only to be sorted identically on the comparison keys but also hash partitioned identically on the comparison keys. Have you ensured that this is the case? Change Capture stage will report whether the second input row is an edit of t...
by ray.wurlod
Mon Feb 12, 2007 2:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Fetch value for APT_CONFIG_FILE value in Unix environment?
Replies: 12
Views: 3617

Actually, the value $APT_CONFIG_FILE is meaningless in the UNIX environment.
by ray.wurlod
Mon Feb 12, 2007 2:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: find age from DOB
Replies: 10
Views: 1935

Subtract the years.
Compare the dates (month and day only).
If current month and day > DOB month and day in this year, add one to year difference.
by ray.wurlod
Mon Feb 12, 2007 2:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: writing a warning to the log in a parallel job
Replies: 5
Views: 1491

The Compare stage has a Warn on Record Count Mismatch property that will log a warning. While that's not your complete solution (nor is Abort on Mismatch), it's worth noting. A Compare stage only effects the comparison (philosophy: one stage, one task) and emits a coded value to indicate the result....
by ray.wurlod
Mon Feb 12, 2007 2:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compare stage, output columns
Replies: 16
Views: 16569

Try defining the subrecords so that the individual column names within them do not clash. The following is conceptual, may not be syntactically accurate. record schema ( result: int8; oldrecord: subrecord { oldfirstcol: int32; oldsecondcol: string[max=32]; oldthirdcol: nullable date; }...
by ray.wurlod
Mon Feb 12, 2007 2:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Uncommitted Read
Replies: 3
Views: 1308

Are you using the Enterprise stage or the API stage?
by ray.wurlod
Mon Feb 12, 2007 2:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Getting the status of a job included in a job sequence.
Replies: 6
Views: 1315

You can explicitly code Notification activity or Routine activity or Execute Command activity in Job Sequence 2 to handle either of Job3 or Job4 failing.