Hello Team, I am looking for the sample code which can generate and allow user to download the PDF file while using the _webout in data step( data _null_) in stored process. I have tried multiple options using the below content disposition but it is allowing me to download the pdf file but giving an error while opening downloaded PDF file, attached screenshot for your reference. %let RV = %sysfunc(appsrv_header(Content-type, application/pdf)); %let RV = %sysfunc(appsrv_header(Content-disposition, %str(attachment; )filename=temp.pdf)); Please note, STP code is working fine and able to generate RTF and Excel. Thanks and Regards, Dipan Arya
... View more