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



I have an issue where there is a CL program with an OPNQRYF using
SHARE(*YES) on a JOIN LF.



I had to change the program from SHARE(*YES) to SHARE(*NO) only to find that
the keys on the OPNQRYF are different to the keys defined in the DDS of the
JOIN file. The SHARE(*YES) allows this or did allow it until another
modification came through when the RPG program crashed on loading the RPG.



The keys defined in the join LF are:

* Key 1 (both files)
* Key 2 (second file only)
* Key 3 (both files)



The OPNQRYF keys are as follows:



File1.Key1

File2.Key2

File1.Key3





Can this be achieved in defining the join LF?



TIA



Darryl Freinkel

A4G.

Tel: 770.321.8562 Ext 111 | Cell: 678.355.8562




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.