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

count number of deptno in a emp table?

Answer Posted / nish

use aggregator stage: Group by Deptno.
In the calculation field: select RecCount

this will create a new column with count of deptno. Make sure to map to the output stage.

Hope this helps your poorly framed question.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is flow of project?

2057


How can you write parallel routines in datastage PX?

1066


Terminate Activity

1338


What are the different options associated with dsjob command?

1484


How do you import and export the datastage jobs?

1209


In work load management there are three options of Low priority, Medium priority and High Priority Jobs which can be used for resource management. why this feature is developed when there is already jobs prescheduled by scheduler or autosys. what will be the use of workload management then?

1554


what is stage is used for below Input columns: dept|mgr|employee|salary Output columns: mgr|count of employee per mgr|avg salary per dept note: each dept has one mgr and each mgr has many employees

1129


Which algorithm you used for your hashfile?

1233


How do you schedule or monitoring the job?

1267


Where do you see different stages in the designer?

1144


What is the different type of jobs in datastage?

1030


Where the datastage stored his repository?

1140


How a routine is called in datastage job?

1163


Is it possible to implement parallelism in Mainframe Jobs ? If Yes how ? If no why ?

2323


What are the functionalities of link partitioner and link collector?

1061