Search found 592 matches
- Sat Dec 22, 2007 2:09 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Removing Unprintable characters
- Replies: 11
- Views: 11221
- Fri Dec 21, 2007 9:03 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Removing Unprintable characters
- Replies: 11
- Views: 11221
Here is a C++ program you can use as parallel routine to remove non printable characters from an input string. ASCII character set range can be changed according to your preference by changing values for #define NP_RANGE_START 32 // change 32 to your value #define NP_RANGE_END 126 // change 126 to y...
- Mon Dec 17, 2007 9:51 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Problem with compilation of ds parallel routine on Windows.
- Replies: 7
- Views: 5330
- Fri Dec 14, 2007 5:22 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Issue:Pass the record value to job parameter
- Replies: 7
- Views: 3703
- Fri Dec 14, 2007 3:44 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Issue:Pass the record value to job parameter
- Replies: 7
- Views: 3703
Re: Issue:Pass the record value to job parameter
I have recently posted a parallel routine which exactly does what you need. If you search my previous posts you can find it, alternatively you can find the same in this LINK. Main highlights of this C++ function are: -->Creates and writes on a text file for each record. -->From a stream of sinlge so...
- Thu Dec 13, 2007 2:39 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Adding the Month
- Replies: 3
- Views: 1691
FLOOR(No_Of_Months/12) will give you years to be added/subtracted and
(No_Of_Months MOD 12) will give you months to be added/subtracted
This should give you the lead to your solution. A solution to subtract months is given in this LINK, tweak this code if you want to add, won't be that difficult.
(No_Of_Months MOD 12) will give you months to be added/subtracted
This should give you the lead to your solution. A solution to subtract months is given in this LINK, tweak this code if you want to add, won't be that difficult.
- Thu Dec 13, 2007 5:03 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Routine
- Replies: 3
- Views: 1934
- Wed Dec 12, 2007 6:40 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Adding year to date
- Replies: 2
- Views: 1252
This works unless the incoming date is Feb 29, in which case you also need to subtract 1 from the day number.
ArndW wrote:Is the column type a string? If so, just use...Code: Select all
In.DateColumn[1,4]+6:In.DateCoumn[5,4]
- Wed Dec 05, 2007 10:39 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Some problem in Parallel Routine
- Replies: 13
- Views: 4446
- Wed Dec 05, 2007 4:50 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Some problem in Parallel Routine
- Replies: 13
- Views: 4446
- Tue Dec 04, 2007 10:13 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Some problem in Parallel Routine
- Replies: 13
- Views: 4446
- Mon Dec 03, 2007 3:35 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Some problem in Parallel Routine
- Replies: 13
- Views: 4446
- Sun Dec 02, 2007 10:55 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Some problem in Parallel Routine
- Replies: 13
- Views: 4446
You might not have made the right entries in the General tab for this parallel routine. Cross check "External subroutine name" entry. I have recently made a blog entry on Parallel routines, you can find that in this link
- Sun Nov 25, 2007 5:56 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Where is the Reject Data of Teradata Enterprise Stage?
- Replies: 12
- Views: 8885
- Wed Nov 21, 2007 3:54 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Deadlock on TeraSync table (2631)
- Replies: 10
- Views: 11243
2631 error indicates that this can be a typical deadlock scenario - one transaction has a lock on a resource that another transaction is trying to obtain. Manual indicates: 1) an excessive number of transactions were queued waiting for locks and the user's request would have blocked on the lock queu...