Delete Chart Format (DLTCHTFMT)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Delete Chart Format (DLTCHTFMT) command deletes a chart format or a group of chart formats from one or more libraries.

Error messages for DLTCHTFMT

*ESCAPE Messages

CPF2105
Object &1 in &2 type *&3 not found.
CPF2110
Library &1 not found.
CPF2113
Cannot allocate library &1.
CPF2114
Cannot allocate object &1 in &2 type *&3.
CPF2117
&4 objects type *&3 deleted. &5 objects not deleted.
CPF2182
Not authorized to library &1.
CPF2189
Not authorized to object &1 in &2 type *&3.
Top

Parameters

Keyword Description Choices Notes
CHTFMT Chart format Qualified object name Required, Positional 1
Qualifier 1: Chart format Generic name, name
Qualifier 2: Library Name, *LIBL, *ALL, *ALLUSR, *USRLIBL, *CURLIB
Top

Chart format (CHTFMT)

Specifies the name of the chart formats to be deleted. You can stipulate a specific chart format or a generic chart format; either type can be qualified by a library name.

The possible values are:

chart-format-name
The qualified name of the chart format to be deleted.
generic*-chart-format-name
The name of the chart format to be deleted. You can specify a generic name as a character string containing one or more characters followed by an asterisk (*). If you specify a generic name, all chart formats that have names with the same prefix as the generic chart format are deleted.

Depending on the library qualifier specified or assumed, the following libraries are searched for the specified chart formats. You must have authority to the library.

*LIBL
Specifies all the libraries in the user and system portions of the job's library list.
*CURLIB
Specifies that the current library for the job is used to locate the chart formats. If no current library entry exists in the library list, QGPL is used.
*USRLIBL
Specifies only the libraries listed in the user portion of the job's library list.
*ALL
Specifies all the libraries in the system, including QSYS.
*ALLUSR
Specifies all user-defined libraries and the QGPL library, not just those in the job's library list. Libraries other than QGPL whose names start with the letter Q are not included.
library-name
Specify only the library name in this parameter. You must have object operational authority for the library specified.
Top

Examples

None
Top

Error messages

*ESCAPE Messages

CPF2105
Object &1 in &2 type *&3 not found.
CPF2110
Library &1 not found.
CPF2113
Cannot allocate library &1.
CPF2114
Cannot allocate object &1 in &2 type *&3.
CPF2117
&4 objects type *&3 deleted. &5 objects not deleted.
CPF2182
Not authorized to library &1.
CPF2189
Not authorized to object &1 in &2 type *&3.
Top