ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

No Member In Logical File

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

  • No Member In Logical File

    Hi All,

    I Have A Physical File And A Logical File On It.
    Now When I Say Runqry On The Logical, An Error Is Displayed Saying There Is No Member In Logical File.

    Any Help Please.

    this is the message after compilation:
    4>> runqry *n pldata/PLLofsdgw1
    No members in file PLLOFSDGW1 in PLDATA.
    Object PLLOFSDGW1 in PLDATA type *FILE deleted.
    File PLLOFSDGW1 created in library PLDATA.
    More than 32 members specified on DTAMBRS.
    Member PLLOFSDGW1 not added to file PLLOFSDGW1 in PLDATA.
    File PLLOFSDGW1 created in library PLDATA.
    More than 32 members specified on DTAMBRS.
    Member PLLOFSDGW1 not added to file PLLOFSDGW1 in PLDATA.
    Last edited by ruma; December 27, 2005, 06:37 AM.
    Regards,
    Ruma

  • #2
    Re: No Member In Logical File

    CHGLF FILE(PLLOFSDGW1) MAXMBRS(*NOMAX)

    Try the above I "think" the logical is defaulting to "1".

    Jamie
    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


    • #3
      Re: No Member In Logical File

      hi Jamie,

      i thought you might be on vacation

      even after changing the LF it says the same thing. also i had tried compiling the LF with *nomax but of no use

      regards,
      ruma
      Regards,
      Ruma

      Comment


      • #4
        Re: No Member In Logical File

        It has been sometime since I have created a logical file but I do remember that every now and then the member wouldn't be created because the create command had a problem, but not serious enough to stop the logical from being created. When we encounted this we ran the command Addlfm to either fix the problem or determine what caused it in the first place.

        ADDLFM FILE(LFFILE)
        MBR(LFMEMBER)
        DTAMBRS((LIBLE/PFFILE (PFMEMBER)))

        The problem normally occur when we created a LF in a different library then the PF.

        Hope this helps.
        Never trust a dog to watch your food.

        Comment


        • #5
          Re: No Member In Logical File

          yesss... it surely helped... thanks!!
          Regards,
          Ruma

          Comment


          • #6
            Re: No Member In Logical File

            I am on vacation cant u tell from my answers
            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: No Member In Logical File

              I was going to say something to that affect Jamie, but was biting my (fingers)...

              Comment


              • #8
                Re: No Member In Logical File

                That hurts I think I still wont mail you that JAVA book

                Jamie
                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


                • #9
                  Re: No Member In Logical File

                  *Gasp* ... you REALLY know how to hurt a guy!

                  Comment


                  • #10
                    Re: No Member In Logical File

                    Amazing how you two have already lost the Spirit of the Season.
                    Never trust a dog to watch your food.

                    Comment


                    • #11
                      Re: No Member In Logical File

                      Its my fault I got Ps2 for christmas and have been killin stuff for two days...
                      anyone know how to quickly bring down king kong????

                      I know this doesnt belong here but we dont have a ps2 section on the forum...anyone know who we should call?
                      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


                      • #12
                        Re: No Member In Logical File

                        Yea... Ghost Busters!!

                        Hahahahahahahaha... <grin>

                        Comment


                        • #13
                          Re: No Member In Logical File

                          i added the member. now when i try running an RPG which uses this LF i get the following message...

                          CALL PGM(RUMA/PLGOFSD2) PARM(' VAF' 'I' ' ')
                          File PLLOFSDGW1 in library *LIBL with member *N not found.
                          Error message CPF4102 appeared during OPEN for file PLLOFSDGW1.
                          Function check. RNX1216 unmonitored by PLGOFFLTR2 at statement 0001000001,
                          instruction X'0000'.
                          Error message CPF4102 appeared during OPEN for file PLLOFSDGW1 (C S D F).
                          Error message CPF4102 appeared during OPEN for file PLLOFSDGW1 (C S D F).

                          what should i do to fix it? what does this mean: File PLLOFSDGW1 in library *LIBL with member *N not found. ??????????????
                          Regards,
                          Ruma

                          Comment


                          • #14
                            Re: No Member In Logical File

                            What the error means is exactly what it says.

                            the file PLLOFSDGW1 with member ??? not found in library list.

                            the system even though it finds PLLOFSDGW1 knows it doesnt have the member
                            that is specified in the CL program (that we cant see) so it continues to look for this file and member combiniation in all of the libaries in your library list.
                            when it finishes search that last library it says
                            " ummm I can t find this file/member combination."

                            usually a physical/logical when opened defaults to member(*FIRST)
                            if in the cl program you are NOT doing an override to a specific member using
                            OVRDBF then I would guess that the Logical still doesnt have the correct member
                            in it. The members in the physical and logical should be identical. When you override you physical file to a member you'd better be sure you override the logical to that same member.

                            Jamie
                            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


                            • #15
                              Re: No Member In Logical File

                              can u post ur PF, LF and Code.
                              Thanks,
                              Giri

                              Comment

                              Working...
                              X