Prasad,
when you say that it isn't working "from ETL" does that mean from DataStage? Which stage and and how are you calling the SQL? It might be that you are doing a second encryption by misteak <sic>.
Search found 15603 matches
- Wed Mar 29, 2006 3:03 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Encryption/Decryption
- Replies: 4
- Views: 1300
- Wed Mar 29, 2006 2:58 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: DataStage server migration
- Replies: 11
- Views: 2632
- Tue Mar 28, 2006 12:07 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: if else statement
- Replies: 3
- Views: 1361
Create a stage variable called "DaysDiff" with your date subtraction
In your derivation for column C use. Note that the answer for a difference of 1096 is the same formula as for => 365.
In your derivation for column C use
Code: Select all
IF DaysDiff < 365 THEN DSLink3.ColC ELSE (DSLink3.ColC*365)/(DaysDiff)- Tue Mar 28, 2006 11:18 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Recursive Row Split and Append
- Replies: 10
- Views: 3579
I think I need to digest this a bit, but it doesn't seem (at first reading) that you need anything recursive or even multiple pass - since the 2nd file is of no consequence to you. Can you look at the problem as if it were a machine with two "states" - one before the mode switch, and one after. From...
- Tue Mar 28, 2006 10:22 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: date from month -int (4)
- Replies: 3
- Views: 1160
There is no single builtin function in PX to let you do this. You will need to convert your Month number (based on what first month?) into an actual date and then use the [bold]DateFromDaysSince[/bold] to get a number of date using a average of 30 days/month, or use 29 and accept a possible error on...
- Tue Mar 28, 2006 9:17 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Reinstalling DataStage without restarting Windows/NT server.
- Replies: 3
- Views: 1141
- Tue Mar 28, 2006 7:01 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Performance statastics
- Replies: 7
- Views: 1204
I agree with Ray and Kim. Look at it this way - a program will always try to run as quickly as possible. If it is CPU bound it will grab 99.9x% of the CPU if it can (leaving just enough for the OS) or if it is I/O bound it will grab 100% of the I/O. Since there are always other things goings on with...
- Tue Mar 28, 2006 6:21 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: UVOpen mkdbfile: cannot create file
- Replies: 8
- Views: 2086
- Tue Mar 28, 2006 3:39 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: cal sum of n rows using stage variables
- Replies: 6
- Views: 1369
You asked for a running total in your other threads, that (to me) means a the current total-to-this-record for each row. If you want one row output with only the sum of a particular column's values then the aggregator stage is what you want. The transform stage never "knows" that it has the last row...
- Tue Mar 28, 2006 3:26 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Searching a string in a set of strings
- Replies: 5
- Views: 2070
parag.s.27, this is a premium post; it gives information that is more detailed than normal and is meant for those who are serious enough about their work and use of the DSXchange forum to join and pay the annual membership. I have unmarked the post as "premium" to let you see what you did miss the f...
- Tue Mar 28, 2006 3:14 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Searching a string in a set of strings
- Replies: 5
- Views: 2070
- Tue Mar 28, 2006 2:27 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: cal sum of n rows using stage variables
- Replies: 6
- Views: 1369
You only need to ask 1 time (you've now posted the same question in 3 places within a couple of minutes - including a thread from last year!) Running total is easy. If you have a column In.Col1 that you want a running total on, create a stage variable "RunningTotal" and just assign "RunningTotal + I...
- Tue Mar 28, 2006 2:25 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Need to capture a running total at the end of a transform
- Replies: 18
- Views: 5482
- Tue Mar 28, 2006 2:24 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Need to capture a running total at the end of a transform
- Replies: 18
- Views: 5482
- Tue Mar 28, 2006 2:22 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: UVOpen mkdbfile: cannot create file
- Replies: 8
- Views: 2086
Magesh - note that you are now showing a different error than originally, which is why Ray asked the question. You have a pointer in your VOC file that points to a non-existant file on the system. I think if you were to modify your hashed file settings to also "DELETE file before create" it will rem...