FixCurrentSpace Syntax - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
CALL [SYSLIB.] FixCurrentSpace (
  'FixSpaceOption',
  'AllDatabases',
  'AllProxyUsers',
  'FixDatabaseName',
  FixedDatabaseCount
  Errinfo
) [;]

Syntax Elements

SYSLIB
The name of the database where the function is located.
FixSpaceOption
The type of current space to be updated. Specify one of the following options:
  • P (permanent)
  • T (temporary)
  • S (spool)
  • PS (persistent spool)
  • A (all options)

Cannot be NULL.

AllDatabases
Update current space for all databases. Specify one of the following values:
  • Y
  • N
  • NULL
AllProxyUsers
Update current space for all proxy users. Specify one of the following values:
  • Y
  • N
  • NULL

Only proxy users with an assigned profile qualify for the fix space operation.

FixDatabaseName
Target database name. Required if both AllDatabases and AllProxyUsers are not specified (have a value of N or NULL). FixDatabaseName must be NULL if either AllDatabases or AllProxyUsers has a value of Y.
FixedDatabaseCount
Output count of databases whose current space was fixed.
ErrInfo
NULL if the fix space operation was successful. Otherwise, provides information about the error that caused the procedure to stop before the operation completed.