Site: SAS on Demand SAS Studio Product: ODS in SAS Studio Please tell me the correct ODS syntax for the destination of a pdf file in the SAS Studio using Windows 10. Excerpts from the log are shown below. The faulty syntax occurs at line 182 of the log and the error message occurs at line 204 of the log. Thank you. 1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK; NOTE: ODS statements in the SAS Studio environment may disable some output features. 69 70 /*===============================================================+ 71 | c:\sys\sas\weight\movingaverage02.sas | 72 | March 15, 2019 | 73 +===============================================================*/ 74 /*==================================================================+ 75 | |5 | 76 | Initial input. | 77 +==================================================================*/ 78 libname home '/home/u57995729'; NOTE: Libref HOME was successfully assigned as follows: Engine: V9 Physical Name: /home/u57995729 79 libname sasuser2 '/home/u57995729/sasuser.v94'; NOTE: Libref SASUSER2 refers to the same physical library as SASUSER. NOTE: Libref SASUSER2 was successfully assigned as follows: Engine: V9 Physical Name: /home/u57995729/sasuser.v94 80 libname weight '/home/u57995729/Weight'; NOTE: Libref WEIGHT was successfully assigned as follows: Engine: V9 Physical Name: /home/u57995729/Weight 81 filename in '/home/u57995729/Weight/weight01.dat'; 82 title;footnote; 83 options nodate number; /* Suppress the date and display page numbers in upper right corner. */ 84 data weight; 85 infile in ; 86 informat day date7.; 87 format day date7. weight 5.2; 88 input day Weight @@; 89 label weight='Weight' 90 day='Date'; 91 run; NOTE: The infile IN is: Filename=/home/u57995729/Weight/weight01.dat, Owner Name=u57995729,Group Name=oda, Access Permission=-rw-r--r--, Last Modified=20Jul2021:12:22:52, File Size (bytes)=20635 NOTE: 209 records were read from the infile IN. --------------------- Several lines imitted------------------- 173 174 /*===============================================================+ 175 ||60 | 176 |Set up the pdf file. | 177 +================================================================*/ 178 options orientation=landscape; 179 ods _all_ close; 180 ods escapechar='^'; 181 ods noresults noproctitle; 182 ods pdf file="C:\DATA\SAS\Weight\movingavg01.pdf" 183 startpage=no; /* No page breaks */ NOTE: Writing ODS PDF output to DISK destination "/pbr/biconfig/940/Lev1/SASApp/C:\DATA\SAS\Weight\movingavg01.pdf", printer "PDF". 184 /* style=styles.test notoc; No table of contents */ 185 /*style=bottompageno;*/ 186 legend1 label=none 187 position=(top center inside) 188 mode=share; 189 axis1 color=black; 190 axis2 order=('01jan06'd to "&endday"d by month2) value=(font=arial h=7pt) /* label=none */ ; 191 symbol1 interpol=join width=2 colour=red; 192 symbol2 interpol=join width=2 color=blue; 193 title1 f=Times j=l "Last day is &lastday"; 194 195 proc gplot data=weight; 196 plot weight*day 197 avg*day 198 /overlay legend 199 vaxis=axis1 200 haxis=axis2; 201 format day monyy5. weight 7.; 202 run; WARNING: The intervals on the axis labeled "Date" are not evenly spaced. WARNING: Font ARIAL could not be used. Font Albany AMT substituted for font ARIAL. WARNING: No minor tick marks will be drawn because major tick increments have been specified in uneven or unordered intervals. NOTE: The axis frame outline was drawn in BLACK as specified on the left vertical axis. Any other axis line colors were ignored. NOTE: 5 observation(s) outside the axis range for the weight * day request. NOTE: 49 observation(s) contained a MISSING value for the avg * day request. NOTE: 4 observation(s) outside the axis range for the avg * day request. 203 quit; NOTE: There were 1459 observations read from the data set WORK.WEIGHT. NOTE: PROCEDURE GPLOT used (Total process time): real time 0.07 seconds user cpu time 0.07 seconds --------------------------- Several lines omitted --------------------- Block Output Operations 168 204 ods pdf close; ERROR: Insufficient authorization to access /pbr/biconfig/940/Lev1/SASApp/C:\DATA\SAS\Weight\movingavg01.pdf. 205 206 207 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK; 217
... View more