Hi,
I was wondering if anyone was willing to help me with this. I ran the following and got a note that states that DBSDTM does not exist and I can't figure out why. Any assistance would be appreciated. Thank you!
105 libname dbsdtm 'C:\SAS 9.4\SAS-II Class\Raw Data\SDTM';
NOTE: Library DBSDTM does not exist.
Does the directory
C:\SAS 9.4\SAS-II Class\Raw Data\SDTM
exist on the computer?
Run:
filename DIR pipe 'dir "C:\SAS 9.4\SAS-II Class\Raw Data\SD*" ';
data null_;
infile DIR;
input;
put _infile_;
run;
and show the results
Hi,
This is the result from the submitted code. The file path I used was copied right from the file so not sure why it doesn't recognize it.
Directory SDTM does not exist in that location.
@Patelbb wrote:
Hi,
This is the result from the submitted code. The file path I used was copied right from the file so not sure why it doesn't recognize it.
135 filename DIR pipe 'dir "C:\SAS 9.4\SAS-II Class\Raw Data\SDTM" ';
136 data null_;
137 infile DIR;
138 input;
139 put _infile_;
140 run;NOTE: The infile DIR is:
Unnamed Pipe Access Device,
PROCESS=dir "C:\SAS 9.4\SAS-II Class\Raw Data\SDTM",
RECFM=V,LRECL=32767Volume in drive C is OS
Volume Serial Number is 1A1D-B685Directory of C:\SAS 9.4\SAS-II Class\Raw Data
Stderr output:
File Not Found
NOTE: 5 records were read from the infile DIR.
The minimum record length was 0.
The maximum record length was 46.
NOTE: The data set WORK.NULL_ has 5 observations and 0 variables.
NOTE: DATA statement used (Total process time):
real time 0.63 seconds
cpu time 0.06 seconds
Which SAS setup are you using?
?
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.