The Confirm Delete Object (CNFDLTOBJ) Command

CL
Typography
  • Smaller Small Medium Big Bigger
  • Default Helvetica Segoe Georgia Times

The Confirm Delete Object (CNFDLTOBJ) command is used to provide a confirmation display before deleting a specified object. When you use the CNFDLTOBJ command, you specify the qualified object name and object type.

The command then presents you with the Confirm Delete Object screen shown in 1. This screen displays various attributes of the object and is similar to the screen shown when you use the Display Object Description (DSPOBJD) command with DETAIL(*SERVICE). This screen's purpose is to verify that you want to delete the object. From here, you can delete the object by pressing F6 or cancel the request by pressing F12.

The command then presents you with the Confirm Delete Object screen shown in Figure 1. This screen displays various attributes of the object and is similar to the screen shown when you use the Display Object Description (DSPOBJD) command with DETAIL(*SERVICE). This screen's purpose is to verify that you want to delete the object. From here, you can delete the object by pressing F6 or cancel the request by pressing F12.

Parameters

OBJ

Specify the qualified name of the object to confirm before deleting. The possible library values are:

*LIBL: The library list is used to locate the object.

library-name: Specify the name of the library where the object is located.

object-name: Specify the name of the object to confirm before deleting.

OBJTYPE

Specify the type of object to confirm before deleting. There is no default value for the OBJTYPE.

The possible values are:

 *CLS: The object is a class. *CMD: The object is a command. *DTAARA: The object is a data area. *DTAQ: The object is a data queue. *FILE: The object is a file. *JOBQ: The object is a job queue. *MENU: The object is a menu. *MSGF: The object is a message file. *MSGQ: The object is a message queue. *OUTQ: The object is an output queue. *PGM: The object is a program. *USRSPC: The object is a user space. 

Example

 CNFDLTOBJ OBJ(MYLIB/MYPGM) + OBJTYPE(*PGM) 

This command is used to confirm the deletion of program MYPGM, located in library MYLIB. If the program exists, a display is presented showing information about the program. The program can then be deleted, or the delete request can be canceled.

Source Members

 INFO: CNFDLTOBJ (QATTINFO) CDO: TAAOBJG (QATTCMD) CPP: TAAOBJGC (QATTCL) DSPF: TAAOBJGD (QATTDDS) 

Robin Klima is a senior technical editor for Midrange Computing.

This tool is documented in Midrange Computing's QUSRTOOL Command Reference. The manual contains explanations and syntax diagrams for more than 300 useful tools.


The Confirm Delete Object (CNFDLTOBJ) Command

Figure 1 The Confirm Delete Object Screen

 UNABLE TO REPRODUCE GRAPHICS 
BLOG COMMENTS POWERED BY DISQUS