Contents

Method

Check

ModuleStorage
LibraryCore
Action

Tests the existence of a user defined persistent storage table.

Parameters

Name (string): The name of the persistent storage table. Maximum length of 128 characters. The first character must be alphanumeric, and the remainder can be alphanumeric, '.' or '_'. Case is not significant.

Return values

Name (string): The table's name if the storage table exists in persistent storage, else nothing.

Example
@storageName = SELECT "LoggedInAudit" AS Name;
@found = Storage.Check(Name:@storageName);
IF (@found)
    @currentEntries = Storage.Get(Name:@storageName);
ENDIF;
Platforms
  • Windows
  • Linux
  • MacOS
  • Solaris Intel
  • Solaris Sparc
  • Android
Notes

This method can be used with the SCALE evaluate statement to abandon processing if the persistent storage table is not present.

See User Defined Persistent Storage page for guidance using persistent storage tables.

The following methods existing in the Agent Storage module:

  • Page:
    Storage.Check — Tests the existence of a user defined persistent storage table.
  • Page:
    Storage.Delete — Removes an existing user defined persistent storage table.
  • Page:
    Storage.Get — Indicate whether a user defined persistent storage table of the specified name is present and return its contents if present.
  • Page:
    Storage.GetRemote — Retrieve the requested datum directly from the Platform central repository.
  • Page:
    Storage.List — Enumerates all user-defined persistent storage tables.
  • Page:
    Storage.Set — Set or change the value of the named persistent storage table.