Search found 15603 matches

by ArndW
Wed Nov 22, 2006 8:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: lookup on a string or variable & Debugger
Replies: 6
Views: 1151

1. Use INDEX('0123456','0123',1)
2. Use CONVERT(',','.','123,456')
3. No interactive line-by-line debugger in PX. Debugging needs to be done via other means.
by ArndW
Wed Nov 22, 2006 8:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: coding conversion
Replies: 15
Views: 3422

suresh_dsx wrote:i...if i give normally like (sh two.sh) it is working fine...

But that isn't what you are calling from DataStage. What if you issue the exact same command?

Code: Select all

ksh /home/noones/sh two.sh
?
by ArndW
Wed Nov 22, 2006 7:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Change DS Server machine IP address
Replies: 7
Views: 2202

Good one - from someone who is, occasionally, guilty of the same transgression. :lol:
by ArndW
Wed Nov 22, 2006 7:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Aggregator stage performance
Replies: 24
Views: 8753

Recall that there were 2 steps involved. The first was sorting.
by ArndW
Wed Nov 22, 2006 7:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: coding conversion
Replies: 15
Views: 3422

What happens if you issue your command "ksh /home/noones/sh two.sh" manually from a shell. Should be the same error you are seeing in DS? Perhaps your DataStage user doesn't have rx access to the executable "/home/noones/sh"?
by ArndW
Wed Nov 22, 2006 7:48 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Change DS Server machine IP address
Replies: 7
Views: 2202

The machine name is used in the UV.ACCOUNT file and in the schema; when the machine name changes the license validation stops working and you need to re-install.
by ArndW
Wed Nov 22, 2006 7:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: coding conversion
Replies: 15
Views: 3422

But DataStage doesn't have this functionality of doing a wildcard lookup on a directory's files, you need to get that information from UNIX using DSExecute or a similar type of call. So there is no conversion, in the sense that you are looking for, possible.
by ArndW
Wed Nov 22, 2006 6:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: coding conversion
Replies: 15
Views: 3422

No, I won't give that syntax as it is described in the documentation I noted earlier. If you aren't will to read and give it a try (or even to search this forum for code snippets) then I'm not willing to invest time in doing it for you. If you'd actually tried something and it didn't work and posted...
by ArndW
Wed Nov 22, 2006 6:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Preserve the partitioning
Replies: 4
Views: 1356

Odd, I entered "Preserve Partitioning" and "search for all terms" and got 42 hits, many of which are helpful. Perhaps you might try searching again.
by ArndW
Wed Nov 22, 2006 5:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to use Multiple instance to load a single table
Replies: 8
Views: 1512

You can use the link partitioner to do this in the same job. Make sure that you do specify the job properties, Performance Tab, "Row Buffer -> Interprocess" so that these are all fired off as separate processes at runtime.
by ArndW
Wed Nov 22, 2006 5:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: coding conversion
Replies: 15
Views: 3422

DataStage BASIC code is not shell script. The function "[ ! -f ${File_Name}]" will not work. You need to get the file list matching that pattern using a different method. How you do this depends upon where you are coding this.
Please look at the BASIC handbook and search for the function "DSExecute"
by ArndW
Wed Nov 22, 2006 5:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: parallel jobs in window-C++ Complier
Replies: 1
Views: 1748

this is not a FAQ and doesn't belong in this forum. It is a Parallel job question and should have been posted there.

DataStage PX 7.5.2 does not need a C++ compiler, it requires the "MS .NET 2003 C++ compiler " that is part of the Visual Studio software.
by ArndW
Wed Nov 22, 2006 5:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: coding conversion
Replies: 15
Views: 3422

Re: coding conversion

suresh_dsx wrote:If [ ! -f ${File_Name}] Then...


This is not DataStage BASIC syntax. The answer depends upon how you are getting a value for "File_Name" in the program.
by ArndW
Wed Nov 22, 2006 5:04 am
Forum: General
Topic: JOIN TWO SEQUENTIAL FILE
Replies: 8
Views: 5200

you could load one of the flat files to a hashed file using the keys you want to join on, and then use a transform stage with a lookup to perform your join.
by ArndW
Wed Nov 22, 2006 5:02 am
Forum: General
Topic: JOIN TWO SEQUENTIAL FILE
Replies: 8
Views: 5200

Satish,

that solution will not work with flat files in DataStage Server. Try it and see.