Search found 53125 matches

by ray.wurlod
Mon Jun 04, 2012 1:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: storage of NULLS
Replies: 10
Views: 1989

Curious. That wasn't my understanding.

What do you get if you introduce a null? (Put a specific value, such as 'X', as the Null Field Value.)
by ray.wurlod
Sun Jun 03, 2012 10:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Ouput Reject Records from DB2 Connector
Replies: 5
Views: 1666

Try capturing the reject records into a sequential file, and have a reject link on that stage too (to a separate text file).

Hitting the end of your data will cause DataStage to generate a COMMIT irrespective of the number of records sent to the database.
by ray.wurlod
Sun Jun 03, 2012 3:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: storage of NULLS
Replies: 10
Views: 1989

It isn't. When you mark the int32 field nullable you lose the ability to store -128.
by ray.wurlod
Sun Jun 03, 2012 12:37 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading XML file in windows through external source
Replies: 23
Views: 7738

Try replacing the colon with an equals sign.

Assuming your currently logged drive is C:, try using a UNIX-style pathname, for example /Datastage/Testinputfiles/XML_in_Books.xml (MKS Toolkit will treat the first / as "C:\".)
by ray.wurlod
Sun Jun 03, 2012 12:31 pm
Forum: General
Topic: DSN issue
Replies: 2
Views: 1147

Presumably you used the odbcad32.exe in SYSWOW64 folder.
by ray.wurlod
Sun Jun 03, 2012 12:28 pm
Forum: General
Topic: Get parent sequence job name
Replies: 1
Views: 2502

DataStage macro DSJobController will return this information. It is documented as returning a dot-separated list of all controlling sequences (though doesn't seem to do this at all versions). You can determine in JOBCONTROL.H that this is a call to DSGetJobInfo(). However there is no convenient mech...
by ray.wurlod
Sun Jun 03, 2012 1:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Best approach
Replies: 2
Views: 1169

Your design will work, but you will get a separate row for each source row that matches its condition. Is that what you require?
by ray.wurlod
Sun Jun 03, 2012 1:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: logic
Replies: 9
Views: 3396

It is always the case that a solution that works on two nodes will work on four, or 2000. Such is guaranteed by the way that the parallel execution engine works.
by ray.wurlod
Sun Jun 03, 2012 1:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Reading XML file in windows through external source
Replies: 23
Views: 7738

Why not use command line options to effect the sort? For example ls -1rt
Also, are you putting this in the correct field in the External Source stage? Why is DataStage complaining about hostname? Is it expecting a UNC pathname? Try enclosing the pathname in double quote characters.
by ray.wurlod
Sun Jun 03, 2012 1:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Flattening a multi record type text file
Replies: 1
Views: 1022

First byte or first character?

Either way, I'd read this as a single VarChar field and do the parsing and flattening in a Transformer stage. Use stage variables to preserve, and detect changes in, the header and segment records.
by ray.wurlod
Sat Jun 02, 2012 4:09 pm
Forum: General
Topic: deletion and compiling DataStage categorioes - from Unix
Replies: 19
Views: 6841

BASIC Program

Source Code

and DS stands for DeSign time
by ray.wurlod
Sat Jun 02, 2012 5:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Using Unicode Data in Dtastage Transformer
Replies: 2
Views: 1293

Use an NLS map that includes Greek characters.

Tip: It's a subset of ISO8859.
by ray.wurlod
Sat Jun 02, 2012 5:42 am
Forum: General
Topic: deletion and compiling DataStage categorioes - from Unix
Replies: 19
Views: 6841

Run Time
by ray.wurlod
Fri Jun 01, 2012 4:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: File With Different Record delimiters
Replies: 2
Views: 1621

Read the file using a single VarChar column and parse in a downstream Transformer stage. (This gives you the added benefit that parsing takes place in parallel processing mode.)