Search found 53125 matches

by ray.wurlod
Wed Sep 17, 2008 12:30 am
Forum: General
Topic: How to Attach a Log File in Email-Notification activity
Replies: 12
Views: 10207

If you have a routine already, what's the problem?
by ray.wurlod
Tue Sep 16, 2008 11:57 pm
Forum: General
Topic: How to Attach a Log File in Email-Notification activity
Replies: 12
Views: 10207

DataStage does not have log files. Job logs are database tables.

What kind of log file are you wishing to attach?

Being on version 7.0 you will need to write your own routine to invoke sendmail() with attachments. The ability to do this from DataStage was introduced in version 7.5.
by ray.wurlod
Tue Sep 16, 2008 11:55 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: copy hashed file
Replies: 8
Views: 1976

You don't have to copy .Type30 - it's empty. But it does need to be there. It signals to DataStage that this directory is a hashed file. Without it DataStage treats it as an ordinary directory, and DATA.30 and OVER.30 as ordinary files, with the results you obtained. Hopefully you have not attempted...
by ray.wurlod
Tue Sep 16, 2008 10:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: copy hashed file
Replies: 8
Views: 1976

Yes, provided that the hardware is compatible (primarily byte order). For example, copying from a non-Intel chip to an Intel chip would cause difficulties, because every pair of bytes in the hashed file would be in the wrong order. This can be remedied with the format.conv utility (also known as fnu...
by ray.wurlod
Tue Sep 16, 2008 10:09 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to get sysdate from basic programming in datastage
Replies: 1
Views: 4447

Current system date can be obtained using the Date() function.

This is in DataStage internal format, so that Date() + 6 is the (internal) date six days from now.

Convert the internal date into any desired format using Oconv() function.
by ray.wurlod
Tue Sep 16, 2008 8:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem in keeping the order of rows same using aggrega
Replies: 6
Views: 1684

Repeated advice

You are grouping data (in the Aggregator) so the rows can only come out of that group by group.
by ray.wurlod
Tue Sep 16, 2008 8:15 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Schema File: First Line is Column Names:FALSE/TRUE
Replies: 2
Views: 2113

Probably not, since this is a stage property not a link property. The schema is a link property.
by ray.wurlod
Tue Sep 16, 2008 8:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential File Rejects
Replies: 6
Views: 4313

There's only one reason for rejecting when exporting, and that is that the data do not match the metadata. Add a Reject output link from HDR_TARGET to capture the rejected rows, write them to a text file (as a single string) to see what is happening. Actually, all rows can also be rejected if you do...
by ray.wurlod
Tue Sep 16, 2008 5:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Removing zeros for decimal values
Replies: 7
Views: 3165

If the data type of the output is string, then DecimalToString() may or may not be needed. It may be able to occur as an implicit conversion.

In that case, you could get rid of leading and trailing zero characters with a Trim() function.
by ray.wurlod
Tue Sep 16, 2008 3:33 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: partition despite preserve-partitioning flag
Replies: 6
Views: 37253

Inputs (input ports) are numbered from 0. So if you have a stage with three inputs, they are #0, #1 and #2. Outputs are also numbered from 0. The alert is generated whenever the downstream operator can not use the same partitioning as the upstream operator. This may be, for example, because the down...
by ray.wurlod
Tue Sep 16, 2008 3:24 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage
Replies: 6
Views: 3196

You don't use dfloat between the parentheses; you use the name of an input column. And it must be of type string (look at the name of the function again).
by ray.wurlod
Tue Sep 16, 2008 3:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job Monitor and Oracle Enterprise stage
Replies: 8
Views: 2343

Is your job monitor (a separate Java application) actually running?
by ray.wurlod
Tue Sep 16, 2008 3:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: problem in keeping the order of rows same using aggrega
Replies: 6
Views: 1684

actually there is another input to funnel stage which comes from an 'external command' stage :D Then your question is not the one originally posed. But my answer is unaffected. And there's another possible cause of rows being out of order - what mode of operation is being used in the Funnel stage?
by ray.wurlod
Tue Sep 16, 2008 3:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Working with excel
Replies: 11
Views: 3423

Re: Working with excel

ppavani_km wrote:First you need to change the Excel file as .CSV file.
This is not true if you have an ODBC driver for Excel.
by ray.wurlod
Tue Sep 16, 2008 3:16 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: extract data from Emails, PDF files ?
Replies: 7
Views: 2672

When's the interview?

IBM has lots of information it wants to share with you about accessing unstructured data.