Search found 15603 matches

by ArndW
Thu Nov 04, 2010 8:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Varchar to Timestamp Conversion
Replies: 6
Views: 1741

Craig - you gave away the secret 8)
by ArndW
Thu Nov 04, 2010 8:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Basic Transformer taking old params
Replies: 14
Views: 3720

I wrote a test job, simple row generator -> BASIC transform -> Peek and used the value of the parameter as the output row value from the BASIC transform. When calling up with multiple instances I have absolutely no issues and the values are correct and as expected.
by ArndW
Thu Nov 04, 2010 8:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Basic Transformer taking old params
Replies: 14
Views: 3720

I wrote a test job, simple row generator -> BASIC transform -> Peek and used the value of the parameter as the output row value from the BASIC transform. When calling up with multiple instances I have absolutely no issues and the values are correct and as expected.
by ArndW
Thu Nov 04, 2010 8:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage Nested Specification
Replies: 2
Views: 1019

That is a downside of the modify operator in that it doesn't allow such nested functions.
by ArndW
Thu Nov 04, 2010 6:59 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Protected Project
Replies: 14
Views: 3295

Mark at least two projects as protected. Execute

Code: Select all

LIST UV.ACCOUNT ID.SUP @ID EVAL 'FIELD(NAME,"\",4)'
the numeric values should be the same for the two or more protected projects and different for the non-protected ones. Is that the case?
by ArndW
Thu Nov 04, 2010 6:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Basic Transformer taking old params
Replies: 14
Views: 3720

What both Ray and I are driving at is that the BASIC stage has no "memory" of past instance values. If the value used in the run is different from what is passed into the job at runtime then you have most likely hard-coded it somewhere. Does this mean that if you call your job 3 times, the...
by ArndW
Thu Nov 04, 2010 6:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Varchar to Timestamp Conversion
Replies: 6
Views: 1741

StringToTimestamp(DSLink316.DATE[1,10]:' ':DSLink316.DATE[12,12],"%yyyy-%mm-%dd %hh:%nn:%ss.3")
by ArndW
Thu Nov 04, 2010 5:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creating Fixed width files from variable length fields
Replies: 7
Views: 3081

Ok, then could you show what your actual output is and what you expect for some example row?
by ArndW
Thu Nov 04, 2010 5:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Basic Transformer taking old params
Replies: 14
Views: 3720

In the case where you think that the stage is getting the wrong parameter, go to your job log and check the 1st entry for that run to make 100% sure that you are actually using the value you expect.
by ArndW
Thu Nov 04, 2010 5:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem when reading Chinese character in complex flat file
Replies: 1
Views: 1399

Since you are working with X(10) fixed with character, there is no pad character used anywhere, likewise your SELECT won't return any values since you are using just the 2 characters. I am not sure if DB2 Char(10) means 10x 1byte or 10 unicode characters. You have 10 bytes in your source. The initia...
by ArndW
Thu Nov 04, 2010 4:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creating Fixed width files from variable length fields
Replies: 7
Views: 3081

Just add it to your job parameters, then change the runtime value from the default of "false" to "true".
by ArndW
Thu Nov 04, 2010 4:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sleep command in sequencers....
Replies: 3
Views: 1481

koolsun85 - the execute command stage is very simple and well documented. Perhaps you could try to use it and, if you have problems, you could post specific questions to this thread.
by ArndW
Thu Nov 04, 2010 4:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How would you "over-partition" your data?
Replies: 7
Views: 2318

If you think about it, having 8 processes on an 8 CPU system might not really be using the CPU capacity of the machine, since much process time is spent in "wait" states (waiting for data from input or for output data to be confirmed, or for disk I/O or database I/O to complete), so in som...
by ArndW
Thu Nov 04, 2010 3:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creating Fixed width files from variable length fields
Replies: 7
Views: 3081

If you turn on OSH_PRINT_SCHEMAS and check your log entry, you might find that the schema going between the link contains a VarChar() instead of your expected Char() field, which would explain part of the problem. Does your schema leading out of your transform stage have the field(s) in question as ...
by ArndW
Wed Nov 03, 2010 11:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How would you "over-partition" your data?
Replies: 7
Views: 2318

I think that the document is misleading and using "partition" when it should be using "nodes". While the number of parititions that data is distributed into is equal to the number of nodes, the driver is the number of nodes in the configuration file.