|
I am trying to use OPNQRYF to choose between four user options to order a
report.
I run the OVRDBF, and it looks fine:
OVRDBF FILE(POMST) SHARE(*YES)
Then, I run one of the four OVRDBF's. Here's one example:
OPNQRYF FILE(POMST) OPTION(*ALL) +
QRYSLT('(POMSTS = ''0'') *AND (POMCPY = 01 )') +
KEYFLD((POMLOC) (POMVNM) (POMVCD) (POMPON)) +
OPTIMIZE(*FIRSTIO) SEQONLY(*YES 10)
It runs with no error, and I am expecting to read the file by:
location, vendor name, vendor code, and PO#
(as coded). What I get is by PO#.
Any ideas?
Thanks,
- Dan
_________________________________________________________________
Internet Explorer 8 – Get your Hotmail Accelerated. Download free!
http://clk.atdmt.com/MRT/go/141323790/direct/01/
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
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.