|
Hi Mike, It sounds like there's some confusion here about which member limit this thread is discussing. When you're doing an ADDLFM there are two limits to consider. One is the number of logical file members in the logical file, the other is the number of based-on physical file members in any one logical file member. If you look at the CHGLF command, you'll see a MAXMBRS parameter just like on the CHGPF command. The help text for this parameter says "*NOMAX No maximum is specified for the number of members; the system maximum of 32,767 members per file is used." This same limit applies to the maximum number of members in a physical file. If you look at the ADDLFM command, the DTAMBRS parameter specifies which physical file members this single logical file member will be based on. The help text for this parameter states "Up to 32 qualified physical file names and physical file member names can be specified. Also, the total number of member names cannot exceed 32. For example, one file can specify 32 members, two files can each have 16 members, or 32 files can each have one member specified." The system you mention probably has 150 logical file members, and from the sound of it, each of those logical file members is based on exactly one physical file member, so it is well within the limits. If you don't believe the help text, try creating a logical file over a source physical file, e.g. TESTLF A R SRCREC PFILE(SOURCE) A SRCSEQ A SRCDAT A SRCDTA A K SRCDAT A K SRCSEQ CRTLF FILE(PDOWD/TESTLF) SRCFILE(PDOWS/SOURCE) DTAMBRS(*ALL) My source file has 46 members. The above statement fails with CPF7354: More than 32 members specified on DTAMBRS. Actually, it creates the logical file, TESTLF, but with no members. If I attempt to ADDLFM one at a time per your suggestion, the first one ADDLFM FILE(PDOWD/TESTLF) MBR(ABC) DTAMBRS((PDOWS/SOURCE (TESTLF))) Member ABC added to file TESTLF in PDOWD. succeeds, but the second one ADDLFM FILE(PDOWD/TESTLF) MBR(ABC) DTAMBRS((PDOWS/SOURCE (TESTCYMD))) Member ABC already exists in file TESTLF in library PDOWD. Member ABC not added to file TESTLF in PDOWD. fails. Regards, Peter Dow Dow Software Services, Inc. 909 425-0194 voice 909 425-0196 fax From: "Mike Naughton" <mnaughton@juddwire.com> > If you use MBR(*ALL), the limit is 32. However, if you add each member > individually, you can go above this limit. > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. > | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: david@midrange.com > +--- _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.