Command reference / object

DLTDTAARA

Delete Data Area

Deletes the specified data areas from a library. A specific name or a generic name (a prefix followed by an asterisk) can be given, and either can be qualified by a library name.

Allowed environments: *ALL. Positional parameters: 1.

Restrictions

Parameters

DTAARA Data area

Specifies the name and library of the data areas to delete. A specific or generic name can be given. This parameter is required.

Type
*QUAL
Required
Yes
Case
Uppercase
*LIBL
All libraries in the thread's library list are searched until a match is found. For a specific name, only the first object found is deleted.
*CURLIB
The current library for the thread is used. If none is set, QGPL is used.
*USRLIBL
Only the libraries in the user portion of the library list are searched. For a specific name, only the first object found is deleted.
*ALL
All libraries in the ASPs that are part of the thread's name space are searched, including ASPs 1-32 and the thread's ASP group, plus the thread's own QTEMP. Every matching object is deleted.
*ALLUSR
All user libraries are searched. These are libraries whose names do not begin with Q, plus certain IBM Q-libraries that hold frequently changing user data.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Data area Data area

Type
*GENERIC
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

Suggested / special values: *LIBL, *CURLIB, *USRLIBL, *ALL, *ALLUSR

Examples

DLTDTAARA DTAARA(MYLIB/MYDATA)

Deletes data area MYDATA from library MYLIB, if the user has the proper authority for the data area and the library.

IBM command documentation

Generated from os/cl/catalog/DLTDTAARA.json and os/cl/help/DLTDTAARA.json.