The UNCOUPLE function is used to eliminate the coupling relationship between two files.
This document covers the following topics:
FILES specifies the two files to be uncoupled.
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 specifies the security password for one or both files, and is required if either of the files is password-protected. If both files are password-protected, the password applies to both files. The password must be enclosed in single quotation marks.
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.
Files 62 and 201 are to be uncoupled. One or both are protected with the password "PAIR05".
ADADBS UNCOUPLE FILES=62,201,PASSWORD='PAIR05'