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...

how to sort two columns in single job in datastage.

Answer Posted / srinivas

We can do this by using the sort stage.

Specify the key columns what ever the you are sort.

Specify column name sort specifications
For example i have 3 columns data like below

Name score rank

abc 85 1
bcd 74 3
abc 82 2
bcd 67 4

When u r sort based on first two colmns

u have to specify two colmn names and specificaton

Like: Name Asc, Score Dsc.

Then u will get the output like below.

Name score rank
abc 85 1
abc 82 2
bcd 74 3
bcd 67 4

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are data elements?

1176


Define ds designer?

1282


What is the purpose of pivot stage?

1168


how to run a sequential file stage in parallel if the stage is used on the TARGET side

1746


How can we perform the 2nd time extraction of client database without accepting the data which is already loaded in first time extraction?

2446


What is the method of removing duplicates, without the remove duplicate stage?

1026


Define Merge?

1319


How many types of views are there in a datastage director?

1288


To see hidden files in LINIX?

1530


Differentiate between Join, Merge and Lookup stage?

1094


What are the functionalities of link partitioner and link collector?

1009


What are the types of views in datastage director?

1775


hi iam new to this tooliam cmpltied to know abt datastage so now iam in project tell me whole step by step what iam doing iwnt to go with exp so plz hlp me pals

1873


What are the different options associated with dsjob command?

1441


What are the types of jobs we have in datastage?

1075