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
- Requires *OBJEXIST authority on the data area and *EXECUTE authority on the library.
- Local data areas, group data areas and program initialization parameter data areas cannot be deleted.
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.
*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
Library
Library
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.
Generated from os/cl/catalog/DLTDTAARA.json and os/cl/help/DLTDTAARA.json.