|
I would try this: OPNQRYF FILE((DOWNLOADA/XBCKLOG XBCKLOG)) + QRYSLT('(CUSTNO *EQ ' *CAT &CCUSNO *CAT ')') Jim -----Original Message----- From: Peter Vidal [mailto:Peter_Vidal@xxxxxxxx] Sent: Tuesday, April 01, 2003 4:00 PM To: midrange-l@xxxxxxxxxxxx Subject: OPNQRYF with a numeric variable in QRYSLT What's wrong here? DCL VAR(&CCUSNO) TYPE(*DEC) LEN(8 0) VALUE(5659000) OVRDBF FILE(XBCKLOG) TOFILE(DOWNLOADA/XBCKLOG) + MBR(XBCKLOG) SHARE(*YES) OPNQRYF FILE((DOWNLOADA/XBCKLOG XBCKLOG)) + QRYSLT('CUSTNO *EQ &CCUSNO') Peter Vidal Pall Aeropower Corp. SR Programmer Analyst WWW.Pall.com / 727-539-8448, x2414 "A good player makes himself look good; a great player makes the team look good." Author unknown _______________________________________________ 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.