Search found 15603 matches

by ArndW
Wed Nov 17, 2010 6:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I convert a string into a date?
Replies: 4
Views: 1682

I just noticed a typographical error on my part, the format should be
"%dd-%mmm-%yyyy"
by ArndW
Wed Nov 17, 2010 6:56 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Replace a character in a string
Replies: 4
Views: 1393

I vaguely recall someone posting either source code or comments about a user-written function to emulate the REPLACE function in server jobs, perhaps you could search for it.
This might be a case where a server job might be useful.
by ArndW
Wed Nov 17, 2010 6:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting from string to date
Replies: 4
Views: 1694

Your data string error message shows a leading space, which, as ajith_infy has already seen, needs to be removed in order for the format to match.
by ArndW
Wed Nov 17, 2010 6:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How can I convert a string into a date?
Replies: 4
Views: 1682

Your date format is incorrect, it should read "%dd-%mmm%-%yyyy"
by ArndW
Wed Nov 17, 2010 4:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Replace a character in a string
Replies: 4
Views: 1393

There is no builtin function in PX to do this.
by ArndW
Wed Nov 17, 2010 3:43 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to handle Not Null columns using Schema file
Replies: 13
Views: 6564

Are you applying your schema to the one-column record in a column import stage? If so, you can use the reject mechanism there.
by ArndW
Wed Nov 17, 2010 3:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Two versions of Jobs repository?
Replies: 9
Views: 2855

There is just one repository system, but at Version 8 and above you have both hashed files and the XMETA repository contents to keep in synch. Since you have used an undocumented method to force delete a job, you might have caused damage to your project which cannot be easily fixed. Can you try to f...
by ArndW
Wed Nov 17, 2010 3:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: how to get minimum value without using aggregator stage
Replies: 10
Views: 3853

If you get incorrect values with multiple nodes then you have partitioned incorrectly. You need to partition on DEPTNO.
by ArndW
Tue Nov 16, 2010 10:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to handle Not Null columns using Schema file
Replies: 13
Views: 6564

What happens when you put a reject link on your input file? (That was not really a question, but an answer...)
by ArndW
Tue Nov 16, 2010 10:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need Project Name
Replies: 2
Views: 1057

Yes, there are. If you want to get the current project name in BASIC or a job sequence, try

Code: Select all

DSGetProjectInfo(DSJ.PROJECTNAME)
by ArndW
Tue Nov 16, 2010 10:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compile for a certain job never finishes
Replies: 7
Views: 1753

Colin - All I can think of is increased sunspot activity influencing your compile times.

(for those of us who weren't around when the Dead Sea was just sick, google "BOFH" or "Bastard Operator from Hell" 8) )
by ArndW
Tue Nov 16, 2010 10:11 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Issues Compiling DS Job with External C++ routine
Replies: 4
Views: 2887

This is somewhat confusing, since the error you posted is for a job that calls the "ParsenExtract" instead of the cpp program you mentioned. The error message refers to an inability for finding the object code - which is set in your repository definition of the "ParsenExtract" ro...
by ArndW
Tue Nov 16, 2010 10:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sequential Routine in parallel job works partially
Replies: 1
Views: 858

Yes, you won't be able to set the value using an embedded BASIC transform stage for this reason.
by ArndW
Tue Nov 16, 2010 6:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to handle Not Null columns using Schema file
Replies: 13
Views: 6564

There is no "not null" in schema files, if "nullable" is not present in the schema description then the field is not nullable.
by ArndW
Tue Nov 16, 2010 6:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: help needed in understanding SQL to Internal data type conv
Replies: 6
Views: 1967

a SQL Char is converted to whatever datatype you declare that column to be in the DB stage. The table shows what implicit conversions can be done.