12-12-2013 05:54 AM
Kindly let me know how to print selected observaions (for example top 5 observations from each dataset) from all the datasets of a library.
Uma Shanker Saini
12-12-2013 06:35 AM
For number 1 use PROC DATASETS
For number 2 use call execute driven by a data set created by 1
You can use call execute for number 3 too.
12-12-2013 07:50 AM
Have a look at this blog entry Implement BY processing for your entire SAS program - The SAS Dummy by https://communities.sas.com/people/Chris%40SAS it provides excellent explanation on a programming pattern how to approach this.
12-12-2013 12:32 PM
Hi, Pls have a look at this example given in support.sas.com.. This will be definitely helpful.