|
Thanks very much to all that replied. This is what worked. OVRDBF FILE(TDEPTMAS) TOFILE(OIPAYFILES/TDEPTMAS) + OPNSCOPE(*JOB) OVRDBF FILE(EMPLOYEE) TOFILE(OIPAYFILES/EMPLOYEE) + OVRSCOPE(*JOB) SHARE(*YES) OPNSCOPE(*JOB) OPNQRYF FILE((OIPAYFILES/EMPLOYEE)) QRYSLT(*ALL) + KEYFLD((HIREDT) (LNAME)) OPNSCOPE(*JOB) CALL PGM(FMCGI/EMP001) CLOF OPNID(EMPLOYEE) Jim Hi James - >Have tried new, named, and caller. >For OPNQRY OVRSCOPE used default, *JOB, and *ACTGRPDFN OPNQRYF doesn't have OVRSCOPE. Were you talking about OVRSCOPE on OVRDBF? OPNQRYF *does* have OPNSCOPE and you should try OPNSCOPE(*JOB). One of the confusing things is that an OPNQRYF ODP with OPNSCOPE(*ACTGRPDFN) will not scope from the default activation group to a *NEW activation group even though the associated OVRDBF with OVRSCOPE(*ACTGRPDFN) will. -- Ken http://www.ke9nr.net/ Opinions expressed are my own and do not necessarily represent the views of my employer or anyone in their right mind.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.