Search found 53125 matches

by ray.wurlod
Mon Mar 10, 2008 12:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Print Filenames from Seq File using FilePattern
Replies: 6
Views: 5333

Well done on completing the diagnosis! :D

Now please mark the thread as resolved.
by ray.wurlod
Mon Mar 10, 2008 12:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Perticular routine used by different # of ds jobs
Replies: 6
Views: 2085

It can be done, but not directly. Routines may be called from jobs (as before/after subroutines or as job control routines) or from Transformer stages (as transform functions) or from any active stage (as before/after subroutines). You would need to construct a complex query (or a UNION) on DS_JOBS ...
by ray.wurlod
Sun Mar 09, 2008 2:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Month end dates validation
Replies: 5
Views: 1789

Do the individual tests in separate stage variables. Working in internal format, the "+6 days" test automatically handles leap year. These date arithmetic routines may prove useful. Edit I've just noticed that you are running version 5.x. The export file will probably not import, but the code is leg...
by ray.wurlod
Sun Mar 09, 2008 12:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Month end dates validation
Replies: 5
Views: 1789

OK, you can use Field() to get the date portion from a timestamp and Iconv() to convert that to an internal format date. All you need for the second argument of Iconv() is "DMDY" - it's pretty clever about delimiters and number of digits in the year. What you now need is a time dimension (hashed fil...
by ray.wurlod
Sun Mar 09, 2008 12:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: System Date -15 Years
Replies: 2
Views: 828

Depends how accurately you need it. You could use DateFromDaysSince() if you're happy to say that 15 years is 5479 days. Otherwise you need to break the date into its components, using YearFromDate(), MonthFromDate() and DayFromDate(), subtract 15 from the year component, re-assemble the date, subtr...
by ray.wurlod
Sat Mar 08, 2008 11:14 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Replacing Single Quote with 2 Single Quotes
Replies: 2
Views: 1975

As noted, Convert is one character to one character. Search the forum for a parallel equivalent of EReplace() function which can replace strings with other strings. Then you should be able to use

Code: Select all

EReplace("'", "''", InLink.TheString)
by ray.wurlod
Sat Mar 08, 2008 11:12 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Month end dates validation
Replies: 5
Views: 1789

Not without more information.
1. What is the format of ReportingPeriodEnd?
2. What are you trying to achieve?
3. Have you investigated the MONTH.LAST Transform, rather than trying to re-invent the wheel?
by ray.wurlod
Sat Mar 08, 2008 5:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: JOB Parameters
Replies: 9
Views: 2389

Upgrade to version 8 and use a Parameter Set.
by ray.wurlod
Sat Mar 08, 2008 5:00 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DataStage with WBI
Replies: 6
Views: 1157

You may be able to interface using an External Filter (or External Source or External Target) stage but, of course, what happens "inside" this stage actually happens outside of DataStage.
by ray.wurlod
Sat Mar 08, 2008 4:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: xsi:nil="true"?
Replies: 9
Views: 3903

No, no, no. The Answer is 42.
by ray.wurlod
Fri Mar 07, 2008 8:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Performance between stages
Replies: 4
Views: 1100

"Better" in what way? Probably no significant difference.

The Filter stage does not require sorted input - without knowing precisely which post you are referring to I can not comment on that "solution".
by ray.wurlod
Fri Mar 07, 2008 8:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Strange problem with a PX Job
Replies: 7
Views: 1188

My guess is that the DS_JOBS record was created but not populated. A job type of 0 (and empty is treated as 0) is a server job. If it won't lose you any information try deleting the incorrectly server job and doing the Save As operation afresh.
by ray.wurlod
Fri Mar 07, 2008 5:28 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: decode issue in convert.
Replies: 9
Views: 2023

Given that this is a server job, the ideal solution would be routine containing a Locate statement.
by ray.wurlod
Fri Mar 07, 2008 5:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Performance between stages
Replies: 4
Views: 1100

The answer for Filter vs Transformer (no sort in either case) will depend on the version of DataStage you are running. In 7.5.1 and later - all else being equal, that is you are not having the Transformer do any other processing - the difference will be negligible.
by ray.wurlod
Fri Mar 07, 2008 5:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: MQ stage- Server Vs Parallel job - issue
Replies: 3
Views: 1433

I don't believe we have a member called Plz.
:roll: