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



It always helped me to remember that OR always "wipes out" everything that
comes before it. So In order to get the results you desire, you could code
it like this.

C *INKF WHENEQ *ON
C CONDITION1 ANDEQ FALSE
C *INKF OREQ *ON
C CONDITION2 ANDEQ FALSE


Rex Reese
Texas Book Company
rreese@xxxxxxxxxxxxx

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of rpg400-l-request@xxxxxxxxxxxx
Sent: Wednesday, November 10, 2010 1:17 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: RPG400-L Digest, Vol 9, Issue 865

Send RPG400-L mailing list submissions to
rpg400-l@xxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.midrange.com/mailman/listinfo/rpg400-l
or, via email, send a message with subject or body 'help' to
rpg400-l-request@xxxxxxxxxxxx

You can reach the person managing the list at
rpg400-l-owner@xxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific
than "Re: Contents of RPG400-L digest..."


*** NOTE: When replying to this digest message, PLEASE remove all text
unrelated to your reply and change the subject line so it is meaningful.

Today's Topics:

1. Re: How to read and or statement (Michael Ryan)
2. Locating missing symbols (Pete Helgren)
3. Re: How to read and or statement (Loyd Goodbar)
4. RE: Locating missing symbols (Neill Harper)
5. Re: How to read and or statement (Mark S. Waterbury)
6. RE: Locating missing symbols (Kevin Bucknum)
7. RE: Locating missing symbols (Christen, Duane)
8. Re: Locating missing symbols (Barbara Morris)
9. Re: Locating missing symbols (Charles Wilt)


----------------------------------------------------------------------

message: 1
date: Wed, 10 Nov 2010 13:00:17 -0500
from: Michael Ryan <michaelrtr@xxxxxxxxx>
subject: Re: How to read and or statement

AND what?

On Wed, Nov 10, 2010 at 12:24 PM, David FOXWELL
<David.FOXWELL@xxxxxxxxx>wrote:


note to self : AND has higher precedence...AND has higher precedence...AND
has higher precedence...AND has higher precedence...AND has higher
precedence...AND has higher precedence...AND has higher precedence...AND
has
higher precedence...AND has higher precedence...




-----Message d'origine-----
De : rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de Elbert Cook
Envoy? : mercredi 10 novembre 2010 14:35
? : 'RPG programming on the IBM i / System i'
Objet : RE: How to read and or statement

Here is a clip from the V5R4 RPG Reference

Condition for the DOUxx, DOWxx, IFxx, and WHENxx operations.
The ANDxx operation has higher precedence than the ORxx operation.


-----Original Message-----
From: David FOXWELL [mailto:David.FOXWELL@xxxxxxxxx]
Sent: Wednesday, November 10, 2010 4:09 AM
To: RPG programming on the IBM i / System i
Subject: How to read and or statement

Consider this code :

C *INKF WHENEQ *ON
C CONDITION1 ANDEQ FALSE

*If I add :
C CONDITION2 OREQ FALSE


I think this now means :

IF (*INKF AND CONDITION1=FALSE) OR (CONDITION2=FALSE)

But I want :
IF *INKF AND (CONDITION1=FALSE OR CONDITION2=FALSE)

Which is right?

Thanks
--
This is the RPG programming on the IBM i / System i
(RPG400-L) mailing list To post a message email:
RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change
list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



--
This is the RPG programming on the IBM i / System i
(RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.




------------------------------

message: 2
date: Wed, 10 Nov 2010 11:32:16 -0700
from: Pete Helgren <pete@xxxxxxxxxx>
subject: Locating missing symbols

I have a set of programs that I did not develop that need to be
recompiled. The programs fail at the binding step with the following
message:

Definition not found for symbol '@ACTIONTEXT'.

In the source file I have this D-spec:

D @ActionText s 16 imPORT

How do I resolve the missing import? I have scanned just about
everywhere looking for anything close. Is there an efficient way to
locate the missing import?



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.