diff --git a/all.sas b/all.sas index 21dbda0..eeaae95 100644 --- a/all.sas +++ b/all.sas @@ -1551,8 +1551,15 @@ Usage: %end; %if %symexist(SYS_JES_JOB_URI) %then %do; - /* refer web service output to file service in one hit */ - filename _webout filesrvc parenturi="&SYS_JES_JOB_URI" name="_webout.json"; + /* setup webout */ + OPTIONS NOBOMFILE; + %if "X&SYS_JES_JOB_URI.X"="XX" %then %do; + filename _webout temp lrecl=999999 mod; + %end; + %else %do; + filename _webout filesrvc parenturi="&SYS_JES_JOB_URI" + name="_webout.json" lrecl=999999 mod; + %end; %end; /* send response in SASjs JSON format */ diff --git a/base/mp_abort.sas b/base/mp_abort.sas index ebcc994..17f863a 100644 --- a/base/mp_abort.sas +++ b/base/mp_abort.sas @@ -71,8 +71,15 @@ %end; %if %symexist(SYS_JES_JOB_URI) %then %do; - /* refer web service output to file service in one hit */ - filename _webout filesrvc parenturi="&SYS_JES_JOB_URI" name="_webout.json"; + /* setup webout */ + OPTIONS NOBOMFILE; + %if "X&SYS_JES_JOB_URI.X"="XX" %then %do; + filename _webout temp lrecl=999999 mod; + %end; + %else %do; + filename _webout filesrvc parenturi="&SYS_JES_JOB_URI" + name="_webout.json" lrecl=999999 mod; + %end; %end; /* send response in SASjs JSON format */