HomeContact

Latest Posts

Base SAS
SAS Loops – Understanding Leave and Continue
The SAS language sometimes appears ambiguous to programmers with experience in other languages…
Subhro Kar
Subhro Kar
September 02, 2022
1 min
How to Loop through Dates in SAS?
In this example, you'll see how to use a SAS macro and a Do loop in the Data step to loop through dates in SAS. Using the INTNX() function, we can loop over dates based on an offset value. INTCK() can be used to determine the number of months to generate Using the Data step to [...]
August 28, 2022
1 min
How to determine if the external file is empty in SAS?
The macro checks determine if the external file is empty in SAS. An error message is written to the log if it doesn't exist. SAS attempts to read the data from the file if the file exists.  Data access functions like FOPEN, FREAD, and FGET are used to retrieve the data. The message is written to [...]
August 24, 2022
1 min
SAS Data Step Merge Explained
This article explains the data step merge in SAS, including the meaning of a merge, the preliminary…
March 21, 2022
8 min
Previous
Page 5 of 17
Next
© 2025 9to5sas
AboutContactPrivacyTerms