|
>> ORIGINAL MESSAGE SNIPPET I know that I can use OPNQRYF to select the desired records before the RPG program starts. The problem I have is that OPNQRYF will only open a join file in input mode (*INP) and what I need is output mode (*OUT). At least that's how I read the IBM manual. >> The way I think of it: When OPNQRYF or SQL does a join it creates a temporary table seperate from the original files. This is why you cannot update against the joined tables, becaue you're no longer looking at the original file data.
As an Amazon Associate we earn from qualifying purchases.
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.