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

LATEST COMMENTS

Support MC Press Online

$

Book Reviews

Resource Center

  •  

  • LANSA Business users want new applications now. Market and regulatory pressures require faster application updates and delivery into production. Your IBM i developers may be approaching retirement, and you see no sure way to fill their positions with experienced developers. In addition, you may be caught between maintaining your existing applications and the uncertainty of moving to something new.

  • The MC Resource Centers bring you the widest selection of white papers, trial software, and on-demand webcasts for you to choose from. >> Review the list of White Papers, Trial Software or On-Demand Webcast at the MC Press Resource Center. >> Add the items to yru Cart and complet he checkout process and submit

  • SB Profound WC 5536Join us for this hour-long webcast that will explore:

  • Fortra IT managers hoping to find new IBM i talent are discovering that the pool of experienced RPG programmers and operators or administrators with intimate knowledge of the operating system and the applications that run on it is small. This begs the question: How will you manage the platform that supports such a big part of your business? This guide offers strategies and software suggestions to help you plan IT staffing and resources and smooth the transition after your AS/400 talent retires. Read on to learn: