Search found 42189 matches

by chulett
Thu Jul 27, 2006 7:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date formatting
Replies: 11
Views: 7182

Check the help, the Convert function converts one character into another. In your case, converting the slashes to an empty string removes them from the field.
by chulett
Thu Jul 27, 2006 7:07 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem when dealing with Date
Replies: 7
Views: 2855

Bottom line is it really doesn't matter what order you stick the pieces together in, or what delimiter you use - as long as it matches the format mask used in the OCI stage. Best Practice is to stick with ISO formatted dates, those in YYYY-MM-DD format, and let the OCI stage automatically generate t...
by chulett
Thu Jul 27, 2006 7:01 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Review checklist & Estimation document/guidelines
Replies: 8
Views: 2583

Not my idea of fun... I can already hear 'taps' playing gently in the background... :lol:
by chulett
Thu Jul 27, 2006 6:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: use calendar to check if it's an open day
Replies: 3
Views: 1164

You don't need to use a calendar to check for Saturday or Sunday. Holidays, yes, weekend, no... the 'conv' brothers can do that for you.

Probably simplest to build a hashed file with your 'disallowed' dates and do a lookup against that with your incremented date: a hit = bad, no hit = good.
by chulett
Thu Jul 27, 2006 6:54 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date formatting
Replies: 11
Views: 7182

Lots of ways. You could substring it apart around the slashes and put it back together with them. You could use your favorite function like Convert, Ereplace or Change to simply remove them from the field.

Suggest you give Convert a try.
by chulett
Thu Jul 27, 2006 6:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Clearing Multi Instance logs with CLEAR.FILE
Replies: 12
Views: 5952

I guess I'm not making my point about what is different with what the RTI jobs do. No solution that includes CLEAR.FILE is appropriate to emulate this, as no log entries are removed. They simply remove all of the multi-instance log entries from the Director when a job is stopped. The only way I've s...
by chulett
Thu Jul 27, 2006 6:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: procedure meta data import DSN issue on AIX
Replies: 4
Views: 1629

You haven't solved your problem with importing the metadata. And of course it will execute without having to do that first, it just simplifies the setup of the stage when you've got a complex SP.
by chulett
Wed Jul 26, 2006 8:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Retreving Multiple Records using Universe Stage
Replies: 13
Views: 4002

You have to create the hashed file with more keys than you plan on using for the UV stage lookup - whatever number lets you preserve the amount of detail you need to retrieve. So, create it with three and then use the UV stage with two keys, as one example. Plus all the other things needed to pull t...
by chulett
Wed Jul 26, 2006 8:26 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Parameter Limit
Replies: 4
Views: 1013

No limit that I've ever run into, though I'm sure there is one. But then I've never seen a job that needed 62 job parameters. I have, however, seen problems in older versions with encrypted parameters needing their values to be rekeyed at times, but seem to recall it was only if you 'arrowed' down t...
by chulett
Wed Jul 26, 2006 8:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Best practice for sort.
Replies: 4
Views: 1124

Yah, the priority part is still a little confused. I'm assuming you just mean that for each value of COL1 you want all values of COL2 in order. And that is just achieved by declaring them in the proper order, from highest to lowest priority to use your terms. The upper and lower-case SortOrder quali...
by chulett
Wed Jul 26, 2006 8:04 pm
Forum: Site/Forum
Topic: Laziness!
Replies: 18
Views: 8952

:wink: :lol:
by chulett
Wed Jul 26, 2006 5:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Report on jobs currently running in DS server
Replies: 18
Views: 8030

Actually, it is what you were asking for. Specifically, the automation part he mentions.
by chulett
Wed Jul 26, 2006 5:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Best practice for sort.
Replies: 4
Views: 1124

Not sure exactly what you are fishing for here. To sort in any tool based on two columns where one has 'priority' as you've called it, just mention them in the proper order: ORDER BY COL1, COL2 The sort stage does something similar using the Sort Specifications property: ColumnName, SortOrder COL1 A...
by chulett
Wed Jul 26, 2006 4:57 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Can we achieve version control in DSPX
Replies: 11
Views: 3458

I was going to say something similar, but then I actually popped the cdrom in and checked. :wink:

Nope, no stand-alone pdf in the Version Control folder. Figured it must be packed in the cab file, needing an actual install to release it.
by chulett
Wed Jul 26, 2006 3:50 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Report on jobs currently running in DS server
Replies: 18
Views: 8030

Depending on exactly what you need, as noted ps -ef with an appropriate grep filter can get you the running jobs. For example, all running Server jobs can be found by grepping for phantom to see all running processes, or DSD.RUN to get a unique list.

Not sure on the PX side of the house...