Version 7.4.4
 —  Utilities  —

RENUMBER: Change File Number

The RENUMBER function changes the number of an Adabas file.

graphics/util_adadbs_renumber.png

This document covers the following topics:


Essential Parameter

FILES: Current File Number, New File Number

The number currently assigned to the file, and the new number to be assigned to the file. If the new number is assigned to another file, the RENUMBER function will not be performed.

An Adabas system file cannot be used. The file may not be security-protected, may not be coupled to another file, and may not be part of an expanded file.

Top of page

Optional Parameter

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.

TEST: Test Syntax

The TEST 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

The file number for file 4 is to be changed to 40.

ADADBS RENUMBER FILES=4,40

Top of page