Search found 53125 matches

by ray.wurlod
Fri Dec 07, 2007 12:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: need schedule the datastage job on every month first sunday
Replies: 5
Views: 3274

Code: Select all

svWeekDay = Oconv(intDate, "DWA")
svMonthDay = Oconv(intDate, "DD")
svFirstSunday = (svWeekDay = "SUNDAY" And svMonthDay <= 7)
by ray.wurlod
Fri Dec 07, 2007 12:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Group by Date column
Replies: 11
Views: 1953

Otherwise, determine what format DB2 expects dates to be in. Perhaps by selecting some.
by ray.wurlod
Fri Dec 07, 2007 12:45 am
Forum: General
Topic: Same sequential file as the source and the target
Replies: 10
Views: 3103

You're in a very bad situation, then. How would you do it with any other software? Seriously - all you can do is write to a temporary file then, once the job has completed, delete the source file and rename the temporary file. Or use different directories.
by ray.wurlod
Thu Dec 06, 2007 8:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DataStage Warning....
Replies: 3
Views: 2297

"Too many columns in record" stems from the fact that the total of column widths (field widths) is less than the actual number of characters in a row (record) in the data. That it worked subsequently suggests that the later set of data had the correct number of characters per line. One cause of this...
by ray.wurlod
Thu Dec 06, 2007 7:55 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Count of Records
Replies: 6
Views: 1956

We have only your assertion that the numbers are "weird". What do you mean by this term? Where's the proof?

Have you tried setting the environment variable that causes player processes to report their row counts?
by ray.wurlod
Thu Dec 06, 2007 7:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Passing non-group columns from Aggregator Stage
Replies: 4
Views: 1523

It's known as a "fork join" design.

Code: Select all

----> Copy  --------------> Join ---->
       |                     ^
       |                     |
       +---> Aggregator -----+
by ray.wurlod
Thu Dec 06, 2007 7:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Group by Date column
Replies: 11
Views: 1953

Why do you claim that you can't group by date in the Aggregator stage?
I don't believe you're right.

Have you tried converting the date to DataStage internal format (integer) and grouping by that?
by ray.wurlod
Thu Dec 06, 2007 7:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Increase performance in Server Jobs
Replies: 12
Views: 2693

Doesn't always work, of course. Nine women can't have a baby in one month. This is what's known as a sequential process.
by ray.wurlod
Thu Dec 06, 2007 5:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: need suggestion regarding 'bound error'
Replies: 6
Views: 4473

It's not a bug. It's propagating.
by ray.wurlod
Thu Dec 06, 2007 5:44 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Passing non-group columns from Aggregator Stage
Replies: 4
Views: 1523

Get your head around the fact that you can use Join stage to join the columns back. If "they" say you can't (that is, aren't allowed to), then fight it out with "them".
by ray.wurlod
Thu Dec 06, 2007 5:41 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How do I remove the old timestamp values at the target leve?
Replies: 5
Views: 1509

The WHERE clause in the SELECT statement is more efficient, as you end up processing fewer rows and therefore finish faster. If you insist upon filtering within a Transformer stage, then the proper location is within the constraint expression for the output link. The logic is identical.
by ray.wurlod
Thu Dec 06, 2007 3:46 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Is it Achievable with Schema file
Replies: 2
Views: 1582

Nothing is automatic. Data types will be converted implicitly if this is feasible, but will generate warnings/errors if not.
by ray.wurlod
Thu Dec 06, 2007 3:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to enable clean up resource /performance monitor
Replies: 6
Views: 2336

Cleanup Resources is a tool in Director, enabled from Administrator.

Performance monitor is an independent Java application (JobMonApp) that has its own start command, but which is typically setup to start automatically with DataStage.
by ray.wurlod
Thu Dec 06, 2007 3:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job status...return value...stange problem...
Replies: 6
Views: 1178

dsjob -jobinfo $prm_project $prm_job