Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Create a job to load all unique products in one table and the duplicate rows in to another table.

The first table should contain the following output

A
D

The second target should contain the following output

B
B
B
C
C

Q2. Create a job to load each product once into one table and the remaining products which are duplicated into another table.

The first table should contain the following output

A
B
C
D

The second table should contain the following output

B
B
C

Answer Posted / nams

It can be done by unix uniq -u file_Name and uniq -d file_Name
or it can be done from datastage sequential file stage filter option from property.....write command overthere like above.....

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are transforms and what is the differenece between routines and transforms?

1066


What a datastage macro?

1060


How to Remove Duplicate using SQL?

1370


Name the command line functions to import and export the DS jobs?

1155


how many rows sorted in sort stage by default in server jobs

3997


Explain usage analysis in datastage?

1163


what are the errors,warnings in datastage

2699


Nls stands for what in datastage?

1190


What is a quality stage in datastage tool?

1076


Explain Quality stage?

1156


What is active and passive stage?

1414


What is Ad-Hoc access? What is the difference between Managed Query and Ad-Hoc access?

2969


Terminate Activity

1279


Name the third party tools that can be used in datastage?

1075


what is the use of materialized view?

1571