SAS Data Access Functions

SAS Data Access Functions

The SAS data access functions OPEN(), FETCH(), FETCHOBS(), GETVARN(), GETVARC(), ATTRN(), ATTRNC(), VARNAME(), and CLOSE()] are powerful and under-used elements of the SAS programming language, with broad applications in both macro and DATA step contexts.

How to sort an array in SAS

How to sort an array in SAS?

While working on arrays in SAS, we may need to sort the array in ascending or descending order. In this post, I will demonstrate different methods and techniques you can use to sort an array in SAS.

symdel in SAS

Symdel in SAS

CALL SYMDEL is a data step call routine which is used to delete macro variables from the global symbol table.

IN operator in SAS macro

How to use the IN operator in SAS macro?

IN operator is used in the data step to replace multiple OR conditions. However, if you try to use IN Operator in SAS Macro then you will find that the IN operator is not available

Scroll to Top