DLTOBJ commands

5 pts.
CL 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...

Answer Wiki

Thanks. We'll let you know when a new response is added.

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.


Discuss This Question: 5  Replies

There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • Lovemyi
    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 pointsBadges:
  • TomLiotta
    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
    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
    125,585 pointsBadges:
  • Featured Member: Lovemyi - ITKE Community Blog
    [...] DLTOBJ commands [...]
    0 pointsBadges:
  • OldSysAdmin
    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.
    945 pointsBadges:
  • TomLiotta
    What you are faililng to tell some of these people... Possible lack of authority was listed in the Answer. Tom
    125,585 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.


Share this item with your network: