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.
Search found 15603 matches
- 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
- 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- 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
- 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
- Wed Nov 22, 2006 7:53 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: coding conversion
- Replies: 15
- Views: 3422
- 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
- Wed Nov 22, 2006 7:19 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: coding conversion
- Replies: 15
- Views: 3422
- 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...
- 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
- 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
- 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"
Please look at the BASIC handbook and search for the function "DSExecute"
- 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
- 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.
- Wed Nov 22, 2006 5:04 am
- Forum: General
- Topic: JOIN TWO SEQUENTIAL FILE
- Replies: 8
- Views: 5200
- Wed Nov 22, 2006 5:02 am
- Forum: General
- Topic: JOIN TWO SEQUENTIAL FILE
- Replies: 8
- Views: 5200