Search found 42189 matches

by chulett
Tue Aug 14, 2007 6:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: String manipulation
Replies: 7
Views: 2401

So? That's the beauty of it - 0 is false and anything else is true, not just literally a 1. :wink:
by chulett
Tue Aug 14, 2007 5:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: String manipulation
Replies: 7
Views: 2401

Not quite. Index would return a 1 for 'VS'. Perhaps:

Code: Select all

If INDEX("VS,VR,VU", DSLink142.SR_NO[1,2],1) Then "AVPN" Else DSLink142.SR_NO

Treated as a boolean the derivation will be triggered by any non-zero return.
by chulett
Tue Aug 14, 2007 5:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: specifying parameter SET via dsjob?
Replies: 7
Views: 4858

Good to know! Time to mark this as Resolved it seems.
by chulett
Tue Aug 14, 2007 4:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: String manipulation
Replies: 7
Views: 2401

LEN checks for Length, not content. You need to use the substring operator:

Code: Select all

IF DSLink142.SR_NO[1,2] ="VS" Then "AVPN" Else DSLink142.SR_NO 


ps. Welcome! :D
by chulett
Tue Aug 14, 2007 10:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: value of date parameter in OCI stage
Replies: 1
Views: 684

Sure, just cast it TO_DATE using the proper matching mask:

Code: Select all

and X = TO_DATE('#YOUR_PARAM#','DD/MM/YYYY')
by chulett
Tue Aug 14, 2007 9:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Folder stage Pattern
Replies: 7
Views: 2289

Interesting... to be perfectly honest, all I've ever needed to use was a splat so just made an assumption that it was doing O/S pattern matching. You're right, the help notes only the use of '*' and '...' which implies Universe pattern matching, or so it seems to me. Anyone done anything other than ...
by chulett
Tue Aug 14, 2007 8:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Message Digest C code
Replies: 3
Views: 1832

Well... nothing about that technique itself requires a database table, just some form of persistent storage. I chose a table because of my need to include my ids in other sql operations. And the scope of the persistence would be whatever was appropriate for you needs - just the life of the process, ...
by chulett
Tue Aug 14, 2007 7:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Folder stage Pattern
Replies: 7
Views: 2289

What kind of values are in the "_DEF_" portion of the filenames you want to avoid? Not sure how to do this on Windows, but if "DEF" is always character data, then something like this on a UNIX system would work: ABC_[0-9]* You could also use '?' rather than '*' to specify a maximum number of charact...
by chulett
Tue Aug 14, 2007 7:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: multiple standalone jobs in one job - any performance gain?
Replies: 4
Views: 1296

Well... running them in a Sequence job or in a single Server job with no dependencies between the job streams will both run all four 'in parallel'. It's just that you have restartability and other options available in the Sequence job that you don't have in your original approach.
by chulett
Tue Aug 14, 2007 7:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage corruption
Replies: 8
Views: 5681

Hmmm... this is hardly 'normal' behaviour. If you've continued to have issues across major versions like that, seems to me there's either an environment issue or something (not sure what, however) in how it is being managed. Never ran DataStage on an AIX box so don't know how much of a factor that m...
by chulett
Tue Aug 14, 2007 6:58 am
Forum: General
Topic: Command Line Export
Replies: 2
Views: 1260

No, you'd need to use dsexport instead. Refer here.
by chulett
Tue Aug 14, 2007 6:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling stored procedure
Replies: 1
Views: 1170

If you can connect to the database in question and run the stored procedure from the server where DataStage is installed, then it sure seems to me that DataStage should be able to do the same. The fact that the job doesn't report any errors and yet your work was not done implies to me that you may n...
by chulett
Mon Aug 13, 2007 9:59 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: specifying parameter SET via dsjob?
Replies: 7
Views: 4858

Unless they've specifically added that 'parameter set' option to the command line, you'll need to specify each individually. Check the documentation or type dsjob -run and check the usage statements.

I don't have 8 dot anything so can't check myself.
by chulett
Mon Aug 13, 2007 11:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Query in the transformer
Replies: 5
Views: 1268

OP = Original Poster = Oops. :wink:
by chulett
Mon Aug 13, 2007 11:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Query in the transformer
Replies: 3
Views: 1149

Ah... wasn't aware of the knotted version in the PX world. :wink: