Search found 53125 matches

by ray.wurlod
Wed Feb 09, 2011 12:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Human Consumable Dates during Debug
Replies: 2
Views: 1483

1967-12-31 is day number 0.

There's no function you can use in a watch unless you - perhaps - add a dummy column in a Transformer stage and discard it in the following stage.
by ray.wurlod
Wed Feb 09, 2011 11:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Schema File Processing only 100 Records
Replies: 4
Views: 1939

Even fix pack 4 is in the market.

Can you post the actual schema file? Can you please also post the score from one run of the job with more than 100 records? There may be a limiter there. What stage type are you using to read the CSV files?
by ray.wurlod
Wed Feb 09, 2011 11:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What function to use for replacing string?
Replies: 4
Views: 3425

Search DSXchange for source code for pxEreplace() - it does not ship with DataStage so you have to create a parallel routine of it.
by ray.wurlod
Wed Feb 09, 2011 11:17 am
Forum: General
Topic: Migrating from 7.1 to 8.5
Replies: 6
Views: 4581

Directly is OK for 7.1 to 8.5. It is not necessary to upgrade to 7.5 first. Equally it's not wrong to do so, if you want to.
by ray.wurlod
Wed Feb 09, 2011 11:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage scheduler not working with sequence job
Replies: 2
Views: 3272

Has the job actually been run in reset mode?
by ray.wurlod
Wed Feb 09, 2011 11:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Controller problem: Error calling DSSetParam
Replies: 3
Views: 4678

Check the parameter type (e.g. Date) then make sure a valid value for that type is being provided. Date must be in the format YYYY-MM-DD.
by ray.wurlod
Wed Feb 09, 2011 11:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Replace
Replies: 6
Views: 2298

It is easily possible to do this with Ereplace() if that's the only occurrence of 301 in the data, otherwise you'd have to do some more manipulation to determine which occurrence of 301 to replace. Replacing the substring is likely to be a lot easier. InLink.TheString[1,9] : "801" : InLink...
by ray.wurlod
Wed Feb 09, 2011 11:11 am
Forum: General
Topic: Server vs parallel jobs
Replies: 14
Views: 9432

Case by case basis. I guess anything under 1-2 MB (possibly larger) would fit in the small category. There's nothing to prevent a server job setting up a parallel load.
by ray.wurlod
Wed Feb 09, 2011 11:09 am
Forum: General
Topic: DataStage 8.5 training
Replies: 7
Views: 4964

Not this year. I am fully committed through till at least November 2011 doing non-USA things. Probably beyond that.
by ray.wurlod
Wed Feb 09, 2011 3:55 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Help needed in converting code which is in DS Server routine
Replies: 17
Views: 8678

Assuming that my assumptions about the arguments are correct, I would probably design the code to open the file, read each line in the file and output the fields mentioned in the second argument. FUNCTION Grabit(aSubjectValue, aFilePath, aKeyValue, aKeyPosition) $INCLUDE UNIVERSE.INCLUDE FILEINFO.H ...
by ray.wurlod
Wed Feb 09, 2011 3:43 am
Forum: General
Topic: Migrating from 7.1 to 8.5
Replies: 6
Views: 4581

Directly is OK. But you'll need rather more hardware capacity for 8.5 than you needed for 7.5: the extra is taken up with an extra database server (DB2, Oracle or SQL Server) for the common repository, and an instance of WebSphere Application Server to supply the services tier. With version 8.5 you ...
by ray.wurlod
Wed Feb 09, 2011 3:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Help needed in converting code which is in DS Server routine
Replies: 17
Views: 8678

So it's not conversion, it's composition. Is this correct? What will be the arguments to this routine? I'd imagine them to be the pathname to the file, the subject value on which to filter, the key value on which to filter and a specification of which fields are to be returned in the form "1:3&...
by ray.wurlod
Wed Feb 09, 2011 3:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: insert and updateConstraints with columns having null values
Replies: 7
Views: 4027

Tough. You simply cannot look up NULL. It is not a known value. (That's what NULL signifies.)

Here's an analogy: I have something in my hand. Tell me what it is. (That's the equivalent of a lookup - you have no way of knowing what I have in my hand.)
by ray.wurlod
Tue Feb 08, 2011 10:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: creating a file xyz when the same file xyz is found empty
Replies: 4
Views: 2129

Code: Select all

if [ -z #filename# ] then
   echo "x1,x2,x3\n\np,q,r,s" > #filename#
fi
by ray.wurlod
Tue Feb 08, 2011 10:40 pm
Forum: General
Topic: How to store Job start time,end time,job name in Oracle
Replies: 51
Views: 37920

You would be using the correct function if you actually went ahead and tried it!