Search found 15603 matches

by ArndW
Mon May 15, 2006 5:33 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to Import metadata from MySql?
Replies: 1
Views: 697

Define your ODBC system connection to MySQL and import the metadata that way.
by ArndW
Mon May 15, 2006 5:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: HowToCompare Data with in a file?
Replies: 1
Views: 838

Since it seems that the data content of the file isn't important, you can use Windows/UNIX utilities such as "wc -l" and "tail -1 <yourfile> " to get the information you want and process the logic from there. This can be done easily in a Job Sequence.
by ArndW
Mon May 15, 2006 4:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: HowToCheck Whether File contain today’s date in its name?
Replies: 1
Views: 875

Yes, you can do this in DataStage. This assumes you use a Sequence to get the filename or list of filenames and then you can process this to extract the date. p.s. Please don't use ASAP in a post, it usually will cause any answers to be much slower. ASAP and URGENT are for paid services and usually ...
by ArndW
Mon May 15, 2006 1:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine static call
Replies: 7
Views: 1395

Amos,

I've used recursive functions quite often and they are quite fast. The CALL @Routine is a fast method, but will only work on SUBRoutines and not on FUNCtions.
by ArndW
Mon May 15, 2006 12:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: To Get maximum of two input fields
Replies: 3
Views: 918

There is a function called MAXIMUM which you might want to use, particularly if you need a MAX of more than 2 columns, otherwise stick with the simple IF-THEN-ELSE statement.
by ArndW
Sun May 14, 2006 1:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynamic array manipulation
Replies: 3
Views: 930

The DEL or DELETE command will remove a specific field, value or subvalue. You can use the GROUPSTORE command to do the same if the delimiter in the dynamic array is another one.
by ArndW
Sun May 14, 2006 4:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to create a new job and open an existing job
Replies: 14
Views: 5353

puli.reddy - it is fixtool, not fixfile! And the only other option is the old UVFIXFILE from the TCL environment, and you need to be DataStage administrator to run it.

Do you have your $DSHOME environment variable defined? If not, the program location is a `cat /.dshome`/bin/fixtool
by ArndW
Sun May 14, 2006 3:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to create a new job and open an existing job
Replies: 14
Views: 5353

The program is call fixtool and if it is not there you have an incomplete installation. You can always use the UNIX command "find / -file fixtool -print" to locate it.
by ArndW
Sun May 14, 2006 2:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to create a new job and open an existing job
Replies: 14
Views: 5353

The fixtool is in your $DSHOME/bin directory. When you run this program it will attempt to fix the file, chances are high that you will lose a group's worth of information or more but that the file will be useable after you run the fix. Since the DS_JOBOBJECTS file contains important parts of job de...
by ArndW
Sun May 14, 2006 1:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Guideline for Routine Usage
Replies: 7
Views: 2208

Craig, I did some testing a while back on the performance differences and the PCL does have a significant overhead when the routine itself only does a couple of actions. This is mainly internal overhead for pushing and popping off the stack. I just did a quickie test of a 1-liner routine call and do...
by ArndW
Sat May 13, 2006 5:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to create a new job and open an existing job
Replies: 14
Views: 5353

You need to use fixtool from a UNIX shell, not from inside the DataStage shell. The command is in your $DSHOME/bin directory in case you don't have that in your path.
by ArndW
Sat May 13, 2006 3:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to create a new job and open an existing job
Replies: 14
Views: 5353

Most likely your problem was triggered with a disk full condition, and if you still cannot create a file it probably still is full. Correct that first. Then you will need to go into TCL or your ADMIN tool. Run the command "COUNT DS_JOBOBJECTS" to see what, if any, error message you get. If you have ...
by ArndW
Sat May 13, 2006 2:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Converting MM/DD/YY date to DD/MM/YYYY in EE
Replies: 6
Views: 1802

It seems that your settings for the $APT_DATE_CENTURY_BREAK_YEAR are such that this conversion works incorrectly. You can also specifically force a century for a 2 digit date by using %year_cutoffyy two digit year from year_cutoff (e.g. %2000yy)
by ArndW
Fri May 12, 2006 8:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: import from saquential file with spaces
Replies: 9
Views: 3506

Philos, Ray just explained it to you in his post. Just follow his suggestion in the designer.
If you have a straight derivation in all those columns you apply the TRIM($1) rule and -bingo- it is done for all columns.
by ArndW
Fri May 12, 2006 8:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: search function
Replies: 7
Views: 1758

The INDEX function is used frequently and has been very well tuned. It is also (algorithmically) quite a simple linear search for a substring so is easy to implement. The MATCHES function is much a more complex pattern matching function which has to parse the picture string into it's components and ...