Job Execution Services

The job execution service provides a common, standardized way for applications to create, submit, store, retrieve, and queue jobs for SAS servers. The job execution service can be configured with the Configuration Manager plug-in to SAS Management Console. The settings define the job thread pool and the execution thread pools for all logical servers that the job execution service uses for delegating work.
Job Execution Services Settings
JobExecutionServices Properties dialog box
Job Execution Service Settings Descriptions
Setting
Default Value
Description
Job Queue Minimum Threads
3
Initial number of job queue threads to create for incoming job requests.
Job Queue Maximum Threads
26
Maximum number of job queue threads to create if the demand requires additional resources.
Enable role-based security
Disabled
If enabled, then the job execution service checks the identity and the job characteristics to make sure the identity making the request meets the assigned permissions. For more information, see Job Execution Service Roles.
Enable job persistence
Enabled
Jobs are kept in memory only if persistence is disabled. If persistence is disabled and the SAS Web Infrastructure Platform Services Web application or the Web application server is stopped, then there are no records written to the SAS Web Infrastructure Platform database about any jobs that were submitted. When persistence is enabled, the job execution services can restart any jobs that were submitted, queued, or running. For jobs that are complete, clients can fetch the results after a restart, when persistence is enabled.
Enable Distributed-IP Scheduler job runner
Enabled
If enabled, then the distributed in-process scheduler is used for running scheduled jobs. Disable this setting if Platform Suite for SAS is available and the preferred scheduling method.
Available Server Contexts
SASApp
Use the controls to select the server context to configure.
Enable for interactive execution
Disabled
If enabled, then the servers in the associated server context perform interactive workspace tasks and interactive stored process tasks only. If disabled, then the servers can perform batch and interactive job execution.
Server Minimum Threads
1
Initial number of task threads to create for incoming job requests.
Server Maximum Threads
varies
Maximum number of task threads to create if the demand requires additional resources.
Server Resources
You can associate resources with servers and then a job can specify that it requires a resource. For example, you can associate a printer name with SASApp. When a client submits a job, and specifies that it requires the printer resource, the job execution service makes sure that the job runs on that server even when other servers are available.
The default settings are designed to provide good performance in a variety of operating environments. Before modifying the settings, consider enabling the auditing features of the job execution services to review the performance with the default settings. For information about enabling auditing, see Configuring Auditing for SAS Web Applications.
To modify any of these settings, follow these steps:
  1. Log on to SAS Management Console as an administrator.
  2. On the Plug-ins tab, navigate to Application Managementthen selectConfiguration Managerthen selectSAS Application Infrastructurethen selectWeb Infra Platform Services 9.3.
  3. Right-click JobExecutionService and select Properties.
  4. Click the Settings tab.
  5. Modify the settings and then click OK.
Settings are not applied and made active automatically. You need to restart the SAS Web Infrastructure Platform Services or the Web application server.
The default configuration for the job execution services does not check role-based permissions. If role-based security is enabled, then the job execution service checks that the identity submitting the request has sufficient permission.
Job Execution Service Roles
Role
Capabilities
Job Execution: Job Administrator
Can submit jobs of high, normal, and low priority and perform all job-related operations.
Job Execution: Job Designer
Can add, update, or remove jobs and tasks from metadata.
Job Execution: Job Scheduler
Can schedule jobs.
Job Execution: Job Submitter
Can submit normal priority jobs for execution.
The following figure shows the default capabilities associated with the job administrator role.
Job Administrator Capabilities
Job Administrator Capabilities