Put the pgm into debug and look at the value of &QRYSLT or dump the pgm
when the error occurs.




"Don Cavaiani" <dcavaiani@xxxxxxxxxxxxx>
Sent by: midrange-l-bounces@xxxxxxxxxxxx
02/13/2008 09:22 AM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
"Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
cc

Subject
RE: OPNQRYF error






Here's the before:

CHGVAR VAR(&QRYSLT) VALUE('PID *EQ "PO" *AND PPRT +
*NE "1"')

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
MKirkpatrick@xxxxxxxxxxxxxxxxx
Sent: Wednesday, February 13, 2008 11:19 AM
To: Midrange Systems Technical Discussion
Subject: Re: OPNQRYF error

Your underline did not show. Please post the before and after.




"Don Cavaiani" <dcavaiani@xxxxxxxxxxxxx> Sent by:
midrange-l-bounces@xxxxxxxxxxxx
02/13/2008 09:14 AM
Please respond to
Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>


To
"Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
cc

Subject
OPNQRYF error







CHGVAR VAR(&QRYSLT) VALUE('PID *EQ "PO" *AND PPRT +
*NE "1" *AND SUBSTR(POCOM,1,1) *NE "Y"')

I just added the underlined part of this command. It compiled OK, but
errored out at the SUBSTR upon execution.


Don F. Cavaiani
IT Manager
Amerequip Corp.
920-894-7063

"It's amazing what you can accomplish if you don't care who gets the
credit." Harry S. Truman




This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.