Search found 62 matches
- Tue Oct 02, 2012 5:25 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: FTP read error:
- Replies: 3
- Views: 2450
FTP read error:
I am using URL path as below to read a CSV file from a remote location. Its throwing an error saying Error occurred during initializeFromArgs(). <FTP_Enterprise_11> uri is having invalid syntax. Please help me to resolve this. ftp:\\usawuxc02\BA_Shared\INTRANET\UNIT TRACE\GAP DOWNLOADS\SIT-LITE.csv
- Wed May 23, 2012 11:35 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Create file for every group of data:
- Replies: 1
- Views: 1118
Create file for every group of data:
Hi folks, I have the following data. I can imagine doing this in loop but would take lot of time as there are many records. Is there any quick way of doing this in datastage? I know this can be acheived using shell. As i am poor in shell I want to see if this can be done in DS. Any help is greatly a...
- Wed Oct 05, 2011 1:00 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Like operator with null handling
- Replies: 5
- Views: 2960
Like operator with null handling
If (Column_1)='0004400' And (column_2)='1221' And Index(column_3,"NOG",1) <>'0' Then 1 Else 0 Output: column1 column2 column3 0004400 1221 DONOG 0004400 1221 NOG-NEW Eliminate all other cases Hi I have a requirement where i need to reject null values and empty spaces as well for all the t...
- Thu Sep 22, 2011 4:51 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Removing Duplicates ---Uncommon Scenario
- Replies: 16
- Views: 10102
I am stuck at this case finally: id bid_no 200 AC634 200 AC455 I need to extract above two records from the remaining records,which are different from other cases. The rule is : if ids are equal , i need to check if their bid_nos start With AC but numerical is not equal . In this case 634<>455. Can ...
- Tue Sep 20, 2011 4:08 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Removing Duplicates ---Uncommon Scenario
- Replies: 16
- Views: 10102
Thanks Naveen and Ray.. The actual requirement has been changed and is as below. Input id name bid_no bname inum custname 100 *sam AC100 sam 64546 Assoc 200 tom AC345 tom 45645 Build 200 tom AC345 tom 45666 Build 200 tom AC345 tom null Build 500 jam AC888 jam 98080 facet 300 can BC399 ban 52344 coun...
- Tue Sep 13, 2011 9:08 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Removing Duplicates ---Uncommon Scenario
- Replies: 16
- Views: 10102
Thanks Sura . your understanding is right as per my requirement. As you said it looked so simple to me. I can first check the condition to see if role = duty and then remove duplicates based on id in the downstream. If role is not matching with duty i need to reject them. These are my assumptions as...
- Tue Sep 13, 2011 8:57 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Removing Duplicates ---Uncommon Scenario
- Replies: 16
- Views: 10102
@Jwiles, I am lost with the requirement .Also, I am trying to run a query against the db but its taking forever . I need to split this query and design a DS job . I just got some sample data with me. Let me get the actual data from the query first , analyse it and will post the complete requirement ...
- Mon Sep 12, 2011 12:24 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Removing Duplicates ---Uncommon Scenario
- Replies: 16
- Views: 10102
Input Id Role Duty 100 *Athlete Athlete 100 *Athlete Running 100 *Athlete Swimming 200 *Manager Accounting 200 *Manager Manager 300 Clerk Supervision 300 Clerk Clerk Output Id Role Duty 100 *Athlete Athlete 200 *Manager Manager 300 Clerk Clerk Sorry I understood your explanation but i dont know how...
- Sat Sep 10, 2011 8:52 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Removing Duplicates ---Uncommon Scenario
- Replies: 16
- Views: 10102
- Sat Sep 10, 2011 7:01 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Removing Duplicates ---Uncommon Scenario
- Replies: 16
- Views: 10102
Removing Duplicates ---Uncommon Scenario
I do need suggestions to solve this uncommon requirement: Id Role Duty 100 *Athlete Athlete 100 *Athlete Running 100 *Athlete Swimming If the Ids are equal then i should check for the columns role and duty : The rule is if ids are equal then output only the row whose role and duty are equal after tr...
- Tue Jun 28, 2011 2:58 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle CASE statement in Datastage
- Replies: 23
- Views: 19994
- Tue Jun 28, 2011 2:09 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Not in or not between condition:
- Replies: 11
- Views: 7298
- Tue Jun 28, 2011 12:56 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle CASE statement in Datastage
- Replies: 23
- Views: 19994
I am new to this Oconv thing and never used stage variables.chulett wrote:Again, what comes from the OConv is nothing that can be treated as a boolean. You'll need to explicitly check the output and then (if so desired) set the result to true/false.
Can you please explain in detail? Sorry if you get annoyed.
- Tue Jun 28, 2011 10:52 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle CASE statement in Datastage
- Replies: 23
- Views: 19994
- Tue Jun 28, 2011 10:38 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Not in or not between condition:
- Replies: 11
- Views: 7298