Search found 53125 matches

by ray.wurlod
Wed Apr 15, 2009 4:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in control file when using Oracle Load
Replies: 9
Views: 2543

How (with what tool) did you open the control file? Maybe the limit is in that tool.
by ray.wurlod
Wed Apr 15, 2009 4:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compiling through dscc utility
Replies: 3
Views: 1163

Protect the dscc executable.
by ray.wurlod
Wed Apr 15, 2009 3:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Negative Number representation needs to be modified
Replies: 11
Views: 4567

They are explained well in the UniVerse docs. "MD2-" indicates two decimal places with a trailing sign. Note, though, that the result of Iconv() has masked decimal - to reinstate you would need an Oconv().

Code: Select all

Oconv(Iconv(InLink.TheValue, "MD2-"), "MD2")
by ray.wurlod
Wed Apr 15, 2009 2:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File - Warning Message - Null
Replies: 4
Views: 2043

Wrap your expression in Code tags, otherwise multiple spaces get compressed by the software. Yes, I mean that you need 19 spaces if the Field Width is 19.

Code: Select all

NullFieldValue = "                   "
by ray.wurlod
Wed Apr 15, 2009 2:02 pm
Forum: General
Topic: NullToValue in Modify stage
Replies: 3
Views: 3531

So, basically, the same arguments as NullToValue().

You will find, generally, that the Transformer stage has "To" function names, such as StringToDecimal(), while the Modify stage has "_from_" function names, such as decimal_from_string(), for conversion functions.
by ray.wurlod
Wed Apr 15, 2009 1:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Conversion Error - Loading from Sequential file to Oracle
Replies: 2
Views: 867

Setting this environment variable can, as the information you read (and, indeed, posted) about it tells you, prohibit re-import. That's why my preferred approach is not to use this environment variable but to use Null Field Value property values that match the size of the fixed-width field.
by ray.wurlod
Wed Apr 15, 2009 1:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to supress the warning message generated for NULL fields
Replies: 12
Views: 8479

Set the Null Field Value property to something that has the same number of characters as does the fixed-width field.
by ray.wurlod
Wed Apr 15, 2009 1:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File - Warning Message - Null
Replies: 4
Views: 2043

I prefer to use null field values that match the fixed field width.
by ray.wurlod
Wed Apr 15, 2009 1:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to fetch Meta data of table or file to a file
Replies: 9
Views: 2957

There's not a whole lot you can do with the knowledge, because it's more for the internal management of jobs, but here goes... VnSmPk is the DataStage Repository ID (DSRID) of an object. V is a "view" - the basic job design is always V0 and containers are numbered V1, V2, and so on. Sm is ...
by ray.wurlod
Wed Apr 15, 2009 1:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Informix SDK ODBC Driver: Unable to load driver
Replies: 3
Views: 1376

Add it to LD_LIBRARY_PATH as well. Don't know why, but sometimes having both LIBPATH and LD_LIBRARY_PATH set is necessary. :?
by ray.wurlod
Wed Apr 15, 2009 1:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: dsenv file
Replies: 10
Views: 8492

It may come as no surprise that you may need to re-boot Windows O/S in order for changes to environment variables to become effective. At the very least you will need to re-start DataStage services.
by ray.wurlod
Wed Apr 15, 2009 1:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Invalid Decimal Output
Replies: 8
Views: 2564

What happens if you make PriceX and PriceY larger, for example decimal[11,6]?
by ray.wurlod
Wed Apr 15, 2009 1:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: main_program: Unable to open descriptor file to create: Per
Replies: 3
Views: 3915

There are more grid environment variables you will need to set. The obvious one is APT_GRID_PARTITIONS (companion of APT_GRID_COMPUTENODES). For the Sequential File stage the pathname should be preceded by a reference to APT_GRID_SEQFILE_HOST or APT_GRID_SEQFILE_HOST2 (since sequential file I/O can ...
by ray.wurlod
Wed Apr 15, 2009 1:35 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Convert String to Decimal in subroutine
Replies: 8
Views: 2311

You need to specify, in the Trim() function, that you want to remove @FM characters (the default is to remove white space characters). The full form of the Trim() function has three arguments. You can get away with only two.

Code: Select all

Trim(ActivityName.$CommandOutput,@FM)
by ray.wurlod
Wed Apr 15, 2009 1:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: NLS_MAP IS NOT NAOT VALID
Replies: 3
Views: 1992

The parameter reference is clearly not being resolved. Work it out.

Are there perhaps additional spaces in the parameter name field?