Search found 15603 matches
- Wed Jul 07, 2010 8:11 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Job output parameters
- Replies: 10
- Views: 3767
- Wed Jul 07, 2010 8:06 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to convert Char(20) to Bigint
- Replies: 3
- Views: 3599
The implicit conversion cannot deal with spaces, which your CHAR() column most certainly has. I would use an explicit TRIM and StringToDecimal call to avoid all warnings and errors. I am not at a DataStage computer where I can check the syntax of these calls, but the Parallel Job Developers guide wi...
- Wed Jul 07, 2010 6:27 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Job output parameters
- Replies: 10
- Views: 3767
In your case you could keep the job unchanged and just add to your job sequence. I tried an example using UserVariablesActivity at V8 and got an error message on DSAttachJob() so suggest you create a small 3-liner server routine: GetJobRowCount(JobName,StageName,LinkName) JobHandle = DSAttachJob(Job...
- Wed Jul 07, 2010 5:22 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Job output parameters
- Replies: 10
- Views: 3767
I would start with your PX job - how does it determine validation? One very simple method that you can use from your calling Sequence job is to call DSGetLinkInfo() to get the number of rows that went down a named link - you can use that number for your row count and if the number is 0 then your val...
- Wed Jul 07, 2010 4:17 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to read from an excel sheet in linux?
- Replies: 3
- Views: 1456
- Wed Jul 07, 2010 4:15 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Job output parameters
- Replies: 10
- Views: 3767
Welcome to DSXchange, Steve. What would be an example of your validation job's return value? Is it a simple Yes/No, a string of some type or some other structure? Depending upon how this value is computed you can use the job status or user status to return information to the calling sequence; or you...
- Wed Jul 07, 2010 3:15 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to read from an excel sheet in linux?
- Replies: 3
- Views: 1456
- Wed Jul 07, 2010 1:55 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Upsert functionality
- Replies: 3
- Views: 1482
- Wed Jul 07, 2010 1:47 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: how can I force the stop of a job?
- Replies: 5
- Views: 2339
Remember that the STOP call in the director and from DS/BASIC code doesn't directly terminate any process, it merely sets a flag. DataStage programs all have checks for this flag built into them, and they terminate themselves cleanly when they detect that flag. Sometimes DataStage jobs get 'hung' in...
- Wed Jul 07, 2010 1:39 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: CPU resource utilization
- Replies: 7
- Views: 3228
(I'm depressed, I wrote a long post and it has disappeared, and now I'm out of steam to re-write it...) Don't touch your job or system until you know where your bottleneck is. You will need to measure and analyse what your system is doing before making any changes; otherwise you might cause everythi...
- Wed Jul 07, 2010 1:25 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need help to resolve a logic.
- Replies: 1
- Views: 1205
So the logic is: (a) If the first column is NULL, then use the value from the previous row's first column instead of the NULL. (b) If the second column is NULL; then use the value from the current row's first column instead of the NULL. If that is correct, then use 2 stage variables as follows: svNe...
- Wed Jul 07, 2010 1:20 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Merge Stage -Differnence in row count
- Replies: 4
- Views: 1672
- Wed Jul 07, 2010 1:04 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need help in a range string formation logic
- Replies: 5
- Views: 1484
- Tue Jul 06, 2010 7:55 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need help in a range string formation logic
- Replies: 5
- Views: 1484
I have had a tough day at work doing some complex modifications and needed a break, so I wrote a quite BASIC routine to do this. If you use a BASIC transform stage and call up MakeRangeString(InString) **************************************************************************************************...
- Tue Jul 06, 2010 6:22 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Why join is faster ?
- Replies: 4
- Views: 2356
While it true that the join uses much less memory with similar lookup data volumes than a lookup stage, the conclusion that this is why it is faster is not necessarily true. On a system which would otherwise not use the additional memory required by a lookup stage it would make little difference, If...