PROC DATASETS is a procedure that you definitely should become acquainted with.It can accomplish a number of "housekeeping" chores very efficiently. Without it,you would need additional DATA steps and considerable programming.Some of the PROC DATASETS tasks include:copying, deleting, and renaming SAS data sets, renaming variables, changing or adding formats and labels, and appending data sets to other data sets.
Here is an example in which you modify descriptive information on some variables in a SAS data set.Suppose you want to rename variables X and Y, add a label to variable HT,and assign a format to variable DOB .First, here is the inefficient way to do it.
Example– INEFFICIENTLIBNAME libref 'SAS_data_library';
This does the trick, but you have to create a new data set to get it done. Not necessary.You can affect all the changes you need, and save considerable time too, by using PROC DATASETS to work directly on the existing data set as follows:
Example– EFFICIENTLIBNAME libref 'SAS_data_library';
For large data sets, this can be a tremendous savings.The time used for PROC DATASETS is independent of the number of observations in the data set because you are working on the information describing the data set overall, and not on individual observations in the data set.
SAS Programming Related Tutorials
|SASS (Syntactically Awesome Style sheets) Tutorial||R Programming language Tutorial|
SAS Programming Related Interview Questions
|Logistics Interview Questions||SAS Programming,SQL server Interview Questions|
|Clinical SAS Interview Questions||SASS (Syntactically Awesome Style sheets) Interview Questions|
|SQL Server Analysis Services (SSAS) Interview Questions||R Programming language Interview Questions|
|SAS DI Interview Questions||Advanced SAS Interview Questions|
|Base Sas Interview Questions||SAS Macro Interview Questions|
|Clinical Data Management Interview Questions|
Sas Programming Tutorial
Input And Infile
Set, Merge, And Update
Table Lookup Tools
Proc Means And Proc Uimivariate
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.