× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



MIDRANGE-L@midrange.com writes:
>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.
>
You're quite right -- I was considering the first case, not the second.
Sorry. . . .
>
>
>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.

Maybe I'm still confused, but it looks as if you're trying to add a second
member with the same name as the first (ABC). If you want member ABC in
TESTLF to be made up of members TESTLF and TESTCYMD, I think you'd have to
use something like:

ADDLFM FILE(PDOWD/TESTLF) MBR(ABC) DTAMBRS((PDOWS/SOURCE (TESTLF))
(PDOWS/SOURCE (TESTCYMD)))

I don't know how many members you can specify in the DTAMBRS parm --
happily, on my system I didn't have more than six, so I never ran into a
problem there. The biggest challenge was automating that in a CL program
(I wish I had known about RPGIV and the Eval statement back then!)

Mike Naughton
Senior Programmer/Analyst
Judd Wire, Inc.
124 Turnpike Road
Turners Falls, MA  01376
413-863-4357 x444
mnaughton@juddwire.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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.