ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

cpf4101

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

  • cpf4101

    Hi All,
    I have the Physical File in the library list and the file has data,
    and even after recompilation of the pgm,

    I am getting the following error:

    File OLSDEFICC in library *LIBL not found or inline data file missing.
    Error message CPF4101 appeared during OPEN for file OLSDEFICC.
    Function check. RNX1216 unmonitored by OLSDEFCPY at statement 0001000001,
    instruction X'0000'.
    Error message CPF4101 appeared during OPEN for file OLSDEFICC (C S D F).

    What may be the reason?

    Thanks,

  • #2
    Re: cpf4101

    Basically it's telling you the file isn't there but you probably know that.

    Check you library list to make sure the library containing the file is in your libary list

    Can you show us your source code?

    Comment


    • #3
      Re: cpf4101

      One thing to check is there an override to a member that doenst exist????

      Other than that show us your stuff (source) and also dsplibl and wrkobj *all/OLSDEFCPY
      All my answers were extracted from the "Big Dummy's Guide to the As400"
      and I take no responsibility for any of them.

      www.code400.com

      Comment


      • #4
        Re: cpf4101

        Thanks guys, I got it. The library list was getting changed by some other program before the execution of my pgm. Hence the error.

        Thanks once again

        Comment


        • #5
          Re: cpf4101

          I also got same problem during use EXTFILE.
          I had varified my library list that is correct.
          Code is like that
          Fwrkwpp iF e k disk extfile(file) usropn
          dfile s 20 inz('kishan/wrkwp@')
          c open wrkwpp
          C read wrkwpp

          and error at run time...
          File wrkwp@ in library kishan not found or inline data file missing.
          Error message CPF4101 appeared during OPEN.
          Function check. RNX1217 unmonitored by T1 at statement 0000000007,
          instruction X'0000'.
          Error message CPF4101 appeared during OPEN (C G D F).
          Error message CPF4101 appeared during OPEN (C G D F).

          Please guide me......

          Comment


          • #6
            Re: cpf4101

            do wrkobj *all/ on both kishan & wrkwp@ and post them please as well as your library list.
            All my answers were extracted from the "Big Dummy's Guide to the As400"
            and I take no responsibility for any of them.

            www.code400.com

            Comment


            • #7
              Re: cpf4101

              Thanks,
              I got it ,after change source of file with in EXTFILE(File). Actually now what is my doubt should the name of all fields and record format of both file same?????
              As i know that from OVERDBF concept record format and field name can be any thing in OVRRIDDEN and OVRRIDE files but attribute should same. But In Case of EXTFILE file's source should be clone of other.

              Comment


              • #8
                Re: cpf4101

                u got error after recomplication cl pgm ..i think ..it can be removed by using CLOF ..its a run time error ..ur file is already exists..

                Comment


                • #9
                  Re: cpf4101

                  I got an error Message . . . . : Error message CPF4101 appeared during OPEN for file
                  CDRADFL1 (C S D F). File library not found or inline data file missing.

                  I already tried checking my library list. When I'm running the program by using CAll c ommand, no error was detected. However when i use Job sched, this error appears.

                  Comment


                  • #10
                    Re: cpf4101

                    The library list for an interactive session (which is where you are running the call command) is not the same as for jobs submitted to the job schedule. The job schedule uses a job description to receive its library list. The library list attached to the job description must contain the library for the file, and given this error, it does not.
                    Michael Catalani
                    IS Director, eCommerce & Web Development
                    Acceptance Insurance Corporation
                    www.AcceptanceInsurance.com
                    www.ProvatoSys.com

                    Comment


                    • #11
                      Re: cpf4101

                      What Michael says....

                      you will need to attach a job description to the scheduled job.. *JOBD
                      in a *JOBD you can add a library list.

                      PHP Code:
                      chgjobd  INLLIBL (....) 
                      All my answers were extracted from the "Big Dummy's Guide to the As400"
                      and I take no responsibility for any of them.

                      www.code400.com

                      Comment

                      Working...
                      X