Search found 53125 matches

by ray.wurlod
Fri Apr 24, 2015 4:58 pm
Forum: General
Topic: Extracting Email Attachments
Replies: 3
Views: 1797

One of my colleagues is preparing a paper for Insight 2015 on extracting information from emails into DataStage. Not sure if it addresses attachments, and it's in a very early phase.
by ray.wurlod
Fri Apr 24, 2015 4:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: issues with To_CHAR function
Replies: 12
Views: 7976

You cannot change the fact that NLS is installed.

However, the NLSMODE parameter in the uvconfig file determines whether NLS is enabled or not.

The usual caveats apply, such as the need to reconfigure shared memory during a restart of the engine having changed the uvconfig file.
by ray.wurlod
Thu Apr 23, 2015 4:46 pm
Forum: General
Topic: Master Sequence Job Design
Replies: 5
Views: 2624

You do have a scheduler. It's called the Information Server scheduling service.
by ray.wurlod
Thu Apr 23, 2015 4:45 pm
Forum: General
Topic: Error on SET.FILE.MAP RT_BP3 NONE FORCE command
Replies: 5
Views: 2921

What are the permissions to the RT_BP3 directory? When you use the SET.FILE.MAP command, it has to write a hidden file called .nlsmap into the directory. If you don't have write permission to the directory, then the command will fail.
by ray.wurlod
Thu Apr 23, 2015 5:05 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: extra comma in csv file
Replies: 3
Views: 2205

Best is to get the provider of the file to give you a correct file.
by ray.wurlod
Thu Apr 23, 2015 3:36 am
Forum: IBM QualityStage
Topic: Preserving part of a token
Replies: 3
Views: 3182

The substring operator is generous in that you can specify an ending position beyond the end of the token and it will return only up to the end of the token. In your case, something like the following should work, assuming a numeric token. ; Numeric token beginning 001 or 011 - remove IDD code from ...
by ray.wurlod
Thu Apr 23, 2015 12:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: issues with To_CHAR function
Replies: 12
Views: 7976

There is, and how that is done depends on whether or not you have NLS enabled. If you have NLS enabled, then the ordinal day number settings are specified in your locale. Without NLS there is, if I recall correctly, an undocumented setting in the uvconfig file. Or you could simply subtract 1 from th...
by ray.wurlod
Wed Apr 22, 2015 3:11 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calculation in Stage Variable
Replies: 5
Views: 1608

Convert your date string into an internal format date using StringToDate() function, then to the number of days from a given day zero - from which you can perform "day arithmetic".
by ray.wurlod
Tue Apr 21, 2015 4:41 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup failure for data length mismatch
Replies: 7
Views: 2261

Try changing it to 0x20, at least for this job. That changes it from a NUL to a space character, which will be handled by your Trim() functions.
by ray.wurlod
Mon Apr 20, 2015 10:56 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup failure for data length mismatch
Replies: 7
Views: 2261

What is the value of APT_STRING_PADCHAR environment variable in your project?
by ray.wurlod
Mon Apr 20, 2015 10:54 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle append method without duplicates entry
Replies: 5
Views: 1908

To answer your first question, "no".

Why have Extract Date if it's not permitted to be used? Resist stupid requirements!
by ray.wurlod
Mon Apr 20, 2015 6:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Oracle append method without duplicates entry
Replies: 5
Views: 1908

If every load is uniquely identified (perhaps with a run ID, perhaps with a created timestamp) you can use these identifiers to roll back to a known good point in the event that you need to re-load.
by ray.wurlod
Mon Apr 20, 2015 5:21 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Lookup failure for data length mismatch
Replies: 7
Views: 2261

Perhaps the char2 columns are padded to length? Because they are different lengths, that could result in mismatches occurring.
by ray.wurlod
Fri Apr 17, 2015 5:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problem loading timestamp using ODBC Connecter
Replies: 8
Views: 8360

Server jobs don't have a timestamp data type. Try reading it as a Char or VarChar data type. You may need a CAST in your SQL, but try it without that first.
by ray.wurlod
Thu Apr 16, 2015 4:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Append Hint in Oracle Insert from Datastage Connector
Replies: 5
Views: 4065

Set the Table Action property value to Append.
Note that this may use function calls via the OCI to specify to append to an existing table, rather than using hints in the generated SQL.