onmode -n, -r: Change shared-memory residency

Figure 1. Syntax:

1  onmode
2.1  -n
2.1  -r
Element Purpose Key considerations
-n Ends forced residency of the resident portion of shared memory This command does not affect the value of RESIDENT, the forced-residency parameter in the ONCONFIG file.
-r Starts forced residency of the resident portion of shared memory This command does not affect the value of RESIDENT, the forced-memory parameter in the ONCONFIG file.
Important: Set the RESIDENT parameter to 1 before you use the onmode -r or -n options.

For information on using the forced-residency parameter to turn residency on or off for the next time that you restart the database server, see the chapter on managing shared memory in the Informix® Administrator's Guide.

This command has an equivalent SQL administration API function.