Search found 215 matches

by nick.bond
Fri Apr 27, 2007 10:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Best approach for unknown varied source
Replies: 19
Views: 7848

That is why you split it into 2 processes, 1) Re-format input file into common structure - 1 job per customer which will be quick to build. 2) Process all reformated files through your complex logic - Only one multi-instance job. It will be quicker to build a new re-format job for each customer than...
by nick.bond
Fri Apr 27, 2007 9:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date value turning into ********** for Nulls
Replies: 18
Views: 3345

Try adding $APT_DISABLE_COMBINATION to your job and set it to True for debugging. Run the job and see what it says.
have you tried that? then post the new error message.
by nick.bond
Fri Apr 27, 2007 9:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem in loading a date
Replies: 10
Views: 49886

Write it out to a sequential file and show us what the value is,.
by nick.bond
Fri Apr 27, 2007 9:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date value turning into ********** for Nulls
Replies: 18
Views: 3345

Go further back in the job though. It will probably complain if you do IsNull() on a field that is not nullable.
by nick.bond
Fri Apr 27, 2007 9:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date value turning into ********** for Nulls
Replies: 18
Views: 3345

I think this might be complaining about the mapping from the previous stage. It looks like the operators have been combined so maybe the error message is a bit misleading where is this field? input0Int8CDKFRLU2_CLS_DT0 Try adding $APT_DISABLE_COMBINATION to your job and set it to True for debugging....
by nick.bond
Fri Apr 27, 2007 9:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date value turning into ********** for Nulls
Replies: 18
Views: 3345

is this field (In.CDKFRLU2_CLS_DT) nullable?
by nick.bond
Fri Apr 27, 2007 9:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Best approach for unknown varied source
Replies: 19
Views: 7848

Out of interest, why do you not know what format the file will come in? Is there a finite set of file formats? If there is create a small job that will reformat each file into standard format and then run that through your main job that has transformations in it. Users can choose which formating job...
by nick.bond
Fri Apr 27, 2007 9:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Best approach for unknown varied source
Replies: 19
Views: 7848

WOW - I would love to see that!

would it not be easier to manipulate the file into a 'Standard Format' which the same job can process each time, rather than re-writing the job to fit the file???
by nick.bond
Fri Apr 27, 2007 9:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date value turning into ********** for Nulls
Replies: 18
Views: 3345

watch out for fields that are set to 'not nullable' from the output of certain stages (certainly lookups). DS will fill that field with Ascii nulls which will cause you a problem when loading, and will not be identified with IsNul() or Len(Trim(field)) = 0. Change the field to nullable and hopefully...
by nick.bond
Fri Apr 27, 2007 5:24 am
Forum: General
Topic: how to call a web service ?
Replies: 4
Views: 1725

Do you have the webservice pack? If you do it it easy, either create a job that writes records to the webservice stage, or you can call the webservice from a routine which datastage writes for you through Manager once you have the webservice pack installed. I've only used this breifly once but it wa...
by nick.bond
Fri Apr 27, 2007 4:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Wrapper Stage
Replies: 12
Views: 3565

EE will combine oporators in the job to improve performance, I can't see how it would try and combine a sort state and your rapper stage, but if you can see the data going into the sort stage and not going from your sort to your rapper stage i would just add $APT_DISABLE_COMBINATION = True as a mean...
by nick.bond
Fri Apr 27, 2007 3:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error while opening Datastage components
Replies: 4
Views: 2036

Has anyone been playing with file permissions?

Check the permissions on DS_LICENSE in $DSHOME. Does your user have access to it?
by nick.bond
Thu Apr 26, 2007 12:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SetNull() in Stage Variable
Replies: 7
Views: 5156

Maybe you should get membership then???! You can't set a stage variable to null in EE. Although, certainly the unpatched version of 7.52 would let you compile a job with SetNull() in it, once you have the patches a compile error is seen. As Ray said, you can get around this by setting the stage vari...
by nick.bond
Thu Apr 26, 2007 10:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: @PARTITIONNUM AND @OUTROWNUM question
Replies: 5
Views: 7714

@INROWNUM is the number of records that have been read from input. It will count up, the @OUTROWNUM for the link with @OUTROWNUM > 6 will not because no records are going down it. @INROWNUM, @OUTROWNUM 1 0 2 0 3 0 4 0 5 0 6 0 At this point if you had the constraint as @INROWNUM > 6 records would go ...
by nick.bond
Thu Apr 26, 2007 9:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Spliting Strings - Stage Variable or Routine
Replies: 10
Views: 2447

Try this, you may find the field function handy if you want these into 3 separate fields.

Code: Select all

Field1 = Trim(Field(FMT(L1.ORG_NM,"25T"), @TM, 1))
Field2 = Trim(Field(FMT(L1.ORG_NM,"25T"), @TM, 2))
Field3 = Trim(Field(FMT(L1.ORG_NM,"25T"), @TM, 3))