Search found 39 matches
- Tue Jul 03, 2012 7:58 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Problem with SORT
- Replies: 15
- Views: 5881
- Tue Jul 03, 2012 7:49 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Problem with SORT
- Replies: 15
- Views: 5881
- Mon Jul 02, 2012 8:26 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Problem with SORT
- Replies: 15
- Views: 5881
- Mon Jul 02, 2012 7:04 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Problem with SORT
- Replies: 15
- Views: 5881
Here are some more details - 1. Input is a Data set 2. Then a filter to get only these two fields. 3. Did not change anything in partitioning (Auto) 4. the order in sort stage is 1. field1 2. field2 5. output is going to a data set via a Copy state. 6. I tried to change the input partition to use Ha...
- Mon Jul 02, 2012 5:21 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Problem with SORT
- Replies: 15
- Views: 5881
some example
My data is something like ---
Field1 field2
18834 *
18834 0
18832 *
18832 0
the result is coming as -
18832 *
18834 *
18832 0
18834 0
but i want the result as -
18832 *
18832 0
18834 *
18834 0
the first field is 'Double' and the second one is varchar.
Field1 field2
18834 *
18834 0
18832 *
18832 0
the result is coming as -
18832 *
18834 *
18832 0
18834 0
but i want the result as -
18832 *
18832 0
18834 *
18834 0
the first field is 'Double' and the second one is varchar.
- Mon Jul 02, 2012 3:47 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Problem with SORT
- Replies: 15
- Views: 5881
Problem with SORT
Hi,
I am doing the sort on two key columns, but seems like it is doing the sort on the combination of these columns. What i want is - it should sort on first column and in case duplicate records for first column then sort on second column.
Can somebody help please?
Thanks,
Vishal
I am doing the sort on two key columns, but seems like it is doing the sort on the combination of these columns. What i want is - it should sort on first column and in case duplicate records for first column then sort on second column.
Can somebody help please?
Thanks,
Vishal
- Wed Jun 27, 2012 6:33 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to propagate the change in table definition to all jobs
- Replies: 3
- Views: 2254
Re: How to propagate the change in table definition to all j
If i change the sql type of a field from varchar 20 to varchar 30 and my subsequent job does not need this field. In this case if i change the table definition my subsequent job will require changes even if i am not using the field in the job.
- Wed Jun 27, 2012 2:54 pm
- Forum: General
- Topic: Read a Job Parameter from seq file
- Replies: 1
- Views: 1199
Read a Job Parameter from seq file
Hi,
I need to get a date_name from user and derive 2 more fields from DB using this parameter. I need to use all these three fields as the parameter for other jobs. Is this possible?
Thanks,
Vishal Gupta
I need to get a date_name from user and derive 2 more fields from DB using this parameter. I need to use all these three fields as the parameter for other jobs. Is this possible?
Thanks,
Vishal Gupta
- Wed Jun 27, 2012 1:57 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to propagate the change in table definition to all jobs
- Replies: 3
- Views: 2254
How to propagate the change in table definition to all jobs
Hi, I have a situation, wherein i am extracting the data from a table into a staging file and doing the following - 1. I saved the table definition for this staging file. 2. This staging file is being used in 20 more jobs for different funcationalities. 3. All these 20 jobs are reading the file with...
- Mon Jun 25, 2012 1:02 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Case statement in Aggregator stage
- Replies: 6
- Views: 2632
Case statement in Aggregator stage
Hi,
I need to do the following Oracle functionality in Datastage -
sum(case when field1 = 'X' then 1 else 0) countx,
sum(case when field1 = 'Y' then 1 else 0) county
Is it possible to do this in aggregator stage or i need to put this logic in transformer stage before the aggregator.
Thanks,
Vishal
I need to do the following Oracle functionality in Datastage -
sum(case when field1 = 'X' then 1 else 0) countx,
sum(case when field1 = 'Y' then 1 else 0) county
Is it possible to do this in aggregator stage or i need to put this logic in transformer stage before the aggregator.
Thanks,
Vishal
- Tue Jun 19, 2012 10:28 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: ORA-01000: maximum open cursors exceeded, impoting table def
- Replies: 3
- Views: 2846
Thanks!
Thanks! "jwiles" and "chulett"
- Tue Jun 19, 2012 8:46 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: ORA-01000: maximum open cursors exceeded, impoting table def
- Replies: 3
- Views: 2846
ORA-01000: maximum open cursors exceeded, impoting table def
Hi,
I am trying to import the table definition of 10 tables at a time and getting the following error -
The OCI function OCIStmtExecute returned status -1. Error code: 1,000, Error message: ORA-01000: maximum open cursors exceeded.
Can somebody help?
Thanks,
Vishal Gupta
I am trying to import the table definition of 10 tables at a time and getting the following error -
The OCI function OCIStmtExecute returned status -1. Error code: 1,000, Error message: ORA-01000: maximum open cursors exceeded.
Can somebody help?
Thanks,
Vishal Gupta
- Thu Mar 01, 2012 4:34 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: capture lookup failure
- Replies: 2
- Views: 1239
capture lookup failure
Hi,
I need to implement the 'Not Exists' logic of SQL in Datastage. How can i capture lookup failure records in a file or is there a way to do this in Join stage.
Thanks,
vishal
I need to implement the 'Not Exists' logic of SQL in Datastage. How can i capture lookup failure records in a file or is there a way to do this in Join stage.
Thanks,
vishal
- Tue Feb 28, 2012 12:01 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: running dynamic sqls
- Replies: 1
- Views: 818
running dynamic sqls
Hi, My DS job is creating the Insert statements dynamically. Due to bad design of DB everything in my job including Table name is dynamic. I need to execute these statements on Oracle DB in the parallel job. How can i do that, i tired using Db connector for Pl/SQL but i had to provide it the input f...
- Thu Feb 23, 2012 2:12 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: One stage is sequential in parallel jon
- Replies: 5
- Views: 1542
I have the following logic to compare the name of two records. Where the file is sorted on name and rownumber, because there can be two groups same name but sandwitched with another group of name. THe below does not work correctly if the stage is parallel StageVar1 = Input.name StageVar2 = (if Stage...