Changes the priority of the local reality user process so as to increase or decrease its response time. In particular, it allows the priority of background processes to be lowered.
Caution
Improper use of SET-PRIORITY may degrade system response time.
SET-PRIORITY {priorityLevel}
priorityLevel Specifies the required priority level, as follows:
0 Low
1 Default
2 High
If priorityLevel is omitted, the current priority number is displayed, but not changed.
SET-PRIORITY can only be used to modify the priority of the current reality process. It cannot be used to modify another process.
Only a user with SYS2 privileges on the database can increase the priority of a process to 2 (high). However, an ordinary user can reduce the priority of their own process and restore it to its original level.
The effect of SET-PRIORITY can be adjusted by setting the REALPRIORITYINC environment variable. This controls how much the priority of the process is changed.