enable_spatial
Use the enable_spatial command to supply a Db2® subsystem with the resources that it needs to store spatial data and support spatial operations.
These resources include spatial data types, spatial index types, catalog views, supplied functions, and stored procedures.
Authorization
The user ID under which the command is invoked must have SYSADM authority.
Command syntax
DSN5SCLP /enable_spatial DALLAS
-wlmName wlm_name [-update update_mode]
Parameter descriptions
All parameters are case-sensitive unless otherwise indicated.
- -wlmName
- Identifies the name of the Workload Manager (WLM) in which the stored procedures will run. This parameter is required.
- -update
- Specifies when you need to install the latest spatial support functions for Db2 for z/OS®. Do not use this parameter if you are installing IBM® Spatial Support for Db2 for z/OS for the first time. The value of this parameter is v10.
Example 1: The following example shows how you can use the enable_spatial command to enable spatial support for the first time.
DSN5SCLP /enable_spatial DALLAS +
-wlmName WLMENV3
Example 2: The following example shows how
you can use the enable_spatial command during migration (if you need to migrate) to enable spatial
support and install the latest spatial support functions.
DSN5SCLP /enable_spatial DALLAS +
-wlmName WLMENV3 -update v10