Version 8.1.4
 —  Utilities  —

REFRESH: Set File to Empty Status

The REFRESH function sets the file to 0 records loaded, sets the first extent for the address converter, Data Storage, normal index, and upper index to empty status, and deallocates other extents.

When the REFRESH function completes successfully, any locks previously set with the operator commands LOCKU or LOCKF are reset.

graphics/util_adadbs_refresh.png

This document covers the following topics:


Essential Parameter

FILE: File Number

FILE specifies the file that is to be set to empty status.

Top of page

Optional Parameters

NOUSERABEND: Termination Without Abend

When an error is encountered while the function is running, the utility prints an error message and terminates with user abend 34 (with a dump) or user abend 35 (without a dump).

If NOUSERABEND is specified, the utility will not abend after printing the error message. Instead, the message "utility TERMINATED DUE TO ERROR CONDITION" is displayed and the utility terminates with condition code 20.

PASSWORD: File Password

This parameter is required if the file is password-protected.

TEST: Test Syntax

This parameter tests the operation syntax without actually performing the operation. Only the syntax of the specified parameters can be tested; not the validity of values and variables. See Syntax Checking with the TEST Parameter for more information on using the TEST parameter in ADADBS functions.

Top of page

Example

File 116 is to be set to empty status.

ADADBS REFRESH FILE=116

Top of page