Are you still worried why you’re getting this error in SAS EG ? And how to fix this by assigning pre-existing Libraries in SAS EG. ERROR: Libname <library> is not assigned. 2 Ways to Assign Pre-Existing Libraries in SAS EG…
Tag: SAS
Execute Operating System Commands from Your SAS Session Using MACRO
In this tutorial we will learn how to Execute Operating System Commands from Your SAS Session Using MACRO.In this session we’re going to create a macro function which is going to be used to execute Unix/Linux commands through SAS EG…
How to Extract Date,Time and Datetime in SAS
In this tutorial we will discuss how to Extract Date,Time and Datetime in SAS using inbuilt functions.To get better understanding we will discover data and time seperately then we concatenate these to populate datatime. How to extract Date in SAS…
3 Ways How to Create an empty DataSet in SAS
In this tutorial we will learn how to create an empty dataset in SAS with all the possible ways.Suppose we’are uncertain about data and in sas it create dataset with default length on the basis of current data available. To…
How to Migrate SAS Libraries from one library to another library
In this tutorial we will guide you how to Migrate SAS Libraries from one library to another library using proc migrate procedure.While migrating libraries you can set the encoding as per your requirement. Examples: Migrate SAS Libraries To migrate SAS…
How to Rebuild or Repair your Damaged SAS Datasets
In this tutorial we will guide you how to rebuild or repair you damaged SAS dataset using proc dataset procedure.Sometime due to some memory or physical storage issue the dataset get damaged and not accessible. How to Repair your Damaged…
How CONNECT TO STATEMENT Work in SAS
CONNECT TO STATEMENT in SAS is used when we want to connect database using explicit SQL pass-through let’s take an example using CONNECT TO STATEMENT to connect Teradata system. PROC SQL ; CONNECT TO TERADATA(USER=<USERID> PASSWORD=”<PASSWORD>” SERVER=<SERVERNAME> DATABASE=<DATABASENAME> CONNECTION=GLOBAL…
How to import CSV File into SAS in Windows/Unix/Mac
How to import CSV File into SAS ? Import CSV File into SAS – In SAS one of the most common way to import CSV File is done using proc import procedure and here we are sharing the tutorial How…