Search found 6797 matches
- Mon Jul 24, 2006 9:45 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: sequence number
- Replies: 6
- Views: 2573
Thanks loveojha2. For some reason i thought it was to be incremented for the same group , but if it needs to remain the same then yes, you fixed my code. Just a small change is required in this one. The first row needs to be handled as it has nothing to be compared against and the stage variable 'co...
- Mon Jul 24, 2006 2:19 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: sequence number
- Replies: 6
- Views: 2573
- Mon Jul 24, 2006 2:15 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: MS SQL Sever Connectivity for Parallel extender
- Replies: 8
- Views: 1378
- Mon Jul 24, 2006 12:59 pm
- Forum: Site/Forum
- Topic: Three hurrays for Ray and ArndW
- Replies: 2
- Views: 3513
Three hurrays for Ray and ArndW
You guys are just awesome. Ray's name speaks for itself and ArndW, cant find words to describe your importance to this forum. Congratulations once again, on behalf of dsxchange and me , on blazing to the post numbers you guys are at today. Honestly, we all lookup to you guys. Thanks for teaching us ...
- Mon Jul 24, 2006 12:51 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to get first 2 lines of a file
- Replies: 5
- Views: 1357
Re: How to get first 2 lines of a file
One problem of doing this with a transformer is that the file's name has a date and changes and looks like you can't use wildcards on sequential files Thats a problem, yes, but whats stopping you from creating a second file with a constant name with just the first two records (constraint of that li...
- Mon Jul 24, 2006 12:47 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to count records in unix
- Replies: 8
- Views: 3854
grep -c will only return 1 if there are no line terminators. The OP has still not confirmed whether is a single huge line or multiple lines. For that he needs to perform a sed operation to replace the martian delimiter with a LF and then simply do a wc -l. That should do it. Something like sed 's/@@...
- Mon Jul 24, 2006 12:34 pm
- Forum: IBM<sup>®</sup> DataStage TX
- Topic: Reading Mutliple Files in a Card
- Replies: 6
- Views: 2850
- Mon Jul 24, 2006 12:32 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Help req for setting proper ENV variable
- Replies: 9
- Views: 2472
- Mon Jul 24, 2006 12:26 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: sequence number
- Replies: 6
- Views: 2573
- Sun Jul 23, 2006 10:20 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to count records in unix
- Replies: 8
- Views: 3854
- Sun Jul 23, 2006 9:48 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: sending mails by pickuping from Teradata Database
- Replies: 4
- Views: 987
- Sat Jul 22, 2006 10:07 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Leading 0's
- Replies: 34
- Views: 15859
Ok, try this,
That arithmatic manipulation should get the issue resolved, then again i do not understand why you/data modeler, has set an amont field as varchar in the database.
Code: Select all
(PAR_AMOUNT*100)/100
That arithmatic manipulation should get the issue resolved, then again i do not understand why you/data modeler, has set an amont field as varchar in the database.
- Sat Jul 22, 2006 3:06 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Contractual Date Spans for an Employee
- Replies: 2
- Views: 728
What database are you using?
If its in oracle then you can use the Lag() and Lead() functions to get the previous and next values respectively. Look at the following website on more details on these functions
http://www.adp-gmbh.ch/ora/sql/analytical/lag.html
If its in oracle then you can use the Lag() and Lead() functions to get the previous and next values respectively. Look at the following website on more details on these functions
http://www.adp-gmbh.ch/ora/sql/analytical/lag.html
- Sat Jul 22, 2006 2:38 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sum , Sort and Get Results
- Replies: 7
- Views: 2784
- Sat Jul 22, 2006 2:31 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: UserDefined SQL for inserting Timestamp in DB2
- Replies: 3
- Views: 1595
I do believe you'll find that DB2 wants any date fields in internal format... I wonder if the same is true for timestamps? For timestamps it takes in regular format (not internal). Internal is specific to date types. As Ken suggests, try loading it with sql type varchar. Also note, if you are tryin...