I was able to run it and get pdf file in SAS Studio in SAS on demand for Academics environment.
How about changing the ods pdf as follows
ods pdf file = 'LGA Airport.pdf' style=FestivalPrinter;
Or
ods pdf file = "%sysfunc(pathname(work))\LGA Airport.pdf" style=FestivalPrinter;
First, one point is to add the extension ".pdf".
If the problem is that you don't have access privileges, you can try to create it in the work library as in the latter case.
If you can't create it with this, then you have another problem.
... View more