I'm receiving the error as follows. May I know what might be the likely cause for this error?
50 filename mymail email ("babloo.kiya@xxx.com")
51 subject='CREFIUS Table status' attach=email.sas7bdat;
52
53 data email (rename=card=Num_of_observations rename=lastused=Processed_Date drop=curr_month);
54 /*file mymail;*/
55 set Crefius;
56 curr_month=intnx('month',today(),0);
57 format curr_month date9.;
58 if month(lastused) ne month(curr_month) then
59 call symput('message','Inspect the Crefius Tables');
60 else call symput('message','Crefius Tables ready for download');
61 run;
NOTE: There were 15 observations read from the data set WORK.CREFIUS.
NOTE: The data set WORK.EMAIL has 15 observations and 3 variables.
NOTE: DATA statement used (Total process time):
real time 0.00 seconds
cpu time 0.01 seconds
62
63
64 data _null_;
65 file mymail;
66 set email;
67 put "&message.";
68 run;
NOTE: The file MYMAIL is:
E-Mail Access Device
ERROR: Error opening attachment file EMAIL.SAS7BDAT.
ERROR: Physical file does not exist, /GTU/AGSR/bin1/SASConfigFolder/Lev2/SASDIT/EMAIL.SAS7BDAT.
... View more