Search found 151 matches

by saraswati
Thu Sep 22, 2011 9:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling SQL server stored procedure from datastage.
Replies: 23
Views: 21692

No.....I have not tried Stored Procedure stage.

I don't want to return any values from the stored procedure.

Can I use ODBC stage? If yes,then pls let me know how?

I want to call a SQL server Stored procedure by passing some input parameters
by saraswati
Wed Sep 21, 2011 1:31 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Calling SQL server stored procedure from datastage.
Replies: 23
Views: 21692

Calling SQL server stored procedure from datastage.

Can someone tell me how to call a SQL server stored procedure by passing parameters from datastage ?
by saraswati
Wed Sep 14, 2011 7:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Limitation on space usage in a DataStage project
Replies: 6
Views: 3787

Limitation on space usage in a DataStage project

Do we have a limitation on the space available for a particular project. I used to get xmeta exceptions in a project with a large number of jobs when I had tried to create new jobs or create a copy of a job. When I finally deleted some unused jobs, I am not getting that exception.
by saraswati
Wed Jun 15, 2011 11:18 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job not behaving as per expectation
Replies: 11
Views: 4858

Thanks. I understood what you meant! Since the values in DEPTNAME are sparse hence they landed in one partition. I have one query. The Configuration file in my Production System has 8 logical nodes. If in there I receive 50,000 records for DEPTNAME='IT' and 50,000 records for DEPTNAME='HR' then the ...
by saraswati
Wed Jun 15, 2011 11:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job not behaving as per expectation
Replies: 11
Views: 4858

Another thing. If I Set the Copy Stage to Round Robin (or Auto) and the downstream stages to Same then the records are evenly partitioned into the two logical Nodes. But yes then the records are getting split-ted wrongly which off-course is of no help. :( Also If I Set the Copy Stage to Round Robin ...
by saraswati
Wed Jun 15, 2011 10:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job not behaving as per expectation
Replies: 11
Views: 4858

Hi James,

No there are no node constraints in use in the Job.

regards,
saraswati
by saraswati
Wed Jun 15, 2011 10:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job not behaving as per expectation
Replies: 11
Views: 4858

Sorry for missing out the values in the table : EMP. Here they are: EMPNAME DEPTNAME SALARY ----------- ------------- -------- HARRY IT 10000 SALLY HR 30000 DAVID IT 5000 MARK HR 7500 JANUARY IT 20000 JULIAN HR 15000 Since there are 2 logical nodes. So a Hash partition on DEPTNAME should have made 2...
by saraswati
Wed Jun 15, 2011 10:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job not behaving as per expectation
Replies: 11
Views: 4858

(1) The Oracle Connector stage has a user defined query which selects three columns : SELECT EMPNAME, DEPTNAME, SALARY FROM EMP The Oracle Connector Stage has been set to run in Sequential Mode (2) The Next Stage Copy is copying the records returned by the Oracle Connector Stage and passing it into ...
by saraswati
Wed Jun 15, 2011 6:33 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job not behaving as per expectation
Replies: 11
Views: 4858

Job not behaving as per expectation

Hi Friends, I have a Job which is designed as below: <Oracle_Connector_Stage> -> <Copy_Stage> -> <Aggregator_State> -> <Sequential_File> (1)Now my job is running on a configuration file with 2 logical nodes. (2)The Oracle Connector Stage is running sequentially. (3)The Copy Stage had been configured...
by saraswati
Mon May 23, 2011 6:20 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic to find no. of saturdays and sundays betwen two dates.
Replies: 17
Views: 6762

CREATE OR REPLACE FUNCTION FUNC_START_DATE (delivery_date DATE, in_transit_days NUMBER) RETURN DATE IS Counter NATURAL := 0; CurDate DATE := delivery_date; DayNum POSITIVE; SkipCntr NATURAL := 0; Direction INTEGER := 1; -- days after delivery_date BusinessDays NUMBER := in_transit_days; BEGIN IF in...
by saraswati
Mon May 23, 2011 10:12 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic to find no. of saturdays and sundays betwen two dates.
Replies: 17
Views: 6762

The above logic doesn't work out.

Basically, I want logic to subtract N weekdays from a given date.While subtracting,we will not consider Saturdays and Sundays.
by saraswati
Sun May 22, 2011 9:19 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic to find no. of saturdays and sundays betwen two dates.
Replies: 17
Views: 6762

I am using Oracle database. I will explain you the business requirements. A delivery date is there for a material. There is a certain intransit days for shipment for a particular material.Currently,the shipment start date = delivery date - Intransit days. So, the number of saturdays and sundays whic...
by saraswati
Sun May 22, 2011 8:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic to find no. of saturdays and sundays betwen two dates.
Replies: 17
Views: 6762

I am only concerned about the working days( Mon-Fri) and not holidays. I will give you an example. Start_date = 20110509 End_date= 20110518 So, there is only one weekend between these days. (14th and 15th May). I need to shift the start day two days before 20110509. Now,the challenge is 20110507 and...
by saraswati
Sun May 22, 2011 7:52 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic to find no. of saturdays and sundays betwen two dates.
Replies: 17
Views: 6762

Re: Logic to find no. of saturdays and sundays betwen two da

I am looking for a logic to get it immediately implemented using parallel transformer.
by saraswati
Sun May 22, 2011 7:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Logic to find no. of saturdays and sundays betwen two dates.
Replies: 17
Views: 6762

Logic to find no. of saturdays and sundays betwen two dates.

Please let me know a logic to find out the number of weekends ( Saturdays\Sundays) between two dates.