I am trying to define a SAS dataset directly from Unix bash shell script. The way that I am doing it in my Bash shell script is not working. I used to run SAS programs on VAX DCL code, so I am not very familiar with Unix Bash shell script. Please let me know what I am doing wrong?
Note: SAS dataset "dataset1.sas7bdat" does exist in the "testing" directory in Unix.
Unix Bash shell script:
#script - tmp1.sh
libname lib "$mydir";
if _N_ < 10 then output;
I already tested my way and it's not working, so I am looking for some kind of another way of directly referencing a SAS dataset in the Unix Bash shell script.