set sbspace logging argument: Change the logging of an sbspace (SQL administration API)

Use the set sbspace logging argument with the admin() or task() function to specify whether the database server logs changes to the user data area of the sbspace.

Syntax


1  EXECUTE FUNCTION
1 admin
1 task
2  (
1 "set sbspace logging on"
1 "set sbspace logging off"
3  , "sbspace"
3  ) ;
Element Description Key Considerations
sbspace The name of the sbspace.

Usage

Use the set sbspace logging on argument to log changes to the user data area of the sbspace.

Use the set sbspace logging off argument to not log changes to the user data area of the sbspace.

This function is equivalent to the onspaces -ch command.

Example

The following example starts sbspace logging for an sbspace named sbsp1:
EXECUTE FUNCTION task("set sbspace logging on","sbsp1");