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

Very strange thing. Empty lines in Windows systems should only be a
sequence of X'0d0a' as the only two bytes of data in a text file, even
being CCSID(1208) which we know is UTF-8. In Unix-like systems, an empty
line should only be X'0a' as the only character on that line. You are
probably not having X'20' characters on that particular CCSID 424 because
that is an EBCDIC character encoding, not a Unicode (or lastly ASCII)
encoding. What you may be reading is probably X'40' bytes which actually
translate into an @ sign in ASCII and even UTF-8 so it counts as non-blank


El lun, 24 oct 2022 a las 4:37, Gad Miron (<gadmiron@xxxxxxxxx>) escribió:

Hello guys

I am having trouble excluding empty lines when selecting (SQL)
lines from a CCID(1208) file.
SQL functions Trim, Length etc. fail to identify empty field
for instance: Length(Trim(EmptyField)) returns 540
where clause with EmptyField <> ' ' does not cut it as well.

the job CCID is 424

I guess that CCID 1208 needs some special functions but it eludes me

Any suggestions?


This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

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