× 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 need to write a QRYSLT statement (OPNQRYF) in a CL program to select
records from one file
that match one or more records in another file.

The PROFILE file contains two fields I need to look at: Division and
Region
Many divisions can belong to one region.

Division Region
AZP SW
COM SW
NVG SW
FLF SE
GAA SE
NJJ NE
NCC NE etc...

The REGISTER file contains a job number and division code.

If someone wants to print a report by region, I need to look at
any records in the REGISTER file with a division code that is
assigned the corresponding region in the PROFILE.

Any Suggestions?







Bob Ostrowski | Senior Programmer/Analyst
TRAINOR GLASS COMPANY | National - IT
11901 S. Austin Ave. | Alsip, IL 60803
T 708.293.4218 | F 708.293.6218
bob.ostrowski@xxxxxxxxxxxxxxxx <mailto:bob.ostrowski@xxxxxxxxxxxxxxxx>
| www.trainorglass.com <http://www.trainorglass.com>






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.