I am trying to convert some of VAX DCL code (.COM) to UNIX shell script and I am having a problem with logicals for files, datasets, and directories with files or datastes. My files in the .COM are SAS programs with SAS datastets.
I have done some search for logical define for directory in script and that works fine. But still need to find out on how to define the logical for the specific dataset since many of logicals define in *.COM are SAS datasets.
Since I do not have to much of a UNIX knowledge, then any comments or examples will be very helpfull.
Thank you!
Now I don't know SAS on unix, chances are it can use Environment variables. [ Like DCL symbols ]. and use those as a reference to data sets.
Otherwise you most probably need to specify full pathnames.
This might help:
http://www.stat.washington.edu/~handcock/506/Lectures/lec12.pdf
Page 5 contains an example to open a dataset.