|
Okay, now I get it: if you want the two conditions to be *AND-ed, you need to leave off the second 'S' or 'O'. Knew it was something stupid that I overlooked. I assumed that the conditions would always be *AND-ed. Thanks to all those who responded. Peter "Lokesh Gupta" <Lokesh.Gupta@xxxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx 12/05/2004 23:40 Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx> cc Subject RE: Difference between Select and Omit in LF Actually, >A S PSATFG COMP(EQ 'A') >A S PSSTCD COMP(LT '30') would be same as >A O PSATFG COMP(NE 'A') >A PSSTCD COMP(GE '30') and would also give the same result, the first logical is PSATFG = 'A' or PSSTCD < '30' and the second would be PSATFG <> 'A' and PSSTCD > '30' regards, Lokesh regards, Lokesh Gupta, Infosys Technologies Ltd., Work: 239-274-4855 Mobile: 239-839-7673 www.infosys.com The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or the entity to whom it is addressed and others authorised to receive it. If you have received it by mistake, please let the sender know by e-mail reply and delete it from your system. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance of the contents of this information is strictly prohibited and may be unlawful. Honda Europe NV is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.
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.