Search found 239 matches
- Fri Nov 30, 2007 12:10 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Add Months to a Date
- Replies: 9
- Views: 7481
- Thu Nov 29, 2007 10:05 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Add Months to a Date
- Replies: 9
- Views: 7481
- Thu Nov 29, 2007 9:14 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Add Months to a Date
- Replies: 9
- Views: 7481
Thanks Ray for this routine on your home page. I went through the routine for AddMonth() I want to use this routine in the transformer stage and add 6 months to the current date. I created a server routine and compiled it. It works fine. I am using PX 7.5.2 I have never called a transform routine in...
- Thu Nov 29, 2007 2:31 am
- Forum: General
- Topic: Comparing dates
- Replies: 5
- Views: 1744
- Wed Nov 28, 2007 11:39 pm
- Forum: General
- Topic: Comparing dates
- Replies: 5
- Views: 1744
- Wed Nov 28, 2007 11:27 pm
- Forum: General
- Topic: Comparing dates
- Replies: 5
- Views: 1744
Comparing dates
I have to compare two dates. My source fields are varchar(10) columns. e.g. in the format 2003-12-10 I order to compare I plan to change the format to YYYYMMDD format. How do I remove '-' in them? Is it that after removing them I need to convert these varchar field to decimal using StringToDecimal f...
- Wed Nov 28, 2007 3:35 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: IsValid and StringToDate
- Replies: 8
- Views: 9486
- Wed Nov 28, 2007 3:12 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Discrepency in the link count
- Replies: 6
- Views: 2050
- Wed Nov 28, 2007 2:19 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Discrepency in the link count
- Replies: 6
- Views: 2050
- Tue Nov 27, 2007 4:29 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: PART and PARTCOUNT
- Replies: 4
- Views: 2014
- Tue Nov 27, 2007 4:23 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: to get duplicate records
- Replies: 18
- Views: 8494
Take the first dataset with 100 records and use the sort stage to sort and remove duplicate records. Set Allow duplicates to true in the sort stage We can capture the duplicate records using the create change key column option under the stage-> properties tab This new key would have the value of 1 f...
- Fri Nov 23, 2007 3:23 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Check for Substring in a string - substring in reference fil
- Replies: 4
- Views: 1329
Thanks Ray. I am not sure if you understand the question: Reference file contains: ACCT,ACCOUNT,TRUST Input records are BANK ACCOUNT CREDIT ACCT TRUST ACCT HAPPY WORLD Now we need to check the occurance of the words in the reference to the input file... Output Column name, Occurance BANK ACCOUNT, 1 ...
- Fri Nov 23, 2007 12:44 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Check for Substring in a string - substring in reference fil
- Replies: 4
- Views: 1329
Check for Substring in a string - substring in reference fil
Hi All, I have a requirement to count the number of occurance of a substring in a string. I am aware of the count function which does this for us. The issue is that the substring values are 8 and I have to use this function 8 times... with OR condition between them. This is fine also. But these 8 su...
- Tue Nov 20, 2007 3:12 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Not able to read from fixed width file
- Replies: 6
- Views: 4090
- Tue Nov 20, 2007 12:48 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Not able to read from fixed width file
- Replies: 6
- Views: 4090