The new sort space size remains in effect until you restart the server or execute another SET SORTSPACE command.
This command does not write the SORTSPACE value to the server's configuration file, so that when you restart the server, sort space is reset to its original size.
This command can be embedded in a host language or executed interactively.
Any of the following:
SET SORTSPACE=Kbytes
SET SORTSPACE=1000
bytes | Is the size of the sort space in kilo-bytes. See the Server Administration Guide for guidelines on setting an appropriate size.
For example, the following command sets the sort space to roughly one megabyte (1 million bytes): SET SORTSPACE=1000 |