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



Hello Eric,

To make the IF statement and fileoperation opcodes case-insensitive you need
to specify the following keywords in your H-spec:

H AltSeq( *EXT )
H SrtSeq( *LANGIDSHR )
H LangId( *JOBRUN )

Best regards,
Carsten Flensburg

----- Original Message ----- 
From: "Eric A. Wolf" <eric_a_wolf@xxxxxxxxxxx>
To: "RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
Sent: Thursday, August 05, 2004 7:32 PM
Subject: Comparing Uppercase vs. Upper/lower case fields


> To the list,
> I am trying to compare two fields one is in Upper Case and the other is in
> Upper and Lower case.  The file is coded with SRTSEQ(*LANGIDSHR) and the
> program is compiled with this parameter as well.  There are the same
number
> of characters and field sizes but the fields fall thru the IF statement as
> if they are not equal.  The CCSID is set to 37 (do not know how this was
> set).
>
> Do I need to convert one the Upper/Lower case field to all Upper to get a
> valid compare -or- am I missing a parameter?


###########################################
This message has been scanned by F-Secure Anti-Virus for Internet Mail.
For more information, connect to http://www.F-Secure.com/

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.