Search found 23 matches

by Tampa_Indy
Tue Sep 01, 2015 10:01 am
Forum: General
Topic: How do I create a basic Sequencer?
Replies: 16
Views: 8030

How do I create a basic Sequencer?

Trying to create a sequencer that kicks off 40 jobs. Technically speaking, there is no need for any sort of 'sequence.' All it needs to do is run all 40 jobs at once. What is the best way to accomplish this? FYI, I have brought in all 40 DataStage jobs into the Sequence file, but do not know what to...
by Tampa_Indy
Wed Aug 26, 2015 2:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: AlNum Function Giving Me Headaches
Replies: 4
Views: 2561

I am trying to distinguish non-numeric values with alphanumeric ones. For example, if you have the following values:

#
^345
* 999
STRK
STLM
Close*tome

I would want to completely remove '#', have a field contain '345' and ' 999' and a different field with 'STRK' 'STLM' and 'Close*tome'
by Tampa_Indy
Wed Aug 26, 2015 1:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: AlNum Function Giving Me Headaches
Replies: 4
Views: 2561

AlNum Function Giving Me Headaches

I am trying to run the following: if alNum(left(trim(<string>),1)=1 and length(trim(<string>)) > 1 then SetNull() Else <string>[2,10] However, it is not working?! Any idea what I am doing incorrectly? I removed everything except AlNum(<string>)=1 then setnull() else <string>[2,10] but that does not ...
by Tampa_Indy
Mon Aug 24, 2015 12:53 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Return values if they have a space ' ' ELSE don't return it
Replies: 10
Views: 4294

Will the field function work? I have the following:

if isnull(Field(lnk_Cast.BASEBALL," ",1)) THEN " " ELSE lnk_Cast.BASEBALL

So if the field does not contain a space, then it will return nothing otherwise it will return the field with the space. Correct?
by Tampa_Indy
Mon Aug 24, 2015 12:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Return values if they have a space ' ' ELSE don't return it
Replies: 10
Views: 4294

Can you write an example for this? I was unable to get it to work.
by Tampa_Indy
Mon Aug 24, 2015 11:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Return values if they have a space ' ' ELSE don't return it
Replies: 10
Views: 4294

Return values if they have a space ' ' ELSE don't return it

Can anyone provide guidance on creating an equation that will return values if a space exists in the field?

e.g. if you have the following values:

100 hits
strikeout
right field
shortstop

The returned values would be '100 hits' and 'right field'
by Tampa_Indy
Tue Aug 04, 2015 12:57 pm
Forum: General
Topic: Mass update for all stage names - Crazy or possible?
Replies: 10
Views: 4959

Mass update for all stage names - Crazy or possible?

Is it possible to complete a mass update of stage type objects names for all our DataStage jobs? For example, if we wish to update all the CDC names from different names we currently have listed (e.g. CDC_Q, cdcNow, RT_CDC, etc.) to just CDC. How can we accomplish this versus going into each job and...