• Subject: OPNQRYF - join identical files w/o MAPFLDs???
  • From: "Shea, David" <DShea@xxxxxxxxxxxx>
  • Date: Mon, 22 Jan 2001 12:04:15 -0500

I'm attempting an OPNQRYF with two identical files in different libraries.
The record formats are identical, as are the field names.  I am joining the
files based on a couple fields.  I am telling the opnqryf to use one of the
record formats from one of the files.

The OPNQRYF command bombs because it wants the MAPFLD parameter specified.
Since the two files are identical, there are LOTS of duplicate file names.

Is there any way of getting around specifying a MAPFLD for each and every
field in the file?  First, that would be a pain in the ...neck... and
second, it's limited to 50 fields.

Any ideas?
| 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 ...

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

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