Hi Sura,
Thanks for the reply. Problem here is I don't have any table to deal with where in I can use the power of RDMS I have to deal with sequential file unfortunately.
Search found 117 matches
- Wed Feb 25, 2015 11:48 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Assign a Unique key for the rows coming from the source
- Replies: 7
- Views: 2727
- Wed Feb 25, 2015 5:53 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Assign a Unique key for the rows coming from the source
- Replies: 7
- Views: 2727
Assign a Unique key for the rows coming from the source
Hello, How can I assign a unique number to an incoming row when there are several transformers running in parallel as displayed in the below embedded image. The unique number needs to be created for the rows coming from sequential files NOT after transformers as those are performing pivoting of data...
- Mon Feb 23, 2015 3:23 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Derive Column names from Rows
- Replies: 24
- Views: 13534
- Mon Feb 23, 2015 11:51 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Derive Column names from Rows
- Replies: 24
- Views: 13534
- Sun Feb 22, 2015 11:07 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Derive Column names from Rows
- Replies: 24
- Views: 13534
Hello Shane, I stumbled into a situation where in the Header columns and the first row are being read as ONE row, meaning: ROW 1: ABC|DEF|GHI|JKL|MNO|XYZ 123|234|333|222|666|345 ROW 2: 789||||555| When I implement RCP from here on I am not sure if I will be able to load the table. I was expecting th...
- Wed Feb 18, 2015 1:45 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Derive Column names from Rows
- Replies: 24
- Views: 13534
Shane, Yes key columns are identifiable but they are not the same in each target table as per my previous example: ABC column is the key for staging table 1 and GHI column is the key for staging table 2. That's a viable solution RCP didn't struck my mind. For Inserts there will be one job to load 2 ...
- Wed Feb 18, 2015 10:16 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Derive Column names from Rows
- Replies: 24
- Views: 13534
- Wed Feb 18, 2015 10:08 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Derive Column names from Rows
- Replies: 24
- Views: 13534
Hello Shane, Yes, the target is database so I need after I loaded the sequential file as per your solution, How can I go by using it dynamically ? Yes, that 3rd column is the DB action but I don't do anything with it as of now. I will load 2 staging tables which will have respective column names tha...
- Mon Feb 16, 2015 12:43 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Derive Column names from Rows
- Replies: 24
- Views: 13534
- Fri Feb 13, 2015 9:29 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Derive Column names from Rows
- Replies: 24
- Views: 13534
- Thu Feb 12, 2015 7:46 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Derive Column names from Rows
- Replies: 24
- Views: 13534
Hello Shane, Thanks for your extensive insight into this. My data is sourced from XML and I pivot the data which is shown in my example. It is not always 3 columns at a time, there can be any number of columns as Ray pointed out it is dynamic. Yes, rows arrive as header row, data row, header row, da...
- Wed Feb 11, 2015 8:49 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Derive Column names from Rows
- Replies: 24
- Views: 13534
- Wed Feb 11, 2015 4:49 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Pivot_XML:Error when checking operator: Caught parsing error
- Replies: 6
- Views: 6577
- Wed Feb 11, 2015 4:47 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Derive Column names from Rows
- Replies: 24
- Views: 13534
Derive Column names from Rows
Hello, Below is the scenario: In the data that I am getting from the source Column names are embedded into rows I have to pivot these rows and derive column names from them. I have done the pivoting part which is shown in the sample below, I am left with the challenge to derive column names from row...
- Tue Feb 10, 2015 10:21 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Pivot_XML:Error when checking operator: Caught parsing error
- Replies: 6
- Views: 6577