Search found 15603 matches

by ArndW
Tue Nov 06, 2007 1:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Day description from given date
Replies: 1
Views: 516

Search the PX manual for weekday_from_date; with this numeric value you can create your own text weekday string.
by ArndW
Tue Nov 06, 2007 1:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with Lookup when using dataset as inputs
Replies: 6
Views: 1320

mcs_ravishankar wrote:hi
dataset cannot be used as direct input source. you can call it in another job as a reference.
I think you might have meant to say something else. I use DataSets as direct input sources and lookup sources all the time and there is no such restriction.
by ArndW
Tue Nov 06, 2007 1:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Right Padding Spaces
Replies: 20
Views: 8742

...I'm not sure how you keep a CHAR field from padding with spaces, even by trying very hard. The only way I could think of was to change the pad char to something else, like 0x000 I've learned never to state absolutes here unless I have proof and recent test cases; and even then Ray will come alon...
by ArndW
Tue Nov 06, 2007 1:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Right Padding Spaces
Replies: 20
Views: 8742

I don't know where your issue is coming from. A char(10) field will always have exactly 10 characters, no more, no less. Take DataStage out of the equation for a minute and just use your PL/SQL. What results do you get for: Select LENGTH(Char10Column) from TestTable; Select count(*) ...
by ArndW
Tue Nov 06, 2007 1:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error in lookup stage
Replies: 5
Views: 1041

Sort unique, remove duplicate, or using a transform w/stage variable when writing the dataset would do it. Also, the warning means that you are only getting one value returned. If you don't care which value it is and don't wish to fix the bad design you could deprecate the warning to an informationa...
by ArndW
Tue Nov 06, 2007 1:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Environment vars / Transform stage won't compile
Replies: 8
Views: 1812

Balajisr - thanks, great suggestion. I used "GetEnvironment('APT_CONFIG_FILE') to get the actual runtime value. I'm still keeping the call with IBM/Ascential open as they either need to add this functionality or document that it cannot be used but this workaround is good for me.
by ArndW
Tue Nov 06, 2007 12:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Environment vars / Transform stage won't compile
Replies: 8
Views: 1812

Well, I got a reply from support but don't really know what to make of it: You cannot use environmental variable in your Transformer and there does not seems to be any workaround. You will have to use Stage Variables within the Transformers. Particularly the second sentence which makes absolutely no...
by ArndW
Tue Nov 06, 2007 12:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Right Padding Spaces
Replies: 20
Views: 8742

If you write Varchar(10) "Hello" to an Oracle CHAR(10) you are going to get "Hello " unless you try very hard not to. Can you do a SEQ(In.Col[9,1]) and output that to a peek stage? It should be 32 (ASCII Space).
by ArndW
Mon Nov 05, 2007 11:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date conversion
Replies: 7
Views: 1523

In a transform stage you can use the derivation "In.DateColumn[4,3]" to get "sep" from "29-sep-07"
by ArndW
Mon Nov 05, 2007 10:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Configuration file
Replies: 2
Views: 869

Please explain what you mean; do you want to know which "node" is fastest or if another node configuration is faster?
by ArndW
Mon Nov 05, 2007 10:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Right Padding Spaces
Replies: 20
Views: 8742

Bonds - a CHAR(1000) field will use up 1000 characters regardless of contents.

I'm a bit confused about what you are trying to do, is it

1. "Hello" stored as "Hello ", or
2. "Hello" stored as " Hello"?
by ArndW
Mon Nov 05, 2007 10:48 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Doesn't reflect the changes the job
Replies: 2
Views: 610

Force compile the job.
by ArndW
Mon Nov 05, 2007 10:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Environment vars / Transform stage won't compile
Replies: 8
Views: 1812

Ray - it has already gone to support. I'm averaging about 4 days before they even call back at this site and am a bit stuck; so I thought I'd throw it out in this forum to see if anyone has encountered this already.
by ArndW
Mon Nov 05, 2007 10:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Environment vars / Transform stage won't compile
Replies: 8
Views: 1812

I tried both the GUI and manually entering it; both failed. Tried first with the actual environment variables and then with the $APT_CONFIG_FILE for the test case to submit to support. Basically one of the parameters (well, project-level environment variables) is a path which is prepended to a colum...
by ArndW
Mon Nov 05, 2007 9:34 pm
Forum: General
Topic: Migrating code from Serrver to parallel jobs
Replies: 2
Views: 846

1. No, it is not possible
2. No.

This is similar to asking "Can I compile my COBOL code with the C++ compiler?"