SAS data sets consist of a descriptor portion and a data portion that contains the data values. The descriptor portion of a SAS data set holds the detailed information about the data set. This information includes: Dataset name and its ember type Creation time of the dataset The number of observations The number of variables The… (0 comment)

There are a number of statements, options, functions, and programming alternatives that are well suited to controlling how and when all or a portion of a program can be stopped conditionally. Sometimes we want to control the flow of the individual data steps of the program. This may include the termination of a step or even the SAS job itself. There are several exit strategies depending on the objective.… (0 comment)

How to Password protect SAS datasets ?
Password Protecting SAS datasets Password Protecting SAS datasets means using access control on your data to prevent unintended access and secure your data. SAS has provided three levels of Access controls over the data and is implemented using passwords. Those access controls are read-write and alter. Passwords are hierarchical in terms of gaining access. For… (0 comment)

PROC PRINTTO procedure is used to redirect log output and procedure output to files or printers. To save the output in an external file, specify the external file or the fileref in the PROC PRINTTO statement. Syntax: PROC PRINTTO <options>; Options in Proc Printto LABEL= It provides a description for a SAS log or procedure… (0 comment)

How to delete datasets in SAS?
It’s an everyday SAS activity to manually delete all or some of the data sets that your SAS Program generates. It is an efficient programming practice to delete a dataset if it is not used anymore. There’s no need to add up unnecessary disk space. Additionally, it will make your libraries simpler to navigate and… (0 comment)

How to create folders in SAS?
Table of Contents 1 DLCREATEDIR2 DCREATESyntax:X md (an X Statement)3 Deleting a Directory To create folders in SAS, there are a variety of system options, functions and commands that you can use.  These tools can be automated to perform repetitive routine tasks and which avoid manual work and save a great deal of time.Enter your… (0 comment)