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: firstname.lastname@example.org +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.