How to read the file names of a text files from a shared drive
using SAS?
Answer / rahul
With the help of automization we can do it.
we have some functions like dopen, dread,dnum & Dclose.
with the help of these functions we can read file names from any folder or library.
| Is This Answer Correct ? | 0 Yes | 1 No |
What would the following datastep do? Data _null_; Set Dist end=eof; Call Symput("xx"!!left(put(_n_,2.)),&dimension); If EOF then Call Symput('numrows',left(put(_n_,2.))); Run; dimension is a macro variable that is being passed here
What is the difference Using & and && in the macro variables
What is the difference between %put and symbolgen? : sas-macro
what is validvarname and varnum? why we are using this options; explain with a syntax for this options?
What is the basic syntax of a sas program?
what is prime numbers? how we can get plc write sas code?
How does proc sql work?
What do you feel about hardcoding?
How would you code a merge that will write the matches of both to one data set, the non-matches from the left-most data set to a second data set, and the non-matches of the right-most data set to a third data set?
Why do we use QUIT commmand for proc datasets and proc sql ???
What will calendar procedure do?
what is SAS ACCESS AND SAS CONNECT ? Give an example and data statements used.