Search found 15603 matches

by ArndW
Fri Oct 06, 2006 8:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: jobs compare
Replies: 13
Views: 3692

Be careful what you wish for, you may get it! I know that we'll be pining for "good old Version 7.5x once we work with the first versions of 8"
by ArndW
Fri Oct 06, 2006 7:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: utility run job: get return values
Replies: 20
Views: 7453

Stivazzi, you have now had 3 people comment that this is not the way DS works and that it cannot be done this way. I don't know how much clearer the responses can be UtilityRunJob is a function whose effect (return value) is a dynamic array which contains information about the job's run status and t...
by ArndW
Fri Oct 06, 2006 6:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: About data type conversion
Replies: 6
Views: 1398

DataStage will handle the first one implicitly and you will have to handle the second one yourself by deciding what to do with the positions after the decimal point.
by ArndW
Fri Oct 06, 2006 2:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: utility run job: get return values
Replies: 20
Views: 7453

Ray - that would mean explicitly setting the user return from the job to return the values from the 2 rows; this doesn't seem to be a viable method.
by ArndW
Fri Oct 06, 2006 2:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Proces id..
Replies: 4
Views: 1451

A UNIX process id is assigned by the operating system and DataStage has no control over this process. Every process has a unique ID while executing.
by ArndW
Fri Oct 06, 2006 2:06 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: utility run job: get return values
Replies: 20
Views: 7453

If you need different value for each input row then using a direct link to lookups in the job itself might be the best thing. If the 2 values are needed only one time per job then I would retrieve them in a sequence called before the job and pass them in as parameters.
by ArndW
Fri Oct 06, 2006 2:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Version Value for every run
Replies: 2
Views: 863

Have you looked into the key management routines supplied in DataStage (KeyMgt)?
by ArndW
Fri Oct 06, 2006 1:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: utility run job: get return values
Replies: 20
Views: 7453

I wish I had the docs in front of me, but I suspect they state a "dynamic array" which is quite different from an array. Calling another job from a transform stage using this routine is probably not the best solution for your problem, particularly since it is quite slow (several seconds per row at b...
by ArndW
Fri Oct 06, 2006 1:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: utility run job: get return values
Replies: 20
Views: 7453

Andrea,
the utility run job is a function which will return an integer as the value - this is the return code of the job started. What sort of return values in an array are you looking for?
by ArndW
Fri Oct 06, 2006 1:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Regarding Data
Replies: 4
Views: 1052

This is a great interview question. Try answering Rejected data in server jobs is collected in special airtight DataStage "Containers" so that the bad data doesn't corrupt the good data. Memory leaks in these containers can cause data corruption on hard drives. Once these containers are 80% full or ...
by ArndW
Fri Oct 06, 2006 1:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Cannot import one job
Replies: 5
Views: 1418

If you cannot see the job in the repository yet importing the DSX fails then the first step I would suggest is to rebuild your indices. You will need to enter TCL or go via the ADMINistrator to issue the command, make sure you are the only person using DataStage and then enter DS.TOOLS and enter opt...
by ArndW
Fri Oct 06, 2006 1:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading Packed Data from Db2 table
Replies: 4
Views: 1523

You can use the SDK routines to unpack these fields. I'm not at a DataStage computer right now to tell you the exact name of the routine, but if you look under the SDK category you will find them.
by ArndW
Thu Oct 05, 2006 2:15 pm
Forum: General
Topic: Mouse Scrolling
Replies: 4
Views: 3371

Welcome to DSXChange, jguldy! It isn't a function of DataStage; the mouse scrolling function just issues the windows commands to go up or down {n} lines. It must be some windows setting. Can you scroll in a Word-For-Windows or notepad session using the mouse with the same userid that won't work in a...
by ArndW
Thu Oct 05, 2006 12:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: fractional truncation issue
Replies: 9
Views: 6086

It looks like we are one step closer. The error is that the values that DataStage are sending to the database don't match that DDL's format. You stated that in DataStage you have a numeric with 7,2 defined; but what is the actual database definition for that column?
by ArndW
Thu Oct 05, 2006 12:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to PAD with Leading Zeroes
Replies: 5
Views: 2782

I can think of a couple of approaches in a transform stage using string functions.
One would be

Code: Select all

STR('0',10-Len(In.String)):In.String

or

Code: Select all

RIGHT('0000000000':In.String,10)
to name just two methods.