Search found 14 matches

by rajeevs
Wed Jun 06, 2007 8:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Handling Nulls in Aggregator
Replies: 4
Views: 1932

Thanks Ken !!

I actually did find a solution to the problem !! Within the Aggregator stage there is an option to All Null Output. This by default is set to NULL. When set to True works like a charm !!
by rajeevs
Wed Jun 06, 2007 8:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Handling Nulls in Aggregator
Replies: 4
Views: 1932

Handling Nulls in Aggregator

Hello All: I have a quick question on using the Aggregator stage (Enterprise Edition). I have an AMT column which is a nullable column and it passes through the Aggregator to determine the sum, based on a set of grouped key columns. When the AMT column is null at the source the data after aggregatio...
by rajeevs
Mon Apr 02, 2007 9:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Determine the month difference between 2 dates
Replies: 5
Views: 6027

Determine the month difference between 2 dates

Hello All: I have to find the difference in month between 2 dates. I know we could do it in SQL, but unfortunately these dates are derived from other columns and hence would need to be done within DataStage. Any help would greatly be appreciated!! For example: Date1=2001-01-01 Date2=2004-01-01 Resul...
by rajeevs
Mon Jun 19, 2006 8:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Creating xml
Replies: 3
Views: 1407

Re: Creating xml

Check the Description column on the right of transformer. Check if the column names for the missing column is the same as the other ones..
by rajeevs
Wed May 10, 2006 9:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Call .exe file thru DataStage
Replies: 10
Views: 6728

Ken: The DataStage job is calling the .bat file but it looks like the job is running for ever. It doesn't stop. I tried running the .exe file directly from the server. It runs sucessfully in the server. Is there something that i am missing before calling the .exe file thru DataStage. Kindly advise!!...
by rajeevs
Tue May 09, 2006 3:46 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Call .exe file thru DataStage
Replies: 10
Views: 6728

Yep, the path was pointing to the server and not to my Local folders :)
by rajeevs
Tue May 09, 2006 2:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Call .exe file thru DataStage
Replies: 10
Views: 6728

The entire path for the .bat file was already given.. I editied out the log in my previous message..

-Raj
by rajeevs
Tue May 09, 2006 1:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Call .exe file thru DataStage
Replies: 10
Views: 6728

Call .exe file thru DataStage

Hello All: Could somebody help us call a .exe file through DataStage Server on Windows. The .exe file was created through VB and i need to run the .exe first and then kick-off the DataStage server job. I tried to call them using the Execute Command stage through Sequencer - but could not do so. I al...
by rajeevs
Tue Mar 14, 2006 3:23 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Pass values dynamically to SQL code in passive(database)stg.
Replies: 4
Views: 1910

kcbland wrote:How about a job parameter? Such as

Code: Select all

table.datecol >= '#YourDateParameter#'
...
For a Server job running on windows OS - How do i pass the #dateparemeter# to the SQL stmt ?? Kindly advise..
by rajeevs
Tue Mar 14, 2006 2:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Pass values dynamically to SQL code in passive(database)stg.
Replies: 4
Views: 1910

Pass values dynamically to SQL code in passive(database)stg.

Could somebody please let me know how to pass a value to a SQL in a passive stage. Consider i have a ODBC stage and am connecting to a SQL server database. The scenario here is to use a between clause (or) a < > in a sql statement. This value that i would be passing would be dynamic.. Any suggestion...
by rajeevs
Thu Jan 12, 2006 1:52 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to run a Unix script from another server ??
Replies: 4
Views: 1651

ArndW wrote:Use a call to UNIX shell script and use rsh.
If you do not mind Can you please explain in detail ??
by rajeevs
Thu Jan 12, 2006 11:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: To extract the error messages from the log file.
Replies: 2
Views: 1494

try the following:
DSGetLogSummary
DSGetlogEntry
by rajeevs
Thu Jan 12, 2006 10:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to run a Unix script from another server ??
Replies: 4
Views: 1651

How to run a Unix script from another server ??

From DataStage (which is on one server), how do you run a unix script from Oracle (which is on another server)?
by rajeevs
Thu Jan 12, 2006 10:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job status for running
Replies: 15
Views: 10044

If you are using sequencer -- enable the option to include job status on the job activity stage.. This will give u the log which should also indicate the time it took for it to run !!