× 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.



Not officially in SQL. I assume you're talking SQL. But you could fake it
with UNION SELECT on the physicals, selecting the key fields for each that
make up the multiple formats, then concat the remaining fields, maybe
putting in a 'format ID' in each record. Then sort on those key fields.

select key1_1, key1_2, 'FILE1', field1_1 || field1_2 || ... from file1
union select key2_1, key2_2, 'FILE2', field2_1 || field2_2 || ... from file2
.
.
.
order by 1,2

Then your program can use HLL structures that correspond to each 'format
ID' (RPG II, anyone?). The concatenated data can be moved into the
respective structure.

Whadya think?

At 02:46 PM 3/14/02 -0800, you wrote:
>I've never had to deal with this one until now...  Is it possible to
>select and/or even update a file with multiple record formats?
>
>Syntax anyone?
>
>Thanks,
>   Ted
>
>_______________________________________________
>This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
>To post a message email: MIDRANGE-L@midrange.com
>To subscribe, unsubscribe, or change list options,
>visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
>or email: MIDRANGE-L-request@midrange.com
>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.