diff --git a/all.sas b/all.sas index 92ffdf4..4db1d4f 100644 --- a/all.sas +++ b/all.sas @@ -1475,6 +1475,12 @@ Usage: the particulars of an environment. For instance, can stream custom results back to the client in an STP Web App context, or completely stop in the case of a batch run. + + Using SAS Abort Cancel mechanisms can cause hung sessions in some Stored Process + environments. This macro takes a unique approach - we set the SAS syscc to 0, + run `stpsrvset('program error', 0)` (if SAS 9) and then - we open a macro + but don't close it! This provides a graceful abort for SAS web services in all + web enabled environments. @param mac= to contain the name of the calling macro @param msg= message to be returned diff --git a/base/mp_abort.sas b/base/mp_abort.sas index 559f9b7..ebcc994 100644 --- a/base/mp_abort.sas +++ b/base/mp_abort.sas @@ -5,6 +5,12 @@ the particulars of an environment. For instance, can stream custom results back to the client in an STP Web App context, or completely stop in the case of a batch run. + + Using SAS Abort Cancel mechanisms can cause hung sessions in some Stored Process + environments. This macro takes a unique approach - we set the SAS syscc to 0, + run `stpsrvset('program error', 0)` (if SAS 9) and then - we open a macro + but don't close it! This provides a graceful abort for SAS web services in all + web enabled environments. @param mac= to contain the name of the calling macro @param msg= message to be returned