Correct!! But I want to add a primary key to the front of the key list with a GROUP ID or record-format ID so I can position to that group of records.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Charles Wilt
Sent: Thursday, July 26, 2012 4:00 PM
To: Midrange Systems Technical Discussion
Subject: Re: can I set up a multi-format logical file in DDS with one key field having a default fixed value?

He doesn't want a join, he wants a UNION ALL...

Vertical, not horizontal :)

Charles

On Thu, Jul 26, 2012 at 4:53 PM, Booth Martin <booth@xxxxxxxxxxxx> wrote:
Read up on Join Logical files. You can join physical files in that way.
I do not know if it will handle 20 files though. Still, you can join.
Keys need to be the same length, but that can be done too.

One other thought that crosses my mind is to write a simple, quick,
program that, when called, fills a table of your own design with all of
the data. Then in any program that needs these lookups, you can call
your new program in the *INZSR and fill an array in your program and as
a result have really fast response times, and whole lot less coding.



On Thu, Jul 26, 2012 at 4:16 PM, Stone, Joel <Joel.Stone@xxxxxxxxxx> wrote:
Problem is there are 20 different physical files that I would like to read as one LF.

Is this possible?

--
Booth Martin
802-461-5349
http://www.martinvt.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


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.