Search found 160 matches
- Mon Apr 16, 2007 6:47 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Trim issues
- Replies: 12
- Views: 4930
- Sun Apr 15, 2007 11:38 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Trim issues
- Replies: 12
- Views: 4930
- Sun Apr 15, 2007 8:35 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Trim issues
- Replies: 12
- Views: 4930
Trim issues
Somebody can tell me how to get numbers and letters from such a string by trim function.
KBN12390 -> to get KBN and 12390
234BN -> to get 234 and BN.
Thanks
KBN12390 -> to get KBN and 12390
234BN -> to get 234 and BN.
Thanks
- Thu Apr 12, 2007 11:27 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Process empty value problem.
- Replies: 9
- Views: 2731
It goes weired. and I add len(trim(field))=0. From my first job, read input data from merge stage, then output to a transformer, transformer outut data to a sequencial file. apply the rules. it looks like some of them work, and some of them don't work well. Then I create another job, read from seque...
- Thu Apr 12, 2007 6:09 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Process empty value problem.
- Replies: 9
- Views: 2731
Process empty value problem.
I need to put a '#' instead of empty value for all my output fields. then I use if ( trim(Body.UTOADAD)='' Or IsNull(Body.UTOADAD)) then "#" else Body.UTOADAD in transformer. And actually in the output file, there are still some empty value ( at least invisible ) in the output column ? Wha...
- Thu Apr 12, 2007 6:07 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: funnel Stage issue
- Replies: 9
- Views: 3877
- Thu Apr 12, 2007 7:38 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: funnel Stage issue
- Replies: 9
- Views: 3877
- Wed Apr 11, 2007 11:47 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Question about Job parameters ?
- Replies: 2
- Views: 1178
Question about Job parameters ?
I am not sure whether it is a very stupid question. Basically, I have a job with one parameter ( of course with default value). There are 3 different stages in my job deal with different tasks. Can I change the value of my job parameter in the first stage, and then my second stage can use the job pa...
- Wed Apr 11, 2007 10:15 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: funnel Stage issue
- Replies: 9
- Views: 3877
use cat file1 file2 file3 > outputfile is fine. But based on my understanding, funnel stage should work if we set the property as sequence, it will read the data from the first input link firstly, then next, then next. But actually, it didn't . Is there any problems when funnel stage output the file...
- Wed Apr 11, 2007 10:03 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to generate sequence number in Parallel Job
- Replies: 8
- Views: 3194
Actually, the output is only one row. It is the header of output file. After the file generated, I will use cat to merge 3 files into one, they are header, body and tail. The sequence number is a field of the header file. for example if we run out jobs weekly. And the first week is 0001, second week...
- Wed Apr 11, 2007 9:58 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Got error when viewing the dataset file
- Replies: 3
- Views: 2205
- Wed Apr 11, 2007 8:38 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Got error when viewing the dataset file
- Replies: 3
- Views: 2205
Got error when viewing the dataset file
I try to have a look at the data in my dataset. And I go to designer, and use Tools - Dataset management, and system give me an unknown error.. somebody knows what is wrong ? I am on Linux. but actually my next job and read the dataset file successfully. Is there any name rules for the dataset file,...
- Wed Apr 11, 2007 8:33 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to generate sequence number in Parallel Job
- Replies: 8
- Views: 3194
It is like a job sequence number, once I kick-off the job once, it was added by 1. Like first time 0001, next time 0002. About where to store, it is a problem. Since for server version, it was stored in a hash file somewhere in the server. For parallel version, I try to use a sequencial file to stor...
- Wed Apr 11, 2007 12:59 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Data format conversion issue
- Replies: 3
- Views: 1466
- Tue Apr 10, 2007 9:21 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Data format conversion issue
- Replies: 3
- Views: 1466
Data format conversion issue
I got an integer number, like 12, And I need to convert it into 0012 char(4). I use DecimalToString(DSLink231.seqNum,'fix_zero'), And PadStringDecimalToString(DSLink231.seqNum,'fix_zero') ,'0', 4) It doesn't work. Then I try Str('0', (4-Len(DecimalToString(DSLink231.seqNum,'fix_zero')))) : DecimalTo...