Search found 6797 matches

by DSguru2B
Wed Jan 03, 2007 2:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Processing multiple XML Files
Replies: 1
Views: 667

Look into the sequential file stage, specifically, into the ReadMethod = 'File Pattern'.
by DSguru2B
Wed Jan 03, 2007 2:39 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Writing to a Sequential file
Replies: 12
Views: 2856

What was the schema when you built the file? WHat is the schema when you are reading it?
by DSguru2B
Wed Jan 03, 2007 2:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: regarding routine activity
Replies: 15
Views: 5228

inside your routine. Add a line at the end. Something like

Code: Select all

val=KeyMgtGetNextValue('MyJob1') 
EventMsg="The sequence value is :":val
Call DSLogEvent(DSJ.MET, DSJ.LOGINFO , EventMsg)
Ans=Val
by DSguru2B
Wed Jan 03, 2007 2:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: regarding routine activity
Replies: 15
Views: 5228

Inside the routine you can use DSLogEvent() function to spit out the value of KeyMgtGetNextValue() to the job sequence's log.
by DSguru2B
Wed Jan 03, 2007 1:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: regarding uservariable activity
Replies: 21
Views: 4710

What does 'status' mean? how are you getting that value? This should have been asked in the very begining.
by DSguru2B
Wed Jan 03, 2007 11:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Input beffer overrun
Replies: 2
Views: 2564

Do an exact search on 'input buffer overrun'
by DSguru2B
Wed Jan 03, 2007 10:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: px version of Ereplace()
Replies: 51
Views: 66642

Ok, i finally got the chance to complete it. #include "stdio.h" #include "string.h" #include "stdlib.h" char* pxEreplace(char *str, char *subStr, char *rep, int num, int beg) { char *result = (char *)malloc (sizeof(char *)); int newl...
by DSguru2B
Wed Jan 03, 2007 10:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to create multiple rows from a row
Replies: 10
Views: 3766

It doesnt matter how many values are there. Its horizontal data being pivoted. The final meta data will remain constant. The pivot stage will get this done. I am not saying just one pivot stage. You might need to parse your data a little bit too.
by DSguru2B
Wed Jan 03, 2007 9:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: lookup with multiple columns
Replies: 31
Views: 8721

Hmm. Well, i guess the only other way is to build a dataset using the query and do the join in datastage on all seven columns. Yea, do that, build the dataset with the following query SELECT F.col1, (CASE F.col2 WHEN '*' THEN (SELECT sub_D.col2 from DataBaseTable sub_D where sub_D.col1 = F.c...
by DSguru2B
Wed Jan 03, 2007 8:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: lookup condition and constraints
Replies: 4
Views: 1273

If i understood your requirement then do this:
Get that reference date in a UserStatus. Check it in a stage variable. If its empty then NOT(lookup.NOTFOUND) else @TRUE. Specify stage variable name in the constraint.
by DSguru2B
Wed Jan 03, 2007 8:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Partial Name For Sequential File
Replies: 3
Views: 1628

Use the Read method as 'File Pattern' and then give your FILENAME*.
by DSguru2B
Wed Jan 03, 2007 8:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential file Import problem
Replies: 11
Views: 4035

ray.wurlod wrote:Missing a "g"?

Was missing it :wink: , Kumar filled in the space....Thanks Kumar.
by DSguru2B
Wed Jan 03, 2007 8:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Basic Transformer in Parallel job
Replies: 24
Views: 7040

When you test your routine from command line, does it work, how are you compiling the source code, make sure you compile it with the +Z option.
by DSguru2B
Wed Jan 03, 2007 7:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to Handle not in Function
Replies: 9
Views: 3305

Try by trimming the fields first before doing your inequality check. There might be a trailing space or two. Make those columns varchar.
by DSguru2B
Wed Jan 03, 2007 7:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Utilization of CPU
Replies: 9
Views: 4197

As Craig noted, its not possible at the level we work. Thats Operating System programming which I doubt you want to get into.