To change the working directory: data _null_; rc=dlgcdir("C:\Users\student\Documents\Output"); put rc=; run; The answer provided by @ballardw works, thanks.
... View more
@ballardw thanks, I think it worked. There is a new error, it's trying to write to the Program Files directory, which it does not have permission to do so: Cannot write image to C:\Program Files\... How can I change the output?
... View more
I forgot to mention it also comes with the error: ERROR: No data set open to look up variables. The error log out put is: 24491 %let SYSCC=0; 24492 %let SYsrc=0; 24493 %let EMEXCEPTIONSTRING=; 24494 %let SYSMSG=; 24495 proc sgscatter data=cardata_train; ERROR: File WORK.CARDATA_TRAIN.DATA does not exist. 24496 label make='Make' length='Length'; 24497 label weight='Weight' mpg='mpg'; 24498 matrix make length weight mpg; ERROR: No data set open to look up variables. ERROR: No data set open to look up variables. ERROR: No data set open to look up variables. ERROR: No data set open to look up variables. 24499 run;
... View more
I'm running some code in SAS Enterprise Miner 15.1 from a SAS blog: proc sgscatter data=CARDATA_TRAIN;
label make='Make' weight='Weight';
label horse_power='Horse Power' mpg='mpg';
matrix make weight horse_power mpg;
run; I'm getting the error ERROR: File WORK.CARDATATRAIN.DATA does not exist. The error is correct as the SAS table is called CARDATA_TRAIN, but SAS has prefixed the table name with "WORK" and suffixed with "DATA". Which is why I'm getting the error! Why is SAS doing this? How do I over come this? Any advice would be appreciated.
... View more