Search found 6797 matches

by DSguru2B
Fri Jan 19, 2007 9:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Number of calendar days
Replies: 8
Views: 1482

Code: Select all

ABS(ICONV(in.Date1,"D-YMD[4,2,2]") - ICONV(in.Date2,"D-YMD[4,2,2]"))
by DSguru2B
Fri Jan 19, 2007 9:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: decimal_from_string dosent work ?
Replies: 8
Views: 1756

Get a compiler. It will make your life much easier as transformer is rich in helpful transform functions.
by DSguru2B
Fri Jan 19, 2007 9:35 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Counts and sums in Datastage with out 'Aggregator' stage
Replies: 21
Views: 24520

What you are doing is correct but you need to add another step. Currently if you feed your input (the one you mentioned in your prev. post) to the above logic, your output will look like key1,key2,key3,desc, Count ------------------------- 100,200,300,er,1 100,200,300,er,2 100,200,300,er,3 111,222,3...
by DSguru2B
Fri Jan 19, 2007 8:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: regarding command stage
Replies: 33
Views: 5922

kduke wrote: I am starting to forget the Server stuff.


Who's going to teach us the cool stuff then :cry: ?
by DSguru2B
Fri Jan 19, 2007 8:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Counts and sums in Datastage with out 'Aggregator' stage
Replies: 21
Views: 24520

There must be something you are doing wrong. Do us a favour and post a few lines of your actual file with exact number of columns and post your stage variable derivations. Lets diagnose where your slipping away, shall we.
by DSguru2B
Fri Jan 19, 2007 8:25 am
Forum: General
Topic: Datastage designer freezes
Replies: 6
Views: 3525

Now thats a great ending post, along with the solution. Great. It can make life easier for folks searching for similar issues in the future.
by DSguru2B
Fri Jan 19, 2007 8:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: calling routine within a routine
Replies: 7
Views: 2063

ray.wurlod wrote:

Code: Select all

Call DSX.UTILITYHASHLOOKUP(Result,"HA_REC_TYPE","2000",2)


Hmm. I didnt know a subroutine could be called like that. Thanks for the info Ray.
by DSguru2B
Fri Jan 19, 2007 8:07 am
Forum: General
Topic: Regarding dsjob
Replies: 2
Views: 1510

Type dsjob from command prompt it will give you the syntax there, provided your dsenv is executed prior to calling dsjob. You can also go to developer guide and check out the syntax there.
by DSguru2B
Fri Jan 19, 2007 8:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: fast dsx
Replies: 4
Views: 866

Excellent advice. :wink:
by DSguru2B
Thu Jan 18, 2007 9:51 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Counts and sums in Datastage with out 'Aggregator' stage
Replies: 21
Views: 24520

Did you check the embeded post in my previous reply? Vincent has given the complete code on how to get it done.
by DSguru2B
Thu Jan 18, 2007 5:42 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Convert datetime to internal format
Replies: 6
Views: 1328

Thats a good question Kumar. So sshettar, why do you want to convert it into internal format again? Btw, there is no such thing as internal format for date or time in px world.
by DSguru2B
Thu Jan 18, 2007 5:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to find space used by ETL?
Replies: 5
Views: 1289

kduke wrote:du -s ProjectDir

Is probably a better command.

Thats the command that was'nt coming to me. Its du. Thanks Kim.
by DSguru2B
Thu Jan 18, 2007 5:34 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: ENVIRONMENT USER DEFINED VARIBLES
Replies: 4
Views: 1047

Test it out. make a copy of your DSParams file so that the original one is safe, copy the entire file and see if everything is ok. Test out a few jobs.
by DSguru2B
Thu Jan 18, 2007 5:32 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Convert datetime to internal format
Replies: 6
Views: 1328

kumar_s wrote:StringToTimestamp().

You sure that will give a numerical representation of timestamp :?
by DSguru2B
Thu Jan 18, 2007 5:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sending the Stop message to DataStage from Unix..
Replies: 17
Views: 2713

I was wondering when you were going to figure that out. What trigger are you using? Still this? In Routine1's trigger I am using custom(conditional) and expression as DSJS.RUNWARN. Completely overlooked that. I guess I was more concerned with your question of using it twice rather than what you are...