How to run SAS/IntrNet® programs in background mode starting in SAS® 9.2


Starting in SAS/IntrNet 9.2, you have the ability to run Application Servers in background mode for certain requests. In order to do this, the following items need to be in place:

1. In the PROC APPSRV statement in the APPSTART.SAS file add the ALLOW_BACKGROUND server option. 

   PROC APPSRV PORT=n <options>;

The ALLOW_BACKGROUND option allows the Application Server to go into background mode.

          SAS Help Center: Syntax: PROC APPSRV PROC APPSRV Statement

2. Start the Load Manager with the -background option.

          SAS Help Center: Application Load Manager Reference

3. In the program that is to be run in background mode, use the APPSRVSET Application Server function to tell the Load Manager and Application Server that this program can run in background mode.

          SAS Help Center: APPSRVSET Function