Is there any way to set the `content-type` in the header of the content streamed to _webout from the Job Execution service? For instance:
Aah it was quite simple, just set the contenttype attribute of the filename statement, eg:
filename _webout filesrvc parenturi="&SYS_JES_JOB_URI"
name='_webout.xml' contenttype='application/vnd.ms-excel'
contentdisp='attachment; filename="MyFile.xml"';
Docs:
Aah it was quite simple, just set the contenttype attribute of the filename statement, eg:
filename _webout filesrvc parenturi="&SYS_JES_JOB_URI"
name='_webout.xml' contenttype='application/vnd.ms-excel'
contentdisp='attachment; filename="MyFile.xml"';
Docs:
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.