ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Related to DLTF .......CPF3219

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Related to DLTF .......CPF3219

    Hi All,

    I wanted to delete a file using DLTF command.
    that file doesnt contained any logical file.

    when i am trying to delete it using DLTF command, program is throwing message like "Cannot delete file or member of file XXXX in library YYYYY".

    This error message will come when file has any dependency , but my file doesnt contain any dependency.

    Can anyone please tell me the other ways of getting above message?


    Thanks
    Pavan Pokala

  • #2
    Re: Related to DLTF .......CPF3219

    Originally posted by pavan_kumar View Post
    This error message will come when file has any dependency , but my file doesnt contain any dependency.
    Have you run the DSPDBR command to verify that there are no other dependencies?

    Terry

    Comment


    • #3
      Re: Related to DLTF .......CPF3219

      yes, i did but there is no dependency.

      thanks
      Pavan Pokala

      Comment


      • #4
        Re: Related to DLTF .......CPF3219

        Are there any messages preceding the CPF3219? Maybe there are triggers on the file...you can see these with the DSPFD command.

        Terry

        Comment


        • #5
          Re: Related to DLTF .......CPF3219

          Hi , I have checked verything, its a normal file. Doesnt contain anything (like triggers and constrains)

          suggest me

          Pavan pokala

          Comment


          • #6
            Re: Related to DLTF .......CPF3219

            Did you look in your joblog for any error messages preceeding the CPF3219 message?

            Perhaps you could post the output of your DSPDBR and DSPFD commands. Maybe someone will spot a strange anomaly, otherwise a call to IBM may be required...

            Terry

            Comment


            • #7
              Re: Related to DLTF .......CPF3219

              Are you sure you're trying to delete the file you're aiming for? In other words, are you typing:

              PHP Code:
              DLTF FILE(FILENAME
              This will find the FIRST instance of FILENAME, not necessarily the one you might think you're deleting.

              or, are you typing:

              PHP Code:
              DLTF FILE(MYLIB/FILENAME
              -R

              Comment


              • #8
                Re: Related to DLTF .......CPF3219

                you can't delete any pf when some pgm is using it (displaying, reading or updating).
                Thanks,

                Abhishek KUMAR

                Comment


                • #9
                  Re: Related to DLTF .......CPF3219

                  did u look the file , that ur file given any lock state *exclrd .

                  Comment


                  • #10
                    Re: Related to DLTF .......CPF3219

                    Originally posted by Terry Wincheste View Post
                    Did you look in your joblog for any error messages preceeding the CPF3219 message?

                    Perhaps you could post the output of your DSPDBR and DSPFD commands. Maybe someone will spot a strange anomaly, otherwise a call to IBM may be required...

                    Terry
                    what he said...post those bits of info and that will help us help you!
                    I'm not anti-social, I just don't like people -Tommy Holden

                    Comment

                    Working...
                    X