5 pts.
 DLTOBJ commands
when i am trying to delete the object by using below command DLTOBJ OBJ(&LIBL3/&FILE) OBJTYPE(*FILE)..its giving error like Command is not exists in *LIbl library..Please help me...&LIB3 is my (some X) Library...

Software/Hardware used:
ASKED: August 30, 2010  11:22 AM
UPDATED: September 3, 2010  8:10 PM

Answer Wiki:
Unless you are running i5/OS V7.1 or higher, or you have a "home-grown" or 3rd-party DLTOBJ command, there will be no DLTOBJ command anywhere on your system. If you are running v7.1 and the command can't be found in *LIBL, you need to call IBM Support to determine either the reason the command cannot be found or how to recover it. It might have been renamed or damaged, or some other unknown condition might have arisen. If you have a "home-grown" or 3rd-party DLTOBJ command, then either your library list needs to be changed to include the library that contains the command or you need to qualify the command with the appropriate library. It's also possible that you (or the job user) aren't authorized to use the command. That possibility might result in the message depending on exactly what program is sending the message. That seems unlikely since it is within a CL program, but it needs to be mentioned. Tom
Last Wiki Answer Submitted:  August 30, 2010  11:41 pm  by  TomLiotta   110,135 pts.
All Answer Wiki Contributors:  TomLiotta   110,135 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

DLTOBJ is an old TAA tool command from the days when IBM shipped the tool with pre V3R1 OS. Since then Jim Sloan has been marketing TAATOOL as a collection of tools for a fee. If you can do a DSPOBJD DLTOBJ *CMD and if you see it you can see what library it is in and I am willing to bet that it is in a custom utility library on your system. If not then check Tom’s answer to see if you are authorized to the command. You may not even have it on that system at all if you have worked with the command somewhere in the past on another machine.

Lovemyi

 2,310 pts.

 

DLTOBJ is also a v7.1 command from IBM. Here’s a portion of the DSPCMD DLTOBJ display:

Command  . . . . . . . :   DLTOBJ        Library  . . . . . . . :   QSYS

Program to process command . . . . . . :   QLIDLTO
  Library  . . . . . . . . . . . . . . :     QSYS
  State used to call program . . . . . :     *SYSTEM
Source file  . . . . . . . . . . . . . :   S000068374
  Library  . . . . . . . . . . . . . . :     QTEMP
Source file member . . . . . . . . . . :   DLTOBJ
Validity checking program  . . . . . . :   *NONE
Mode(s) in which valid . . . . . . . . :   *PROD
                                           *DEBUG
                                           *SERVICE
Where allowed to run . . . . . . . . . :   *IMOD      *BMOD      *IREXX
                                           *BREXX     *BPGM      *IPGM
                                           *EXEC      *INTERACT  *BATCH
Allow limited user . . . . . . . . . . :   *NO
Maximum positional parameters  . . . . :   2

It’s definitely a handy command — when and where available.

Tom

 110,135 pts.

 

What you are faililng to tell some of these people ( that apparently don’t have alot of 400 experience) is when doing a WRKOBJ to try to find it, you need to make sure you have access to ALL the libraries, a user with *ALLOBJ authority. Or it might be there somewhere but you still might not see it.

 925 pts.

 

What you are faililng to tell some of these people…

Possible lack of authority was listed in the Answer.

Tom

 110,135 pts.