Hi,
I need to read the data from an URL.
If i click on URL,it displays a pipe delimeted data as shown below.
Name|Place|State
xx|yyyy|zz
kk|fff|ee
Please suggest me what stage can i use to read this data?
Search found 57 matches
- Tue Mar 06, 2012 6:26 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need to read the data from URL
- Replies: 2
- Views: 1164
- Wed Feb 22, 2012 1:15 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need to convert columns to rows
- Replies: 29
- Views: 12252
Hi Kandy, I removed the funnel stage and placed join stage. I performed inner join based on the key generated and passes the elements and values on two columns Next in the transformer stage i inserted newline character after elements. So now i'm getting them in proper order :D . Thanks for your valu...
- Tue Feb 21, 2012 11:49 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need to convert columns to rows
- Replies: 29
- Views: 12252
- Tue Feb 21, 2012 5:55 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need to convert columns to rows
- Replies: 29
- Views: 12252
Are you specific about the order of output rows? Hi Kandy, I resolved that issue by placing previouskey stage variable after the concatenation stage variable. Now i need to funnel out the data like 1st record from 1st transformer containing elements and 1st record from other transformer containing ...
- Tue Feb 21, 2012 1:39 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need to convert columns to rows
- Replies: 29
- Views: 12252
- Tue Feb 21, 2012 1:09 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need to convert columns to rows
- Replies: 29
- Views: 12252
- Tue Feb 21, 2012 12:54 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need to convert columns to rows
- Replies: 29
- Views: 12252
I am exactlly implementing the same logic as you mentioned. As i generated the rownumber in first transformer by setting execution mode as sequential,when iam further passing col1 and rownumber to another transformer,the data is getting partitioned and the output of concatenation is like q,1 q,y,2 p...
- Tue Feb 21, 2012 12:17 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need to convert columns to rows
- Replies: 29
- Views: 12252
My input data will be from a transformer stage where i will be getting xml files,each xml containing different elements. so,i am extracting the elements from the xmls under two columns.one column containing element name and other containing the values. if xml1: <xml><p>2</p><q>3</q> xml2: <xml><x>2<...
- Mon Feb 20, 2012 4:50 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need to convert columns to rows
- Replies: 29
- Views: 12252
- Mon Feb 20, 2012 2:50 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need to convert columns to rows
- Replies: 29
- Views: 12252
Just assign 1 to pivot column and process in transformer stage. When done, sort by your new (concatenated) column in desc order and take the first record by using the appropriate stage ;) Hi kandy, But the earlier approach is giving me the problem when readng more than 2 files. During concatination...
- Mon Feb 20, 2012 1:19 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need to convert columns to rows
- Replies: 29
- Views: 12252
Remove unwanted rows by adding another stage ;) Hi Kandy, Instead of dummy column pivot,i took a column called row_num and assigned it to @inrownum system variable. so that data from each file can have a unique key i.e file1: ,a 1 ,a,b 1 ,a,b,c 1 file2: ,x 2 ,x,y 2 ,x,y,z 2 so that i can arrange th...
- Fri Feb 17, 2012 7:18 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need to Untar the tar files
- Replies: 13
- Views: 5188
- Fri Feb 17, 2012 4:02 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need to convert columns to rows
- Replies: 29
- Views: 12252
- Fri Feb 17, 2012 3:59 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need to convert columns to rows
- Replies: 29
- Views: 12252
Hi, I implemented the following logic I took a column pivot and assigned value 1 . Then in stage variables,i gave current key=pivot nextkey=currentkey concat=if currentkey=nextkey then concat:lnk_input.col1 else '' and it is giving me the following output. ,a ,a,b ,a,b,c--->need to read this row and...
- Fri Feb 17, 2012 3:31 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need to convert columns to rows
- Replies: 29
- Views: 12252