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


  • Subject: RE: Reade With a Packed Field
  • From: bmorris@xxxxxxxxxx
  • Date: Thu, 16 Mar 2000 14:04:45 -0500




>Date: Wed, 15 Mar 2000 16:02:59 -0500
>From: "Shaw, David" <dshaw@spartan.com>
>
> ...
>It won't work right in a CHAIN, SETLL, or READE because the database
>routines don't do the comparisons using the human-readable field contents,
>rather they compare bit-by-bit for the two strings.
> ...

Sorry, Dave, but that is completely false.  The database routines
do use the "human readable contents", including all the special key
features like ABSVAL, ALTSEQ, non-preferred sign etc.  It's only
RPG III that has a problem, and only with READE and the EQ indicator
for SETLL.  All other keyed I/O is done the way you, a human, would
expect.

RPG IV doesn't have this problem with READE and SETLL/EQ.

.-------------------------------------------------------------.
| If you use any special key features, or have any zoned or   |
| packed numerics with non-preferred signs, AND you use READE |
| or SETLL with the EQ indicator, then you should use RPG IV  |
| for your keyed I/O (or at least not RPG III).               |
'-------------------------------------------------------------'

"Ok, ok, you don't have to shout", they cried.

Barbara Morris


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@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-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.